@sd-jwt/present 0.15.2-next.1 → 0.15.2-next.10
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/CHANGELOG.md +21 -21
- package/README.md +5 -5
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +3 -3
- package/dist/index.mjs +10 -10
- package/package.json +10 -11
- package/src/present.ts +9 -9
- package/src/test/present.spec.ts +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
-
# [0.15.0](https://github.com/openwallet-foundation
|
|
6
|
+
# [0.15.0](https://github.com/openwallet-foundation/sd-jwt-js/compare/v0.14.1...v0.15.0) (2025-08-20)
|
|
7
7
|
|
|
8
8
|
**Note:** Version bump only for package @sd-jwt/present
|
|
9
9
|
|
|
@@ -11,7 +11,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
# [0.14.0](https://github.com/openwallet-foundation
|
|
14
|
+
# [0.14.0](https://github.com/openwallet-foundation/sd-jwt-js/compare/v0.13.0...v0.14.0) (2025-06-30)
|
|
15
15
|
|
|
16
16
|
**Note:** Version bump only for package @sd-jwt/present
|
|
17
17
|
|
|
@@ -19,7 +19,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
|
|
22
|
-
# [0.13.0](https://github.com/openwallet-foundation
|
|
22
|
+
# [0.13.0](https://github.com/openwallet-foundation/sd-jwt-js/compare/v0.12.0...v0.13.0) (2025-06-25)
|
|
23
23
|
|
|
24
24
|
**Note:** Version bump only for package @sd-jwt/present
|
|
25
25
|
|
|
@@ -27,7 +27,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
27
27
|
|
|
28
28
|
|
|
29
29
|
|
|
30
|
-
# [0.12.0](https://github.com/openwallet-foundation
|
|
30
|
+
# [0.12.0](https://github.com/openwallet-foundation/sd-jwt-js/compare/v0.11.0...v0.12.0) (2025-06-21)
|
|
31
31
|
|
|
32
32
|
**Note:** Version bump only for package @sd-jwt/present
|
|
33
33
|
|
|
@@ -35,7 +35,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
35
35
|
|
|
36
36
|
|
|
37
37
|
|
|
38
|
-
# [0.11.0](https://github.com/openwallet-foundation
|
|
38
|
+
# [0.11.0](https://github.com/openwallet-foundation/sd-jwt-js/compare/v0.10.0...v0.11.0) (2025-06-17)
|
|
39
39
|
|
|
40
40
|
**Note:** Version bump only for package @sd-jwt/present
|
|
41
41
|
|
|
@@ -43,7 +43,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
43
43
|
|
|
44
44
|
|
|
45
45
|
|
|
46
|
-
# [0.10.0](https://github.com/openwallet-foundation
|
|
46
|
+
# [0.10.0](https://github.com/openwallet-foundation/sd-jwt-js/compare/v0.9.2...v0.10.0) (2025-03-24)
|
|
47
47
|
|
|
48
48
|
**Note:** Version bump only for package @sd-jwt/present
|
|
49
49
|
|
|
@@ -51,7 +51,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
51
51
|
|
|
52
52
|
|
|
53
53
|
|
|
54
|
-
## [0.9.2](https://github.com/openwallet-foundation
|
|
54
|
+
## [0.9.2](https://github.com/openwallet-foundation/sd-jwt-js/compare/v0.9.1...v0.9.2) (2025-01-29)
|
|
55
55
|
|
|
56
56
|
**Note:** Version bump only for package @sd-jwt/present
|
|
57
57
|
|
|
@@ -59,7 +59,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
59
59
|
|
|
60
60
|
|
|
61
61
|
|
|
62
|
-
## [0.9.1](https://github.com/openwallet-foundation
|
|
62
|
+
## [0.9.1](https://github.com/openwallet-foundation/sd-jwt-js/compare/v0.9.0...v0.9.1) (2024-12-13)
|
|
63
63
|
|
|
64
64
|
**Note:** Version bump only for package @sd-jwt/present
|
|
65
65
|
|
|
@@ -67,7 +67,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
67
67
|
|
|
68
68
|
|
|
69
69
|
|
|
70
|
-
# [0.9.0](https://github.com/openwallet-foundation
|
|
70
|
+
# [0.9.0](https://github.com/openwallet-foundation/sd-jwt-js/compare/v0.8.0...v0.9.0) (2024-12-10)
|
|
71
71
|
|
|
72
72
|
**Note:** Version bump only for package @sd-jwt/present
|
|
73
73
|
|
|
@@ -75,7 +75,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
75
75
|
|
|
76
76
|
|
|
77
77
|
|
|
78
|
-
# [0.8.0](https://github.com/openwallet-foundation
|
|
78
|
+
# [0.8.0](https://github.com/openwallet-foundation/sd-jwt-js/compare/v0.7.2...v0.8.0) (2024-11-26)
|
|
79
79
|
|
|
80
80
|
**Note:** Version bump only for package @sd-jwt/present
|
|
81
81
|
|
|
@@ -83,7 +83,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
83
83
|
|
|
84
84
|
|
|
85
85
|
|
|
86
|
-
## [0.7.2](https://github.com/openwallet-foundation
|
|
86
|
+
## [0.7.2](https://github.com/openwallet-foundation/sd-jwt-js/compare/v0.7.1...v0.7.2) (2024-07-19)
|
|
87
87
|
|
|
88
88
|
**Note:** Version bump only for package @sd-jwt/present
|
|
89
89
|
|
|
@@ -91,7 +91,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
91
91
|
|
|
92
92
|
|
|
93
93
|
|
|
94
|
-
## [0.7.1](https://github.com/openwallet-foundation
|
|
94
|
+
## [0.7.1](https://github.com/openwallet-foundation/sd-jwt-js/compare/v0.7.0...v0.7.1) (2024-05-21)
|
|
95
95
|
|
|
96
96
|
**Note:** Version bump only for package @sd-jwt/present
|
|
97
97
|
|
|
@@ -99,7 +99,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
99
99
|
|
|
100
100
|
|
|
101
101
|
|
|
102
|
-
# [0.7.0](https://github.com/openwallet-foundation
|
|
102
|
+
# [0.7.0](https://github.com/openwallet-foundation/sd-jwt-js/compare/v0.6.1...v0.7.0) (2024-05-13)
|
|
103
103
|
|
|
104
104
|
**Note:** Version bump only for package @sd-jwt/present
|
|
105
105
|
|
|
@@ -107,7 +107,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
107
107
|
|
|
108
108
|
|
|
109
109
|
|
|
110
|
-
## [0.6.1](https://github.com/openwallet-foundation
|
|
110
|
+
## [0.6.1](https://github.com/openwallet-foundation/sd-jwt-js/compare/v0.6.0...v0.6.1) (2024-03-18)
|
|
111
111
|
|
|
112
112
|
**Note:** Version bump only for package @sd-jwt/present
|
|
113
113
|
|
|
@@ -115,28 +115,28 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
115
115
|
|
|
116
116
|
|
|
117
117
|
|
|
118
|
-
# [0.6.0](https://github.com/openwallet-foundation
|
|
118
|
+
# [0.6.0](https://github.com/openwallet-foundation/sd-jwt-js/compare/v0.5.0...v0.6.0) (2024-03-12)
|
|
119
119
|
|
|
120
120
|
|
|
121
121
|
### Bug Fixes
|
|
122
122
|
|
|
123
|
-
* add missing export ([#159](https://github.com/openwallet-foundation
|
|
123
|
+
* add missing export ([#159](https://github.com/openwallet-foundation/sd-jwt-js/issues/159)) ([f92b3e2](https://github.com/openwallet-foundation/sd-jwt-js/commit/f92b3e246371a83c51c5450b9bccb04753c58bf4))
|
|
124
124
|
|
|
125
125
|
|
|
126
126
|
### Features
|
|
127
127
|
|
|
128
|
-
* make _digest value public in disclosure ([#151](https://github.com/openwallet-foundation
|
|
128
|
+
* make _digest value public in disclosure ([#151](https://github.com/openwallet-foundation/sd-jwt-js/issues/151)) ([9baa93e](https://github.com/openwallet-foundation/sd-jwt-js/commit/9baa93efb612ee2fe73c5872766cbc37e541c4dc))
|
|
129
129
|
|
|
130
130
|
|
|
131
131
|
|
|
132
132
|
|
|
133
133
|
|
|
134
|
-
# [0.5.0](https://github.com/openwallet-foundation
|
|
134
|
+
# [0.5.0](https://github.com/openwallet-foundation/sd-jwt-js/compare/v0.4.0...v0.5.0) (2024-03-11)
|
|
135
135
|
|
|
136
136
|
|
|
137
137
|
### Features
|
|
138
138
|
|
|
139
|
-
* make _digest value public in disclosure ([#151](https://github.com/openwallet-foundation
|
|
139
|
+
* make _digest value public in disclosure ([#151](https://github.com/openwallet-foundation/sd-jwt-js/issues/151)) ([7a3fbd7](https://github.com/openwallet-foundation/sd-jwt-js/commit/7a3fbd7db19b6501978340c972b171743d287285))
|
|
140
140
|
|
|
141
141
|
|
|
142
142
|
|
|
@@ -147,5 +147,5 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
147
147
|
|
|
148
148
|
### Bug Fixes
|
|
149
149
|
|
|
150
|
-
* add publish config ([#93](https://github.com/openwallet-foundation
|
|
151
|
-
* convert any usage into or typed version ([#80](https://github.com/openwallet-foundation
|
|
150
|
+
* add publish config ([#93](https://github.com/openwallet-foundation/sd-jwt-js/issues/93)) ([2e4c5c1](https://github.com/openwallet-foundation/sd-jwt-js/commit/2e4c5c176dc88e58e49d06783b7658d8ad872313))
|
|
151
|
+
* convert any usage into or typed version ([#80](https://github.com/openwallet-foundation/sd-jwt-js/issues/80)) ([de4df54](https://github.com/openwallet-foundation/sd-jwt-js/commit/de4df54f2a0a77fdbf97e10abac555a98e70c6e0))
|
package/README.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-

|
|
2
2
|

|
|
3
|
-

|
|
4
|
+

|
|
5
5
|
|
|
6
6
|
# SD-JWT Implementation in JavaScript (TypeScript)
|
|
7
7
|
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
|
|
12
12
|
Present SD JWT
|
|
13
13
|
|
|
14
|
-
Check the detail description in our github [repo](https://github.com/openwallet-foundation
|
|
14
|
+
Check the detail description in our github [repo](https://github.com/openwallet-foundation/sd-jwt-js).
|
|
15
15
|
|
|
16
16
|
### Installation
|
|
17
17
|
|
|
@@ -32,7 +32,7 @@ Ensure you have Node.js installed as a prerequisite.
|
|
|
32
32
|
|
|
33
33
|
### Usage
|
|
34
34
|
|
|
35
|
-
Check out more details in our [documentation](https://github.com/openwallet-foundation
|
|
35
|
+
Check out more details in our [documentation](https://github.com/openwallet-foundation/sd-jwt-js/tree/main/docs) or [examples](https://github.com/openwallet-foundation/sd-jwt-js/tree/main/examples)
|
|
36
36
|
|
|
37
37
|
### Dependencies
|
|
38
38
|
|
package/dist/index.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Hasher, PresentationFrame } from '@sd-jwt/types';
|
|
2
|
-
import { Disclosure } from '@sd-jwt/utils';
|
|
3
2
|
import { HasherSync, Extensible } from '@sd-jwt/types/src/type';
|
|
3
|
+
import { Disclosure } from '@sd-jwt/utils';
|
|
4
4
|
|
|
5
5
|
declare const presentableKeys: (rawPayload: Record<string, unknown>, disclosures: Array<Disclosure>, hasher: Hasher) => Promise<string[]>;
|
|
6
6
|
declare const presentableKeysSync: (rawPayload: Record<string, unknown>, disclosures: Array<Disclosure>, hasher: HasherSync) => string[];
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Hasher, PresentationFrame } from '@sd-jwt/types';
|
|
2
|
-
import { Disclosure } from '@sd-jwt/utils';
|
|
3
2
|
import { HasherSync, Extensible } from '@sd-jwt/types/src/type';
|
|
3
|
+
import { Disclosure } from '@sd-jwt/utils';
|
|
4
4
|
|
|
5
5
|
declare const presentableKeys: (rawPayload: Record<string, unknown>, disclosures: Array<Disclosure>, hasher: Hasher) => Promise<string[]>;
|
|
6
6
|
declare const presentableKeysSync: (rawPayload: Record<string, unknown>, disclosures: Array<Disclosure>, hasher: HasherSync) => string[];
|
package/dist/index.js
CHANGED
|
@@ -51,10 +51,10 @@ __export(index_exports, {
|
|
|
51
51
|
module.exports = __toCommonJS(index_exports);
|
|
52
52
|
|
|
53
53
|
// src/present.ts
|
|
54
|
+
var import_decode = require("@sd-jwt/decode");
|
|
54
55
|
var import_types = require("@sd-jwt/types");
|
|
55
56
|
var import_utils = require("@sd-jwt/utils");
|
|
56
|
-
var
|
|
57
|
-
var presentableKeys = (rawPayload, disclosures, hasher) => __async(void 0, null, function* () {
|
|
57
|
+
var presentableKeys = (rawPayload, disclosures, hasher) => __async(null, null, function* () {
|
|
58
58
|
const { disclosureKeymap } = yield (0, import_decode.unpack)(rawPayload, disclosures, hasher);
|
|
59
59
|
return Object.keys(disclosureKeymap).sort();
|
|
60
60
|
});
|
|
@@ -62,7 +62,7 @@ var presentableKeysSync = (rawPayload, disclosures, hasher) => {
|
|
|
62
62
|
const { disclosureKeymap } = (0, import_decode.unpackSync)(rawPayload, disclosures, hasher);
|
|
63
63
|
return Object.keys(disclosureKeymap).sort();
|
|
64
64
|
};
|
|
65
|
-
var present = (sdJwt, presentFrame, hasher) => __async(
|
|
65
|
+
var present = (sdJwt, presentFrame, hasher) => __async(null, null, function* () {
|
|
66
66
|
const { jwt, kbJwt } = (0, import_decode.splitSdJwt)(sdJwt);
|
|
67
67
|
const {
|
|
68
68
|
jwt: { payload },
|
package/dist/index.mjs
CHANGED
|
@@ -20,22 +20,22 @@ var __async = (__this, __arguments, generator) => {
|
|
|
20
20
|
};
|
|
21
21
|
|
|
22
22
|
// src/present.ts
|
|
23
|
-
import {
|
|
24
|
-
SD_SEPARATOR
|
|
25
|
-
} from "@sd-jwt/types";
|
|
26
|
-
import { Disclosure, SDJWTException } from "@sd-jwt/utils";
|
|
27
23
|
import {
|
|
28
24
|
createHashMapping,
|
|
25
|
+
createHashMappingSync,
|
|
29
26
|
decodeSdJwt,
|
|
27
|
+
decodeSdJwtSync,
|
|
30
28
|
getSDAlgAndPayload,
|
|
31
29
|
splitSdJwt,
|
|
32
30
|
unpack,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
unpackSync,
|
|
36
|
-
unpackObj
|
|
31
|
+
unpackObj,
|
|
32
|
+
unpackSync
|
|
37
33
|
} from "@sd-jwt/decode";
|
|
38
|
-
|
|
34
|
+
import {
|
|
35
|
+
SD_SEPARATOR
|
|
36
|
+
} from "@sd-jwt/types";
|
|
37
|
+
import { Disclosure, SDJWTException } from "@sd-jwt/utils";
|
|
38
|
+
var presentableKeys = (rawPayload, disclosures, hasher) => __async(null, null, function* () {
|
|
39
39
|
const { disclosureKeymap } = yield unpack(rawPayload, disclosures, hasher);
|
|
40
40
|
return Object.keys(disclosureKeymap).sort();
|
|
41
41
|
});
|
|
@@ -43,7 +43,7 @@ var presentableKeysSync = (rawPayload, disclosures, hasher) => {
|
|
|
43
43
|
const { disclosureKeymap } = unpackSync(rawPayload, disclosures, hasher);
|
|
44
44
|
return Object.keys(disclosureKeymap).sort();
|
|
45
45
|
};
|
|
46
|
-
var present = (sdJwt, presentFrame, hasher) => __async(
|
|
46
|
+
var present = (sdJwt, presentFrame, hasher) => __async(null, null, function* () {
|
|
47
47
|
const { jwt, kbJwt } = splitSdJwt(sdJwt);
|
|
48
48
|
const {
|
|
49
49
|
jwt: { payload },
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sd-jwt/present",
|
|
3
|
-
"version": "0.15.2-next.
|
|
3
|
+
"version": "0.15.2-next.10+aa121b1",
|
|
4
4
|
"description": "sd-jwt draft 7 implementation in typescript",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -25,25 +25,24 @@
|
|
|
25
25
|
"sd-jwt-vc"
|
|
26
26
|
],
|
|
27
27
|
"engines": {
|
|
28
|
-
"node": ">=
|
|
28
|
+
"node": ">=20"
|
|
29
29
|
},
|
|
30
30
|
"repository": {
|
|
31
|
-
"
|
|
32
|
-
"url": "https://github.com/openwallet-foundation-labs/sd-jwt-js"
|
|
31
|
+
"url": "https://github.com/openwallet-foundation/sd-jwt-js"
|
|
33
32
|
},
|
|
34
33
|
"author": "Lukas.J.Han <lukas.j.han@gmail.com>",
|
|
35
|
-
"homepage": "https://github.com/openwallet-foundation
|
|
34
|
+
"homepage": "https://github.com/openwallet-foundation/sd-jwt-js/wiki",
|
|
36
35
|
"bugs": {
|
|
37
|
-
"url": "https://github.com/openwallet-foundation
|
|
36
|
+
"url": "https://github.com/openwallet-foundation/sd-jwt-js/issues"
|
|
38
37
|
},
|
|
39
38
|
"license": "Apache-2.0",
|
|
40
39
|
"devDependencies": {
|
|
41
|
-
"@sd-jwt/crypto-nodejs": "0.15.2-next.
|
|
40
|
+
"@sd-jwt/crypto-nodejs": "0.15.2-next.10+aa121b1"
|
|
42
41
|
},
|
|
43
42
|
"dependencies": {
|
|
44
|
-
"@sd-jwt/decode": "0.15.2-next.
|
|
45
|
-
"@sd-jwt/types": "0.15.2-next.
|
|
46
|
-
"@sd-jwt/utils": "0.15.2-next.
|
|
43
|
+
"@sd-jwt/decode": "0.15.2-next.10+aa121b1",
|
|
44
|
+
"@sd-jwt/types": "0.15.2-next.10+aa121b1",
|
|
45
|
+
"@sd-jwt/utils": "0.15.2-next.10+aa121b1"
|
|
47
46
|
},
|
|
48
47
|
"publishConfig": {
|
|
49
48
|
"access": "public"
|
|
@@ -61,5 +60,5 @@
|
|
|
61
60
|
"esm"
|
|
62
61
|
]
|
|
63
62
|
},
|
|
64
|
-
"gitHead": "
|
|
63
|
+
"gitHead": "aa121b187ecfa287bd5b104666b876ce3d18b3f4"
|
|
65
64
|
}
|
package/src/present.ts
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import {
|
|
2
|
-
type Hasher,
|
|
3
|
-
type PresentationFrame,
|
|
4
|
-
SD_SEPARATOR,
|
|
5
|
-
} from '@sd-jwt/types';
|
|
6
|
-
import { Disclosure, SDJWTException } from '@sd-jwt/utils';
|
|
7
1
|
import {
|
|
8
2
|
createHashMapping,
|
|
3
|
+
createHashMappingSync,
|
|
9
4
|
decodeSdJwt,
|
|
5
|
+
decodeSdJwtSync,
|
|
10
6
|
getSDAlgAndPayload,
|
|
11
7
|
splitSdJwt,
|
|
12
8
|
unpack,
|
|
13
|
-
createHashMappingSync,
|
|
14
|
-
decodeSdJwtSync,
|
|
15
|
-
unpackSync,
|
|
16
9
|
unpackObj,
|
|
10
|
+
unpackSync,
|
|
17
11
|
} from '@sd-jwt/decode';
|
|
12
|
+
import {
|
|
13
|
+
type Hasher,
|
|
14
|
+
type PresentationFrame,
|
|
15
|
+
SD_SEPARATOR,
|
|
16
|
+
} from '@sd-jwt/types';
|
|
18
17
|
import type { Extensible, HasherSync } from '@sd-jwt/types/src/type';
|
|
18
|
+
import { Disclosure, SDJWTException } from '@sd-jwt/utils';
|
|
19
19
|
|
|
20
20
|
// Presentable keys
|
|
21
21
|
// The presentable keys are the path of JSON object that are presentable in the SD JWT
|
package/src/test/present.spec.ts
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { describe, expect, test } from 'vitest';
|
|
2
1
|
import { digest } from '@sd-jwt/crypto-nodejs';
|
|
2
|
+
import { decodeSdJwt, decodeSdJwtSync } from '@sd-jwt/decode';
|
|
3
|
+
import type { PresentationFrame } from '@sd-jwt/types';
|
|
4
|
+
import { describe, expect, test } from 'vitest';
|
|
3
5
|
import {
|
|
4
|
-
type SerializedDisclosure,
|
|
5
6
|
present,
|
|
6
|
-
presentSync,
|
|
7
7
|
presentableKeys,
|
|
8
8
|
presentableKeysSync,
|
|
9
|
+
presentSync,
|
|
10
|
+
type SerializedDisclosure,
|
|
9
11
|
selectDisclosures,
|
|
10
12
|
transformPresentationFrame,
|
|
11
13
|
} from '../index';
|
|
12
|
-
import { decodeSdJwt, decodeSdJwtSync } from '@sd-jwt/decode';
|
|
13
|
-
import type { PresentationFrame } from '@sd-jwt/types';
|
|
14
14
|
|
|
15
15
|
describe('Present tests', () => {
|
|
16
16
|
test('presentableKeys', async () => {
|
|
@@ -275,7 +275,7 @@ describe('Present tests', () => {
|
|
|
275
275
|
};
|
|
276
276
|
|
|
277
277
|
const disclosures: SerializedDisclosure[] = [
|
|
278
|
-
//@ts-
|
|
278
|
+
//@ts-expect-error
|
|
279
279
|
{
|
|
280
280
|
encoded: 'WyJiMDQ3NjBiOTgxMDgyM2ZhIiwiZmlyc3RuYW1lIiwiSm9obiJd',
|
|
281
281
|
salt: 'b04760b9810823fa',
|