@sphereon/ssi-types 0.36.1-feature.SSISDK.82.and.SSISDK.70.37 → 0.36.1-next.39

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
@@ -447,7 +447,7 @@ declare enum ICoseCurve {
447
447
  }
448
448
 
449
449
  type DeviceResponseCbor = mdocPkg.com.sphereon.mdoc.data.device.DeviceResponseCbor;
450
- declare const sha256: (data: string | ArrayBuffer | SharedArrayBuffer) => Uint8Array;
450
+ declare const sha256: (data: string | ArrayBuffer) => Uint8Array;
451
451
  declare class CredentialMapper {
452
452
  /**
453
453
  * Decodes a compact SD-JWT vc to it's decoded variant. This method can be used when the hasher implementation used is Async, and therefore not suitable for usage
@@ -1142,8 +1142,8 @@ interface WrappedSdJwtVerifiableCredential {
1142
1142
  */
1143
1143
  credential: SdJwtDecodedVerifiableCredential;
1144
1144
  }
1145
- type HasherSync = (data: string | ArrayBuffer | SharedArrayBuffer, alg: string) => Uint8Array;
1146
- type Hasher = (data: string | ArrayBuffer | SharedArrayBuffer, alg: string) => OrPromise<Uint8Array>;
1145
+ type HasherSync = (data: string | ArrayBuffer, alg: string) => Uint8Array;
1146
+ type Hasher = (data: string | ArrayBuffer, alg: string) => OrPromise<Uint8Array>;
1147
1147
  interface WrappedSdJwtVerifiablePresentation {
1148
1148
  /**
1149
1149
  * Original VP that we've received. Can be either the encoded or decoded variant.
package/dist/index.d.ts CHANGED
@@ -447,7 +447,7 @@ declare enum ICoseCurve {
447
447
  }
448
448
 
449
449
  type DeviceResponseCbor = mdocPkg.com.sphereon.mdoc.data.device.DeviceResponseCbor;
450
- declare const sha256: (data: string | ArrayBuffer | SharedArrayBuffer) => Uint8Array;
450
+ declare const sha256: (data: string | ArrayBuffer) => Uint8Array;
451
451
  declare class CredentialMapper {
452
452
  /**
453
453
  * Decodes a compact SD-JWT vc to it's decoded variant. This method can be used when the hasher implementation used is Async, and therefore not suitable for usage
@@ -1142,8 +1142,8 @@ interface WrappedSdJwtVerifiableCredential {
1142
1142
  */
1143
1143
  credential: SdJwtDecodedVerifiableCredential;
1144
1144
  }
1145
- type HasherSync = (data: string | ArrayBuffer | SharedArrayBuffer, alg: string) => Uint8Array;
1146
- type Hasher = (data: string | ArrayBuffer | SharedArrayBuffer, alg: string) => OrPromise<Uint8Array>;
1145
+ type HasherSync = (data: string | ArrayBuffer, alg: string) => Uint8Array;
1146
+ type Hasher = (data: string | ArrayBuffer, alg: string) => OrPromise<Uint8Array>;
1147
1147
  interface WrappedSdJwtVerifiablePresentation {
1148
1148
  /**
1149
1149
  * Original VP that we've received. Can be either the encoded or decoded variant.