@sd-jwt/types 0.3.2-next.75 → 0.3.2-next.76

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/dist/index.d.mts CHANGED
@@ -30,7 +30,7 @@ type kbPayload = {
30
30
  sd_hash: string;
31
31
  };
32
32
  type KBOptions = {
33
- payload: kbPayload;
33
+ payload: Omit<kbPayload, 'sd_hash'>;
34
34
  };
35
35
  type OrPromise<T> = T | Promise<T>;
36
36
  type Signer = (data: string) => OrPromise<string>;
package/dist/index.d.ts CHANGED
@@ -30,7 +30,7 @@ type kbPayload = {
30
30
  sd_hash: string;
31
31
  };
32
32
  type KBOptions = {
33
- payload: kbPayload;
33
+ payload: Omit<kbPayload, 'sd_hash'>;
34
34
  };
35
35
  type OrPromise<T> = T | Promise<T>;
36
36
  type Signer = (data: string) => OrPromise<string>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sd-jwt/types",
3
- "version": "0.3.2-next.75+c1b701d",
3
+ "version": "0.3.2-next.76+270ba1b",
4
4
  "description": "sd-jwt draft 7 implementation in typescript",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -53,5 +53,5 @@
53
53
  "esm"
54
54
  ]
55
55
  },
56
- "gitHead": "c1b701d6c1998c22dcc9efc0f91229177c7c8eea"
56
+ "gitHead": "270ba1b51bde3fd8c4f2dc7d9eaf09e1225c7873"
57
57
  }
package/src/type.ts CHANGED
@@ -32,7 +32,7 @@ export type kbPayload = {
32
32
  };
33
33
 
34
34
  export type KBOptions = {
35
- payload: kbPayload;
35
+ payload: Omit<kbPayload, 'sd_hash'>;
36
36
  };
37
37
 
38
38
  export type OrPromise<T> = T | Promise<T>;