Skip to content

Commit 7978a82

Browse files
fix: credential context order (#266)
1 parent 0053901 commit 7978a82

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@0xpolygonid/js-sdk",
3-
"version": "1.18.2",
3+
"version": "1.18.3",
44
"description": "SDK to work with Polygon ID",
55
"main": "dist/node/cjs/index.js",
66
"module": "dist/node/esm/index.js",

src/credentials/credential-wallet.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,8 +274,8 @@ export class CredentialWallet implements ICredentialWallet {
274274
request.context.push(VerifiableConstants.JSONLD_SCHEMA.IDEN3_DISPLAY_METHOD);
275275
}
276276
const context = [
277-
...request.context,
278277
VerifiableConstants.JSONLD_SCHEMA.W3C_CREDENTIAL_2018,
278+
...request.context,
279279
VerifiableConstants.JSONLD_SCHEMA.IDEN3_CREDENTIAL,
280280
schema.$metadata.uris['jsonLdContext']
281281
];

0 commit comments

Comments
 (0)