@arkiv-network/sdk 0.8.0-advanced.2 → 0.8.0-advanced.3
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/actions/advanced/index.cjs +6 -6
- package/dist/actions/advanced/index.d.cts +5 -5
- package/dist/actions/advanced/index.d.ts +6 -6
- package/dist/actions/advanced/index.js +6 -6
- package/dist/{advanced-fPImL6lW.cjs → advanced-Ds2XRflQ.cjs} +6 -6
- package/dist/{advanced-8ZPTmmaN.js → advanced-FZy7WoYR.js} +7 -7
- package/dist/advanced-FZy7WoYR.js.map +1 -0
- package/dist/{arkivTransactions-D74gERHG.d.cts → arkivTransactions-BpARZOsH.d.cts} +60 -47
- package/dist/arkivTransactions-BpARZOsH.d.cts.map +1 -0
- package/dist/{arkivTransactions-NtGD6uk5.d.ts → arkivTransactions-DfZ_yVDD.d.ts} +60 -47
- package/dist/arkivTransactions-DfZ_yVDD.d.ts.map +1 -0
- package/dist/attr/index.cjs +1 -1
- package/dist/attr/index.d.cts +1 -1
- package/dist/attr/index.d.ts +2 -2
- package/dist/attr/index.js +1 -1
- package/dist/{attributes-BhY5DwJp.js → attributes-BJGuhsqp.js} +14 -4
- package/dist/attributes-BJGuhsqp.js.map +1 -0
- package/dist/{attributes-Df9IsCVs.cjs → attributes-CMJlp1wn.cjs} +13 -3
- package/dist/chains/index.cjs +1 -1
- package/dist/chains/index.d.cts +3 -0
- package/dist/chains/index.d.cts.map +1 -1
- package/dist/chains/index.d.ts +3 -0
- package/dist/chains/index.d.ts.map +1 -1
- package/dist/chains/index.js +1 -1
- package/dist/{chains-BYRTTipa.cjs → chains-BfNQliHU.cjs} +3 -0
- package/dist/{chains-BJrZs6sG.js → chains-Du8tql7I.js} +4 -1
- package/dist/chains-Du8tql7I.js.map +1 -0
- package/dist/{codec-Car3KkFF.d.ts → codec-M74UR1_0.d.ts} +3 -4
- package/dist/codec-M74UR1_0.d.ts.map +1 -0
- package/dist/entity/index.cjs +5 -4
- package/dist/entity/index.d.cts +2 -2
- package/dist/entity/index.d.ts +3 -3
- package/dist/entity/index.js +5 -5
- package/dist/{errors-BVbjKVMN.cjs → errors-51znTSB1.cjs} +1 -1
- package/dist/{errors-LTe7bOYS.js → errors-CwPJ16bn.js} +2 -2
- package/dist/errors-CwPJ16bn.js.map +1 -0
- package/dist/{expiry-BjpxZZQU.js → expiry-CZErShX6.js} +2 -2
- package/dist/expiry-CZErShX6.js.map +1 -0
- package/dist/expiry-DRV29F1r.d.cts.map +1 -1
- package/dist/expiry-nDbCgZX4.d.ts.map +1 -1
- package/dist/{expiry-BELY2Kpw.cjs → expiry-xr6mx4f7.cjs} +1 -1
- package/dist/{flags-kr276q6i.cjs → flags-Bh0HJldY.cjs} +1 -1
- package/dist/{flags-DFBs2J94.js → flags-Cr76ldwF.js} +2 -2
- package/dist/{flags-DFBs2J94.js.map → flags-Cr76ldwF.js.map} +1 -1
- package/dist/{index-BF7Mq9Is.d.cts → index-CMeD8uEq.d.cts} +4 -4
- package/dist/{index-BF7Mq9Is.d.cts.map → index-CMeD8uEq.d.cts.map} +1 -1
- package/dist/{index-B5j76711.d.ts → index-CTDI5pXZ.d.ts} +5 -5
- package/dist/{index-B5j76711.d.ts.map → index-CTDI5pXZ.d.ts.map} +1 -1
- package/dist/{index-EeUO0nnJ.d.cts → index-CekGjkRx.d.cts} +5 -5
- package/dist/{index-EeUO0nnJ.d.cts.map → index-CekGjkRx.d.cts.map} +1 -1
- package/dist/{index-DvYvrkdk.d.ts → index-D0IzFwMX.d.ts} +12 -4
- package/dist/index-D0IzFwMX.d.ts.map +1 -0
- package/dist/{index-fX_XyqLp.d.ts → index-DZxwz2Ky.d.cts} +53 -43
- package/dist/index-DZxwz2Ky.d.cts.map +1 -0
- package/dist/{index-DHDud2hC.d.ts → index-Dz4SkQWg.d.ts} +4 -4
- package/dist/{index-DHDud2hC.d.ts.map → index-Dz4SkQWg.d.ts.map} +1 -1
- package/dist/{index-CA4V7Pdh.d.cts → index-JP31fjyM.d.ts} +53 -43
- package/dist/index-JP31fjyM.d.ts.map +1 -0
- package/dist/{index-CV5zCdpa.d.cts → index-NbfnXxgr.d.cts} +13 -6
- package/dist/index-NbfnXxgr.d.cts.map +1 -0
- package/dist/index.cjs +41 -42
- package/dist/index.d.cts +58 -52
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.ts +59 -53
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +41 -43
- package/dist/index.js.map +1 -1
- package/dist/{key-WKhXnXuU.cjs → key-E7mv0BYf.cjs} +23 -5
- package/dist/{key-D1Bh7MF0.js → key-XQkpw2xh.js} +17 -5
- package/dist/key-XQkpw2xh.js.map +1 -0
- package/dist/{payload-KC14SDlN.cjs → payload-Cvrir3Q-.cjs} +27 -2
- package/dist/{payload-CcUj85ys.d.ts → payload-D53ms-Mg.d.ts} +60 -1
- package/dist/payload-D53ms-Mg.d.ts.map +1 -0
- package/dist/{payload-Bz6651ax.js → payload-DaPzUvEh.js} +28 -3
- package/dist/payload-DaPzUvEh.js.map +1 -0
- package/dist/{payload-BNoud2KZ.d.cts → payload-hluX1rc0.d.cts} +60 -1
- package/dist/payload-hluX1rc0.d.cts.map +1 -0
- package/dist/query/index.cjs +4 -4
- package/dist/query/index.d.cts +3 -3
- package/dist/query/index.d.ts +4 -4
- package/dist/query/index.js +4 -4
- package/dist/{queryBuilder-DbUMEZln.cjs → queryBuilder-BXR-HxD9.cjs} +13 -10
- package/dist/{queryBuilder-DM6AWCBa.js → queryBuilder-BwauPaGO.js} +14 -11
- package/dist/queryBuilder-BwauPaGO.js.map +1 -0
- package/dist/{selection-DPg0uyJf.d.cts → selection-C6KeWJ7g.d.cts} +16 -8
- package/dist/selection-C6KeWJ7g.d.cts.map +1 -0
- package/dist/{selection-C4UhsMOO.d.ts → selection-mjiiAGDO.d.ts} +17 -9
- package/dist/selection-mjiiAGDO.d.ts.map +1 -0
- package/dist/types/index.d.cts +5 -5
- package/dist/types/index.d.ts +6 -6
- package/dist/utils/index.cjs +3 -3
- package/dist/utils/index.d.cts +1 -1
- package/dist/utils/index.d.ts +1 -1
- package/dist/utils/index.js +3 -3
- package/package.json +1 -5
- package/src/actions/advanced/index.ts +1 -1
- package/src/actions/advanced/sendMutation.ts +1 -1
- package/src/actions/public/getEntity.ts +1 -0
- package/src/actions/public/predictEntityKeys.test.ts +17 -1
- package/src/actions/public/predictEntityKeys.ts +28 -14
- package/src/actions/wallet/createEntity.ts +7 -6
- package/src/actions/wallet/{mutateEntities.test.ts → executeBatch.test.ts} +7 -7
- package/src/actions/wallet/{mutateEntities.ts → executeBatch.ts} +9 -9
- package/src/actions/wallet/extendEntity.ts +1 -0
- package/src/actions/wallet/patchEntity.ts +3 -3
- package/src/attr/attributes.ts +8 -2
- package/src/attr/errors.ts +2 -2
- package/src/attr/types.ts +3 -3
- package/src/attr/values.ts +5 -1
- package/src/chains/localhost.ts +3 -0
- package/src/clients/createPublicClient.test.ts +1 -1
- package/src/clients/createPublicClient.ts +5 -5
- package/src/clients/createWalletClient.test.ts +2 -2
- package/src/clients/createWalletClient.ts +3 -5
- package/src/clients/decorators/arkivAdvanced.ts +1 -1
- package/src/clients/decorators/arkivPublic.ts +13 -12
- package/src/clients/decorators/arkivWallet.ts +40 -32
- package/src/entity/create.test.ts +20 -1
- package/src/entity/errors.ts +4 -3
- package/src/entity/expiry.ts +1 -0
- package/src/entity/index.ts +2 -1
- package/src/entity/key.ts +23 -3
- package/src/entity/operations.ts +1 -0
- package/src/query/errors.ts +1 -1
- package/src/query/expression.ts +14 -7
- package/src/query/queryBuilder.ts +1 -1
- package/src/types/index.ts +4 -4
- package/src/types/rpcSchema.ts +1 -0
- package/src/types/txParams.ts +8 -0
- package/src/utils/arkivTransactions.test.ts +7 -1
- package/src/utils/arkivTransactions.ts +2 -2
- package/src/utils/expirationTime.ts +39 -0
- package/src/utils/payload.ts +25 -0
- package/dist/advanced-8ZPTmmaN.js.map +0 -1
- package/dist/arkivTransactions-D74gERHG.d.cts.map +0 -1
- package/dist/arkivTransactions-NtGD6uk5.d.ts.map +0 -1
- package/dist/attributes-BhY5DwJp.js.map +0 -1
- package/dist/chains-BJrZs6sG.js.map +0 -1
- package/dist/codec-Car3KkFF.d.ts.map +0 -1
- package/dist/errors-LTe7bOYS.js.map +0 -1
- package/dist/expiry-BjpxZZQU.js.map +0 -1
- package/dist/index-CA4V7Pdh.d.cts.map +0 -1
- package/dist/index-CV5zCdpa.d.cts.map +0 -1
- package/dist/index-DvYvrkdk.d.ts.map +0 -1
- package/dist/index-fX_XyqLp.d.ts.map +0 -1
- package/dist/key-D1Bh7MF0.js.map +0 -1
- package/dist/payload-BNoud2KZ.d.cts.map +0 -1
- package/dist/payload-Bz6651ax.js.map +0 -1
- package/dist/payload-CcUj85ys.d.ts.map +0 -1
- package/dist/queryBuilder-DM6AWCBa.js.map +0 -1
- package/dist/selection-C4UhsMOO.d.ts.map +0 -1
- package/dist/selection-DPg0uyJf.d.cts.map +0 -1
package/dist/index.d.cts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { F as RpcCreationFlags, I as RpcEntity, L as RpcQueryOptions, M as ArkivRpcSchema, N as RpcAttribute, P as RpcAttributeSchemaEntry, R as RpcSelect, c as EntityFields, i as SelectArg, j as ArkivClient, n as FullEntity, p as Expression, r as ProjectedEntity, s as Entity, t as EntitySelection } from "./selection-
|
|
2
|
-
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-
|
|
1
|
+
import { F as RpcCreationFlags, I as RpcEntity, L as RpcQueryOptions, M as ArkivRpcSchema, N as RpcAttribute, P as RpcAttributeSchemaEntry, R as RpcSelect, c as EntityFields, i as SelectArg, j as ArkivClient, n as FullEntity, p as Expression, r as ProjectedEntity, s as Entity, t as EntitySelection } from "./selection-C6KeWJ7g.cjs";
|
|
2
|
+
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-NbfnXxgr.cjs";
|
|
3
3
|
import { a as ResolvedExpiry, i as Lifetime, n as Expiry, o as resolveExpiry, r as ExpiryContext, s as toBlocks, t as EncodedExpiry } from "./expiry-DRV29F1r.cjs";
|
|
4
|
-
import { a as
|
|
5
|
-
import { A as PredictEntityKeysParameters, C as EntityEvent, D as OwnershipTransferredEvent, E as ExpiryExtendedEvent, M as PredictedEntityKey, N as GetBlockTimingReturnType, O as QueryOptions, S as EntityDeletedEvent, T as EntityPatchedEvent, _ as DeleteEntityReturnType, a as mutationNeedsBlockNumber, b as WatchEntityEventsParameters, c as TxParams, d as PatchEntityReturnType, f as
|
|
4
|
+
import { a as InvalidCreationFlagsError, c as NoRandomSourceError, d as SaltInput, f as predictEntityKey, i as EntityEventName, l as MAX_SALT, m as Operation, n as OperationType, o as InvalidExpiryError, p as randomSalt, r as ENTITY_EVENTS_ABI, s as InvalidSaltError, t as MAX_EXPIRES_AT, u as NO_SALT } from "./index-DZxwz2Ky.cjs";
|
|
5
|
+
import { A as PredictEntityKeysParameters, C as EntityEvent, D as OwnershipTransferredEvent, E as ExpiryExtendedEvent, M as PredictedEntityKey, N as GetBlockTimingReturnType, O as QueryOptions, S as EntityDeletedEvent, T as EntityPatchedEvent, _ as DeleteEntityReturnType, a as mutationNeedsBlockNumber, b as WatchEntityEventsParameters, c as TxParams, d as PatchEntityReturnType, f as ExtendEntityParameters, g as DeleteEntityParameters, h as ExecuteBatchReturnType, i as collectMutationEvents, j as PredictEntityKeysReturnType, k as QueryReturnType, l as MimeType, m as ExecuteBatchParameters, n as MutationEvents, o as ChangeOwnershipParameters, p as ExtendEntityReturnType, r as buildEntityOperations, s as ChangeOwnershipReturnType, t as EntityMutationOps, u as PatchEntityParameters, v as CreateEntityParameters, w as EntityEventContext, x as EntityCreatedEvent, y as CreateEntityReturnType } from "./arkivTransactions-BpARZOsH.cjs";
|
|
6
6
|
import { i as encodeCreationFlags, n as ResolvedCreationFlags, r as decodeCreationFlags, t as CreationFlags } from "./flags-CRjPpoh3.cjs";
|
|
7
|
-
import { a as pingTransaction, c as decodeMutationResult, d as BuildMutationReturnType, f as buildMutation, i as PingTransactionReturnType, l as getMutationResult, n as SendMutationReturnType, o as GetMutationResultReturnType, r as sendMutation, s as MutationResult, t as SendMutationOptions, u as BuildMutationOptions } from "./index-
|
|
8
|
-
import { t as SelectQueryBuilder } from "./index-
|
|
9
|
-
import { i as ExpirationTime, n as stringToPayload, r as DeadlineOptions, t as jsonToPayload } from "./payload-
|
|
7
|
+
import { a as pingTransaction, c as decodeMutationResult, d as BuildMutationReturnType, f as buildMutation, i as PingTransactionReturnType, l as getMutationResult, n as SendMutationReturnType, o as GetMutationResultReturnType, r as sendMutation, s as MutationResult, t as SendMutationOptions, u as BuildMutationOptions } from "./index-CekGjkRx.cjs";
|
|
8
|
+
import { t as SelectQueryBuilder } from "./index-CMeD8uEq.cjs";
|
|
9
|
+
import { i as ExpirationTime, n as stringToPayload, r as DeadlineOptions, t as jsonToPayload } from "./payload-hluX1rc0.cjs";
|
|
10
10
|
import { Account, Address, Chain, Client, Hash, Hex, ParseAccount, Prettify, PublicActions, PublicClientConfig, RpcSchema, TransactionReceipt, Transport, WalletActions, WalletClientConfig } from "viem";
|
|
11
11
|
|
|
12
12
|
//#region src/clients/decorators/arkivAdvanced.d.ts
|
|
@@ -59,7 +59,7 @@ type PublicAdvancedActions = {
|
|
|
59
59
|
* costing the minimum number of RPC calls — down to one per transaction when you supply what the
|
|
60
60
|
* SDK would otherwise look up.
|
|
61
61
|
*
|
|
62
|
-
* The everyday actions (`createEntity`, `
|
|
62
|
+
* The everyday actions (`createEntity`, `executeBatch`, …) bundle send + wait + decode and are
|
|
63
63
|
* the right default. This namespace unbundles them for callers optimising their RPC budget.
|
|
64
64
|
*
|
|
65
65
|
* @example Minimal-call flow: one send, one ping, done.
|
|
@@ -104,11 +104,15 @@ type PublicArkivActions<transport extends Transport = Transport, chain extends C
|
|
|
104
104
|
/**
|
|
105
105
|
* Returns the entity with the given key.
|
|
106
106
|
*
|
|
107
|
-
* -
|
|
107
|
+
* - JSON-RPC Methods: `arkiv_query`
|
|
108
108
|
*
|
|
109
109
|
* @param key - The entity key (hex string)
|
|
110
110
|
* @returns The entity with the given key, with every field populated. {@link FullEntity}
|
|
111
111
|
*
|
|
112
|
+
* @throws {InvalidValueError} If the key is not 32 bytes.
|
|
113
|
+
* @throws {NoEntityFoundError} If no live entity has that key — it never existed, or it was
|
|
114
|
+
* deleted or has expired.
|
|
115
|
+
*
|
|
112
116
|
* @example
|
|
113
117
|
* import { createPublicClient } from "@arkiv-network/sdk"
|
|
114
118
|
* import { cheesecake } from "@arkiv-network/sdk/chains"
|
|
@@ -134,7 +138,7 @@ type PublicArkivActions<transport extends Transport = Transport, chain extends C
|
|
|
134
138
|
* read entities. You declare up front which parts of an entity you want returned, so results
|
|
135
139
|
* always contain exactly the data you asked for.
|
|
136
140
|
*
|
|
137
|
-
* -
|
|
141
|
+
* - JSON-RPC Methods: `arkiv_query`
|
|
138
142
|
*
|
|
139
143
|
* @param selection - What to include in the results. Omit it (or pass `"*"`) to select everything,
|
|
140
144
|
* or pass an object to select specific parts (at least one field is required). Every part is
|
|
@@ -194,7 +198,7 @@ type PublicArkivActions<transport extends Transport = Transport, chain extends C
|
|
|
194
198
|
/**
|
|
195
199
|
* Runs one query and returns one page, with no builder in between.
|
|
196
200
|
*
|
|
197
|
-
* Use {@link select} for anything typed — this returns full {@link Entity} objects whatever the
|
|
201
|
+
* Use {@link PublicArkivActions.select} for anything typed — this returns full {@link Entity} objects whatever the
|
|
198
202
|
* selection, and takes a raw string as an escape hatch for a query built elsewhere. A raw string
|
|
199
203
|
* goes to the node exactly as written, with none of the name, type or operator checks the
|
|
200
204
|
* expression combinators apply.
|
|
@@ -285,7 +289,7 @@ type PublicArkivActions<transport extends Transport = Transport, chain extends C
|
|
|
285
289
|
* import { key } from "@arkiv-network/sdk/attr"
|
|
286
290
|
*
|
|
287
291
|
* const [parent, child] = await client.predictEntityKeys({ owner: account.address, count: 2 })
|
|
288
|
-
* await wallet.
|
|
292
|
+
* await wallet.executeBatch({
|
|
289
293
|
* creates: [
|
|
290
294
|
* { payload, contentType, expires, salt: parent.salt },
|
|
291
295
|
* {
|
|
@@ -298,7 +302,7 @@ type PublicArkivActions<transport extends Transport = Transport, chain extends C
|
|
|
298
302
|
* ],
|
|
299
303
|
* })
|
|
300
304
|
*/
|
|
301
|
-
predictEntityKeys: <const TCount extends number = number, const TSalts extends readonly
|
|
305
|
+
predictEntityKeys: <const TCount extends number = number, const TSalts extends readonly SaltInput[] | undefined = undefined>(parameters: PredictEntityKeysParameters<TCount, TSalts>) => Promise<PredictEntityKeysReturnType<TCount, TSalts>>;
|
|
302
306
|
/**
|
|
303
307
|
* Returns the current block timing.
|
|
304
308
|
* @returns The current block timing. {@link GetBlockTimingReturnType}
|
|
@@ -319,11 +323,7 @@ type PublicArkivActions<transport extends Transport = Transport, chain extends C
|
|
|
319
323
|
* // blockDuration: 2, // in seconds
|
|
320
324
|
* // }
|
|
321
325
|
*/
|
|
322
|
-
getBlockTiming: () => Promise<
|
|
323
|
-
currentBlock: bigint;
|
|
324
|
-
currentBlockTime: number;
|
|
325
|
-
blockDuration: number;
|
|
326
|
-
}>;
|
|
326
|
+
getBlockTiming: () => Promise<GetBlockTimingReturnType>;
|
|
327
327
|
/**
|
|
328
328
|
* Watches entity events, calling the handlers you pass as they arrive.
|
|
329
329
|
*
|
|
@@ -365,14 +365,14 @@ type PublicArkivActions<transport extends Transport = Transport, chain extends C
|
|
|
365
365
|
//#region src/clients/createPublicClient.d.ts
|
|
366
366
|
type PublicArkivClient<transport extends Transport = Transport, chain extends Chain | undefined = Chain | undefined, accountOrAddress extends Account | undefined = undefined, rpcSchema extends RpcSchema | undefined = ArkivRpcSchema> = Prettify<Client<transport, chain, accountOrAddress, rpcSchema, PublicArkivActions<transport, chain>>>;
|
|
367
367
|
/**
|
|
368
|
-
* Creates a Public Client with a given [Transport](https://viem.sh/docs/clients/intro) configured for a [Chain](https://viem.sh/docs/
|
|
369
|
-
*
|
|
370
|
-
* - Docs: https://docs.arkiv.network/ts-sdk/clients/public
|
|
368
|
+
* Creates a Public Client with a given [Transport](https://viem.sh/docs/clients/intro) configured for a [Chain](https://viem.sh/docs/chains/introduction).
|
|
371
369
|
*
|
|
372
|
-
* A Public Client is an interface to "public" [Ethereum JSON-RPC API](https://ethereum.org/en/developers/docs/apis/json-rpc/)
|
|
370
|
+
* A Public Client is an interface to the "public" [Ethereum JSON-RPC API](https://ethereum.org/en/developers/docs/apis/json-rpc/)
|
|
371
|
+
* and the Arkiv JSON-RPC API — retrieving block numbers and transactions, reading from
|
|
372
|
+
* contracts, and querying entities — through {@link PublicArkivActions}.
|
|
373
373
|
*
|
|
374
374
|
* @param parameters - Configuration object for the public client (chain, transport, etc.)
|
|
375
|
-
* @returns
|
|
375
|
+
* @returns An Arkiv Public Client. {@link PublicArkivClient}
|
|
376
376
|
*
|
|
377
377
|
* @example
|
|
378
378
|
* import { createPublicClient } from "@arkiv-network/sdk"
|
|
@@ -391,12 +391,12 @@ type WalletArkivActions<transport extends Transport = Transport, chain extends C
|
|
|
391
391
|
/**
|
|
392
392
|
* Creates a new entity.
|
|
393
393
|
*
|
|
394
|
-
* -
|
|
395
|
-
* - JSON-RPC Methods: [`eth_sendRawTransaction`](https://docs.arkiv.network/dev/json-rpc-api/#mutateEntities)
|
|
394
|
+
* - JSON-RPC Methods: `eth_sendRawTransaction`
|
|
396
395
|
*
|
|
397
396
|
* @param data - The entity creation parameters
|
|
398
397
|
* @param txParams - Optional transaction parameters
|
|
399
|
-
* @returns The
|
|
398
|
+
* @returns The new entity's key, the transaction hash, and the block it is expected to
|
|
399
|
+
* expire at. {@link CreateEntityReturnType}
|
|
400
400
|
*
|
|
401
401
|
* @throws {InvalidExpiryError} If the expiry exceeds a protocol bound or would leave the
|
|
402
402
|
* entity dead on arrival.
|
|
@@ -408,8 +408,10 @@ type WalletArkivActions<transport extends Transport = Transport, chain extends C
|
|
|
408
408
|
* import { i32 } from "@arkiv-network/sdk/attr"
|
|
409
409
|
* import { cheesecake } from "@arkiv-network/sdk/chains"
|
|
410
410
|
* import { http } from "viem"
|
|
411
|
+
* import { privateKeyToAccount } from "viem/accounts"
|
|
411
412
|
*
|
|
412
413
|
* const client = createWalletClient({
|
|
414
|
+
* account: privateKeyToAccount("0x..."),
|
|
413
415
|
* chain: cheesecake,
|
|
414
416
|
* transport: http(),
|
|
415
417
|
* })
|
|
@@ -425,12 +427,11 @@ type WalletArkivActions<transport extends Transport = Transport, chain extends C
|
|
|
425
427
|
* Applies a patch to the entity with the given key: sets some fields, unsets others, and leaves
|
|
426
428
|
* everything it does not name alone.
|
|
427
429
|
*
|
|
428
|
-
* -
|
|
429
|
-
* - JSON-RPC Methods: [`eth_sendRawTransaction`](https://docs.arkiv.network/dev/json-rpc-api/#mutateEntities)
|
|
430
|
+
* - JSON-RPC Methods: `eth_sendRawTransaction`
|
|
430
431
|
*
|
|
431
432
|
* @param data - The entity key and the mutations to apply
|
|
432
433
|
* @param txParams - Optional transaction parameters
|
|
433
|
-
* @returns The entity key and the transaction hash
|
|
434
|
+
* @returns The patched entity's key and the transaction hash. {@link PatchEntityReturnType}
|
|
434
435
|
*
|
|
435
436
|
* @throws {EmptyPatchError} If the patch has nothing to apply.
|
|
436
437
|
* @throws {ConflictingMutationError} If a name appears in both `set` and `unset`.
|
|
@@ -442,8 +443,10 @@ type WalletArkivActions<transport extends Transport = Transport, chain extends C
|
|
|
442
443
|
* import { i32 } from "@arkiv-network/sdk/attr"
|
|
443
444
|
* import { cheesecake } from "@arkiv-network/sdk/chains"
|
|
444
445
|
* import { http } from "viem"
|
|
446
|
+
* import { privateKeyToAccount } from "viem/accounts"
|
|
445
447
|
*
|
|
446
448
|
* const client = createWalletClient({
|
|
449
|
+
* account: privateKeyToAccount("0x..."),
|
|
447
450
|
* chain: cheesecake,
|
|
448
451
|
* transport: http(),
|
|
449
452
|
* })
|
|
@@ -459,19 +462,20 @@ type WalletArkivActions<transport extends Transport = Transport, chain extends C
|
|
|
459
462
|
/**
|
|
460
463
|
* Deletes the entity with the given key.
|
|
461
464
|
*
|
|
462
|
-
* -
|
|
463
|
-
* - JSON-RPC Methods: [`eth_sendRawTransaction`](https://docs.arkiv.network/dev/json-rpc-api/#mutateEntities)
|
|
465
|
+
* - JSON-RPC Methods: `eth_sendRawTransaction`
|
|
464
466
|
*
|
|
465
467
|
* @param data - The entity deletion parameters
|
|
466
468
|
* @param txParams - Optional transaction parameters
|
|
467
|
-
* @returns The deleted entity
|
|
469
|
+
* @returns The deleted entity's key and the transaction hash. {@link DeleteEntityReturnType}
|
|
468
470
|
*
|
|
469
471
|
* @example
|
|
470
472
|
* import { createWalletClient } from "@arkiv-network/sdk"
|
|
471
473
|
* import { cheesecake } from "@arkiv-network/sdk/chains"
|
|
472
474
|
* import { http } from "viem"
|
|
475
|
+
* import { privateKeyToAccount } from "viem/accounts"
|
|
473
476
|
*
|
|
474
477
|
* const client = createWalletClient({
|
|
478
|
+
* account: privateKeyToAccount("0x..."),
|
|
475
479
|
* chain: cheesecake,
|
|
476
480
|
* transport: http(),
|
|
477
481
|
* })
|
|
@@ -486,12 +490,12 @@ type WalletArkivActions<transport extends Transport = Transport, chain extends C
|
|
|
486
490
|
* than adding to what the entity has left, and `atBlock` / `atDate` pin an absolute deadline.
|
|
487
491
|
* The engine rejects an extension that would not move the expiry later.
|
|
488
492
|
*
|
|
489
|
-
* -
|
|
490
|
-
* - JSON-RPC Methods: [`eth_sendRawTransaction`](https://docs.arkiv.network/dev/json-rpc-api/#mutateEntities)
|
|
493
|
+
* - JSON-RPC Methods: `eth_sendRawTransaction`
|
|
491
494
|
*
|
|
492
495
|
* @param data - The entity key and its new lifetime
|
|
493
496
|
* @param txParams - Optional transaction parameters
|
|
494
|
-
* @returns The entity key, transaction hash, and the block it is now expected to expire
|
|
497
|
+
* @returns The entity's key, the transaction hash, and the block it is now expected to expire
|
|
498
|
+
* at. {@link ExtendEntityReturnType}
|
|
495
499
|
*
|
|
496
500
|
* @throws {InvalidExpiryError} If the expiry is malformed, exceeds a protocol bound, or would
|
|
497
501
|
* leave the entity dead on arrival.
|
|
@@ -500,8 +504,10 @@ type WalletArkivActions<transport extends Transport = Transport, chain extends C
|
|
|
500
504
|
* import { createWalletClient, ExpirationTime } from "@arkiv-network/sdk"
|
|
501
505
|
* import { cheesecake } from "@arkiv-network/sdk/chains"
|
|
502
506
|
* import { http } from "viem"
|
|
507
|
+
* import { privateKeyToAccount } from "viem/accounts"
|
|
503
508
|
*
|
|
504
509
|
* const client = createWalletClient({
|
|
510
|
+
* account: privateKeyToAccount("0x..."),
|
|
505
511
|
* chain: cheesecake,
|
|
506
512
|
* transport: http(),
|
|
507
513
|
* })
|
|
@@ -512,28 +518,28 @@ type WalletArkivActions<transport extends Transport = Transport, chain extends C
|
|
|
512
518
|
*/
|
|
513
519
|
extendEntity: (data: ExtendEntityParameters, txParams?: TxParams) => Promise<ExtendEntityReturnType>;
|
|
514
520
|
/**
|
|
515
|
-
*
|
|
521
|
+
* Hands the entity with the given key to a new owner.
|
|
516
522
|
*
|
|
517
|
-
* -
|
|
518
|
-
* - JSON-RPC Methods: [`eth_sendRawTransaction`](https://docs.arkiv.network/dev/json-rpc-api/#mutateEntities)
|
|
523
|
+
* - JSON-RPC Methods: `eth_sendRawTransaction`
|
|
519
524
|
*
|
|
520
525
|
* @param data - The ownership change parameters
|
|
521
526
|
* @param txParams - Optional transaction parameters
|
|
522
|
-
* @returns The entity
|
|
527
|
+
* @returns The entity's key and the transaction hash. {@link ChangeOwnershipReturnType}
|
|
523
528
|
*/
|
|
524
529
|
changeOwnership: (data: ChangeOwnershipParameters, txParams?: TxParams) => Promise<ChangeOwnershipReturnType>;
|
|
525
530
|
/**
|
|
526
|
-
*
|
|
531
|
+
* Applies a batch of entity operations — creates, patches, deletes, extensions and ownership
|
|
532
|
+
* transfers — in one transaction.
|
|
527
533
|
*
|
|
528
|
-
* -
|
|
529
|
-
* - JSON-RPC Methods: [`eth_sendRawTransaction`](https://docs.arkiv.network/dev/json-rpc-api/#mutateEntities)
|
|
534
|
+
* - JSON-RPC Methods: `eth_sendRawTransaction`
|
|
530
535
|
*
|
|
531
536
|
* Every operation lands in one transaction, so the whole batch applies or none of it does.
|
|
532
537
|
* At least one operation is required.
|
|
533
538
|
*
|
|
534
|
-
* @param data - The
|
|
539
|
+
* @param data - The batch parameters (creates, patches, deletes, extensions, ownershipChanges)
|
|
535
540
|
* @param txParams - Optional transaction parameters
|
|
536
|
-
* @returns The
|
|
541
|
+
* @returns The transaction hash, plus the keys touched by each kind of operation.
|
|
542
|
+
* {@link ExecuteBatchReturnType}
|
|
537
543
|
*
|
|
538
544
|
* @throws {InvalidExpiryError} If an expiry exceeds a protocol bound or would leave the entity
|
|
539
545
|
* dead on arrival.
|
|
@@ -543,12 +549,14 @@ type WalletArkivActions<transport extends Transport = Transport, chain extends C
|
|
|
543
549
|
* import { createWalletClient, ExpirationTime, jsonToPayload } from "@arkiv-network/sdk"
|
|
544
550
|
* import { cheesecake } from "@arkiv-network/sdk/chains"
|
|
545
551
|
* import { http } from "viem"
|
|
552
|
+
* import { privateKeyToAccount } from "viem/accounts"
|
|
546
553
|
*
|
|
547
554
|
* const client = createWalletClient({
|
|
555
|
+
* account: privateKeyToAccount("0x..."),
|
|
548
556
|
* chain: cheesecake,
|
|
549
557
|
* transport: http(),
|
|
550
558
|
* })
|
|
551
|
-
* const { txHash, createdEntities } = await client.
|
|
559
|
+
* const { txHash, createdEntities } = await client.executeBatch({
|
|
552
560
|
* creates: [{
|
|
553
561
|
* payload: jsonToPayload({ entityType: "testType", entityId: "testId" }),
|
|
554
562
|
* contentType: "application/json",
|
|
@@ -564,7 +572,7 @@ type WalletArkivActions<transport extends Transport = Transport, chain extends C
|
|
|
564
572
|
* ownershipChanges: [{ entityKey: keyToHandOver, newOwner }],
|
|
565
573
|
* })
|
|
566
574
|
*/
|
|
567
|
-
|
|
575
|
+
executeBatch: (data: ExecuteBatchParameters, txParams?: TxParams) => Promise<ExecuteBatchReturnType>;
|
|
568
576
|
/**
|
|
569
577
|
* The advanced path: build, send, ping and read mutation results as separate steps, each
|
|
570
578
|
* costing the minimum number of RPC calls. Use it when you are optimising your RPC budget;
|
|
@@ -583,16 +591,14 @@ type WalletArkivActions<transport extends Transport = Transport, chain extends C
|
|
|
583
591
|
type WalletArkivClient<transport extends Transport = Transport, chain extends Chain | undefined = Chain | undefined, account extends Account | undefined = Account | undefined, rpcSchema extends RpcSchema | undefined = ArkivRpcSchema> = Prettify<Client<transport, chain, account, rpcSchema, WalletArkivActions<transport, chain, account>>>;
|
|
584
592
|
/**
|
|
585
593
|
* Creates a Wallet Client with a given [Transport](https://viem.sh/docs/clients/intro) configured
|
|
586
|
-
* for a [Chain](https://viem.sh/docs/
|
|
587
|
-
*
|
|
588
|
-
* - Docs: https://docs.arkiv.network/ts-sdk/clients/wallet
|
|
594
|
+
* for a [Chain](https://viem.sh/docs/chains/introduction) and an account.
|
|
589
595
|
*
|
|
590
596
|
* A Wallet Client signs and sends transactions, so it carries an `account` and exposes everything
|
|
591
597
|
* that mutates state — `createEntity`, `patchEntity`, `deleteEntity`, `extendEntity`,
|
|
592
|
-
* `changeOwnership` and `
|
|
598
|
+
* `changeOwnership` and `executeBatch` — on top of the read actions a Public Client has.
|
|
593
599
|
*
|
|
594
600
|
* @param parameters - Configuration object for the wallet client (chain, transport, account, etc.)
|
|
595
|
-
* @returns
|
|
601
|
+
* @returns An Arkiv Wallet Client. {@link WalletArkivClient}
|
|
596
602
|
*
|
|
597
603
|
* @example
|
|
598
604
|
* import { createWalletClient } from "@arkiv-network/sdk"
|
|
@@ -639,5 +645,5 @@ declare class InvalidContentTypeError extends Error {
|
|
|
639
645
|
*/
|
|
640
646
|
declare function chainFromName(name: string): Chain;
|
|
641
647
|
//#endregion
|
|
642
|
-
export { AddrValue, AnyArkivValue, type ArkivClient, ArkivRpcSchema, ArkivValue, AttributeInputs, AttributeSchema, Attributes, BoolValue, BuildMutationOptions, BuildMutationReturnType, Bytes32Value, BytesValue, ChangeOwnershipParameters, ChangeOwnershipReturnType, ConflictingMutationError, CreateEntityParameters, CreateEntityReturnType, CreationFlags, DECIMAL_SCALE, DECIMAL_UNIT, type DeadlineOptions, DecValue, DeleteEntityParameters, DeleteEntityReturnType, ENTITY_EVENTS_ABI, EmptyPatchError, EncodedExpiry, Entity, EntityCreatedEvent, EntityDeletedEvent, EntityEvent, EntityEventContext, EntityEventName, EntityFields, EntityMutationError, type EntityMutationOps, EntityPatchedEvent, ExpirationTime, Expiry, ExpiryContext, ExpiryExtendedEvent, ExtendEntityParameters, ExtendEntityReturnType, GetBlockTimingReturnType, GetMutationResultReturnType, I32Value, I32_MAX, I32_MIN, InvalidAttributeNameError, InvalidContentTypeError, InvalidCreationFlagsError, InvalidExpiryError, InvalidSaltError, InvalidValueError, KeyValue, Lifetime, MAX_ATTRIBUTES, MAX_EXPIRES_AT, MAX_NAME_BYTES, MAX_PAYLOAD_BYTES, MAX_SALT, MAX_STRING_BYTES, MimeType, MissingValueError,
|
|
648
|
+
export { AddrValue, AnyArkivValue, type ArkivClient, ArkivRpcSchema, ArkivValue, AttributeInputs, AttributeSchema, Attributes, BoolValue, BuildMutationOptions, BuildMutationReturnType, Bytes32Value, BytesValue, ChangeOwnershipParameters, ChangeOwnershipReturnType, ConflictingMutationError, CreateEntityParameters, CreateEntityReturnType, CreationFlags, DECIMAL_SCALE, DECIMAL_UNIT, type DeadlineOptions, DecValue, DeleteEntityParameters, DeleteEntityReturnType, ENTITY_EVENTS_ABI, EmptyPatchError, EncodedExpiry, Entity, EntityCreatedEvent, EntityDeletedEvent, EntityEvent, EntityEventContext, EntityEventName, EntityFields, EntityMutationError, type EntityMutationOps, EntityPatchedEvent, ExecuteBatchParameters, ExecuteBatchReturnType, ExpirationTime, Expiry, ExpiryContext, ExpiryExtendedEvent, ExtendEntityParameters, ExtendEntityReturnType, GetBlockTimingReturnType, GetMutationResultReturnType, I32Value, I32_MAX, I32_MIN, InvalidAttributeNameError, InvalidContentTypeError, InvalidCreationFlagsError, InvalidExpiryError, InvalidSaltError, InvalidValueError, KeyValue, Lifetime, MAX_ATTRIBUTES, MAX_EXPIRES_AT, MAX_NAME_BYTES, MAX_PAYLOAD_BYTES, MAX_SALT, MAX_STRING_BYTES, MimeType, MissingValueError, type MutationEvents, MutationResult, NO_SALT, NoEntityFoundError, NoMoreResultsError, NoRandomSourceError, Operation, OperationType, OwnershipTransferredEvent, PatchEntityParameters, PatchEntityReturnType, PingTransactionReturnType, PredictEntityKeysParameters, PredictEntityKeysReturnType, PredictedEntityKey, type PublicAdvancedActions, type PublicArkivActions, type PublicArkivClient, QueryOptions, QueryReturnType, ResolvedCreationFlags, ResolvedExpiry, RpcAttribute, RpcAttributeSchemaEntry, RpcCreationFlags, RpcEntity, RpcQueryOptions, RpcSelect, SaltInput, SendMutationOptions, SendMutationReturnType, StrValue, TooManyAttributesError, TxParams, TypeTag, U256Value, U256_MAX, U64Value, U64_MAX, UnknownAttributeTypeError, UntypedValueError, UserTypeTag, ValueInput, type WalletAdvancedActions, type WalletArkivActions, type WalletArkivClient, WatchEntityEventsParameters, addr, bool, buildEntityOperations, buildMutation, bytes32, chainFromName, collectMutationEvents, createPublicClient, createWalletClient, dec, decFromUnits, decUnits, decodeCreationFlags, decodeMutationResult, encodeCreationFlags, getMutationResult, i32, isArkivValue, isValidAttributeName, jsonToPayload, key, mutationNeedsBlockNumber, pingTransaction, predictEntityKey, randomSalt, resolveExpiry, sendMutation, str, stringToPayload, toBlocks, toValue, u256, u64, validateAttributeName };
|
|
643
649
|
//# sourceMappingURL=index.d.cts.map
|
package/dist/index.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.cts","names":[],"sources":["../src/clients/decorators/arkivAdvanced.ts","../src/clients/decorators/arkivPublic.ts","../src/clients/createPublicClient.ts","../src/clients/decorators/arkivWallet.ts","../src/clients/createWalletClient.ts","../src/errors.ts","../src/utils/chains.ts"],"sourcesContent":[],"mappings":";;;;;;;;;;;;;;;;;;AA0BY,KAAA,qBAAA,GAAqB;EAaL;;;;;;;;;AA6C5B;;;EAWc,eAAA,EAAA,CAAA,MAAA,EAxDc,IAwDd,EAAA,GAxDuB,OAwDvB,CAxD+B,yBAwD/B,CAAA;EACC;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"index.d.cts","names":[],"sources":["../src/clients/decorators/arkivAdvanced.ts","../src/clients/decorators/arkivPublic.ts","../src/clients/createPublicClient.ts","../src/clients/decorators/arkivWallet.ts","../src/clients/createWalletClient.ts","../src/errors.ts","../src/utils/chains.ts"],"sourcesContent":[],"mappings":";;;;;;;;;;;;;;;;;;AA0BY,KAAA,qBAAA,GAAqB;EAaL;;;;;;;;;AA6C5B;;;EAWc,eAAA,EAAA,CAAA,MAAA,EAxDc,IAwDd,EAAA,GAxDuB,OAwDvB,CAxD+B,yBAwD/B,CAAA;EACC;;;;;;;;;;AC1Ef;;;EAEgB,iBAAA,EAAA,CAAA,MAAA,ED8Bc,IC9Bd,EAAA,GD8BuB,OC9BvB,CD8B+B,2BC9B/B,CAAA;EAAoB;;;;;;;;EA8CjB,oBAAA,EAAA,CAAA,OAAA,EDNe,kBCMf,EAAA,GDNsC,cCMtC;CAAgB;;;;;;;;;;;;;;;;;;AA0IG,KD5H1B,qBAAA,GAAwB,qBC4HE,GAAA;EAuCJ;;;;;;;;EAyBF,aAAA,EAAA,CAAA,IAAA,EDlLtB,iBCkLsB,EAAA,OAAA,CAAA,EDjLlB,oBCiLkB,EAAA,GDhLzB,OCgLyB,CDhLjB,uBCgLiB,CAAA;EAAR;;;;;;;ACjQxB;;;;;;;;EAMS,YAAA,EAAA,CAAA,IAAA,EF6FC,iBE7FD,EAAA,OAAA,CAAA,EF8FK,mBE9FL,EAAA,GF+FF,OE/FE,CF+FM,sBE/FN,CAAA;CAAW;;;KDCR,qCACQ,YAAY,yBAChB,oBAAoB,mCAClB,sBAAsB,uBACpC,KACF,cAAc,WAAW,OAAO;EDDtB;;;;;;;;;;AA0DZ;;;;;;;;;;;;;;AC9DA;;;;;;;EAKgB,SAAA,EAAA,CAAA,GAAA,EA2CG,GA3CH,EAAA,GA2CW,OA3CX,CA2CmB,UA3CnB,CAAA;EAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAqPH,MAAA,EAAA;IA4BU;IAUtB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