Skip to content

Commit

Permalink
Merge pull request #93 from GovTechSG/MOL-17287
Browse files Browse the repository at this point in the history
[MOL-17287][AM] Add passtype to japanese fake profiles.
  • Loading branch information
ngweili authored Jan 6, 2025
2 parents 107a841 + 0c99777 commit 4fa73f7
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelogs

## 8.4.2

- Add passtype to japanese fake profiles.

## 8.4.1

- Update axios to v1.7.4
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@govtechsg/singpass-myinfo-oidc-helper",
"version": "8.4.1",
"version": "8.4.2",
"description": "Helper for building a Relying Party to integrate with Singpass OIDC and MyInfo person basic API",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down
8 changes: 8 additions & 0 deletions src/myinfo/fake/profiles/mrJapaneseAddressBlank.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,14 @@ export const mrJapaneseAddressBlank: FakeProfile = {
value: "",
};

profile.passtype = {
code: "RPass",
desc: "Work Permit",
classification: "C",
source: "1",
lastupdated: "2025-01-01",
};

profile.dialect = {
lastupdated: "2020-09-10",
code: "",
Expand Down
8 changes: 8 additions & 0 deletions src/myinfo/fake/profiles/mrJapaneseNoAddressObject.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,14 @@ export const mrJapaneseNoAddressObject: FakeProfile = {
value: "",
};

profile.passtype = {
code: "RPass",
desc: "Work Permit",
classification: "C",
source: "1",
lastupdated: "2025-01-01",
};

profile.dialect = {
lastupdated: "2020-09-10",
code: "",
Expand Down

0 comments on commit 4fa73f7

Please sign in to comment.