From efcbf2c6a7efc68746d2fc1873fee372cc7cc94a Mon Sep 17 00:00:00 2001 From: nklomp Date: Fri, 10 Mar 2023 01:19:36 +0100 Subject: [PATCH] fix: bbs+ fixes and updates --- packages/vc-handler-ld-local/package.json | 3 +- .../patches/@veramo+core+4.2.0.patch | 60 ------------------- 2 files changed, 1 insertion(+), 62 deletions(-) delete mode 100644 packages/vc-handler-ld-local/patches/@veramo+core+4.2.0.patch diff --git a/packages/vc-handler-ld-local/package.json b/packages/vc-handler-ld-local/package.json index 2b1935065..8cdf14842 100644 --- a/packages/vc-handler-ld-local/package.json +++ b/packages/vc-handler-ld-local/package.json @@ -11,8 +11,7 @@ } }, "scripts": { - "build": "tsc", - "postinstall": "patch-package" + "build": "tsc" }, "dependencies": { "@digitalcredentials/did-method-key": "^2.0.3", diff --git a/packages/vc-handler-ld-local/patches/@veramo+core+4.2.0.patch b/packages/vc-handler-ld-local/patches/@veramo+core+4.2.0.patch deleted file mode 100644 index 338feed41..000000000 --- a/packages/vc-handler-ld-local/patches/@veramo+core+4.2.0.patch +++ /dev/null @@ -1,60 +0,0 @@ -diff --git a/node_modules/@veramo/core/build/types/IIdentifier.d.ts b/node_modules/@veramo/core/build/types/IIdentifier.d.ts -index ace5497..d69eccd 100644 ---- a/node_modules/@veramo/core/build/types/IIdentifier.d.ts -+++ b/node_modules/@veramo/core/build/types/IIdentifier.d.ts -@@ -43,7 +43,7 @@ export type MinimalImportableIdentifier = { - * - * @public - */ --export type TKeyType = 'Ed25519' | 'Secp256k1' | 'Secp256r1' | 'X25519' | 'Bls12381G1' | 'Bls12381G2'; -+export type TKeyType = 'Ed25519' | 'Secp256k1' | 'Secp256r1' | 'X25519' | 'Bls12381G1' | 'Bls12381G2' | 'RSA'; - /** - * Cryptographic key - * @public -diff --git a/node_modules/@veramo/core/plugin.schema.json b/node_modules/@veramo/core/plugin.schema.json -index f33bd89..6b686d4 100644 ---- a/node_modules/@veramo/core/plugin.schema.json -+++ b/node_modules/@veramo/core/plugin.schema.json -@@ -476,7 +476,8 @@ - "Secp256r1", - "X25519", - "Bls12381G1", -- "Bls12381G2" -+ "Bls12381G2", -+ "RSA" - ], - "description": "Cryptographic key type." - }, -@@ -1046,7 +1047,8 @@ - "Secp256r1", - "X25519", - "Bls12381G1", -- "Bls12381G2" -+ "Bls12381G2", -+ "RSA" - ], - "description": "Cryptographic key type." - }, -@@ -2570,7 +2572,8 @@ - "Secp256r1", - "X25519", - "Bls12381G1", -- "Bls12381G2" -+ "Bls12381G2", -+ "RSA" - ], - "description": "Cryptographic key type." - }, -diff --git a/node_modules/@veramo/core/src/types/IIdentifier.ts b/node_modules/@veramo/core/src/types/IIdentifier.ts -index ee063bd..3002bb8 100644 ---- a/node_modules/@veramo/core/src/types/IIdentifier.ts -+++ b/node_modules/@veramo/core/src/types/IIdentifier.ts -@@ -51,7 +51,7 @@ export type MinimalImportableIdentifier = { - * - * @public - */ --export type TKeyType = 'Ed25519' | 'Secp256k1' | 'Secp256r1' | 'X25519' | 'Bls12381G1' | 'Bls12381G2' -+export type TKeyType = 'Ed25519' | 'Secp256k1' | 'Secp256r1' | 'X25519' | 'Bls12381G1' | 'Bls12381G2' | 'RSA' - - /** - * Cryptographic key