@sphereon/ssi-sdk.credential-vcdm-jsonld-provider 0.34.1-next.29 → 0.34.1-next.299

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sphereon/ssi-sdk.credential-vcdm-jsonld-provider",
3
- "version": "0.34.1-next.29+2593a430",
3
+ "version": "0.34.1-next.299+9e9f5a50",
4
4
  "source": "src/index.ts",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",
@@ -24,7 +24,7 @@
24
24
  },
25
25
  "scripts": {
26
26
  "build": "tsup --config ../../tsup.config.ts --tsconfig ../../tsconfig.tsup.json",
27
- "generate-plugin-schema.old": "ts-node ../../packages/dev/bin/sphereon.js dev generate-plugin-schema"
27
+ "generate-plugin-schema.old": "tsx ../../packages/dev/bin/sphereon.js dev generate-plugin-schema"
28
28
  },
29
29
  "dependencies": {
30
30
  "@digitalbazaar/ed25519-signature-2018": "^4.1.0",
@@ -40,14 +40,15 @@
40
40
  "@digitalcredentials/vc": "^9.0.1",
41
41
  "@digitalcredentials/x25519-key-agreement-2020-context": "^1.0.0",
42
42
  "@noble/hashes": "1.6.1",
43
- "@sphereon/ssi-sdk-ext.did-utils": "0.29.1-next.3",
44
- "@sphereon/ssi-sdk-ext.key-utils": "0.29.1-next.3",
45
- "@sphereon/ssi-sdk.agent-config": "0.34.1-next.29+2593a430",
46
- "@sphereon/ssi-sdk.core": "0.34.1-next.29+2593a430",
47
- "@sphereon/ssi-sdk.credential-vcdm": "0.34.1-next.29+2593a430",
48
- "@sphereon/ssi-sdk.data-store": "0.34.1-next.29+2593a430",
49
- "@sphereon/ssi-sdk.vc-status-list": "0.34.1-next.29+2593a430",
50
- "@sphereon/ssi-types": "0.34.1-next.29+2593a430",
43
+ "@sphereon/ssi-sdk-ext.did-utils": "0.34.1-next.299+9e9f5a50",
44
+ "@sphereon/ssi-sdk-ext.key-utils": "0.34.1-next.299+9e9f5a50",
45
+ "@sphereon/ssi-sdk.agent-config": "0.34.1-next.299+9e9f5a50",
46
+ "@sphereon/ssi-sdk.core": "0.34.1-next.299+9e9f5a50",
47
+ "@sphereon/ssi-sdk.credential-vcdm": "0.34.1-next.299+9e9f5a50",
48
+ "@sphereon/ssi-sdk.data-store": "0.34.1-next.299+9e9f5a50",
49
+ "@sphereon/ssi-sdk.data-store-types": "0.34.1-next.299+9e9f5a50",
50
+ "@sphereon/ssi-sdk.vc-status-list": "0.34.1-next.299+9e9f5a50",
51
+ "@sphereon/ssi-types": "0.34.1-next.299+9e9f5a50",
51
52
  "@veramo-community/lds-ecdsa-secp256k1-recovery2020": "github:uport-project/EcdsaSecp256k1RecoverySignature2020",
52
53
  "@veramo/core": "4.2.0",
53
54
  "@veramo/utils": "4.2.0",
@@ -60,17 +61,17 @@
60
61
  },
61
62
  "devDependencies": {
62
63
  "@sphereon/did-uni-client": "^0.6.3",
63
- "@sphereon/ssi-sdk-ext.did-provider-key": "0.29.1-next.3",
64
+ "@sphereon/ssi-sdk-ext.did-provider-key": "0.34.1-next.299+9e9f5a50",
64
65
  "@sphereon/ssi-sdk-ext.did-provider-lto": "0.23.0",
65
- "@sphereon/ssi-sdk-ext.identifier-resolution": "0.29.1-next.3",
66
- "@sphereon/ssi-sdk-ext.key-manager": "0.29.1-next.3",
67
- "@sphereon/ssi-sdk-ext.kms-local": "0.29.1-next.3",
66
+ "@sphereon/ssi-sdk-ext.identifier-resolution": "0.34.1-next.299+9e9f5a50",
67
+ "@sphereon/ssi-sdk-ext.key-manager": "0.34.1-next.299+9e9f5a50",
68
+ "@sphereon/ssi-sdk-ext.kms-local": "0.34.1-next.299+9e9f5a50",
68
69
  "@sphereon/ssi-sdk.agent-config": "workspace:*",
69
70
  "@transmute/lds-ecdsa-secp256k1-recovery2020": "^0.0.7",
70
71
  "@types/nock": "^11.1.0",
71
72
  "@types/node": "^20.17.1",
72
- "@typescript-eslint/eslint-plugin": "^4.33.0",
73
- "@typescript-eslint/parser": "^4.33.0",
73
+ "@typescript-eslint/eslint-plugin": "^8.9.0",
74
+ "@typescript-eslint/parser": "^8.9.0",
74
75
  "@veramo/credential-ld": "4.2.0",
75
76
  "@veramo/credential-w3c": "4.2.0",
76
77
  "@veramo/data-store": "4.2.0",
@@ -118,5 +119,5 @@
118
119
  "peerDependencies": {
119
120
  "react-native-securerandom": "^1.0.1"
120
121
  },
121
- "gitHead": "2593a430ac4faca47b620a3e12b297899518f2af"
122
+ "gitHead": "9e9f5a50ead9373a078cb5291cbc4fb1e7865dc2"
122
123
  }
@@ -1,5 +1,5 @@
1
1
  import { describe } from 'vitest'
2
- import 'cross-fetch/polyfill'
2
+ import fetch from 'cross-fetch'
3
3
  import { Server } from 'http'
4
4
 
5
5
  import { createObjects, getConfig } from '@sphereon/ssi-sdk.agent-config'
@@ -1,22 +1,23 @@
1
- const contextCredentialV1 = require('./contexts/www.w3.org_2018_credentials_v1.json') // assert { type: 'json' }
2
- const contextCredentialV2 = require('./contexts/www.w3.org_ns_credentials_v2.json') // assert { type: 'json' }
3
1
  import contextBBSV1 from './contexts/bbs-bls-signature-2020-v1.json'
4
- import contextDidV1 from './contexts/www.w3.org_ns_did_v1.json' //assert { type: 'json' }
2
+ import contextCitizenshipV1 from './contexts/citizenship-v1.json' // assert { type: 'json' }
3
+ import contextSuitesEd25519_2020 from './contexts/ed25519-signature-2020-v1.json' //assert { type: 'json' }
4
+ import contextSuiteEip712 from './contexts/eip712.json' // assert { type: 'json' }
5
+ import contextSuitesJws_2020 from './contexts/json-web-signature-2020-v1.json' // assert { type: 'json' }
6
+ import contextLdsEcdsaSecpRecovery2020_0 from './contexts/lds-ecdsa-secp256k1-recovery2020-0.0.json' // assert { type: 'json' }
7
+ import contextProfile from './contexts/veramo.io_contexts_profile_v1.json' //assert { type: 'json' }
8
+ import contextSuitesEd25519_2018 from './contexts/w3id.org_security_suites_ed25519-2018_v1.json' //assert { type: 'json' }
5
9
  import contextSecurityV1 from './contexts/w3id.org_security_v1.json' //assert { type: 'json' }
6
10
  import contextSecurityV2 from './contexts/w3id.org_security_v2.json' //assert { type: 'json' }
7
11
  import contextSecurityV3 from './contexts/w3id.org_security_v3-unstable.json' //assert { type: 'json' }
8
- import contextSuitesEd25519_2018 from './contexts/w3id.org_security_suites_ed25519-2018_v1.json' //assert { type: 'json' }
9
12
  import contextSuitesX25519 from './contexts/w3id.org_security_suites_x25519-2019_v1.json' //assert { type: 'json' }
10
- import contextProfile from './contexts/veramo.io_contexts_profile_v1.json' //assert { type: 'json' }
11
- import contextLdsEcdsaSecpRecovery2020_0 from './contexts/lds-ecdsa-secp256k1-recovery2020-0.0.json' // assert { type: 'json' }
12
13
  import contextLdsEcdsaSecpRecovery2020_2 from './contexts/w3id.org_security_suites_secp256k1recovery-2020_v2.json' //assert { type: 'json' }
13
14
  import contextSuitesSecp from './contexts/w3id.org_security_suites_secp256k1recovery-2020_v2.json' //assert { type: 'json' }
14
- import contextSuitesEd25519_2020 from './contexts/ed25519-signature-2020-v1.json' //assert { type: 'json' }
15
- import contextSuitesJws_2020 from './contexts/json-web-signature-2020-v1.json' // assert { type: 'json' }
16
- import contextSuiteEip712 from './contexts/eip712.json' // assert { type: 'json' }
17
- import contextCitizenshipV1 from './contexts/citizenship-v1.json' // assert { type: 'json' }
18
15
  import contextVCRevocationList2020 from './contexts/vc-revocation-list-2020-v1.json' // assert { type: 'json' }
19
16
  import contextVCStatusList2021 from './contexts/vc-status-list-2021-v1.json' // assert { type: 'json' }
17
+ import contextDidV1 from './contexts/www.w3.org_ns_did_v1.json' //assert { type: 'json' }
18
+
19
+ const contextCredentialV1 = require('./contexts/www.w3.org_2018_credentials_v1.json') // assert { type: 'json' }
20
+ const contextCredentialV2 = require('./contexts/www.w3.org_ns_credentials_v2.json') // assert { type: 'json' }
20
21
 
21
22
  /**
22
23
  * Provides a hardcoded map of common context definitions
@@ -1,7 +1,7 @@
1
1
  import sigpkg from '@digitalcredentials/jsonld-signatures'
2
2
  import * as vc from '@digitalcredentials/vc'
3
3
  import type { CredentialPayload, DIDDocument, IAgentContext, PresentationPayload, VerifiableCredential, VerifiablePresentation } from '@veramo/core'
4
- import { fetch } from 'cross-fetch'
4
+ import fetch from 'cross-fetch'
5
5
  import Debug from 'debug'
6
6
 
7
7
  import { LdContextLoader } from './ld-context-loader'