@arkiv-network/sdk 0.7.0-dev.1 → 0.8.0-dev.1
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/README.md +29 -16
- package/dist/attr/index.cjs +34 -0
- package/dist/attr/index.d.cts +2 -0
- package/dist/attr/index.d.ts +2 -0
- package/dist/attr/index.js +3 -0
- package/dist/attr-BDZ-APg5.js +809 -0
- package/dist/attr-BDZ-APg5.js.map +1 -0
- package/dist/attr-BvxHN99W.cjs +1029 -0
- package/dist/chains/index.cjs +2 -3
- package/dist/chains/index.d.cts +22 -60
- package/dist/chains/index.d.cts.map +1 -1
- package/dist/chains/index.d.ts +22 -60
- package/dist/chains/index.d.ts.map +1 -1
- package/dist/chains/index.js +2 -2
- package/dist/chains-BJrZs6sG.js +57 -0
- package/dist/chains-BJrZs6sG.js.map +1 -0
- package/dist/chains-BYRTTipa.cjs +73 -0
- package/dist/changeOwnership-B7bEgla4.d.cts +509 -0
- package/dist/changeOwnership-B7bEgla4.d.cts.map +1 -0
- package/dist/changeOwnership-DwgtdSFc.d.ts +509 -0
- package/dist/changeOwnership-DwgtdSFc.d.ts.map +1 -0
- package/dist/entity/index.cjs +19 -0
- package/dist/entity/index.d.cts +4 -0
- package/dist/entity/index.d.ts +4 -0
- package/dist/entity/index.js +6 -0
- package/dist/entity-B0t6sN7F.cjs +71 -0
- package/dist/entity-BIp_df9u.js +67 -0
- package/dist/entity-BIp_df9u.js.map +1 -0
- package/dist/entity-CFhbAv0R.js +70 -0
- package/dist/entity-CFhbAv0R.js.map +1 -0
- package/dist/entity-wfBnZd91.cjs +98 -0
- package/dist/errors-D-eJkGVc.cjs +56 -0
- package/dist/errors-DGB8AgT2.js +33 -0
- package/dist/errors-DGB8AgT2.js.map +1 -0
- package/dist/expiry-BUYIXTGb.cjs +135 -0
- package/dist/expiry-BxOlvVWC.d.ts +79 -0
- package/dist/expiry-BxOlvVWC.d.ts.map +1 -0
- package/dist/expiry-DGRzrSan.js +95 -0
- package/dist/expiry-DGRzrSan.js.map +1 -0
- package/dist/expiry-DRV29F1r.d.cts +79 -0
- package/dist/expiry-DRV29F1r.d.cts.map +1 -0
- package/dist/flags-0Vl5rrHq.d.cts +41 -0
- package/dist/flags-0Vl5rrHq.d.cts.map +1 -0
- package/dist/flags-Ct8k0gpB.cjs +43 -0
- package/dist/flags-ZtlvOIIk.js +33 -0
- package/dist/flags-ZtlvOIIk.js.map +1 -0
- package/dist/flags-wmcMoAnN.d.ts +41 -0
- package/dist/flags-wmcMoAnN.d.ts.map +1 -0
- package/dist/index-Cgw1u5aY.d.cts +278 -0
- package/dist/index-Cgw1u5aY.d.cts.map +1 -0
- package/dist/index-ClgIuxJ8.d.ts +159 -0
- package/dist/index-ClgIuxJ8.d.ts.map +1 -0
- package/dist/index-D0CmtiWT.d.cts +159 -0
- package/dist/index-D0CmtiWT.d.cts.map +1 -0
- package/dist/index-D8LZt-3J.d.cts +417 -0
- package/dist/index-D8LZt-3J.d.cts.map +1 -0
- package/dist/index-DVYFaXNV.d.ts +417 -0
- package/dist/index-DVYFaXNV.d.ts.map +1 -0
- package/dist/index-VCqgn29D.d.ts +278 -0
- package/dist/index-VCqgn29D.d.ts.map +1 -0
- package/dist/index.cjs +676 -375
- package/dist/index.d.cts +247 -208
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.ts +247 -208
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +626 -368
- package/dist/index.js.map +1 -1
- package/dist/payload-Bnw1hrvb.cjs +83 -0
- package/dist/payload-CIxSn_DW.js +67 -0
- package/dist/payload-CIxSn_DW.js.map +1 -0
- package/dist/payload-Dgx3PQeK.d.ts +94 -0
- package/dist/payload-Dgx3PQeK.d.ts.map +1 -0
- package/dist/payload-P0nWyjLg.d.cts +94 -0
- package/dist/payload-P0nWyjLg.d.cts.map +1 -0
- package/dist/query/index.cjs +24 -150
- package/dist/query/index.d.cts +5 -3
- package/dist/query/index.d.ts +5 -3
- package/dist/query/index.js +6 -138
- package/dist/queryBuilder-BXDvX1K_.cjs +1123 -0
- package/dist/queryBuilder-CbLL4pG5.js +963 -0
- package/dist/queryBuilder-CbLL4pG5.js.map +1 -0
- package/dist/selection-BvK6yX0g.d.cts +433 -0
- package/dist/selection-BvK6yX0g.d.cts.map +1 -0
- package/dist/selection-fpmI3ADQ.d.ts +433 -0
- package/dist/selection-fpmI3ADQ.d.ts.map +1 -0
- package/dist/types/index.cjs +3 -3
- package/dist/types/index.d.cts +7 -2
- package/dist/types/index.d.ts +7 -2
- package/dist/types/index.js +3 -3
- package/dist/utils/index.cjs +4 -17
- package/dist/utils/index.d.cts +3 -17
- package/dist/utils/index.d.ts +3 -17
- package/dist/utils/index.js +4 -18
- package/package.json +26 -5
- package/src/actions/public/getEntity.ts +27 -43
- package/src/actions/public/getEntityNonce.ts +30 -0
- package/src/actions/public/predictEntityKeys.test.ts +143 -0
- package/src/actions/public/predictEntityKeys.ts +138 -0
- package/src/actions/public/query.ts +33 -69
- package/src/actions/public/watchEntityEvents.test.ts +414 -0
- package/src/actions/public/watchEntityEvents.ts +225 -0
- package/src/actions/wallet/changeOwnership.ts +2 -2
- package/src/actions/wallet/createEntity.ts +99 -24
- package/src/actions/wallet/extendEntity.ts +37 -13
- package/src/actions/wallet/mutateEntities.test.ts +76 -0
- package/src/actions/wallet/mutateEntities.ts +19 -21
- package/src/actions/wallet/patchEntity.ts +90 -0
- package/src/attr/attributes.test.ts +120 -0
- package/src/attr/attributes.ts +190 -0
- package/src/attr/codec.test.ts +162 -0
- package/src/attr/codec.ts +220 -0
- package/src/attr/decimal.ts +86 -0
- package/src/attr/errors.ts +145 -0
- package/src/attr/index.ts +50 -0
- package/src/attr/names.ts +106 -0
- package/src/attr/types.ts +150 -0
- package/src/attr/values.test.ts +271 -0
- package/src/attr/values.ts +502 -0
- package/src/chains/cheesecake.ts +22 -0
- package/src/chains/index.ts +1 -2
- package/src/clients/createPublicClient.test.ts +3 -5
- package/src/clients/createPublicClient.ts +5 -4
- package/src/clients/createWalletClient.test.ts +2 -2
- package/src/clients/createWalletClient.ts +13 -7
- package/src/clients/decorators/arkivPublic.ts +160 -139
- package/src/clients/decorators/arkivWallet.ts +86 -94
- package/src/entity/create.test.ts +184 -0
- package/src/entity/errors.ts +38 -0
- package/src/entity/events.ts +16 -0
- package/src/entity/expiry.test.ts +195 -0
- package/src/entity/expiry.ts +181 -0
- package/src/entity/flags.ts +65 -0
- package/src/entity/index.ts +14 -0
- package/src/entity/key.ts +68 -0
- package/src/entity/operations.ts +134 -0
- package/src/entity/params.ts +15 -0
- package/src/errors.ts +26 -49
- package/src/index.ts +6 -0
- package/src/query/engine.ts +59 -139
- package/src/query/errors.ts +151 -0
- package/src/query/expression.test.ts +286 -0
- package/src/query/expression.ts +493 -0
- package/src/query/index.ts +40 -4
- package/src/query/injection.test.ts +151 -0
- package/src/query/queryBuilder.test.ts +322 -637
- package/src/query/queryBuilder.ts +126 -359
- package/src/query/queryResult.ts +54 -51
- package/src/query/selection.test.ts +48 -98
- package/src/query/selection.ts +77 -65
- package/src/types/entity.test.ts +44 -155
- package/src/types/entity.ts +60 -52
- package/src/types/events.ts +59 -16
- package/src/types/index.ts +20 -17
- package/src/types/rpcSchema.ts +69 -37
- package/src/utils/arkivTransactions.test.ts +600 -155
- package/src/utils/arkivTransactions.ts +181 -190
- package/src/utils/chains.test.ts +21 -24
- package/src/utils/compression.ts +1 -1
- package/src/utils/entities.test.ts +62 -0
- package/src/utils/entities.ts +109 -37
- package/src/utils/expirationTime.ts +114 -10
- package/src/utils/logger.ts +2 -2
- package/src/utils/revert.test.ts +99 -0
- package/src/utils/revert.ts +145 -0
- package/dist/chains-BifaY04V.cjs +0 -108
- package/dist/chains-CrtkVbBh.js +0 -86
- package/dist/chains-CrtkVbBh.js.map +0 -1
- package/dist/consts-Bz0LZQZY.js +0 -7
- package/dist/consts-Bz0LZQZY.js.map +0 -1
- package/dist/consts-CxT1-RXU.cjs +0 -18
- package/dist/entity-BhSXaB23.cjs +0 -81
- package/dist/entity-CN41IOrq.d.cts +0 -401
- package/dist/entity-CN41IOrq.d.cts.map +0 -1
- package/dist/entity-DGfVyB-a.js +0 -71
- package/dist/entity-DGfVyB-a.js.map +0 -1
- package/dist/entity-NnEVlePN.d.ts +0 -401
- package/dist/entity-NnEVlePN.d.ts.map +0 -1
- package/dist/index-ClkpS6s_.d.ts +0 -481
- package/dist/index-ClkpS6s_.d.ts.map +0 -1
- package/dist/index-w4qop0Pe.d.cts +0 -481
- package/dist/index-w4qop0Pe.d.cts.map +0 -1
- package/dist/payload-BpNUPOnY.js +0 -13
- package/dist/payload-BpNUPOnY.js.map +0 -1
- package/dist/payload-C2KHOUoj.d.ts +0 -6
- package/dist/payload-C2KHOUoj.d.ts.map +0 -1
- package/dist/payload-CJN8fTvX.d.cts +0 -6
- package/dist/payload-CJN8fTvX.d.cts.map +0 -1
- package/dist/payload-D8YLKcJj.cjs +0 -23
- package/dist/query/index.js.map +0 -1
- package/dist/queryBuilder-BE_XhLLa.js +0 -735
- package/dist/queryBuilder-BE_XhLLa.js.map +0 -1
- package/dist/queryBuilder-J37buGCi.cjs +0 -865
- package/dist/utils/index.d.cts.map +0 -1
- package/dist/utils/index.d.ts.map +0 -1
- package/dist/utils/index.js.map +0 -1
- package/src/actions/public/buildQuery.ts +0 -10
- package/src/actions/public/subscribeEntityEvents.ts +0 -93
- package/src/actions/wallet/updateEntity.ts +0 -59
- package/src/chains/braga.ts +0 -26
- package/src/chains/kaolin.ts +0 -29
- package/src/query/engine.test.ts +0 -571
- package/src/query/predicate.test.ts +0 -461
- package/src/query/predicate.ts +0 -144
- package/src/query/queryResult.test.ts +0 -270
- package/src/query/selectQueryBuilder.test.ts +0 -213
- package/src/types/attributes.ts +0 -28
- package/src/utils/validation.test.ts +0 -106
- package/src/utils/validation.ts +0 -80
- /package/dist/{types-Ci4BRClw.js → types-Bx1EKe0v.js} +0 -0
- /package/dist/{types-a8gm_IaQ.cjs → types-CKPddlfS.cjs} +0 -0
package/README.md
CHANGED
|
@@ -97,12 +97,12 @@ You can now use Arkiv's public client to query data. Paste the following in `rea
|
|
|
97
97
|
|
|
98
98
|
```typescript
|
|
99
99
|
import { createPublicClient } from "@arkiv-network/sdk"
|
|
100
|
-
import {
|
|
100
|
+
import { cheesecake } from "@arkiv-network/sdk/chains"
|
|
101
101
|
import { eq } from "@arkiv-network/sdk/query"
|
|
102
102
|
import { http } from "viem"
|
|
103
103
|
|
|
104
104
|
const publicClient = createPublicClient({
|
|
105
|
-
chain:
|
|
105
|
+
chain: cheesecake, // "cheesecake" is Arkiv's testnet
|
|
106
106
|
transport: http(),
|
|
107
107
|
});
|
|
108
108
|
|
|
@@ -124,10 +124,17 @@ const result = await publicClient
|
|
|
124
124
|
|
|
125
125
|
console.log('Found entities:', result.entities);
|
|
126
126
|
|
|
127
|
-
// Pagination
|
|
127
|
+
// Pagination
|
|
128
128
|
if (result.hasNextPage()) {
|
|
129
|
-
await result.next();
|
|
130
|
-
console.log('Next page:',
|
|
129
|
+
const nextPage = await result.next();
|
|
130
|
+
console.log('Next page:', nextPage.entities);
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
// Or walk every page at once
|
|
134
|
+
for await (const entity of publicClient
|
|
135
|
+
.select({ key: true })
|
|
136
|
+
.where(eq('category', 'documentation'))) {
|
|
137
|
+
console.log(entity.key);
|
|
131
138
|
}
|
|
132
139
|
```
|
|
133
140
|
|
|
@@ -150,7 +157,9 @@ The result type is inferred from your selection: reading a field you didn't sele
|
|
|
150
157
|
helpers are available only when you select `payload`.
|
|
151
158
|
|
|
152
159
|
```typescript
|
|
153
|
-
const [entity] = (
|
|
160
|
+
const [entity] = (
|
|
161
|
+
await publicClient.select({ owner: true, payload: true }).where(eq("category", "docs")).fetch()
|
|
162
|
+
).entities;
|
|
154
163
|
entity.owner; // ✅ Hex
|
|
155
164
|
entity.toJson(); // ✅ payload was selected
|
|
156
165
|
entity.creator; // ❌ compile error — not selected
|
|
@@ -206,19 +215,20 @@ Create a file named `write_example.ts` with the following content:
|
|
|
206
215
|
|
|
207
216
|
```typescript
|
|
208
217
|
import { createPublicClient, createWalletClient } from "@arkiv-network/sdk"
|
|
209
|
-
import {
|
|
218
|
+
import { dec, i32 } from "@arkiv-network/sdk/attr"
|
|
219
|
+
import { cheesecake } from "@arkiv-network/sdk/chains"
|
|
210
220
|
import { ExpirationTime, jsonToPayload } from "@arkiv-network/sdk/utils"
|
|
211
221
|
import { http } from "viem"
|
|
212
222
|
import { privateKeyToAccount } from "viem/accounts"
|
|
213
223
|
|
|
214
224
|
// Create a public client
|
|
215
225
|
const publicClient = createPublicClient({
|
|
216
|
-
chain:
|
|
226
|
+
chain: cheesecake, // cheesecake is the Arkiv testnet
|
|
217
227
|
transport: http(),
|
|
218
228
|
})
|
|
219
229
|
// Create a wallet client with an account
|
|
220
230
|
const client = createWalletClient({
|
|
221
|
-
chain:
|
|
231
|
+
chain: cheesecake,
|
|
222
232
|
transport: http(),
|
|
223
233
|
account: privateKeyToAccount('0x...'), // Replace with your private key
|
|
224
234
|
});
|
|
@@ -233,11 +243,15 @@ const { entityKey, txHash } = await client.createEntity({
|
|
|
233
243
|
},
|
|
234
244
|
}),
|
|
235
245
|
contentType: 'application/json',
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
246
|
+
// Attributes are keyed by name. Values carry their type: use the tagged constructors from
|
|
247
|
+
// "@arkiv-network/sdk/attr" (i32, u64, u256, dec, str, addr, key, bytes32, bool), or pass a bare
|
|
248
|
+
// boolean, number, bigint or string where the type is unambiguous.
|
|
249
|
+
attributes: {
|
|
250
|
+
category: 'documentation', // bare string -> str
|
|
251
|
+
version: i32(1),
|
|
252
|
+
score: dec('4.5'),
|
|
253
|
+
},
|
|
254
|
+
expires: ExpirationTime.fromDays(30), // Entity expires in 30 days
|
|
241
255
|
});
|
|
242
256
|
|
|
243
257
|
console.log('Created entity:', entityKey);
|
|
@@ -267,8 +281,7 @@ Now you can run it in the same way as in the previous example:
|
|
|
267
281
|
**Note:**
|
|
268
282
|
You must provide your own private key with a minimum balance on the Arkiv L3 network.
|
|
269
283
|
You can generate a private key using any tool, for example: https://vanity-eth.tk/
|
|
270
|
-
Once you have a key, you can paste it into the example above and fund its address
|
|
271
|
-
https://braga.hoodi.arkiv.network/faucet/
|
|
284
|
+
Once you have a key, you can paste it into the example above and fund its address on the Arkiv Cheesecake testnet.
|
|
272
285
|
|
|
273
286
|
For quick testing, you may use this example key:
|
|
274
287
|
```
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
const require_attr = require('../attr-BvxHN99W.cjs');
|
|
2
|
+
|
|
3
|
+
exports.ConflictingMutationError = require_attr.ConflictingMutationError;
|
|
4
|
+
exports.DECIMAL_SCALE = require_attr.DECIMAL_SCALE;
|
|
5
|
+
exports.DECIMAL_UNIT = require_attr.DECIMAL_UNIT;
|
|
6
|
+
exports.I32_MAX = require_attr.I32_MAX;
|
|
7
|
+
exports.I32_MIN = require_attr.I32_MIN;
|
|
8
|
+
exports.InvalidAttributeNameError = require_attr.InvalidAttributeNameError;
|
|
9
|
+
exports.InvalidValueError = require_attr.InvalidValueError;
|
|
10
|
+
exports.MAX_ATTRIBUTES = require_attr.MAX_ATTRIBUTES;
|
|
11
|
+
exports.MAX_NAME_BYTES = require_attr.MAX_NAME_BYTES;
|
|
12
|
+
exports.MAX_PAYLOAD_BYTES = require_attr.MAX_PAYLOAD_BYTES;
|
|
13
|
+
exports.MAX_STRING_BYTES = require_attr.MAX_STRING_BYTES;
|
|
14
|
+
exports.MissingValueError = require_attr.MissingValueError;
|
|
15
|
+
exports.TooManyAttributesError = require_attr.TooManyAttributesError;
|
|
16
|
+
exports.U256_MAX = require_attr.U256_MAX;
|
|
17
|
+
exports.U64_MAX = require_attr.U64_MAX;
|
|
18
|
+
exports.UnknownAttributeTypeError = require_attr.UnknownAttributeTypeError;
|
|
19
|
+
exports.UntypedValueError = require_attr.UntypedValueError;
|
|
20
|
+
exports.addr = require_attr.addr;
|
|
21
|
+
exports.bool = require_attr.bool;
|
|
22
|
+
exports.bytes32 = require_attr.bytes32;
|
|
23
|
+
exports.dec = require_attr.dec;
|
|
24
|
+
exports.decFromUnits = require_attr.decFromUnits;
|
|
25
|
+
exports.decUnits = require_attr.decUnits;
|
|
26
|
+
exports.i32 = require_attr.i32;
|
|
27
|
+
exports.isArkivValue = require_attr.isArkivValue;
|
|
28
|
+
exports.isValidAttributeName = require_attr.isValidAttributeName;
|
|
29
|
+
exports.key = require_attr.key;
|
|
30
|
+
exports.str = require_attr.str;
|
|
31
|
+
exports.toValue = require_attr.toValue;
|
|
32
|
+
exports.u256 = require_attr.u256;
|
|
33
|
+
exports.u64 = require_attr.u64;
|
|
34
|
+
exports.validateAttributeName = require_attr.validateAttributeName;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { A as i32, B as Bytes32Value, C as ValueInput, D as dec, E as bytes32, F as u64, G as StrValue, H as DecValue, I as AddrValue, J as U64Value, K as TypeTag, L as AnyArkivValue, M as str, N as toValue, O as decFromUnits, P as u256, R as ArkivValue, S as U64_MAX, T as bool, U as I32Value, V as BytesValue, W as KeyValue, X as isArkivValue, Y as UserTypeTag, _ as MAX_PAYLOAD_BYTES, a as InvalidAttributeNameError, b as MAX_STRING_BYTES, c as TooManyAttributesError, d as DECIMAL_SCALE, f as DECIMAL_UNIT, g as MAX_ATTRIBUTES, h as Attributes, i as ConflictingMutationError, j as key, k as decUnits, l as UnknownAttributeTypeError, m as AttributeSchema, n as isValidAttributeName, o as InvalidValueError, p as AttributeInputs, q as U256Value, r as validateAttributeName, s as MissingValueError, t as MAX_NAME_BYTES, u as UntypedValueError, v as I32_MAX, w as addr, x as U256_MAX, y as I32_MIN, z as BoolValue } from "../index-D8LZt-3J.cjs";
|
|
2
|
+
export { AddrValue, AnyArkivValue, ArkivValue, AttributeInputs, AttributeSchema, Attributes, BoolValue, Bytes32Value, BytesValue, ConflictingMutationError, DECIMAL_SCALE, DECIMAL_UNIT, DecValue, I32Value, I32_MAX, I32_MIN, InvalidAttributeNameError, InvalidValueError, KeyValue, MAX_ATTRIBUTES, MAX_NAME_BYTES, MAX_PAYLOAD_BYTES, MAX_STRING_BYTES, MissingValueError, StrValue, TooManyAttributesError, TypeTag, U256Value, U256_MAX, U64Value, U64_MAX, UnknownAttributeTypeError, UntypedValueError, UserTypeTag, ValueInput, addr, bool, bytes32, dec, decFromUnits, decUnits, i32, isArkivValue, isValidAttributeName, key, str, toValue, u256, u64, validateAttributeName };
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { A as i32, B as Bytes32Value, C as ValueInput, D as dec, E as bytes32, F as u64, G as StrValue, H as DecValue, I as AddrValue, J as U64Value, K as TypeTag, L as AnyArkivValue, M as str, N as toValue, O as decFromUnits, P as u256, R as ArkivValue, S as U64_MAX, T as bool, U as I32Value, V as BytesValue, W as KeyValue, X as isArkivValue, Y as UserTypeTag, _ as MAX_PAYLOAD_BYTES, a as InvalidAttributeNameError, b as MAX_STRING_BYTES, c as TooManyAttributesError, d as DECIMAL_SCALE, f as DECIMAL_UNIT, g as MAX_ATTRIBUTES, h as Attributes, i as ConflictingMutationError, j as key, k as decUnits, l as UnknownAttributeTypeError, m as AttributeSchema, n as isValidAttributeName, o as InvalidValueError, p as AttributeInputs, q as U256Value, r as validateAttributeName, s as MissingValueError, t as MAX_NAME_BYTES, u as UntypedValueError, v as I32_MAX, w as addr, x as U256_MAX, y as I32_MIN, z as BoolValue } from "../index-DVYFaXNV.js";
|
|
2
|
+
export { AddrValue, AnyArkivValue, ArkivValue, AttributeInputs, AttributeSchema, Attributes, BoolValue, Bytes32Value, BytesValue, ConflictingMutationError, DECIMAL_SCALE, DECIMAL_UNIT, DecValue, I32Value, I32_MAX, I32_MIN, InvalidAttributeNameError, InvalidValueError, KeyValue, MAX_ATTRIBUTES, MAX_NAME_BYTES, MAX_PAYLOAD_BYTES, MAX_STRING_BYTES, MissingValueError, StrValue, TooManyAttributesError, TypeTag, U256Value, U256_MAX, U64Value, U64_MAX, UnknownAttributeTypeError, UntypedValueError, UserTypeTag, ValueInput, addr, bool, bytes32, dec, decFromUnits, decUnits, i32, isArkivValue, isValidAttributeName, key, str, toValue, u256, u64, validateAttributeName };
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { A as DECIMAL_UNIT, C as str, E as u64, F as TooManyAttributesError, I as UnknownAttributeTypeError, L as UntypedValueError, M as InvalidAttributeNameError, N as InvalidValueError, O as isArkivValue, P as MissingValueError, S as key, T as u256, _ as bytes32, a as MAX_NAME_BYTES, b as decUnits, d as I32_MIN, f as MAX_STRING_BYTES, g as bool, h as addr, j as ConflictingMutationError, k as DECIMAL_SCALE, m as U64_MAX, n as MAX_PAYLOAD_BYTES, o as isValidAttributeName, p as U256_MAX, s as validateAttributeName, t as MAX_ATTRIBUTES, u as I32_MAX, v as dec, w as toValue, x as i32, y as decFromUnits } from "../attr-BDZ-APg5.js";
|
|
2
|
+
|
|
3
|
+
export { ConflictingMutationError, DECIMAL_SCALE, DECIMAL_UNIT, I32_MAX, I32_MIN, InvalidAttributeNameError, InvalidValueError, MAX_ATTRIBUTES, MAX_NAME_BYTES, MAX_PAYLOAD_BYTES, MAX_STRING_BYTES, MissingValueError, TooManyAttributesError, U256_MAX, U64_MAX, UnknownAttributeTypeError, UntypedValueError, addr, bool, bytes32, dec, decFromUnits, decUnits, i32, isArkivValue, isValidAttributeName, key, str, toValue, u256, u64, validateAttributeName };
|