@varla/sdk 1.10.12 → 1.10.13
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/AGENTS.md +1 -1
- package/BACKEND.md +310 -0
- package/README.md +5 -0
- package/dist/abi/full/OracleUpdaterRouter.d.ts +381 -0
- package/dist/abi/full/OracleUpdaterRouter.d.ts.map +1 -0
- package/dist/abi/full/OracleUpdaterRouter.js +496 -0
- package/dist/abi/index.d.ts +1 -0
- package/dist/abi/index.d.ts.map +1 -1
- package/dist/abi/index.js +1 -0
- package/dist/actions/admin.d.ts +7 -0
- package/dist/actions/admin.d.ts.map +1 -1
- package/dist/actions/admin.js +12 -0
- package/dist/actions/index.d.ts +1 -0
- package/dist/actions/index.d.ts.map +1 -1
- package/dist/actions/index.js +1 -0
- package/dist/actions/oracleUpdaterRouter.d.ts +84 -0
- package/dist/actions/oracleUpdaterRouter.d.ts.map +1 -0
- package/dist/actions/oracleUpdaterRouter.js +86 -0
- package/dist/addresses/polygon.d.ts.map +1 -1
- package/dist/addresses/polygon.js +9 -8
- package/dist/contracts.d.ts +2 -1
- package/dist/contracts.d.ts.map +1 -1
- package/dist/contracts.js +8 -0
- package/dist/generated.d.ts +380 -0
- package/dist/generated.d.ts.map +1 -1
- package/dist/generated.js +1 -0
- package/dist/types.d.ts +1 -0
- package/dist/types.d.ts.map +1 -1
- package/package.json +3 -2
package/dist/generated.d.ts
CHANGED
|
@@ -1,4 +1,384 @@
|
|
|
1
1
|
export declare const abis: {
|
|
2
|
+
readonly ORACLEUPDATERROUTER_ABI: readonly [{
|
|
3
|
+
readonly inputs: readonly [{
|
|
4
|
+
readonly internalType: "address";
|
|
5
|
+
readonly name: "authority";
|
|
6
|
+
readonly type: "address";
|
|
7
|
+
}];
|
|
8
|
+
readonly stateMutability: "nonpayable";
|
|
9
|
+
readonly type: "constructor";
|
|
10
|
+
}, {
|
|
11
|
+
readonly inputs: readonly [{
|
|
12
|
+
readonly internalType: "address";
|
|
13
|
+
readonly name: "authority";
|
|
14
|
+
readonly type: "address";
|
|
15
|
+
}];
|
|
16
|
+
readonly name: "AccessManagedInvalidAuthority";
|
|
17
|
+
readonly type: "error";
|
|
18
|
+
}, {
|
|
19
|
+
readonly inputs: readonly [{
|
|
20
|
+
readonly internalType: "address";
|
|
21
|
+
readonly name: "caller";
|
|
22
|
+
readonly type: "address";
|
|
23
|
+
}, {
|
|
24
|
+
readonly internalType: "uint32";
|
|
25
|
+
readonly name: "delay";
|
|
26
|
+
readonly type: "uint32";
|
|
27
|
+
}];
|
|
28
|
+
readonly name: "AccessManagedRequiredDelay";
|
|
29
|
+
readonly type: "error";
|
|
30
|
+
}, {
|
|
31
|
+
readonly inputs: readonly [{
|
|
32
|
+
readonly internalType: "address";
|
|
33
|
+
readonly name: "caller";
|
|
34
|
+
readonly type: "address";
|
|
35
|
+
}];
|
|
36
|
+
readonly name: "AccessManagedUnauthorized";
|
|
37
|
+
readonly type: "error";
|
|
38
|
+
}, {
|
|
39
|
+
readonly inputs: readonly [];
|
|
40
|
+
readonly name: "ArrayLengthMismatch";
|
|
41
|
+
readonly type: "error";
|
|
42
|
+
}, {
|
|
43
|
+
readonly inputs: readonly [{
|
|
44
|
+
readonly internalType: "uint256";
|
|
45
|
+
readonly name: "expected";
|
|
46
|
+
readonly type: "uint256";
|
|
47
|
+
}, {
|
|
48
|
+
readonly internalType: "uint256";
|
|
49
|
+
readonly name: "got";
|
|
50
|
+
readonly type: "uint256";
|
|
51
|
+
}];
|
|
52
|
+
readonly name: "BadChainId";
|
|
53
|
+
readonly type: "error";
|
|
54
|
+
}, {
|
|
55
|
+
readonly inputs: readonly [{
|
|
56
|
+
readonly internalType: "uint256";
|
|
57
|
+
readonly name: "expected";
|
|
58
|
+
readonly type: "uint256";
|
|
59
|
+
}, {
|
|
60
|
+
readonly internalType: "uint256";
|
|
61
|
+
readonly name: "got";
|
|
62
|
+
readonly type: "uint256";
|
|
63
|
+
}];
|
|
64
|
+
readonly name: "BadNonce";
|
|
65
|
+
readonly type: "error";
|
|
66
|
+
}, {
|
|
67
|
+
readonly inputs: readonly [];
|
|
68
|
+
readonly name: "ECDSAInvalidSignature";
|
|
69
|
+
readonly type: "error";
|
|
70
|
+
}, {
|
|
71
|
+
readonly inputs: readonly [{
|
|
72
|
+
readonly internalType: "uint256";
|
|
73
|
+
readonly name: "length";
|
|
74
|
+
readonly type: "uint256";
|
|
75
|
+
}];
|
|
76
|
+
readonly name: "ECDSAInvalidSignatureLength";
|
|
77
|
+
readonly type: "error";
|
|
78
|
+
}, {
|
|
79
|
+
readonly inputs: readonly [{
|
|
80
|
+
readonly internalType: "bytes32";
|
|
81
|
+
readonly name: "s";
|
|
82
|
+
readonly type: "bytes32";
|
|
83
|
+
}];
|
|
84
|
+
readonly name: "ECDSAInvalidSignatureS";
|
|
85
|
+
readonly type: "error";
|
|
86
|
+
}, {
|
|
87
|
+
readonly inputs: readonly [{
|
|
88
|
+
readonly internalType: "uint256";
|
|
89
|
+
readonly name: "deadline";
|
|
90
|
+
readonly type: "uint256";
|
|
91
|
+
}];
|
|
92
|
+
readonly name: "Expired";
|
|
93
|
+
readonly type: "error";
|
|
94
|
+
}, {
|
|
95
|
+
readonly inputs: readonly [{
|
|
96
|
+
readonly internalType: "address";
|
|
97
|
+
readonly name: "publisher";
|
|
98
|
+
readonly type: "address";
|
|
99
|
+
}];
|
|
100
|
+
readonly name: "InvalidPublisher";
|
|
101
|
+
readonly type: "error";
|
|
102
|
+
}, {
|
|
103
|
+
readonly inputs: readonly [];
|
|
104
|
+
readonly name: "InvalidShortString";
|
|
105
|
+
readonly type: "error";
|
|
106
|
+
}, {
|
|
107
|
+
readonly inputs: readonly [];
|
|
108
|
+
readonly name: "InvalidSignature";
|
|
109
|
+
readonly type: "error";
|
|
110
|
+
}, {
|
|
111
|
+
readonly inputs: readonly [{
|
|
112
|
+
readonly internalType: "string";
|
|
113
|
+
readonly name: "str";
|
|
114
|
+
readonly type: "string";
|
|
115
|
+
}];
|
|
116
|
+
readonly name: "StringTooLong";
|
|
117
|
+
readonly type: "error";
|
|
118
|
+
}, {
|
|
119
|
+
readonly anonymous: false;
|
|
120
|
+
readonly inputs: readonly [{
|
|
121
|
+
readonly indexed: false;
|
|
122
|
+
readonly internalType: "address";
|
|
123
|
+
readonly name: "authority";
|
|
124
|
+
readonly type: "address";
|
|
125
|
+
}];
|
|
126
|
+
readonly name: "AuthorityUpdated";
|
|
127
|
+
readonly type: "event";
|
|
128
|
+
}, {
|
|
129
|
+
readonly anonymous: false;
|
|
130
|
+
readonly inputs: readonly [];
|
|
131
|
+
readonly name: "EIP712DomainChanged";
|
|
132
|
+
readonly type: "event";
|
|
133
|
+
}, {
|
|
134
|
+
readonly anonymous: false;
|
|
135
|
+
readonly inputs: readonly [{
|
|
136
|
+
readonly indexed: true;
|
|
137
|
+
readonly internalType: "address";
|
|
138
|
+
readonly name: "publisher";
|
|
139
|
+
readonly type: "address";
|
|
140
|
+
}, {
|
|
141
|
+
readonly indexed: false;
|
|
142
|
+
readonly internalType: "bool";
|
|
143
|
+
readonly name: "allowed";
|
|
144
|
+
readonly type: "bool";
|
|
145
|
+
}];
|
|
146
|
+
readonly name: "PublisherSet";
|
|
147
|
+
readonly type: "event";
|
|
148
|
+
}, {
|
|
149
|
+
readonly anonymous: false;
|
|
150
|
+
readonly inputs: readonly [{
|
|
151
|
+
readonly indexed: true;
|
|
152
|
+
readonly internalType: "address";
|
|
153
|
+
readonly name: "oracle";
|
|
154
|
+
readonly type: "address";
|
|
155
|
+
}, {
|
|
156
|
+
readonly indexed: true;
|
|
157
|
+
readonly internalType: "address";
|
|
158
|
+
readonly name: "publisher";
|
|
159
|
+
readonly type: "address";
|
|
160
|
+
}, {
|
|
161
|
+
readonly indexed: false;
|
|
162
|
+
readonly internalType: "uint256";
|
|
163
|
+
readonly name: "nonce";
|
|
164
|
+
readonly type: "uint256";
|
|
165
|
+
}, {
|
|
166
|
+
readonly indexed: false;
|
|
167
|
+
readonly internalType: "uint256";
|
|
168
|
+
readonly name: "count";
|
|
169
|
+
readonly type: "uint256";
|
|
170
|
+
}];
|
|
171
|
+
readonly name: "UpdateForwarded";
|
|
172
|
+
readonly type: "event";
|
|
173
|
+
}, {
|
|
174
|
+
readonly inputs: readonly [];
|
|
175
|
+
readonly name: "authority";
|
|
176
|
+
readonly outputs: readonly [{
|
|
177
|
+
readonly internalType: "address";
|
|
178
|
+
readonly name: "";
|
|
179
|
+
readonly type: "address";
|
|
180
|
+
}];
|
|
181
|
+
readonly stateMutability: "view";
|
|
182
|
+
readonly type: "function";
|
|
183
|
+
}, {
|
|
184
|
+
readonly inputs: readonly [];
|
|
185
|
+
readonly name: "eip712Domain";
|
|
186
|
+
readonly outputs: readonly [{
|
|
187
|
+
readonly internalType: "bytes1";
|
|
188
|
+
readonly name: "fields";
|
|
189
|
+
readonly type: "bytes1";
|
|
190
|
+
}, {
|
|
191
|
+
readonly internalType: "string";
|
|
192
|
+
readonly name: "name";
|
|
193
|
+
readonly type: "string";
|
|
194
|
+
}, {
|
|
195
|
+
readonly internalType: "string";
|
|
196
|
+
readonly name: "version";
|
|
197
|
+
readonly type: "string";
|
|
198
|
+
}, {
|
|
199
|
+
readonly internalType: "uint256";
|
|
200
|
+
readonly name: "chainId";
|
|
201
|
+
readonly type: "uint256";
|
|
202
|
+
}, {
|
|
203
|
+
readonly internalType: "address";
|
|
204
|
+
readonly name: "verifyingContract";
|
|
205
|
+
readonly type: "address";
|
|
206
|
+
}, {
|
|
207
|
+
readonly internalType: "bytes32";
|
|
208
|
+
readonly name: "salt";
|
|
209
|
+
readonly type: "bytes32";
|
|
210
|
+
}, {
|
|
211
|
+
readonly internalType: "uint256[]";
|
|
212
|
+
readonly name: "extensions";
|
|
213
|
+
readonly type: "uint256[]";
|
|
214
|
+
}];
|
|
215
|
+
readonly stateMutability: "view";
|
|
216
|
+
readonly type: "function";
|
|
217
|
+
}, {
|
|
218
|
+
readonly inputs: readonly [{
|
|
219
|
+
readonly components: readonly [{
|
|
220
|
+
readonly internalType: "address";
|
|
221
|
+
readonly name: "oracle";
|
|
222
|
+
readonly type: "address";
|
|
223
|
+
}, {
|
|
224
|
+
readonly internalType: "uint256";
|
|
225
|
+
readonly name: "chainId";
|
|
226
|
+
readonly type: "uint256";
|
|
227
|
+
}, {
|
|
228
|
+
readonly internalType: "address";
|
|
229
|
+
readonly name: "publisher";
|
|
230
|
+
readonly type: "address";
|
|
231
|
+
}, {
|
|
232
|
+
readonly internalType: "uint256";
|
|
233
|
+
readonly name: "nonce";
|
|
234
|
+
readonly type: "uint256";
|
|
235
|
+
}, {
|
|
236
|
+
readonly internalType: "uint256";
|
|
237
|
+
readonly name: "deadline";
|
|
238
|
+
readonly type: "uint256";
|
|
239
|
+
}, {
|
|
240
|
+
readonly internalType: "uint256[]";
|
|
241
|
+
readonly name: "positionIds";
|
|
242
|
+
readonly type: "uint256[]";
|
|
243
|
+
}, {
|
|
244
|
+
readonly internalType: "uint256[]";
|
|
245
|
+
readonly name: "priceList";
|
|
246
|
+
readonly type: "uint256[]";
|
|
247
|
+
}, {
|
|
248
|
+
readonly internalType: "uint256[]";
|
|
249
|
+
readonly name: "twapList";
|
|
250
|
+
readonly type: "uint256[]";
|
|
251
|
+
}, {
|
|
252
|
+
readonly internalType: "uint256[]";
|
|
253
|
+
readonly name: "liquidityList";
|
|
254
|
+
readonly type: "uint256[]";
|
|
255
|
+
}];
|
|
256
|
+
readonly internalType: "struct OracleUpdaterRouter.Update";
|
|
257
|
+
readonly name: "u";
|
|
258
|
+
readonly type: "tuple";
|
|
259
|
+
}];
|
|
260
|
+
readonly name: "hashUpdate";
|
|
261
|
+
readonly outputs: readonly [{
|
|
262
|
+
readonly internalType: "bytes32";
|
|
263
|
+
readonly name: "";
|
|
264
|
+
readonly type: "bytes32";
|
|
265
|
+
}];
|
|
266
|
+
readonly stateMutability: "view";
|
|
267
|
+
readonly type: "function";
|
|
268
|
+
}, {
|
|
269
|
+
readonly inputs: readonly [];
|
|
270
|
+
readonly name: "isConsumingScheduledOp";
|
|
271
|
+
readonly outputs: readonly [{
|
|
272
|
+
readonly internalType: "bytes4";
|
|
273
|
+
readonly name: "";
|
|
274
|
+
readonly type: "bytes4";
|
|
275
|
+
}];
|
|
276
|
+
readonly stateMutability: "view";
|
|
277
|
+
readonly type: "function";
|
|
278
|
+
}, {
|
|
279
|
+
readonly inputs: readonly [{
|
|
280
|
+
readonly internalType: "address";
|
|
281
|
+
readonly name: "";
|
|
282
|
+
readonly type: "address";
|
|
283
|
+
}];
|
|
284
|
+
readonly name: "isPublisher";
|
|
285
|
+
readonly outputs: readonly [{
|
|
286
|
+
readonly internalType: "bool";
|
|
287
|
+
readonly name: "";
|
|
288
|
+
readonly type: "bool";
|
|
289
|
+
}];
|
|
290
|
+
readonly stateMutability: "view";
|
|
291
|
+
readonly type: "function";
|
|
292
|
+
}, {
|
|
293
|
+
readonly inputs: readonly [{
|
|
294
|
+
readonly internalType: "address";
|
|
295
|
+
readonly name: "";
|
|
296
|
+
readonly type: "address";
|
|
297
|
+
}];
|
|
298
|
+
readonly name: "nonces";
|
|
299
|
+
readonly outputs: readonly [{
|
|
300
|
+
readonly internalType: "uint256";
|
|
301
|
+
readonly name: "";
|
|
302
|
+
readonly type: "uint256";
|
|
303
|
+
}];
|
|
304
|
+
readonly stateMutability: "view";
|
|
305
|
+
readonly type: "function";
|
|
306
|
+
}, {
|
|
307
|
+
readonly inputs: readonly [{
|
|
308
|
+
readonly internalType: "address";
|
|
309
|
+
readonly name: "newAuthority";
|
|
310
|
+
readonly type: "address";
|
|
311
|
+
}];
|
|
312
|
+
readonly name: "setAuthority";
|
|
313
|
+
readonly outputs: readonly [];
|
|
314
|
+
readonly stateMutability: "nonpayable";
|
|
315
|
+
readonly type: "function";
|
|
316
|
+
}, {
|
|
317
|
+
readonly inputs: readonly [{
|
|
318
|
+
readonly internalType: "address";
|
|
319
|
+
readonly name: "publisher";
|
|
320
|
+
readonly type: "address";
|
|
321
|
+
}, {
|
|
322
|
+
readonly internalType: "bool";
|
|
323
|
+
readonly name: "allowed";
|
|
324
|
+
readonly type: "bool";
|
|
325
|
+
}];
|
|
326
|
+
readonly name: "setPublisher";
|
|
327
|
+
readonly outputs: readonly [];
|
|
328
|
+
readonly stateMutability: "nonpayable";
|
|
329
|
+
readonly type: "function";
|
|
330
|
+
}, {
|
|
331
|
+
readonly inputs: readonly [{
|
|
332
|
+
readonly components: readonly [{
|
|
333
|
+
readonly internalType: "address";
|
|
334
|
+
readonly name: "oracle";
|
|
335
|
+
readonly type: "address";
|
|
336
|
+
}, {
|
|
337
|
+
readonly internalType: "uint256";
|
|
338
|
+
readonly name: "chainId";
|
|
339
|
+
readonly type: "uint256";
|
|
340
|
+
}, {
|
|
341
|
+
readonly internalType: "address";
|
|
342
|
+
readonly name: "publisher";
|
|
343
|
+
readonly type: "address";
|
|
344
|
+
}, {
|
|
345
|
+
readonly internalType: "uint256";
|
|
346
|
+
readonly name: "nonce";
|
|
347
|
+
readonly type: "uint256";
|
|
348
|
+
}, {
|
|
349
|
+
readonly internalType: "uint256";
|
|
350
|
+
readonly name: "deadline";
|
|
351
|
+
readonly type: "uint256";
|
|
352
|
+
}, {
|
|
353
|
+
readonly internalType: "uint256[]";
|
|
354
|
+
readonly name: "positionIds";
|
|
355
|
+
readonly type: "uint256[]";
|
|
356
|
+
}, {
|
|
357
|
+
readonly internalType: "uint256[]";
|
|
358
|
+
readonly name: "priceList";
|
|
359
|
+
readonly type: "uint256[]";
|
|
360
|
+
}, {
|
|
361
|
+
readonly internalType: "uint256[]";
|
|
362
|
+
readonly name: "twapList";
|
|
363
|
+
readonly type: "uint256[]";
|
|
364
|
+
}, {
|
|
365
|
+
readonly internalType: "uint256[]";
|
|
366
|
+
readonly name: "liquidityList";
|
|
367
|
+
readonly type: "uint256[]";
|
|
368
|
+
}];
|
|
369
|
+
readonly internalType: "struct OracleUpdaterRouter.Update";
|
|
370
|
+
readonly name: "u";
|
|
371
|
+
readonly type: "tuple";
|
|
372
|
+
}, {
|
|
373
|
+
readonly internalType: "bytes";
|
|
374
|
+
readonly name: "sig";
|
|
375
|
+
readonly type: "bytes";
|
|
376
|
+
}];
|
|
377
|
+
readonly name: "updatePricesWithSig";
|
|
378
|
+
readonly outputs: readonly [];
|
|
379
|
+
readonly stateMutability: "nonpayable";
|
|
380
|
+
readonly type: "function";
|
|
381
|
+
}];
|
|
2
382
|
readonly VARLAACCESSMANAGER_ABI: readonly [{
|
|
3
383
|
readonly inputs: readonly [{
|
|
4
384
|
readonly internalType: "address";
|
package/dist/generated.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"generated.d.ts","sourceRoot":"","sources":["../src/generated.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,IAAI
|
|
1
|
+
{"version":3,"file":"generated.d.ts","sourceRoot":"","sources":["../src/generated.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAcP,CAAC;AAEX,eAAO,MAAM,SAAS;;;CAGZ,CAAC"}
|
package/dist/generated.js
CHANGED
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
import * as abi_ from "./abi/index.js";
|
|
4
4
|
import * as addresses_ from "./addresses/index.js";
|
|
5
5
|
export const abis = {
|
|
6
|
+
ORACLEUPDATERROUTER_ABI: abi_.ORACLEUPDATERROUTER_ABI,
|
|
6
7
|
VARLAACCESSMANAGER_ABI: abi_.VARLAACCESSMANAGER_ABI,
|
|
7
8
|
VARLAORACLE_ABI: abi_.VARLAORACLE_ABI,
|
|
8
9
|
VARLACORE_ABI: abi_.VARLACORE_ABI,
|
package/dist/types.d.ts
CHANGED
package/dist/types.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,QAAQ,GAAG,SAAS,GAAG,KAAK,CAAC;AAEzC;;;;GAIG;AACH,MAAM,MAAM,WAAW,GAAG;IACxB,aAAa,EAAE,KAAK,MAAM,EAAE,CAAC;IAC7B,MAAM,EAAE,KAAK,MAAM,EAAE,CAAC;IACtB,IAAI,EAAE,KAAK,MAAM,EAAE,CAAC;IACpB,IAAI,EAAE,KAAK,MAAM,EAAE,CAAC;IAGpB,oBAAoB,CAAC,EAAE,KAAK,MAAM,EAAE,CAAC;IACrC,UAAU,CAAC,EAAE,KAAK,MAAM,EAAE,CAAC;IAE3B,UAAU,CAAC,EAAE,KAAK,MAAM,EAAE,CAAC;IAC3B,eAAe,CAAC,EAAE,KAAK,MAAM,EAAE,CAAC;IAChC,iBAAiB,CAAC,EAAE,KAAK,MAAM,EAAE,CAAC;IAElC,oBAAoB,CAAC,EAAE,KAAK,MAAM,EAAE,CAAC;IACrC,gCAAgC,CAAC,EAAE,KAAK,MAAM,EAAE,CAAC;CAClD,CAAC"}
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,QAAQ,GAAG,SAAS,GAAG,KAAK,CAAC;AAEzC;;;;GAIG;AACH,MAAM,MAAM,WAAW,GAAG;IACxB,aAAa,EAAE,KAAK,MAAM,EAAE,CAAC;IAC7B,MAAM,EAAE,KAAK,MAAM,EAAE,CAAC;IACtB,IAAI,EAAE,KAAK,MAAM,EAAE,CAAC;IACpB,IAAI,EAAE,KAAK,MAAM,EAAE,CAAC;IAGpB,mBAAmB,CAAC,EAAE,KAAK,MAAM,EAAE,CAAC;IACpC,oBAAoB,CAAC,EAAE,KAAK,MAAM,EAAE,CAAC;IACrC,UAAU,CAAC,EAAE,KAAK,MAAM,EAAE,CAAC;IAE3B,UAAU,CAAC,EAAE,KAAK,MAAM,EAAE,CAAC;IAC3B,eAAe,CAAC,EAAE,KAAK,MAAM,EAAE,CAAC;IAChC,iBAAiB,CAAC,EAAE,KAAK,MAAM,EAAE,CAAC;IAElC,oBAAoB,CAAC,EAAE,KAAK,MAAM,EAAE,CAAC;IACrC,gCAAgC,CAAC,EAAE,KAAK,MAAM,EAAE,CAAC;CAClD,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@varla/sdk",
|
|
3
|
-
"version": "1.10.
|
|
3
|
+
"version": "1.10.13",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
"dist",
|
|
9
9
|
"README.md",
|
|
10
10
|
"FRONTEND.md",
|
|
11
|
+
"BACKEND.md",
|
|
11
12
|
"AGENTS.md"
|
|
12
13
|
],
|
|
13
14
|
"exports": {
|
|
@@ -58,7 +59,7 @@
|
|
|
58
59
|
},
|
|
59
60
|
"scripts": {
|
|
60
61
|
"clean": "rm -rf dist",
|
|
61
|
-
"gen": "
|
|
62
|
+
"gen": "bun scripts/gen.ts",
|
|
62
63
|
"build": "tsc -p tsconfig.json",
|
|
63
64
|
"prepack": "bun run clean && bun run gen && bun run build",
|
|
64
65
|
"test": "bun run prepack && bun test",
|