@kya-os/contracts 1.2.1 → 1.2.2
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/delegation/constraints.d.ts +982 -0
- package/dist/delegation/constraints.js +205 -0
- package/dist/delegation/index.d.ts +8 -0
- package/dist/delegation/index.js +24 -0
- package/dist/delegation/schemas.d.ts +3787 -0
- package/dist/delegation/schemas.js +230 -0
- package/dist/did/index.d.ts +8 -0
- package/dist/did/index.js +24 -0
- package/dist/did/resolve-contract.d.ts +220 -0
- package/dist/did/resolve-contract.js +32 -0
- package/dist/did/types.d.ts +164 -0
- package/dist/did/types.js +71 -0
- package/dist/env/constants.d.ts +58 -0
- package/dist/env/constants.js +60 -0
- package/dist/env/index.d.ts +5 -0
- package/dist/env/index.js +21 -0
- package/dist/index.d.ts +9 -1
- package/dist/index.js +17 -2
- package/dist/proof/index.d.ts +9 -0
- package/dist/proof/index.js +25 -0
- package/dist/proof/proof-record.d.ts +838 -0
- package/dist/proof/proof-record.js +134 -0
- package/dist/proof/signing-spec.d.ts +147 -0
- package/dist/proof/signing-spec.js +123 -0
- package/dist/runtime/errors.d.ts +348 -0
- package/dist/runtime/errors.js +120 -0
- package/dist/runtime/headers.d.ts +84 -0
- package/dist/runtime/headers.js +82 -0
- package/dist/runtime/index.d.ts +6 -0
- package/dist/runtime/index.js +22 -0
- package/dist/tlkrc/index.d.ts +5 -0
- package/dist/tlkrc/index.js +21 -0
- package/dist/tlkrc/rotation.d.ts +246 -0
- package/dist/tlkrc/rotation.js +127 -0
- package/dist/vc/index.d.ts +8 -0
- package/dist/vc/index.js +24 -0
- package/dist/vc/schemas.d.ts +2484 -0
- package/dist/vc/schemas.js +225 -0
- package/dist/vc/statuslist.d.ts +494 -0
- package/dist/vc/statuslist.js +133 -0
- package/package.json +51 -6
- package/dist/cli.d.ts.map +0 -1
- package/dist/cli.js.map +0 -1
- package/dist/handshake.d.ts.map +0 -1
- package/dist/handshake.js.map +0 -1
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js.map +0 -1
- package/dist/proof.d.ts.map +0 -1
- package/dist/proof.js.map +0 -1
- package/dist/registry.d.ts.map +0 -1
- package/dist/registry.js.map +0 -1
- package/dist/test.d.ts.map +0 -1
- package/dist/test.js.map +0 -1
- package/dist/utils/validation.d.ts.map +0 -1
- package/dist/utils/validation.js.map +0 -1
- package/dist/verifier.d.ts.map +0 -1
- package/dist/verifier.js.map +0 -1
|
@@ -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
|
+
signature: string;
|
|
41
|
+
issuerDid: string;
|
|
42
|
+
prevKeyId: string;
|
|
43
|
+
nextKeyId: string;
|
|
44
|
+
effectiveAt: number;
|
|
45
|
+
issuedAt: number;
|
|
46
|
+
seq: number;
|
|
47
|
+
prevEventHash?: string | undefined;
|
|
48
|
+
metadata?: Record<string, any> | undefined;
|
|
49
|
+
}, {
|
|
50
|
+
signature: string;
|
|
51
|
+
issuerDid: string;
|
|
52
|
+
prevKeyId: string;
|
|
53
|
+
nextKeyId: string;
|
|
54
|
+
effectiveAt: number;
|
|
55
|
+
issuedAt: number;
|
|
56
|
+
seq: number;
|
|
57
|
+
prevEventHash?: string | undefined;
|
|
58
|
+
metadata?: Record<string, any> | undefined;
|
|
59
|
+
}>, {
|
|
60
|
+
signature: string;
|
|
61
|
+
issuerDid: string;
|
|
62
|
+
prevKeyId: string;
|
|
63
|
+
nextKeyId: string;
|
|
64
|
+
effectiveAt: number;
|
|
65
|
+
issuedAt: number;
|
|
66
|
+
seq: number;
|
|
67
|
+
prevEventHash?: string | undefined;
|
|
68
|
+
metadata?: Record<string, any> | undefined;
|
|
69
|
+
}, {
|
|
70
|
+
signature: string;
|
|
71
|
+
issuerDid: string;
|
|
72
|
+
prevKeyId: string;
|
|
73
|
+
nextKeyId: string;
|
|
74
|
+
effectiveAt: number;
|
|
75
|
+
issuedAt: number;
|
|
76
|
+
seq: number;
|
|
77
|
+
prevEventHash?: string | undefined;
|
|
78
|
+
metadata?: Record<string, any> | 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
|
+
signature: string;
|
|
111
|
+
issuerDid: string;
|
|
112
|
+
prevKeyId: string;
|
|
113
|
+
nextKeyId: string;
|
|
114
|
+
effectiveAt: number;
|
|
115
|
+
issuedAt: number;
|
|
116
|
+
seq: number;
|
|
117
|
+
prevEventHash?: string | undefined;
|
|
118
|
+
metadata?: Record<string, any> | undefined;
|
|
119
|
+
}, {
|
|
120
|
+
signature: string;
|
|
121
|
+
issuerDid: string;
|
|
122
|
+
prevKeyId: string;
|
|
123
|
+
nextKeyId: string;
|
|
124
|
+
effectiveAt: number;
|
|
125
|
+
issuedAt: number;
|
|
126
|
+
seq: number;
|
|
127
|
+
prevEventHash?: string | undefined;
|
|
128
|
+
metadata?: Record<string, any> | undefined;
|
|
129
|
+
}>, {
|
|
130
|
+
signature: string;
|
|
131
|
+
issuerDid: string;
|
|
132
|
+
prevKeyId: string;
|
|
133
|
+
nextKeyId: string;
|
|
134
|
+
effectiveAt: number;
|
|
135
|
+
issuedAt: number;
|
|
136
|
+
seq: number;
|
|
137
|
+
prevEventHash?: string | undefined;
|
|
138
|
+
metadata?: Record<string, any> | undefined;
|
|
139
|
+
}, {
|
|
140
|
+
signature: string;
|
|
141
|
+
issuerDid: string;
|
|
142
|
+
prevKeyId: string;
|
|
143
|
+
nextKeyId: string;
|
|
144
|
+
effectiveAt: number;
|
|
145
|
+
issuedAt: number;
|
|
146
|
+
seq: number;
|
|
147
|
+
prevEventHash?: string | undefined;
|
|
148
|
+
metadata?: Record<string, any> | 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
|
+
signature: string;
|
|
161
|
+
issuerDid: string;
|
|
162
|
+
prevKeyId: string;
|
|
163
|
+
nextKeyId: string;
|
|
164
|
+
effectiveAt: number;
|
|
165
|
+
issuedAt: number;
|
|
166
|
+
seq: number;
|
|
167
|
+
prevEventHash?: string | undefined;
|
|
168
|
+
metadata?: Record<string, any> | undefined;
|
|
169
|
+
}[];
|
|
170
|
+
currentKeyId: string;
|
|
171
|
+
errors?: string[] | undefined;
|
|
172
|
+
}, {
|
|
173
|
+
valid: boolean;
|
|
174
|
+
issuerDid: string;
|
|
175
|
+
events: {
|
|
176
|
+
signature: string;
|
|
177
|
+
issuerDid: string;
|
|
178
|
+
prevKeyId: string;
|
|
179
|
+
nextKeyId: string;
|
|
180
|
+
effectiveAt: number;
|
|
181
|
+
issuedAt: number;
|
|
182
|
+
seq: number;
|
|
183
|
+
prevEventHash?: string | undefined;
|
|
184
|
+
metadata?: Record<string, any> | 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
|
+
signature: string;
|
|
201
|
+
issuerDid: string;
|
|
202
|
+
prevKeyId: string;
|
|
203
|
+
nextKeyId: string;
|
|
204
|
+
effectiveAt: number;
|
|
205
|
+
issuedAt: number;
|
|
206
|
+
seq: number;
|
|
207
|
+
prevEventHash?: string | undefined;
|
|
208
|
+
metadata?: Record<string, any> | undefined;
|
|
209
|
+
}, {
|
|
210
|
+
signature: string;
|
|
211
|
+
issuerDid: string;
|
|
212
|
+
prevKeyId: string;
|
|
213
|
+
nextKeyId: string;
|
|
214
|
+
effectiveAt: number;
|
|
215
|
+
issuedAt: number;
|
|
216
|
+
seq: number;
|
|
217
|
+
prevEventHash?: string | undefined;
|
|
218
|
+
metadata?: Record<string, any> | 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,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
|
package/dist/vc/index.js
ADDED
|
@@ -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
|