@sd-jwt/sd-jwt-vc 0.4.1-next.5 → 0.4.1-next.7
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 +5 -5
- package/src/index.ts +2 -2
- package/src/sd-jwt-vc-payload.ts +1 -1
- package/src/test/index.spec.ts +2 -2
- package/test/app-e2e.spec.ts +3 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sd-jwt/sd-jwt-vc",
|
|
3
|
-
"version": "0.4.1-next.
|
|
3
|
+
"version": "0.4.1-next.7+d9eaf44",
|
|
4
4
|
"description": "sd-jwt draft 7 implementation in typescript",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -39,11 +39,11 @@
|
|
|
39
39
|
},
|
|
40
40
|
"license": "Apache-2.0",
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@sd-jwt/core": "0.4.1-next.
|
|
42
|
+
"@sd-jwt/core": "0.4.1-next.7+d9eaf44"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
|
-
"@sd-jwt/crypto-nodejs": "0.4.1-next.
|
|
46
|
-
"@sd-jwt/types": "0.4.1-next.
|
|
45
|
+
"@sd-jwt/crypto-nodejs": "0.4.1-next.7+d9eaf44",
|
|
46
|
+
"@sd-jwt/types": "0.4.1-next.7+d9eaf44"
|
|
47
47
|
},
|
|
48
48
|
"publishConfig": {
|
|
49
49
|
"access": "public"
|
|
@@ -61,5 +61,5 @@
|
|
|
61
61
|
"esm"
|
|
62
62
|
]
|
|
63
63
|
},
|
|
64
|
-
"gitHead": "
|
|
64
|
+
"gitHead": "d9eaf4465bb5f50f21d90549678d6c426fea0ae8"
|
|
65
65
|
}
|
package/src/index.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { SDJwtInstance } from '@sd-jwt/core';
|
|
2
|
-
import { DisclosureFrame } from '@sd-jwt/types';
|
|
2
|
+
import type { DisclosureFrame } from '@sd-jwt/types';
|
|
3
3
|
import { SDJWTException } from '../../utils/dist';
|
|
4
|
-
import { SdJwtVcPayload } from './sd-jwt-vc-payload';
|
|
4
|
+
import type { SdJwtVcPayload } from './sd-jwt-vc-payload';
|
|
5
5
|
|
|
6
6
|
export { SdJwtVcPayload } from './sd-jwt-vc-payload';
|
|
7
7
|
|
package/src/sd-jwt-vc-payload.ts
CHANGED
package/src/test/index.spec.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { digest, generateSalt } from '@sd-jwt/crypto-nodejs';
|
|
2
|
-
import { DisclosureFrame } from '@sd-jwt/types';
|
|
2
|
+
import type { DisclosureFrame } from '@sd-jwt/types';
|
|
3
3
|
import { describe, test, expect } from 'vitest';
|
|
4
4
|
import { SDJwtVcInstance } from '..';
|
|
5
5
|
import { createSignerVerifier } from '../../test/app-e2e.spec';
|
|
6
|
-
import { SdJwtVcPayload } from '../sd-jwt-vc-payload';
|
|
6
|
+
import type { SdJwtVcPayload } from '../sd-jwt-vc-payload';
|
|
7
7
|
|
|
8
8
|
const iss = 'ExampleIssuer';
|
|
9
9
|
const vct = 'https://example.com/schema/1';
|
package/test/app-e2e.spec.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import Crypto from 'node:crypto';
|
|
2
2
|
import { SDJwtVcInstance, SdJwtVcPayload } from '../src/index';
|
|
3
|
-
import {
|
|
3
|
+
import type {
|
|
4
4
|
DisclosureFrame,
|
|
5
5
|
PresentationFrame,
|
|
6
6
|
Signer,
|
|
7
7
|
Verifier,
|
|
8
8
|
} from '@sd-jwt/types';
|
|
9
|
-
import fs from 'fs';
|
|
10
|
-
import path from 'path';
|
|
9
|
+
import fs from 'node:fs';
|
|
10
|
+
import path from 'node:path';
|
|
11
11
|
import { describe, expect, test } from 'vitest';
|
|
12
12
|
import { digest, generateSalt } from '@sd-jwt/crypto-nodejs';
|
|
13
13
|
|