@sd-jwt/sd-jwt-vc 0.15.0 → 0.15.1

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 CHANGED
@@ -3,6 +3,17 @@
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.1](https://github.com/openwallet-foundation-labs/sd-jwt-js/compare/v0.15.0...v0.15.1) (2025-08-28)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * make iss claim optional in SD-JWT VC payload ([#310](https://github.com/openwallet-foundation-labs/sd-jwt-js/issues/310)) ([f6275e3](https://github.com/openwallet-foundation-labs/sd-jwt-js/commit/f6275e35e66777709321328ba50fec53e5f48c7b))
12
+
13
+
14
+
15
+
16
+
6
17
  # [0.15.0](https://github.com/openwallet-foundation-labs/sd-jwt-js/compare/v0.14.1...v0.15.0) (2025-08-20)
7
18
 
8
19
 
package/dist/index.d.mts CHANGED
@@ -169,7 +169,7 @@ interface SDJWTVCStatusReference {
169
169
  }
170
170
 
171
171
  interface SdJwtVcPayload extends SdJwtPayload {
172
- iss: string;
172
+ iss?: string;
173
173
  nbf?: number;
174
174
  exp?: number;
175
175
  cnf?: unknown;
package/dist/index.d.ts CHANGED
@@ -169,7 +169,7 @@ interface SDJWTVCStatusReference {
169
169
  }
170
170
 
171
171
  interface SdJwtVcPayload extends SdJwtPayload {
172
- iss: string;
172
+ iss?: string;
173
173
  nbf?: number;
174
174
  exp?: number;
175
175
  cnf?: unknown;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sd-jwt/sd-jwt-vc",
3
- "version": "0.15.0",
3
+ "version": "0.15.1",
4
4
  "description": "sd-jwt draft 7 implementation in typescript",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -67,5 +67,5 @@
67
67
  "esm"
68
68
  ]
69
69
  },
70
- "gitHead": "b8733bc33817900b2bfe946bd10e3ff8673bb5fc"
70
+ "gitHead": "c178fdee2f2a85537187ef6f1e98185365ea181f"
71
71
  }
@@ -2,8 +2,8 @@ import type { SdJwtPayload } from '@sd-jwt/core';
2
2
  import type { SDJWTVCStatusReference } from './sd-jwt-vc-status-reference';
3
3
 
4
4
  export interface SdJwtVcPayload extends SdJwtPayload {
5
- // REQUIRED. The Issuer of the Verifiable Credential. The value of iss MUST be a URI. See [RFC7519] for more information.
6
- iss: string;
5
+ // OPTIONAL. The Issuer of the Verifiable Credential. The value is a case-sensitive string containing a StringOrURI value. See [RFC7519] for more information.
6
+ iss?: string;
7
7
  // OPTIONAL. The time before which the Verifiable Credential MUST NOT be accepted before validating. See [RFC7519] for more information.
8
8
  nbf?: number;
9
9
  // OPTIONAL. The expiry time of the Verifiable Credential after which the Verifiable Credential is no longer valid. See [RFC7519] for more information.