@sphereon/ssi-sdk.ebsi-support 0.36.1-next.11 → 0.36.1-next.113

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/dist/index.d.cts CHANGED
@@ -7,7 +7,7 @@ import { PresentationDefinitionV2, Format } from '@sphereon/pex-models';
7
7
  import { ManagedIdentifierDidResult, IIdentifierResolution, ManagedIdentifierDidOpts } from '@sphereon/ssi-sdk-ext.identifier-resolution';
8
8
  import { IJwtService } from '@sphereon/ssi-sdk-ext.jwt-service';
9
9
  import { Party, IBasicCredentialLocaleBranding } from '@sphereon/ssi-sdk.data-store-types';
10
- import { PrepareStartArgs, IssuanceOpts, IOID4VCIHolder, ErrorDetails, MappedCredentialToAccept } from '@sphereon/ssi-sdk.oid4vci-holder';
10
+ import { PrepareStartArgs, IssuanceOpts, IOID4VCIHolder, WalletType, ErrorDetails, MappedCredentialToAccept } from '@sphereon/ssi-sdk.oid4vci-holder';
11
11
  import { IPresentationExchange } from '@sphereon/ssi-sdk.presentation-exchange';
12
12
  import { IDidAuthSiopOpAuthenticator } from '@sphereon/ssi-sdk.siopv2-oid4vp-op-auth';
13
13
  import { _ExtendedIKey } from '@veramo/utils';
@@ -637,6 +637,7 @@ type CreateAttestationAuthRequestURLArgs = {
637
637
  type GetAttestationArgs = {
638
638
  clientId: string;
639
639
  authReqResult: AttestationAuthRequestUrlResult;
640
+ walletType?: WalletType;
640
641
  opts?: {
641
642
  timeout: number;
642
643
  };
package/dist/index.d.ts CHANGED
@@ -7,7 +7,7 @@ import { PresentationDefinitionV2, Format } from '@sphereon/pex-models';
7
7
  import { ManagedIdentifierDidResult, IIdentifierResolution, ManagedIdentifierDidOpts } from '@sphereon/ssi-sdk-ext.identifier-resolution';
8
8
  import { IJwtService } from '@sphereon/ssi-sdk-ext.jwt-service';
9
9
  import { Party, IBasicCredentialLocaleBranding } from '@sphereon/ssi-sdk.data-store-types';
10
- import { PrepareStartArgs, IssuanceOpts, IOID4VCIHolder, ErrorDetails, MappedCredentialToAccept } from '@sphereon/ssi-sdk.oid4vci-holder';
10
+ import { PrepareStartArgs, IssuanceOpts, IOID4VCIHolder, WalletType, ErrorDetails, MappedCredentialToAccept } from '@sphereon/ssi-sdk.oid4vci-holder';
11
11
  import { IPresentationExchange } from '@sphereon/ssi-sdk.presentation-exchange';
12
12
  import { IDidAuthSiopOpAuthenticator } from '@sphereon/ssi-sdk.siopv2-oid4vp-op-auth';
13
13
  import { _ExtendedIKey } from '@veramo/utils';
@@ -637,6 +637,7 @@ type CreateAttestationAuthRequestURLArgs = {
637
637
  type GetAttestationArgs = {
638
638
  clientId: string;
639
639
  authReqResult: AttestationAuthRequestUrlResult;
640
+ walletType?: WalletType;
640
641
  opts?: {
641
642
  timeout: number;
642
643
  };
package/dist/index.js CHANGED
@@ -2394,7 +2394,7 @@ var ebsiCreateAttestationAuthRequestURL = /* @__PURE__ */ __name(async ({ client
2394
2394
  ]
2395
2395
  };
2396
2396
  }, "ebsiCreateAttestationAuthRequestURL");
2397
- var ebsiGetAttestationInterpreter = /* @__PURE__ */ __name(async ({ clientId, authReqResult }, context) => {
2397
+ var ebsiGetAttestationInterpreter = /* @__PURE__ */ __name(async ({ clientId, authReqResult, walletType }, context) => {
2398
2398
  const identifier = authReqResult.identifier;
2399
2399
  const vciStateCallbacks = /* @__PURE__ */ new Map();
2400
2400
  const vpStateCallbacks = /* @__PURE__ */ new Map();
@@ -2414,7 +2414,8 @@ var ebsiGetAttestationInterpreter = /* @__PURE__ */ __name(async ({ clientId, au
2414
2414
  SupportedDidMethodEnum.DID_EBSI,
2415
2415
  SupportedDidMethodEnum.DID_KEY
2416
2416
  ],
2417
- stateNavigationListener: OID4VCICallbackStateListener(vciStateCallbacks)
2417
+ stateNavigationListener: OID4VCICallbackStateListener(vciStateCallbacks),
2418
+ walletType: walletType ?? "NATURAL_PERSON"
2418
2419
  });
2419
2420
  const vpLinkHandler = new Siopv2OID4VPLinkHandler({
2420
2421
  protocols: [