Skip to content

Commit

Permalink
fix: OYD DID support fixes (as patches for now)
Browse files Browse the repository at this point in the history
  • Loading branch information
nklomp committed Nov 15, 2024
1 parent 14a064f commit 72b836f
Show file tree
Hide file tree
Showing 2 changed files with 48 additions and 0 deletions.
24 changes: 24 additions & 0 deletions patches/@sphereon+ssi-sdk-ext.did-utils+0.24.1-next.3.patch
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 patches/@sphereon+ssi-sdk.oid4vci-holder+0.29.1-next.47.patch
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,

0 comments on commit 72b836f

Please sign in to comment.