@sphereon/ssi-sdk.vc-status-list 0.34.1-feature.SSISDK.45.94 → 0.34.1-feature.SSISDK.46.40

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.SSISDK.45.94+24a0078a",
4
+ "version": "0.34.1-feature.SSISDK.46.40+f6339611",
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.15.0",
26
+ "@sd-jwt/core": "^0.9.2",
27
27
  "@sd-jwt/jwt-status-list": "^0.9.1",
28
- "@sd-jwt/sd-jwt-vc": "^0.15.0",
28
+ "@sd-jwt/sd-jwt-vc": "^0.9.2",
29
29
  "@sphereon/kmp-mdoc-core": "0.2.0-SNAPSHOT.26",
30
- "@sphereon/oid4vci-common": "0.19.1-feature.SSISDK.45.91",
31
- "@sphereon/ssi-sdk-ext.did-utils": "0.34.1-feature.SSISDK.45.94+24a0078a",
32
- "@sphereon/ssi-sdk-ext.identifier-resolution": "0.34.1-feature.SSISDK.45.94+24a0078a",
33
- "@sphereon/ssi-sdk-ext.jwt-service": "0.34.1-feature.SSISDK.45.94+24a0078a",
34
- "@sphereon/ssi-sdk.credential-vcdm": "0.34.1-feature.SSISDK.45.94+24a0078a",
35
- "@sphereon/ssi-sdk.data-store": "0.34.1-feature.SSISDK.45.94+24a0078a",
36
- "@sphereon/ssi-types": "0.34.1-feature.SSISDK.45.94+24a0078a",
30
+ "@sphereon/oid4vci-common": "0.19.1-next.2",
31
+ "@sphereon/ssi-sdk-ext.did-utils": "0.34.1-feature.SSISDK.46.40+f6339611",
32
+ "@sphereon/ssi-sdk-ext.identifier-resolution": "0.34.1-feature.SSISDK.46.40+f6339611",
33
+ "@sphereon/ssi-sdk-ext.jwt-service": "0.34.1-feature.SSISDK.46.40+f6339611",
34
+ "@sphereon/ssi-sdk.credential-vcdm": "0.34.1-feature.SSISDK.46.40+f6339611",
35
+ "@sphereon/ssi-sdk.data-store": "0.34.1-feature.SSISDK.46.40+f6339611",
36
+ "@sphereon/ssi-types": "0.34.1-feature.SSISDK.46.40+f6339611",
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": "24a0078a739502cd84e93cc2d4c3938c8854087a"
75
+ "gitHead": "f633961166543652ec09e4e194ed2bacbcb92602"
76
76
  }
@@ -1,25 +1,23 @@
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
-
5
- import mdocPkg from '@sphereon/kmp-mdoc-core'
6
- const { com, kotlin } = mdocPkg
7
-
4
+ import pkg from '@sphereon/kmp-mdoc-core'
5
+ const { com, kotlin } = pkg
8
6
  import base64url from 'base64url'
9
7
  import type { IRequiredContext, SignedStatusListData } from '../../types'
10
8
  import { type DecodedStatusListPayload, resolveIdentifier } from './common'
11
9
 
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
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
20
18
 
21
19
  // const cbor = cborpkg.com.sphereon.cbor
22
- // const kmp = cborpkg. mdoc.com.sphereon.kmp
20
+ // const kmp = cborpkg.com.sphereon.kmp
23
21
  // const kotlin = cborpkg.kotlin
24
22
  const decompressRawStatusList = (StatusList as any).decodeStatusList.bind(StatusList)
25
23
 
@@ -95,7 +93,7 @@ export const createSignedCbor = async (
95
93
  function buildClaimsMap(
96
94
  id: string,
97
95
  issuerString: string,
98
- statusListMap: mdocPkg.com.sphereon.cbor.CborMap<CborStringType, CborItem<any>>,
96
+ statusListMap: pkg.com.sphereon.cbor.CborMap<CborStringType, CborItem<any>>,
99
97
  expiresAt?: Date,
100
98
  ) {
101
99
  const ttl = 65535 // FIXME figure out what value should be / come from and what the difference is with exp