diff --git a/CHANGELOG.md b/CHANGELOG.md index a3ec6be6..83407823 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelogs +## 8.4.2 + +- Add passtype to japanese fake profiles. + ## 8.4.1 - Update axios to v1.7.4 diff --git a/package-lock.json b/package-lock.json index 35323f17..b77ab945 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@govtechsg/singpass-myinfo-oidc-helper", - "version": "8.4.1", + "version": "8.4.2", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@govtechsg/singpass-myinfo-oidc-helper", - "version": "8.4.1", + "version": "8.4.2", "license": "MIT", "dependencies": { "@js-joda/core": "^5.6.1", diff --git a/package.json b/package.json index 6ec7d08a..6ef24336 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/src/myinfo/fake/profiles/mrJapaneseAddressBlank.ts b/src/myinfo/fake/profiles/mrJapaneseAddressBlank.ts index 2fe6eb8b..7d15f893 100644 --- a/src/myinfo/fake/profiles/mrJapaneseAddressBlank.ts +++ b/src/myinfo/fake/profiles/mrJapaneseAddressBlank.ts @@ -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: "", diff --git a/src/myinfo/fake/profiles/mrJapaneseNoAddressObject.ts b/src/myinfo/fake/profiles/mrJapaneseNoAddressObject.ts index 164e747f..46175823 100644 --- a/src/myinfo/fake/profiles/mrJapaneseNoAddressObject.ts +++ b/src/myinfo/fake/profiles/mrJapaneseNoAddressObject.ts @@ -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: "",