@kya-os/contracts 1.2.1 → 1.3.0

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.
Files changed (69) hide show
  1. package/dist/delegation/constraints.d.ts +982 -0
  2. package/dist/delegation/constraints.d.ts.map +1 -0
  3. package/dist/delegation/constraints.js +205 -0
  4. package/dist/delegation/index.d.ts +8 -0
  5. package/dist/delegation/index.d.ts.map +1 -0
  6. package/dist/delegation/index.js +24 -0
  7. package/dist/delegation/schemas.d.ts +3787 -0
  8. package/dist/delegation/schemas.d.ts.map +1 -0
  9. package/dist/delegation/schemas.js +230 -0
  10. package/dist/did/index.d.ts +8 -0
  11. package/dist/did/index.d.ts.map +1 -0
  12. package/dist/did/index.js +24 -0
  13. package/dist/did/resolve-contract.d.ts +220 -0
  14. package/dist/did/resolve-contract.d.ts.map +1 -0
  15. package/dist/did/resolve-contract.js +32 -0
  16. package/dist/did/types.d.ts +164 -0
  17. package/dist/did/types.d.ts.map +1 -0
  18. package/dist/did/types.js +71 -0
  19. package/dist/env/constants.d.ts +58 -0
  20. package/dist/env/constants.d.ts.map +1 -0
  21. package/dist/env/constants.js +60 -0
  22. package/dist/env/index.d.ts +5 -0
  23. package/dist/env/index.d.ts.map +1 -0
  24. package/dist/env/index.js +21 -0
  25. package/dist/index.d.ts +9 -1
  26. package/dist/index.d.ts.map +1 -1
  27. package/dist/index.js +17 -2
  28. package/dist/proof/index.d.ts +9 -0
  29. package/dist/proof/index.d.ts.map +1 -0
  30. package/dist/proof/index.js +25 -0
  31. package/dist/proof/proof-record.d.ts +838 -0
  32. package/dist/proof/proof-record.d.ts.map +1 -0
  33. package/dist/proof/proof-record.js +134 -0
  34. package/dist/proof/signing-spec.d.ts +147 -0
  35. package/dist/proof/signing-spec.d.ts.map +1 -0
  36. package/dist/proof/signing-spec.js +123 -0
  37. package/dist/runtime/errors.d.ts +348 -0
  38. package/dist/runtime/errors.d.ts.map +1 -0
  39. package/dist/runtime/errors.js +120 -0
  40. package/dist/runtime/headers.d.ts +84 -0
  41. package/dist/runtime/headers.d.ts.map +1 -0
  42. package/dist/runtime/headers.js +82 -0
  43. package/dist/runtime/index.d.ts +6 -0
  44. package/dist/runtime/index.d.ts.map +1 -0
  45. package/dist/runtime/index.js +22 -0
  46. package/dist/tlkrc/index.d.ts +5 -0
  47. package/dist/tlkrc/index.d.ts.map +1 -0
  48. package/dist/tlkrc/index.js +21 -0
  49. package/dist/tlkrc/rotation.d.ts +246 -0
  50. package/dist/tlkrc/rotation.d.ts.map +1 -0
  51. package/dist/tlkrc/rotation.js +127 -0
  52. package/dist/vc/index.d.ts +8 -0
  53. package/dist/vc/index.d.ts.map +1 -0
  54. package/dist/vc/index.js +24 -0
  55. package/dist/vc/schemas.d.ts +2484 -0
  56. package/dist/vc/schemas.d.ts.map +1 -0
  57. package/dist/vc/schemas.js +225 -0
  58. package/dist/vc/statuslist.d.ts +494 -0
  59. package/dist/vc/statuslist.d.ts.map +1 -0
  60. package/dist/vc/statuslist.js +133 -0
  61. package/package.json +52 -6
  62. package/dist/cli.js.map +0 -1
  63. package/dist/handshake.js.map +0 -1
  64. package/dist/index.js.map +0 -1
  65. package/dist/proof.js.map +0 -1
  66. package/dist/registry.js.map +0 -1
  67. package/dist/test.js.map +0 -1
  68. package/dist/utils/validation.js.map +0 -1
  69. package/dist/verifier.js.map +0 -1
@@ -0,0 +1,22 @@
1
+ "use strict";
2
+ /**
3
+ * Runtime Module Exports
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
17
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
18
+ };
19
+ Object.defineProperty(exports, "__esModule", { value: true });
20
+ __exportStar(require("./errors.js"), exports);
21
+ __exportStar(require("./headers.js"), exports);
22
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1,5 @@
1
+ /**
2
+ * TLKRC Module Exports
3
+ */
4
+ export * from './rotation.js';
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/tlkrc/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,cAAc,eAAe,CAAC"}
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ /**
3
+ * TLKRC Module Exports
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
17
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
18
+ };
19
+ Object.defineProperty(exports, "__esModule", { value: true });
20
+ __exportStar(require("./rotation.js"), exports);
21
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1,246 @@
1
+ /**
2
+ * TLKRC (Transparent Log Key Rotation Contract)
3
+ *
4
+ * Types for key rotation events in a transparent, auditable manner
5
+ *
6
+ * Related Spec: MCP-I Core
7
+ * Python Reference: Core-Documentation.md
8
+ */
9
+ import { z } from 'zod';
10
+ /**
11
+ * Rotation Event Schema
12
+ *
13
+ * Represents a key rotation event in a transparent log.
14
+ * Events form a hash-linked chain for auditability.
15
+ *
16
+ * **Dual-Key Grace Window:**
17
+ * During rotation, both `prevKeyId` and `nextKeyId` are valid
18
+ * from `effectiveAt` until `effectiveAt + grace period`.
19
+ */
20
+ export declare const RotationEventSchema: z.ZodEffects<z.ZodObject<{
21
+ /** DID of the issuer performing the rotation */
22
+ issuerDid: z.ZodString;
23
+ /** Previous key ID being rotated out */
24
+ prevKeyId: z.ZodString;
25
+ /** New key ID being rotated in */
26
+ nextKeyId: z.ZodString;
27
+ /** Timestamp when new key becomes effective (Unix seconds) */
28
+ effectiveAt: z.ZodNumber;
29
+ /** Timestamp when event was issued (Unix seconds) */
30
+ issuedAt: z.ZodNumber;
31
+ /** Sequence number (monotonically increasing) */
32
+ seq: z.ZodNumber;
33
+ /** Hash of previous rotation event (null for first rotation) */
34
+ prevEventHash: z.ZodOptional<z.ZodString>;
35
+ /** Signature over the event (using prevKeyId) */
36
+ signature: z.ZodString;
37
+ /** Optional metadata */
38
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
39
+ }, "strip", z.ZodTypeAny, {
40
+ issuerDid: string;
41
+ signature: string;
42
+ prevKeyId: string;
43
+ nextKeyId: string;
44
+ effectiveAt: number;
45
+ issuedAt: number;
46
+ seq: number;
47
+ metadata?: Record<string, any> | undefined;
48
+ prevEventHash?: string | undefined;
49
+ }, {
50
+ issuerDid: string;
51
+ signature: string;
52
+ prevKeyId: string;
53
+ nextKeyId: string;
54
+ effectiveAt: number;
55
+ issuedAt: number;
56
+ seq: number;
57
+ metadata?: Record<string, any> | undefined;
58
+ prevEventHash?: string | undefined;
59
+ }>, {
60
+ issuerDid: string;
61
+ signature: string;
62
+ prevKeyId: string;
63
+ nextKeyId: string;
64
+ effectiveAt: number;
65
+ issuedAt: number;
66
+ seq: number;
67
+ metadata?: Record<string, any> | undefined;
68
+ prevEventHash?: string | undefined;
69
+ }, {
70
+ issuerDid: string;
71
+ signature: string;
72
+ prevKeyId: string;
73
+ nextKeyId: string;
74
+ effectiveAt: number;
75
+ issuedAt: number;
76
+ seq: number;
77
+ metadata?: Record<string, any> | undefined;
78
+ prevEventHash?: string | undefined;
79
+ }>;
80
+ export type RotationEvent = z.infer<typeof RotationEventSchema>;
81
+ /**
82
+ * Rotation Chain
83
+ *
84
+ * Represents a chain of rotation events
85
+ */
86
+ export declare const RotationChainSchema: z.ZodObject<{
87
+ /** Issuer DID */
88
+ issuerDid: z.ZodString;
89
+ /** All rotation events in order */
90
+ events: z.ZodArray<z.ZodEffects<z.ZodObject<{
91
+ /** DID of the issuer performing the rotation */
92
+ issuerDid: z.ZodString;
93
+ /** Previous key ID being rotated out */
94
+ prevKeyId: z.ZodString;
95
+ /** New key ID being rotated in */
96
+ nextKeyId: z.ZodString;
97
+ /** Timestamp when new key becomes effective (Unix seconds) */
98
+ effectiveAt: z.ZodNumber;
99
+ /** Timestamp when event was issued (Unix seconds) */
100
+ issuedAt: z.ZodNumber;
101
+ /** Sequence number (monotonically increasing) */
102
+ seq: z.ZodNumber;
103
+ /** Hash of previous rotation event (null for first rotation) */
104
+ prevEventHash: z.ZodOptional<z.ZodString>;
105
+ /** Signature over the event (using prevKeyId) */
106
+ signature: z.ZodString;
107
+ /** Optional metadata */
108
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
109
+ }, "strip", z.ZodTypeAny, {
110
+ issuerDid: string;
111
+ signature: string;
112
+ prevKeyId: string;
113
+ nextKeyId: string;
114
+ effectiveAt: number;
115
+ issuedAt: number;
116
+ seq: number;
117
+ metadata?: Record<string, any> | undefined;
118
+ prevEventHash?: string | undefined;
119
+ }, {
120
+ issuerDid: string;
121
+ signature: string;
122
+ prevKeyId: string;
123
+ nextKeyId: string;
124
+ effectiveAt: number;
125
+ issuedAt: number;
126
+ seq: number;
127
+ metadata?: Record<string, any> | undefined;
128
+ prevEventHash?: string | undefined;
129
+ }>, {
130
+ issuerDid: string;
131
+ signature: string;
132
+ prevKeyId: string;
133
+ nextKeyId: string;
134
+ effectiveAt: number;
135
+ issuedAt: number;
136
+ seq: number;
137
+ metadata?: Record<string, any> | undefined;
138
+ prevEventHash?: string | undefined;
139
+ }, {
140
+ issuerDid: string;
141
+ signature: string;
142
+ prevKeyId: string;
143
+ nextKeyId: string;
144
+ effectiveAt: number;
145
+ issuedAt: number;
146
+ seq: number;
147
+ metadata?: Record<string, any> | undefined;
148
+ prevEventHash?: string | undefined;
149
+ }>, "many">;
150
+ /** Current active key ID */
151
+ currentKeyId: z.ZodString;
152
+ /** Whether chain is valid */
153
+ valid: z.ZodBoolean;
154
+ /** Optional validation errors */
155
+ errors: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
156
+ }, "strip", z.ZodTypeAny, {
157
+ valid: boolean;
158
+ issuerDid: string;
159
+ events: {
160
+ issuerDid: string;
161
+ signature: string;
162
+ prevKeyId: string;
163
+ nextKeyId: string;
164
+ effectiveAt: number;
165
+ issuedAt: number;
166
+ seq: number;
167
+ metadata?: Record<string, any> | undefined;
168
+ prevEventHash?: string | undefined;
169
+ }[];
170
+ currentKeyId: string;
171
+ errors?: string[] | undefined;
172
+ }, {
173
+ valid: boolean;
174
+ issuerDid: string;
175
+ events: {
176
+ issuerDid: string;
177
+ signature: string;
178
+ prevKeyId: string;
179
+ nextKeyId: string;
180
+ effectiveAt: number;
181
+ issuedAt: number;
182
+ seq: number;
183
+ metadata?: Record<string, any> | undefined;
184
+ prevEventHash?: string | undefined;
185
+ }[];
186
+ currentKeyId: string;
187
+ errors?: string[] | undefined;
188
+ }>;
189
+ export type RotationChain = z.infer<typeof RotationChainSchema>;
190
+ /**
191
+ * Validation Helpers
192
+ */
193
+ /**
194
+ * Validate a rotation event
195
+ *
196
+ * @param event - The event to validate
197
+ * @returns Validation result
198
+ */
199
+ export declare function validateRotationEvent(event: unknown): z.SafeParseReturnType<{
200
+ issuerDid: string;
201
+ signature: string;
202
+ prevKeyId: string;
203
+ nextKeyId: string;
204
+ effectiveAt: number;
205
+ issuedAt: number;
206
+ seq: number;
207
+ metadata?: Record<string, any> | undefined;
208
+ prevEventHash?: string | undefined;
209
+ }, {
210
+ issuerDid: string;
211
+ signature: string;
212
+ prevKeyId: string;
213
+ nextKeyId: string;
214
+ effectiveAt: number;
215
+ issuedAt: number;
216
+ seq: number;
217
+ metadata?: Record<string, any> | undefined;
218
+ prevEventHash?: string | undefined;
219
+ }>;
220
+ /**
221
+ * Validate rotation chain integrity
222
+ *
223
+ * @param chain - The chain to validate
224
+ * @returns true if chain is valid
225
+ */
226
+ export declare function isRotationChainValid(chain: RotationChain): boolean;
227
+ /**
228
+ * Get active key at a specific timestamp
229
+ *
230
+ * @param chain - The rotation chain
231
+ * @param timestamp - Timestamp in seconds
232
+ * @returns Active key ID at that time, or null if none
233
+ */
234
+ export declare function getActiveKeyAt(chain: RotationChain, timestamp: number): string | null;
235
+ /**
236
+ * Constants
237
+ */
238
+ /**
239
+ * Default grace period for dual-key validity (24 hours)
240
+ */
241
+ export declare const DEFAULT_GRACE_PERIOD_SEC: number;
242
+ /**
243
+ * Maximum reasonable grace period (30 days)
244
+ */
245
+ export declare const MAX_GRACE_PERIOD_SEC: number;
246
+ //# sourceMappingURL=rotation.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"rotation.d.ts","sourceRoot":"","sources":["../../src/tlkrc/rotation.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;;;;;;;;GASG;AACH,eAAO,MAAM,mBAAmB;IAC9B,gDAAgD;;IAGhD,wCAAwC;;IAGxC,kCAAkC;;IAGlC,8DAA8D;;IAG9D,qDAAqD;;IAGrD,iDAAiD;;IAGjD,gEAAgE;;IAGhE,iDAAiD;;IAGjD,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAOzB,CAAC;AAEF,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAEhE;;;;GAIG;AACH,eAAO,MAAM,mBAAmB;IAC9B,iBAAiB;;IAGjB,mCAAmC;;QA5CnC,gDAAgD;;QAGhD,wCAAwC;;QAGxC,kCAAkC;;QAGlC,8DAA8D;;QAG9D,qDAAqD;;QAGrD,iDAAiD;;QAGjD,gEAAgE;;QAGhE,iDAAiD;;QAGjD,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAuBxB,4BAA4B;;IAG5B,6BAA6B;;IAG7B,iCAAiC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAEjC,CAAC;AAEH,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAEhE;;GAEG;AAEH;;;;;GAKG;AACH,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,OAAO;;;;;;;;;;;;;;;;;;;;GAEnD;AAED;;;;;GAKG;AACH,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,aAAa,GAAG,OAAO,CAalE;AAED;;;;;;GAMG;AACH,wBAAgB,cAAc,CAAC,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAerF;AAED;;GAEG;AAEH;;GAEG;AACH,eAAO,MAAM,wBAAwB,QAAe,CAAC;AAErD;;GAEG;AACH,eAAO,MAAM,oBAAoB,QAAoB,CAAC"}
@@ -0,0 +1,127 @@
1
+ "use strict";
2
+ /**
3
+ * TLKRC (Transparent Log Key Rotation Contract)
4
+ *
5
+ * Types for key rotation events in a transparent, auditable manner
6
+ *
7
+ * Related Spec: MCP-I Core
8
+ * Python Reference: Core-Documentation.md
9
+ */
10
+ Object.defineProperty(exports, "__esModule", { value: true });
11
+ exports.MAX_GRACE_PERIOD_SEC = exports.DEFAULT_GRACE_PERIOD_SEC = exports.RotationChainSchema = exports.RotationEventSchema = void 0;
12
+ exports.validateRotationEvent = validateRotationEvent;
13
+ exports.isRotationChainValid = isRotationChainValid;
14
+ exports.getActiveKeyAt = getActiveKeyAt;
15
+ const zod_1 = require("zod");
16
+ /**
17
+ * Rotation Event Schema
18
+ *
19
+ * Represents a key rotation event in a transparent log.
20
+ * Events form a hash-linked chain for auditability.
21
+ *
22
+ * **Dual-Key Grace Window:**
23
+ * During rotation, both `prevKeyId` and `nextKeyId` are valid
24
+ * from `effectiveAt` until `effectiveAt + grace period`.
25
+ */
26
+ exports.RotationEventSchema = zod_1.z.object({
27
+ /** DID of the issuer performing the rotation */
28
+ issuerDid: zod_1.z.string().min(1),
29
+ /** Previous key ID being rotated out */
30
+ prevKeyId: zod_1.z.string().min(1),
31
+ /** New key ID being rotated in */
32
+ nextKeyId: zod_1.z.string().min(1),
33
+ /** Timestamp when new key becomes effective (Unix seconds) */
34
+ effectiveAt: zod_1.z.number().int().positive(),
35
+ /** Timestamp when event was issued (Unix seconds) */
36
+ issuedAt: zod_1.z.number().int().positive(),
37
+ /** Sequence number (monotonically increasing) */
38
+ seq: zod_1.z.number().int().nonnegative(),
39
+ /** Hash of previous rotation event (null for first rotation) */
40
+ prevEventHash: zod_1.z.string().optional(),
41
+ /** Signature over the event (using prevKeyId) */
42
+ signature: zod_1.z.string().min(1),
43
+ /** Optional metadata */
44
+ metadata: zod_1.z.record(zod_1.z.any()).optional(),
45
+ }).refine((event) => event.effectiveAt >= event.issuedAt, {
46
+ message: 'effectiveAt must be >= issuedAt',
47
+ });
48
+ /**
49
+ * Rotation Chain
50
+ *
51
+ * Represents a chain of rotation events
52
+ */
53
+ exports.RotationChainSchema = zod_1.z.object({
54
+ /** Issuer DID */
55
+ issuerDid: zod_1.z.string().min(1),
56
+ /** All rotation events in order */
57
+ events: zod_1.z.array(exports.RotationEventSchema).min(1),
58
+ /** Current active key ID */
59
+ currentKeyId: zod_1.z.string().min(1),
60
+ /** Whether chain is valid */
61
+ valid: zod_1.z.boolean(),
62
+ /** Optional validation errors */
63
+ errors: zod_1.z.array(zod_1.z.string()).optional(),
64
+ });
65
+ /**
66
+ * Validation Helpers
67
+ */
68
+ /**
69
+ * Validate a rotation event
70
+ *
71
+ * @param event - The event to validate
72
+ * @returns Validation result
73
+ */
74
+ function validateRotationEvent(event) {
75
+ return exports.RotationEventSchema.safeParse(event);
76
+ }
77
+ /**
78
+ * Validate rotation chain integrity
79
+ *
80
+ * @param chain - The chain to validate
81
+ * @returns true if chain is valid
82
+ */
83
+ function isRotationChainValid(chain) {
84
+ if (chain.events.length === 0) {
85
+ return false;
86
+ }
87
+ // Check sequence numbers are monotonic
88
+ for (let i = 1; i < chain.events.length; i++) {
89
+ if (chain.events[i].seq <= chain.events[i - 1].seq) {
90
+ return false;
91
+ }
92
+ }
93
+ return chain.valid;
94
+ }
95
+ /**
96
+ * Get active key at a specific timestamp
97
+ *
98
+ * @param chain - The rotation chain
99
+ * @param timestamp - Timestamp in seconds
100
+ * @returns Active key ID at that time, or null if none
101
+ */
102
+ function getActiveKeyAt(chain, timestamp) {
103
+ if (chain.events.length === 0) {
104
+ return null;
105
+ }
106
+ // Find the most recent event that's effective at the timestamp
107
+ for (let i = chain.events.length - 1; i >= 0; i--) {
108
+ const event = chain.events[i];
109
+ if (event.effectiveAt <= timestamp) {
110
+ return event.nextKeyId;
111
+ }
112
+ }
113
+ // If no event is effective yet, use the initial key
114
+ return chain.events[0].prevKeyId;
115
+ }
116
+ /**
117
+ * Constants
118
+ */
119
+ /**
120
+ * Default grace period for dual-key validity (24 hours)
121
+ */
122
+ exports.DEFAULT_GRACE_PERIOD_SEC = 24 * 60 * 60;
123
+ /**
124
+ * Maximum reasonable grace period (30 days)
125
+ */
126
+ exports.MAX_GRACE_PERIOD_SEC = 30 * 24 * 60 * 60;
127
+ //# sourceMappingURL=rotation.js.map
@@ -0,0 +1,8 @@
1
+ /**
2
+ * Verifiable Credentials Module Exports
3
+ *
4
+ * W3C Verifiable Credentials types, schemas, and utilities
5
+ */
6
+ export * from './schemas.js';
7
+ export * from './statuslist.js';
8
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/vc/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,cAAc,cAAc,CAAC;AAC7B,cAAc,iBAAiB,CAAC"}
@@ -0,0 +1,24 @@
1
+ "use strict";
2
+ /**
3
+ * Verifiable Credentials Module Exports
4
+ *
5
+ * W3C Verifiable Credentials types, schemas, and utilities
6
+ */
7
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
8
+ if (k2 === undefined) k2 = k;
9
+ var desc = Object.getOwnPropertyDescriptor(m, k);
10
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
11
+ desc = { enumerable: true, get: function() { return m[k]; } };
12
+ }
13
+ Object.defineProperty(o, k2, desc);
14
+ }) : (function(o, m, k, k2) {
15
+ if (k2 === undefined) k2 = k;
16
+ o[k2] = m[k];
17
+ }));
18
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
19
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
20
+ };
21
+ Object.defineProperty(exports, "__esModule", { value: true });
22
+ __exportStar(require("./schemas.js"), exports);
23
+ __exportStar(require("./statuslist.js"), exports);
24
+ //# sourceMappingURL=index.js.map