-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: OYD DID support fixes (as patches for now)
- Loading branch information
Showing
2 changed files
with
48 additions
and
0 deletions.
There are no files selected for viewing
24 changes: 24 additions & 0 deletions
24
patches/@sphereon+ssi-sdk-ext.did-utils+0.24.1-next.3.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
diff --git a/node_modules/@sphereon/ssi-sdk-ext.did-utils/dist/types.js b/node_modules/@sphereon/ssi-sdk-ext.did-utils/dist/types.js | ||
index 340c49b..1433477 100644 | ||
--- a/node_modules/@sphereon/ssi-sdk-ext.did-utils/dist/types.js | ||
+++ b/node_modules/@sphereon/ssi-sdk-ext.did-utils/dist/types.js | ||
@@ -9,6 +9,7 @@ var SupportedDidMethodEnum; | ||
SupportedDidMethodEnum["DID_ION"] = "ion"; | ||
SupportedDidMethodEnum["DID_EBSI"] = "ebsi"; | ||
SupportedDidMethodEnum["DID_JWK"] = "jwk"; | ||
+ SupportedDidMethodEnum["DID_OYD"] = "oyd"; | ||
})(SupportedDidMethodEnum || (exports.SupportedDidMethodEnum = SupportedDidMethodEnum = {})); | ||
var IdentifierAliasEnum; | ||
(function (IdentifierAliasEnum) { | ||
diff --git a/node_modules/@sphereon/ssi-sdk-ext.did-utils/src/types.ts b/node_modules/@sphereon/ssi-sdk-ext.did-utils/src/types.ts | ||
index f1e88dd..a6f8d10 100644 | ||
--- a/node_modules/@sphereon/ssi-sdk-ext.did-utils/src/types.ts | ||
+++ b/node_modules/@sphereon/ssi-sdk-ext.did-utils/src/types.ts | ||
@@ -10,6 +10,7 @@ export enum SupportedDidMethodEnum { | ||
DID_ION = 'ion', | ||
DID_EBSI = 'ebsi', | ||
DID_JWK = 'jwk', | ||
+ DID_OYD = 'oyd', | ||
} | ||
|
||
export enum IdentifierAliasEnum { |
24 changes: 24 additions & 0 deletions
24
patches/@sphereon+ssi-sdk.oid4vci-holder+0.29.1-next.47.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
diff --git a/node_modules/@sphereon/ssi-sdk.oid4vci-holder/dist/agent/OID4VCIHolder.js b/node_modules/@sphereon/ssi-sdk.oid4vci-holder/dist/agent/OID4VCIHolder.js | ||
index 8489473..739ca0e 100644 | ||
--- a/node_modules/@sphereon/ssi-sdk.oid4vci-holder/dist/agent/OID4VCIHolder.js | ||
+++ b/node_modules/@sphereon/ssi-sdk.oid4vci-holder/dist/agent/OID4VCIHolder.js | ||
@@ -118,6 +118,7 @@ class OID4VCIHolder { | ||
ssi_sdk_ext_did_utils_1.SupportedDidMethodEnum.DID_JWK, | ||
ssi_sdk_ext_did_utils_1.SupportedDidMethodEnum.DID_EBSI, | ||
ssi_sdk_ext_did_utils_1.SupportedDidMethodEnum.DID_ION, | ||
+ ssi_sdk_ext_did_utils_1.SupportedDidMethodEnum.DID_OYD, | ||
]; | ||
this.jwtCryptographicSuitePreferences = [ | ||
IOID4VCIHolder_1.SignatureAlgorithmEnum.ES256, | ||
diff --git a/node_modules/@sphereon/ssi-sdk.oid4vci-holder/src/agent/OID4VCIHolder.ts b/node_modules/@sphereon/ssi-sdk.oid4vci-holder/src/agent/OID4VCIHolder.ts | ||
index 6a05c0b..ecc911f 100644 | ||
--- a/node_modules/@sphereon/ssi-sdk.oid4vci-holder/src/agent/OID4VCIHolder.ts | ||
+++ b/node_modules/@sphereon/ssi-sdk.oid4vci-holder/src/agent/OID4VCIHolder.ts | ||
@@ -191,6 +191,7 @@ export class OID4VCIHolder implements IAgentPlugin { | ||
SupportedDidMethodEnum.DID_JWK, | ||
SupportedDidMethodEnum.DID_EBSI, | ||
SupportedDidMethodEnum.DID_ION, | ||
+ SupportedDidMethodEnum.DID_OYD, | ||
] | ||
private readonly jwtCryptographicSuitePreferences: Array<SignatureAlgorithmEnum> = [ | ||
SignatureAlgorithmEnum.ES256, |