@sd-jwt/types 0.3.2-next.108 → 0.3.2-next.109

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
@@ -31,6 +31,11 @@ type kbPayload = {
31
31
  type KBOptions = {
32
32
  payload: Omit<kbPayload, 'sd_hash'>;
33
33
  };
34
+ interface RsaOtherPrimesInfo {
35
+ d?: string;
36
+ r?: string;
37
+ t?: string;
38
+ }
34
39
  interface JsonWebKey {
35
40
  alg?: string;
36
41
  crv?: string;
@@ -43,6 +48,7 @@ interface JsonWebKey {
43
48
  key_ops?: string[];
44
49
  kty?: string;
45
50
  n?: string;
51
+ oth?: RsaOtherPrimesInfo[];
46
52
  p?: string;
47
53
  q?: string;
48
54
  qi?: string;
package/dist/index.d.ts CHANGED
@@ -31,6 +31,11 @@ type kbPayload = {
31
31
  type KBOptions = {
32
32
  payload: Omit<kbPayload, 'sd_hash'>;
33
33
  };
34
+ interface RsaOtherPrimesInfo {
35
+ d?: string;
36
+ r?: string;
37
+ t?: string;
38
+ }
34
39
  interface JsonWebKey {
35
40
  alg?: string;
36
41
  crv?: string;
@@ -43,6 +48,7 @@ interface JsonWebKey {
43
48
  key_ops?: string[];
44
49
  kty?: string;
45
50
  n?: string;
51
+ oth?: RsaOtherPrimesInfo[];
46
52
  p?: string;
47
53
  q?: string;
48
54
  qi?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sd-jwt/types",
3
- "version": "0.3.2-next.108+34b24c0",
3
+ "version": "0.3.2-next.109+f02d6b0",
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": "34b24c079dc2c63286b2f2e8d5202c54a9163ee5"
56
+ "gitHead": "f02d6b093dd8105560ba327c23c0f383e92d31c7"
57
57
  }
package/src/type.ts CHANGED
@@ -34,6 +34,13 @@ export type KBOptions = {
34
34
  payload: Omit<kbPayload, 'sd_hash'>;
35
35
  };
36
36
 
37
+ // This type declaration is from lib.dom.ts
38
+ interface RsaOtherPrimesInfo {
39
+ d?: string;
40
+ r?: string;
41
+ t?: string;
42
+ }
43
+
37
44
  interface JsonWebKey {
38
45
  alg?: string;
39
46
  crv?: string;
@@ -46,6 +53,7 @@ interface JsonWebKey {
46
53
  key_ops?: string[];
47
54
  kty?: string;
48
55
  n?: string;
56
+ oth?: RsaOtherPrimesInfo[];
49
57
  p?: string;
50
58
  q?: string;
51
59
  qi?: string;