@sphereon/ssi-sdk.vc-status-list 0.34.1-feature.merge.crypto.extensions.modules.39 → 0.34.1-fix.103

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,7 +1,7 @@
1
1
  {
2
2
  "name": "@sphereon/ssi-sdk.vc-status-list",
3
3
  "description": "Sphereon SSI-SDK plugin for Status List management, like StatusList2021.",
4
- "version": "0.34.1-feature.merge.crypto.extensions.modules.39+dea3b6de",
4
+ "version": "0.34.1-fix.103+693d8f0b",
5
5
  "source": "src/index.ts",
6
6
  "type": "module",
7
7
  "main": "./dist/index.cjs",
@@ -23,17 +23,17 @@
23
23
  },
24
24
  "dependencies": {
25
25
  "@4sure-tech/vc-bitstring-status-lists": "0.1.0-unstable.1",
26
- "@sd-jwt/core": "^0.9.2",
27
- "@sd-jwt/jwt-status-list": "^0.9.1",
28
- "@sd-jwt/sd-jwt-vc": "^0.9.2",
26
+ "@sd-jwt/core": "^0.15.0",
27
+ "@sd-jwt/jwt-status-list": "^0.15.0",
28
+ "@sd-jwt/sd-jwt-vc": "^0.15.1",
29
29
  "@sphereon/kmp-mdoc-core": "0.2.0-SNAPSHOT.26",
30
- "@sphereon/oid4vci-common": "0.19.1-next.2",
31
- "@sphereon/ssi-sdk-ext.did-utils": "0.34.1-feature.merge.crypto.extensions.modules.39+dea3b6de",
32
- "@sphereon/ssi-sdk-ext.identifier-resolution": "0.34.1-feature.merge.crypto.extensions.modules.39+dea3b6de",
33
- "@sphereon/ssi-sdk-ext.jwt-service": "0.34.1-feature.merge.crypto.extensions.modules.39+dea3b6de",
34
- "@sphereon/ssi-sdk.credential-vcdm": "0.34.1-feature.merge.crypto.extensions.modules.39+dea3b6de",
35
- "@sphereon/ssi-sdk.data-store": "0.34.1-feature.merge.crypto.extensions.modules.39+dea3b6de",
36
- "@sphereon/ssi-types": "0.34.1-feature.merge.crypto.extensions.modules.39+dea3b6de",
30
+ "@sphereon/oid4vci-common": "0.19.1-feature.DIIPv4.86",
31
+ "@sphereon/ssi-sdk-ext.did-utils": "0.34.1-fix.103+693d8f0b",
32
+ "@sphereon/ssi-sdk-ext.identifier-resolution": "0.34.1-fix.103+693d8f0b",
33
+ "@sphereon/ssi-sdk-ext.jwt-service": "0.34.1-fix.103+693d8f0b",
34
+ "@sphereon/ssi-sdk.credential-vcdm": "0.34.1-fix.103+693d8f0b",
35
+ "@sphereon/ssi-sdk.data-store": "0.34.1-fix.103+693d8f0b",
36
+ "@sphereon/ssi-types": "0.34.1-fix.103+693d8f0b",
37
37
  "@sphereon/vc-status-list": "7.0.0-next.0",
38
38
  "@veramo/core": "4.2.0",
39
39
  "@veramo/credential-status": "4.2.0",
@@ -72,5 +72,5 @@
72
72
  "SSI",
73
73
  "StatusList2021"
74
74
  ],
75
- "gitHead": "dea3b6de7ecd726e67ce100337fba2ea968500af"
75
+ "gitHead": "693d8f0b0c6566650a31647fda630a0715f960c7"
76
76
  }
@@ -1,23 +1,25 @@
1
1
  import type { BitsPerStatus } from '@sd-jwt/jwt-status-list'
2
2
  import { StatusList } from '@sd-jwt/jwt-status-list'
3
3
  import { deflate, inflate } from 'pako'
4
- import pkg from '@sphereon/kmp-mdoc-core'
5
- const { com, kotlin } = pkg
4
+
5
+ import mdocPkg from '@sphereon/kmp-mdoc-core'
6
+ const { com, kotlin } = mdocPkg
7
+
6
8
  import base64url from 'base64url'
7
9
  import type { IRequiredContext, SignedStatusListData } from '../../types'
8
10
  import { type DecodedStatusListPayload, resolveIdentifier } from './common'
9
11
 
10
- export type IKey = pkg.com.sphereon.crypto.IKey
11
- export type CborItem<T> = pkg.com.sphereon.cbor.CborItem<T>
12
- export const CborByteString = com.sphereon.cbor.CborByteString
13
- export type CborByteStringType = pkg.com.sphereon.cbor.CborByteString
14
- export const CborUInt = com.sphereon.cbor.CborUInt
15
- export type CborUIntType = pkg.com.sphereon.cbor.CborUInt
16
- export const CborString = com.sphereon.cbor.CborString
17
- export type CborStringType = pkg.com.sphereon.cbor.CborString
12
+ export type IKey = mdocPkg.com.sphereon.crypto.IKey
13
+ export type CborItem<T> = mdocPkg.com.sphereon.cbor.CborItem<T>
14
+ export const CborByteString = mdocPkg.com.sphereon.cbor.CborByteString
15
+ export type CborByteStringType = mdocPkg.com.sphereon.cbor.CborByteString
16
+ export const CborUInt = mdocPkg.com.sphereon.cbor.CborUInt
17
+ export type CborUIntType = mdocPkg.com.sphereon.cbor.CborUInt
18
+ export const CborString = mdocPkg.com.sphereon.cbor.CborString
19
+ export type CborStringType = mdocPkg.com.sphereon.cbor.CborString
18
20
 
19
21
  // const cbor = cborpkg.com.sphereon.cbor
20
- // const kmp = cborpkg.com.sphereon.kmp
22
+ // const kmp = cborpkg. mdoc.com.sphereon.kmp
21
23
  // const kotlin = cborpkg.kotlin
22
24
  const decompressRawStatusList = (StatusList as any).decodeStatusList.bind(StatusList)
23
25
 
@@ -93,7 +95,7 @@ export const createSignedCbor = async (
93
95
  function buildClaimsMap(
94
96
  id: string,
95
97
  issuerString: string,
96
- statusListMap: pkg.com.sphereon.cbor.CborMap<CborStringType, CborItem<any>>,
98
+ statusListMap: mdocPkg.com.sphereon.cbor.CborMap<CborStringType, CborItem<any>>,
97
99
  expiresAt?: Date,
98
100
  ) {
99
101
  const ttl = 65535 // FIXME figure out what value should be / come from and what the difference is with exp