@sphereon/ssi-sdk.oid4vci-holder 0.34.1-fix.226 → 0.34.1-fix.254

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.oid4vci-holder",
3
- "version": "0.34.1-fix.226+0b5294f9",
3
+ "version": "0.34.1-fix.254+c3fdd3d0",
4
4
  "source": "src/index.ts",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",
@@ -26,27 +26,27 @@
26
26
  "build": "tsup --config ../../tsup.config.ts --tsconfig ../../tsconfig.tsup.json"
27
27
  },
28
28
  "dependencies": {
29
- "@sphereon/did-auth-siop": "0.19.1-feature.DIIPv4.170",
29
+ "@sphereon/did-auth-siop": "0.19.1-feature.DIIPv4.184",
30
30
  "@sphereon/kmp-mdoc-core": "0.2.0-SNAPSHOT.26",
31
- "@sphereon/oid4vci-client": "0.19.1-feature.DIIPv4.170",
32
- "@sphereon/oid4vci-common": "0.19.1-feature.DIIPv4.170",
33
- "@sphereon/ssi-sdk-ext.did-utils": "0.34.1-fix.226+0b5294f9",
34
- "@sphereon/ssi-sdk-ext.identifier-resolution": "0.34.1-fix.226+0b5294f9",
35
- "@sphereon/ssi-sdk-ext.jwt-service": "0.34.1-fix.226+0b5294f9",
36
- "@sphereon/ssi-sdk-ext.key-utils": "0.34.1-fix.226+0b5294f9",
37
- "@sphereon/ssi-sdk.contact-manager": "0.34.1-fix.226+0b5294f9",
38
- "@sphereon/ssi-sdk.core": "0.34.1-fix.226+0b5294f9",
39
- "@sphereon/ssi-sdk.credential-store": "0.34.1-fix.226+0b5294f9",
40
- "@sphereon/ssi-sdk.credential-validation": "0.34.1-fix.226+0b5294f9",
41
- "@sphereon/ssi-sdk.data-store": "0.34.1-fix.226+0b5294f9",
42
- "@sphereon/ssi-sdk.issuance-branding": "0.34.1-fix.226+0b5294f9",
43
- "@sphereon/ssi-sdk.mdl-mdoc": "0.34.1-fix.226+0b5294f9",
44
- "@sphereon/ssi-sdk.oidf-client": "0.34.1-fix.226+0b5294f9",
45
- "@sphereon/ssi-sdk.sd-jwt": "0.34.1-fix.226+0b5294f9",
46
- "@sphereon/ssi-sdk.siopv2-oid4vp-common": "0.34.1-fix.226+0b5294f9",
47
- "@sphereon/ssi-sdk.siopv2-oid4vp-op-auth": "0.34.1-fix.226+0b5294f9",
48
- "@sphereon/ssi-sdk.xstate-machine-persistence": "0.34.1-fix.226+0b5294f9",
49
- "@sphereon/ssi-types": "0.34.1-fix.226+0b5294f9",
31
+ "@sphereon/oid4vci-client": "0.19.1-feature.DIIPv4.184",
32
+ "@sphereon/oid4vci-common": "0.19.1-feature.DIIPv4.184",
33
+ "@sphereon/ssi-sdk-ext.did-utils": "0.34.1-fix.254+c3fdd3d0",
34
+ "@sphereon/ssi-sdk-ext.identifier-resolution": "0.34.1-fix.254+c3fdd3d0",
35
+ "@sphereon/ssi-sdk-ext.jwt-service": "0.34.1-fix.254+c3fdd3d0",
36
+ "@sphereon/ssi-sdk-ext.key-utils": "0.34.1-fix.254+c3fdd3d0",
37
+ "@sphereon/ssi-sdk.contact-manager": "0.34.1-fix.254+c3fdd3d0",
38
+ "@sphereon/ssi-sdk.core": "0.34.1-fix.254+c3fdd3d0",
39
+ "@sphereon/ssi-sdk.credential-store": "0.34.1-fix.254+c3fdd3d0",
40
+ "@sphereon/ssi-sdk.credential-validation": "0.34.1-fix.254+c3fdd3d0",
41
+ "@sphereon/ssi-sdk.data-store-types": "0.34.1-fix.254+c3fdd3d0",
42
+ "@sphereon/ssi-sdk.issuance-branding": "0.34.1-fix.254+c3fdd3d0",
43
+ "@sphereon/ssi-sdk.mdl-mdoc": "0.34.1-fix.254+c3fdd3d0",
44
+ "@sphereon/ssi-sdk.oidf-client": "0.34.1-fix.254+c3fdd3d0",
45
+ "@sphereon/ssi-sdk.sd-jwt": "0.34.1-fix.254+c3fdd3d0",
46
+ "@sphereon/ssi-sdk.siopv2-oid4vp-common": "0.34.1-fix.254+c3fdd3d0",
47
+ "@sphereon/ssi-sdk.siopv2-oid4vp-op-auth": "0.34.1-fix.254+c3fdd3d0",
48
+ "@sphereon/ssi-sdk.xstate-machine-persistence": "0.34.1-fix.254+c3fdd3d0",
49
+ "@sphereon/ssi-types": "0.34.1-fix.254+c3fdd3d0",
50
50
  "@veramo/core": "4.2.0",
51
51
  "@veramo/data-store": "4.2.0",
52
52
  "@veramo/utils": "4.2.0",
@@ -59,8 +59,8 @@
59
59
  "xstate": "^4.38.3"
60
60
  },
61
61
  "devDependencies": {
62
- "@sphereon/oid4vc-common": "0.19.1-feature.DIIPv4.170",
63
- "@sphereon/ssi-sdk-ext.did-resolver-jwk": "0.34.1-fix.226+0b5294f9",
62
+ "@sphereon/oid4vc-common": "0.19.1-feature.DIIPv4.184",
63
+ "@sphereon/ssi-sdk-ext.did-resolver-jwk": "0.34.1-fix.254+c3fdd3d0",
64
64
  "@sphereon/ssi-sdk.siopv2-oid4vp-common": "workspace:*",
65
65
  "@types/i18n-js": "^3.8.9",
66
66
  "@types/lodash.memoize": "^4.1.9",
@@ -90,5 +90,5 @@
90
90
  "OID4VCI",
91
91
  "State Machine"
92
92
  ],
93
- "gitHead": "0b5294f9513532c0bf553b1faf38363c5754b5af"
93
+ "gitHead": "c3fdd3d0d7e4124484f87a611792c9201a01256b"
94
94
  }
@@ -29,11 +29,11 @@ import {
29
29
  import { IJwtService, JwsHeader } from '@sphereon/ssi-sdk-ext.jwt-service'
30
30
  import { signatureAlgorithmFromKey } from '@sphereon/ssi-sdk-ext.key-utils'
31
31
  import { defaultHasher } from '@sphereon/ssi-sdk.core'
32
+ import { ensureRawDocument } from '@sphereon/ssi-sdk.data-store-types'
32
33
  import {
33
34
  ConnectionType,
34
35
  CorrelationIdentifierType,
35
36
  CredentialCorrelationType,
36
- ensureRawDocument,
37
37
  FindPartyArgs,
38
38
  IBasicCredentialLocaleBranding,
39
39
  IBasicIssuerLocaleBranding,
@@ -42,7 +42,7 @@ import {
42
42
  IIssuerLocaleBranding,
43
43
  NonPersistedIdentity,
44
44
  Party,
45
- } from '@sphereon/ssi-sdk.data-store'
45
+ } from '@sphereon/ssi-sdk.data-store-types'
46
46
  import {
47
47
  CredentialMapper,
48
48
  type CredentialProofFormat,
@@ -68,6 +68,7 @@ import {
68
68
  W3CVerifiableCredential,
69
69
  } from '@veramo/core'
70
70
  import { asArray, computeEntryHash } from '@veramo/utils'
71
+ import fetch from 'cross-fetch'
71
72
  import { decodeJWT } from 'did-jwt'
72
73
  import { v4 as uuidv4 } from 'uuid'
73
74
  import { OID4VCIMachine } from '../machines/oid4vciMachine'
@@ -83,7 +84,6 @@ import {
83
84
  startFirstPartApplicationMachine,
84
85
  verifyCredentialToAccept,
85
86
  } from '../services/OID4VCIHolderService'
86
- import 'cross-fetch/polyfill'
87
87
  import {
88
88
  AddContactIdentityArgs,
89
89
  AssertValidCredentialsArgs,
@@ -1,6 +1,6 @@
1
1
  import { assign, createMachine, DoneInvokeEvent, interpret } from 'xstate'
2
2
  import { AuthorizationChallengeCodeResponse, AuthorizationChallengeError, AuthorizationChallengeErrorResponse } from '@sphereon/oid4vci-common'
3
- import { DidAuthConfig } from '@sphereon/ssi-sdk.data-store'
3
+ import { DidAuthConfig } from '@sphereon/ssi-sdk.data-store-types'
4
4
  import { CreateConfigResult } from '@sphereon/ssi-sdk.siopv2-oid4vp-op-auth'
5
5
  import { createConfig, getSiopRequest, sendAuthorizationChallengeRequest, sendAuthorizationResponse } from '../services/FirstPartyMachineServices'
6
6
  import { translate } from '../localization/Localization'
@@ -1,5 +1,5 @@
1
1
  import { AuthorizationChallengeCodeResponse, AuthzFlowType, toAuthorizationResponsePayload } from '@sphereon/oid4vci-common'
2
- import { IBasicIssuerLocaleBranding, Identity, IIssuerLocaleBranding, Party } from '@sphereon/ssi-sdk.data-store'
2
+ import { IBasicIssuerLocaleBranding, Identity, IIssuerLocaleBranding, Party } from '@sphereon/ssi-sdk.data-store-types'
3
3
  import { assign, createMachine, DoneInvokeEvent, interpret } from 'xstate'
4
4
  import { translate } from '../localization/Localization'
5
5
  import {
@@ -1,5 +1,5 @@
1
1
  import { CredentialsSupportedDisplay, NameAndLocale } from '@sphereon/oid4vci-common'
2
- import { IBasicCredentialClaim, IBasicCredentialLocaleBranding, IBasicIssuerLocaleBranding } from '@sphereon/ssi-sdk.data-store'
2
+ import { IBasicCredentialClaim, IBasicCredentialLocaleBranding, IBasicIssuerLocaleBranding } from '@sphereon/ssi-sdk.data-store-types'
3
3
  import { SdJwtClaimDisplayMetadata, SdJwtClaimMetadata, SdJwtClaimPath, SdJwtTypeDisplayMetadata } from '@sphereon/ssi-types'
4
4
  import {
5
5
  IssuerLocaleBrandingFromArgs,
@@ -23,7 +23,7 @@ import {
23
23
  } from '@sphereon/ssi-sdk-ext.identifier-resolution'
24
24
  import { keyTypeFromCryptographicSuite } from '@sphereon/ssi-sdk-ext.key-utils'
25
25
  import { defaultHasher } from '@sphereon/ssi-sdk.core'
26
- import { IBasicCredentialLocaleBranding, IBasicIssuerLocaleBranding } from '@sphereon/ssi-sdk.data-store'
26
+ import { IBasicCredentialLocaleBranding, IBasicIssuerLocaleBranding } from '@sphereon/ssi-sdk.data-store-types'
27
27
  import {
28
28
  CredentialMapper,
29
29
  Hasher,
@@ -2,7 +2,7 @@ import { RPRegistrationMetadataPayload } from '@sphereon/did-auth-siop'
2
2
  import { OpenID4VCIClientState } from '@sphereon/oid4vci-client'
3
3
  import { AuthorizationChallengeCodeResponse } from '@sphereon/oid4vci-common'
4
4
  import { UniqueDigitalCredential } from '@sphereon/ssi-sdk.credential-store'
5
- import { DidAuthConfig, Party } from '@sphereon/ssi-sdk.data-store'
5
+ import { DidAuthConfig, Party } from '@sphereon/ssi-sdk.data-store-types'
6
6
  import { IIdentifier } from '@veramo/core'
7
7
  import { DcqlQuery } from 'dcql'
8
8
  import { BaseActionObject, Interpreter, ResolveTypegenMeta, ServiceMap, State, StateMachine, StatesConfig, TypegenDisabled } from 'xstate'
@@ -34,7 +34,7 @@ import {
34
34
  Identity,
35
35
  IIssuerLocaleBranding,
36
36
  Party,
37
- } from '@sphereon/ssi-sdk.data-store'
37
+ } from '@sphereon/ssi-sdk.data-store-types'
38
38
  import { IIssuanceBranding } from '@sphereon/ssi-sdk.issuance-branding'
39
39
  import { ImDLMdoc } from '@sphereon/ssi-sdk.mdl-mdoc'
40
40
  import { ISDJwtPlugin } from '@sphereon/ssi-sdk.sd-jwt'