@oxy.so/contracts 6.18.0 → 6.20.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.
- package/dist/cjs/client/identityProof.js +16 -0
- package/dist/cjs/client/index.js +23 -1
- package/dist/cjs/client/keychain.js +203 -0
- package/dist/cjs/client/signIn.js +2 -0
- package/dist/cjs/index.js +1 -0
- package/dist/cjs/keyRecovery.js +11 -7
- package/dist/cjs/keychain.js +334 -0
- package/dist/esm/client/identityProof.js +16 -0
- package/dist/esm/client/index.js +1 -0
- package/dist/esm/client/keychain.js +200 -0
- package/dist/esm/client/signIn.js +2 -0
- package/dist/esm/index.js +1 -0
- package/dist/esm/keyRecovery.js +11 -7
- package/dist/esm/keychain.js +317 -0
- package/dist/types/client/identityProof.d.ts +16 -0
- package/dist/types/client/index.d.ts +2 -0
- package/dist/types/client/keychain.d.ts +272 -0
- package/dist/types/client/signIn.d.ts +1 -1
- package/dist/types/identityProof.d.ts +1 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/keychain.d.ts +307 -0
- package/dist/types/signIn.d.ts +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,307 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The Oxy Keychain's wire contract (ADR 0063, `docs/identity/keychain.md`).
|
|
3
|
+
*
|
|
4
|
+
* The API parses every `/keychain` request with these schemas and its answers
|
|
5
|
+
* with the response schemas; clients check answers with the Zod-free checks in
|
|
6
|
+
* `./client/keychain.ts` (`@oxy.so/contracts/client`), which mirror them.
|
|
7
|
+
*
|
|
8
|
+
* Every request object is STRICT (an unknown key is refused). Every binary
|
|
9
|
+
* value is canonical base64url without padding, with its length fixed where the
|
|
10
|
+
* bytes are (keys and enrollment nonces 32, AEAD nonces 24, signatures 64).
|
|
11
|
+
*
|
|
12
|
+
* The roster body schemas TRANSFORM NOTHING: the server requires an entry's
|
|
13
|
+
* `body` to equal the JCS of its own parse, so a parse that trimmed, defaulted
|
|
14
|
+
* or lower-cased a value would refuse a canonical body.
|
|
15
|
+
*
|
|
16
|
+
* Platform-agnostic — zod only, no react/react-native/expo. ESM-safe.
|
|
17
|
+
*/
|
|
18
|
+
import { z } from 'zod';
|
|
19
|
+
import { type KeychainEnrollmentResponse, type KeychainEnrollmentsResponse, type KeychainItemResponse, type KeychainItemsResponse, type KeychainStateResponse, type KeychainWrapResponse } from './client/keychain';
|
|
20
|
+
export { KEYCHAIN_PLATFORMS, KEYCHAIN_ROSTER_OPS, KEYCHAIN_ENROLLMENT_STATUSES, KEYCHAIN_RECOVERY, KEYCHAIN_DOMAINS, KEYCHAIN_LIMITS, KEYCHAIN_ERROR_CODES, KEYCHAIN_ID_PATTERN, KEYCHAIN_BYTES32_PATTERN, KEYCHAIN_NONCE_PATTERN, KEYCHAIN_SIGNATURE_PATTERN, KEYCHAIN_BASE64URL_PATTERN, KEYCHAIN_HASH_PATTERN, KEYCHAIN_TIMESTAMP_PATTERN, } from './client/keychain';
|
|
21
|
+
export type { KeychainPlatform, KeychainRosterOp, KeychainEnrollmentStatus, KeychainErrorCode, KeychainMember, KeychainRecoveryKeys, KeychainRosterBody, KeychainSignature, KeychainEntry, KeychainWrap, KeychainVaultSummary, KeychainMemberStatus, KeychainStateResponse, KeychainWrapResponse, KeychainEnrollment, KeychainEnrollmentResponse, KeychainEnrollmentsResponse, KeychainItem, KeychainItemResponse, KeychainItemsResponse, } from './client/keychain';
|
|
22
|
+
/** A lowercase uuid: vault, member, item and enrollment ids. */
|
|
23
|
+
export declare const keychainIdSchema: z.ZodString;
|
|
24
|
+
/** A member id or `recovery`: a wrap's recipient, a signature's signer. */
|
|
25
|
+
export declare const keychainPrincipalSchema: z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"recovery">]>;
|
|
26
|
+
/** 32 bytes as canonical base64url: an Ed25519 or X25519 public key, a 32-byte nonce, a commitment. */
|
|
27
|
+
export declare const keychainBytes32Schema: z.ZodString;
|
|
28
|
+
/** A 24-byte XChaCha20-Poly1305 nonce as base64url. */
|
|
29
|
+
export declare const keychainNonceSchema: z.ZodString;
|
|
30
|
+
/** A 64-byte Ed25519 signature as canonical base64url. */
|
|
31
|
+
export declare const keychainSignatureValueSchema: z.ZodString;
|
|
32
|
+
/** A ciphertext (tag included) as canonical base64url, at most 64 KiB of characters. */
|
|
33
|
+
export declare const keychainCiphertextSchema: z.ZodString;
|
|
34
|
+
export declare const keychainMemberSchema: z.ZodObject<{
|
|
35
|
+
id: z.ZodString;
|
|
36
|
+
name: z.ZodString;
|
|
37
|
+
platform: z.ZodEnum<{
|
|
38
|
+
web: "web";
|
|
39
|
+
android: "android";
|
|
40
|
+
ios: "ios";
|
|
41
|
+
oxyos: "oxyos";
|
|
42
|
+
macos: "macos";
|
|
43
|
+
windows: "windows";
|
|
44
|
+
linux: "linux";
|
|
45
|
+
}>;
|
|
46
|
+
signingKey: z.ZodString;
|
|
47
|
+
boxKey: z.ZodString;
|
|
48
|
+
}, z.core.$strict>;
|
|
49
|
+
export declare const keychainRecoveryKeysSchema: z.ZodObject<{
|
|
50
|
+
signingKey: z.ZodString;
|
|
51
|
+
boxKey: z.ZodString;
|
|
52
|
+
}, z.core.$strict>;
|
|
53
|
+
/**
|
|
54
|
+
* The parse of an entry's `body` (ADR 0063 D3). `seq`/`prev` continuity, the
|
|
55
|
+
* signatures and the signer rules are the server's and every device's
|
|
56
|
+
* verifier's, not the schema's; the schema only refuses a body that is not
|
|
57
|
+
* one of the five shapes exactly.
|
|
58
|
+
*/
|
|
59
|
+
export declare const keychainRosterBodySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
60
|
+
op: z.ZodLiteral<"genesis">;
|
|
61
|
+
member: z.ZodObject<{
|
|
62
|
+
id: z.ZodString;
|
|
63
|
+
name: z.ZodString;
|
|
64
|
+
platform: z.ZodEnum<{
|
|
65
|
+
web: "web";
|
|
66
|
+
android: "android";
|
|
67
|
+
ios: "ios";
|
|
68
|
+
oxyos: "oxyos";
|
|
69
|
+
macos: "macos";
|
|
70
|
+
windows: "windows";
|
|
71
|
+
linux: "linux";
|
|
72
|
+
}>;
|
|
73
|
+
signingKey: z.ZodString;
|
|
74
|
+
boxKey: z.ZodString;
|
|
75
|
+
}, z.core.$strict>;
|
|
76
|
+
recovery: z.ZodObject<{
|
|
77
|
+
signingKey: z.ZodString;
|
|
78
|
+
boxKey: z.ZodString;
|
|
79
|
+
}, z.core.$strict>;
|
|
80
|
+
v: z.ZodLiteral<1>;
|
|
81
|
+
vaultId: z.ZodString;
|
|
82
|
+
seq: z.ZodNumber;
|
|
83
|
+
prev: z.ZodNullable<z.ZodString>;
|
|
84
|
+
createdAt: z.ZodString;
|
|
85
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
86
|
+
op: z.ZodLiteral<"add">;
|
|
87
|
+
member: z.ZodObject<{
|
|
88
|
+
id: z.ZodString;
|
|
89
|
+
name: z.ZodString;
|
|
90
|
+
platform: z.ZodEnum<{
|
|
91
|
+
web: "web";
|
|
92
|
+
android: "android";
|
|
93
|
+
ios: "ios";
|
|
94
|
+
oxyos: "oxyos";
|
|
95
|
+
macos: "macos";
|
|
96
|
+
windows: "windows";
|
|
97
|
+
linux: "linux";
|
|
98
|
+
}>;
|
|
99
|
+
signingKey: z.ZodString;
|
|
100
|
+
boxKey: z.ZodString;
|
|
101
|
+
}, z.core.$strict>;
|
|
102
|
+
v: z.ZodLiteral<1>;
|
|
103
|
+
vaultId: z.ZodString;
|
|
104
|
+
seq: z.ZodNumber;
|
|
105
|
+
prev: z.ZodNullable<z.ZodString>;
|
|
106
|
+
createdAt: z.ZodString;
|
|
107
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
108
|
+
op: z.ZodLiteral<"remove">;
|
|
109
|
+
memberId: z.ZodString;
|
|
110
|
+
v: z.ZodLiteral<1>;
|
|
111
|
+
vaultId: z.ZodString;
|
|
112
|
+
seq: z.ZodNumber;
|
|
113
|
+
prev: z.ZodNullable<z.ZodString>;
|
|
114
|
+
createdAt: z.ZodString;
|
|
115
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
116
|
+
op: z.ZodLiteral<"generation">;
|
|
117
|
+
generation: z.ZodNumber;
|
|
118
|
+
v: z.ZodLiteral<1>;
|
|
119
|
+
vaultId: z.ZodString;
|
|
120
|
+
seq: z.ZodNumber;
|
|
121
|
+
prev: z.ZodNullable<z.ZodString>;
|
|
122
|
+
createdAt: z.ZodString;
|
|
123
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
124
|
+
op: z.ZodLiteral<"recovery">;
|
|
125
|
+
recovery: z.ZodObject<{
|
|
126
|
+
signingKey: z.ZodString;
|
|
127
|
+
boxKey: z.ZodString;
|
|
128
|
+
}, z.core.$strict>;
|
|
129
|
+
v: z.ZodLiteral<1>;
|
|
130
|
+
vaultId: z.ZodString;
|
|
131
|
+
seq: z.ZodNumber;
|
|
132
|
+
prev: z.ZodNullable<z.ZodString>;
|
|
133
|
+
createdAt: z.ZodString;
|
|
134
|
+
}, z.core.$strict>], "op">;
|
|
135
|
+
export declare const keychainSignatureSchema: z.ZodObject<{
|
|
136
|
+
signer: z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"recovery">]>;
|
|
137
|
+
signature: z.ZodString;
|
|
138
|
+
}, z.core.$strict>;
|
|
139
|
+
/** A roster entry as it travels. One or two signatures (genesis has exactly two). */
|
|
140
|
+
export declare const keychainEntrySchema: z.ZodObject<{
|
|
141
|
+
body: z.ZodString;
|
|
142
|
+
signatures: z.ZodArray<z.ZodObject<{
|
|
143
|
+
signer: z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"recovery">]>;
|
|
144
|
+
signature: z.ZodString;
|
|
145
|
+
}, z.core.$strict>>;
|
|
146
|
+
}, z.core.$strict>;
|
|
147
|
+
export declare const keychainWrapSchema: z.ZodObject<{
|
|
148
|
+
recipient: z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"recovery">]>;
|
|
149
|
+
generation: z.ZodNumber;
|
|
150
|
+
epk: z.ZodString;
|
|
151
|
+
nonce: z.ZodString;
|
|
152
|
+
ciphertext: z.ZodString;
|
|
153
|
+
signer: z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"recovery">]>;
|
|
154
|
+
signature: z.ZodString;
|
|
155
|
+
}, z.core.$strict>;
|
|
156
|
+
/** `POST /keychain`: the genesis entry, and the member's and the recovery wraps. */
|
|
157
|
+
export declare const keychainCreateRequestSchema: z.ZodObject<{
|
|
158
|
+
genesis: z.ZodObject<{
|
|
159
|
+
body: z.ZodString;
|
|
160
|
+
signatures: z.ZodArray<z.ZodObject<{
|
|
161
|
+
signer: z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"recovery">]>;
|
|
162
|
+
signature: z.ZodString;
|
|
163
|
+
}, z.core.$strict>>;
|
|
164
|
+
}, z.core.$strict>;
|
|
165
|
+
wraps: z.ZodArray<z.ZodObject<{
|
|
166
|
+
recipient: z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"recovery">]>;
|
|
167
|
+
generation: z.ZodNumber;
|
|
168
|
+
epk: z.ZodString;
|
|
169
|
+
nonce: z.ZodString;
|
|
170
|
+
ciphertext: z.ZodString;
|
|
171
|
+
signer: z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"recovery">]>;
|
|
172
|
+
signature: z.ZodString;
|
|
173
|
+
}, z.core.$strict>>;
|
|
174
|
+
}, z.core.$strict>;
|
|
175
|
+
export type KeychainCreateRequest = z.infer<typeof keychainCreateRequestSchema>;
|
|
176
|
+
/** `POST /keychain/roster`: entries continuing the head, and the wraps they require. */
|
|
177
|
+
export declare const keychainRosterAppendRequestSchema: z.ZodObject<{
|
|
178
|
+
entries: z.ZodArray<z.ZodObject<{
|
|
179
|
+
body: z.ZodString;
|
|
180
|
+
signatures: z.ZodArray<z.ZodObject<{
|
|
181
|
+
signer: z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"recovery">]>;
|
|
182
|
+
signature: z.ZodString;
|
|
183
|
+
}, z.core.$strict>>;
|
|
184
|
+
}, z.core.$strict>>;
|
|
185
|
+
wraps: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
186
|
+
recipient: z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"recovery">]>;
|
|
187
|
+
generation: z.ZodNumber;
|
|
188
|
+
epk: z.ZodString;
|
|
189
|
+
nonce: z.ZodString;
|
|
190
|
+
ciphertext: z.ZodString;
|
|
191
|
+
signer: z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"recovery">]>;
|
|
192
|
+
signature: z.ZodString;
|
|
193
|
+
}, z.core.$strict>>>;
|
|
194
|
+
}, z.core.$strict>;
|
|
195
|
+
export type KeychainRosterAppendRequest = z.infer<typeof keychainRosterAppendRequestSchema>;
|
|
196
|
+
/** `POST /keychain/enrollments`: the new device's member and its commitment. */
|
|
197
|
+
export declare const keychainEnrollmentCreateRequestSchema: z.ZodObject<{
|
|
198
|
+
member: z.ZodObject<{
|
|
199
|
+
id: z.ZodString;
|
|
200
|
+
name: z.ZodString;
|
|
201
|
+
platform: z.ZodEnum<{
|
|
202
|
+
web: "web";
|
|
203
|
+
android: "android";
|
|
204
|
+
ios: "ios";
|
|
205
|
+
oxyos: "oxyos";
|
|
206
|
+
macos: "macos";
|
|
207
|
+
windows: "windows";
|
|
208
|
+
linux: "linux";
|
|
209
|
+
}>;
|
|
210
|
+
signingKey: z.ZodString;
|
|
211
|
+
boxKey: z.ZodString;
|
|
212
|
+
}, z.core.$strict>;
|
|
213
|
+
commitment: z.ZodString;
|
|
214
|
+
}, z.core.$strict>;
|
|
215
|
+
export type KeychainEnrollmentCreateRequest = z.infer<typeof keychainEnrollmentCreateRequestSchema>;
|
|
216
|
+
/** `POST /keychain/enrollments/:id/approver-nonce`. */
|
|
217
|
+
export declare const keychainApproverNonceRequestSchema: z.ZodObject<{
|
|
218
|
+
memberId: z.ZodString;
|
|
219
|
+
approverNonce: z.ZodString;
|
|
220
|
+
}, z.core.$strict>;
|
|
221
|
+
export type KeychainApproverNonceRequest = z.infer<typeof keychainApproverNonceRequestSchema>;
|
|
222
|
+
/** `POST /keychain/enrollments/:id/reveal`. */
|
|
223
|
+
export declare const keychainRevealRequestSchema: z.ZodObject<{
|
|
224
|
+
deviceNonce: z.ZodString;
|
|
225
|
+
}, z.core.$strict>;
|
|
226
|
+
export type KeychainRevealRequest = z.infer<typeof keychainRevealRequestSchema>;
|
|
227
|
+
/** `POST /keychain/enrollments/:id/approve`: the `add` entry and the new member's wrap. */
|
|
228
|
+
export declare const keychainApproveRequestSchema: z.ZodObject<{
|
|
229
|
+
entry: z.ZodObject<{
|
|
230
|
+
body: z.ZodString;
|
|
231
|
+
signatures: z.ZodArray<z.ZodObject<{
|
|
232
|
+
signer: z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"recovery">]>;
|
|
233
|
+
signature: z.ZodString;
|
|
234
|
+
}, z.core.$strict>>;
|
|
235
|
+
}, z.core.$strict>;
|
|
236
|
+
wrap: z.ZodObject<{
|
|
237
|
+
recipient: z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"recovery">]>;
|
|
238
|
+
generation: z.ZodNumber;
|
|
239
|
+
epk: z.ZodString;
|
|
240
|
+
nonce: z.ZodString;
|
|
241
|
+
ciphertext: z.ZodString;
|
|
242
|
+
signer: z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"recovery">]>;
|
|
243
|
+
signature: z.ZodString;
|
|
244
|
+
}, z.core.$strict>;
|
|
245
|
+
}, z.core.$strict>;
|
|
246
|
+
export type KeychainApproveRequest = z.infer<typeof keychainApproveRequestSchema>;
|
|
247
|
+
/** `PUT /keychain/items/:itemId`. `baseRevision` is `null` only for an item that never existed. */
|
|
248
|
+
export declare const keychainItemPutRequestSchema: z.ZodObject<{
|
|
249
|
+
baseRevision: z.ZodNullable<z.ZodNumber>;
|
|
250
|
+
generation: z.ZodNumber;
|
|
251
|
+
nonce: z.ZodString;
|
|
252
|
+
ciphertext: z.ZodString;
|
|
253
|
+
}, z.core.$strict>;
|
|
254
|
+
export type KeychainItemPutRequest = z.infer<typeof keychainItemPutRequestSchema>;
|
|
255
|
+
/** `DELETE /keychain/items/:itemId`. */
|
|
256
|
+
export declare const keychainItemDeleteRequestSchema: z.ZodObject<{
|
|
257
|
+
baseRevision: z.ZodNumber;
|
|
258
|
+
}, z.core.$strict>;
|
|
259
|
+
export type KeychainItemDeleteRequest = z.infer<typeof keychainItemDeleteRequestSchema>;
|
|
260
|
+
/** `GET /keychain/items?since=&limit=`. */
|
|
261
|
+
export declare const keychainItemsQuerySchema: z.ZodObject<{
|
|
262
|
+
since: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
263
|
+
limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
264
|
+
}, z.core.$strict>;
|
|
265
|
+
export type KeychainItemsQuery = z.infer<typeof keychainItemsQuerySchema>;
|
|
266
|
+
export declare const keychainEnrollmentParamsSchema: z.ZodObject<{
|
|
267
|
+
id: z.ZodString;
|
|
268
|
+
}, z.core.$strict>;
|
|
269
|
+
export declare const keychainItemParamsSchema: z.ZodObject<{
|
|
270
|
+
itemId: z.ZodString;
|
|
271
|
+
}, z.core.$strict>;
|
|
272
|
+
/**
|
|
273
|
+
* `DELETE /keychain` — the reset (ADR 0063 D6), with a fresh re-verification.
|
|
274
|
+
*
|
|
275
|
+
* - An account WITHOUT a linked root: `reauth` for `reset_keychain` (ADR 0030:
|
|
276
|
+
* its email code, or its password when it has no email; plus its
|
|
277
|
+
* authenticator's code when it has one).
|
|
278
|
+
* - An account WITH a linked root (Commons, which has no email or password to
|
|
279
|
+
* re-verify with): `rootProof`, a root proof for the `keychain_reset` action
|
|
280
|
+
* over the payload `{ vaultId }` (ADR 0024 D7, challenge from
|
|
281
|
+
* `POST /identity/proof-challenge`), plus `totpCode` when it has an
|
|
282
|
+
* authenticator.
|
|
283
|
+
*/
|
|
284
|
+
export declare const keychainResetRequestSchema: z.ZodObject<{
|
|
285
|
+
reauth: z.ZodOptional<z.ZodObject<{
|
|
286
|
+
password: z.ZodOptional<z.ZodString>;
|
|
287
|
+
emailCode: z.ZodOptional<z.ZodObject<{
|
|
288
|
+
verificationId: z.ZodString;
|
|
289
|
+
code: z.ZodString;
|
|
290
|
+
}, z.core.$strict>>;
|
|
291
|
+
totpCode: z.ZodOptional<z.ZodString>;
|
|
292
|
+
}, z.core.$strict>>;
|
|
293
|
+
rootProof: z.ZodOptional<z.ZodObject<{
|
|
294
|
+
v: z.ZodLiteral<2>;
|
|
295
|
+
challenge: z.ZodString;
|
|
296
|
+
expiresAt: z.ZodNumber;
|
|
297
|
+
signature: z.ZodString;
|
|
298
|
+
}, z.core.$strip>>;
|
|
299
|
+
totpCode: z.ZodOptional<z.ZodString>;
|
|
300
|
+
}, z.core.$strict>;
|
|
301
|
+
export type KeychainResetRequest = z.infer<typeof keychainResetRequestSchema>;
|
|
302
|
+
export declare const keychainStateResponseSchema: z.ZodType<KeychainStateResponse>;
|
|
303
|
+
export declare const keychainWrapResponseSchema: z.ZodType<KeychainWrapResponse>;
|
|
304
|
+
export declare const keychainEnrollmentResponseSchema: z.ZodType<KeychainEnrollmentResponse>;
|
|
305
|
+
export declare const keychainEnrollmentsResponseSchema: z.ZodType<KeychainEnrollmentsResponse>;
|
|
306
|
+
export declare const keychainItemResponseSchema: z.ZodType<KeychainItemResponse>;
|
|
307
|
+
export declare const keychainItemsResponseSchema: z.ZodType<KeychainItemsResponse>;
|
package/dist/types/signIn.d.ts
CHANGED
|
@@ -253,6 +253,7 @@ export declare const reauthEmailStartRequestSchema: z.ZodObject<{
|
|
|
253
253
|
credentials_manage: "credentials_manage";
|
|
254
254
|
supervision: "supervision";
|
|
255
255
|
supervision_purchase: "supervision_purchase";
|
|
256
|
+
reset_keychain: "reset_keychain";
|
|
256
257
|
}>;
|
|
257
258
|
}, z.core.$strict>;
|
|
258
259
|
export type ReauthEmailStartRequest = z.infer<typeof reauthEmailStartRequestSchema>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@oxy.so/contracts",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.20.0",
|
|
4
4
|
"description": "OxyHQ API contracts — single source of truth for request/response Zod schemas and inferred types, shared by the backend and the client SDKs",
|
|
5
5
|
"main": "dist/cjs/index.js",
|
|
6
6
|
"module": "dist/esm/index.js",
|