@coinbase/cdp-hooks 0.0.29 → 0.0.31
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/esm/index17.js +1 -1
- package/dist/esm/index193.js +7 -40
- package/dist/esm/index194.js +7 -2
- package/dist/esm/index195.js +36 -4
- package/dist/esm/index196.js +15 -10
- package/dist/esm/index197.js +8 -19
- package/dist/esm/index198.js +40 -7
- package/dist/esm/index199.js +2 -12
- package/dist/esm/index200.js +4 -66
- package/dist/esm/index201.js +9 -64
- package/dist/esm/index202.js +17 -183
- package/dist/esm/index203.js +7 -22
- package/dist/esm/index204.js +10 -41
- package/dist/esm/index205.js +62 -72
- package/dist/esm/index206.js +61 -36
- package/dist/esm/index207.js +184 -15
- package/dist/esm/index208.js +21 -12
- package/dist/esm/index209.js +42 -7
- package/dist/esm/index21.js +1 -1
- package/dist/esm/index210.js +76 -6
- package/dist/esm/index211.js +40 -36
- package/dist/esm/index212.js +16 -15
- package/dist/esm/index213.js +13 -8
- package/dist/esm/index22.js +1 -1
- package/dist/esm/index23.js +1 -1
- package/dist/esm/index231.js +1 -1
- package/dist/esm/index239.js +1 -1
- package/dist/esm/index24.js +1 -1
- package/dist/esm/index249.js +2 -2
- package/dist/esm/index25.js +1 -1
- package/dist/esm/index26.js +1 -1
- package/dist/esm/index28.js +1 -1
- package/dist/esm/index29.js +1 -1
- package/dist/esm/index30.js +1 -1
- package/dist/esm/index31.js +1 -1
- package/dist/esm/index32.js +1 -1
- package/dist/esm/index33.js +1 -1
- package/dist/esm/index35.js +1 -1
- package/dist/esm/index43.js +1 -1
- package/dist/esm/index44.js +1 -1
- package/dist/esm/index53.js +1 -1
- package/dist/esm/index56.js +1 -1
- package/dist/esm/index57.js +1 -1
- package/dist/esm/index60.js +1 -1
- package/dist/esm/index64.js +3 -3
- package/dist/esm/index65.js +3 -3
- package/dist/esm/index66.js +3 -3
- package/dist/esm/index67.js +3 -3
- package/dist/esm/index68.js +3 -3
- package/dist/esm/index69.js +3 -3
- package/dist/esm/index71.js +1 -1
- package/package.json +3 -3
package/dist/esm/index210.js
CHANGED
|
@@ -1,9 +1,79 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import { BaseError as t } from "./index198.js";
|
|
2
|
+
class n extends t {
|
|
3
|
+
constructor({ param: e }) {
|
|
4
|
+
super("Invalid ABI parameter.", {
|
|
5
|
+
details: e
|
|
6
|
+
}), Object.defineProperty(this, "name", {
|
|
7
|
+
enumerable: !0,
|
|
8
|
+
configurable: !0,
|
|
9
|
+
writable: !0,
|
|
10
|
+
value: "InvalidParameterError"
|
|
11
|
+
});
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
class s extends t {
|
|
15
|
+
constructor({ param: e, name: r }) {
|
|
16
|
+
super("Invalid ABI parameter.", {
|
|
17
|
+
details: e,
|
|
18
|
+
metaMessages: [
|
|
19
|
+
`"${r}" is a protected Solidity keyword. More info: https://docs.soliditylang.org/en/latest/cheatsheet.html`
|
|
20
|
+
]
|
|
21
|
+
}), Object.defineProperty(this, "name", {
|
|
22
|
+
enumerable: !0,
|
|
23
|
+
configurable: !0,
|
|
24
|
+
writable: !0,
|
|
25
|
+
value: "SolidityProtectedKeywordError"
|
|
26
|
+
});
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
class l extends t {
|
|
30
|
+
constructor({ param: e, type: r, modifier: i }) {
|
|
31
|
+
super("Invalid ABI parameter.", {
|
|
32
|
+
details: e,
|
|
33
|
+
metaMessages: [
|
|
34
|
+
`Modifier "${i}" not allowed${r ? ` in "${r}" type` : ""}.`
|
|
35
|
+
]
|
|
36
|
+
}), Object.defineProperty(this, "name", {
|
|
37
|
+
enumerable: !0,
|
|
38
|
+
configurable: !0,
|
|
39
|
+
writable: !0,
|
|
40
|
+
value: "InvalidModifierError"
|
|
41
|
+
});
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
class d extends t {
|
|
45
|
+
constructor({ param: e, type: r, modifier: i }) {
|
|
46
|
+
super("Invalid ABI parameter.", {
|
|
47
|
+
details: e,
|
|
48
|
+
metaMessages: [
|
|
49
|
+
`Modifier "${i}" not allowed${r ? ` in "${r}" type` : ""}.`,
|
|
50
|
+
`Data location can only be specified for array, struct, or mapping types, but "${i}" was given.`
|
|
51
|
+
]
|
|
52
|
+
}), Object.defineProperty(this, "name", {
|
|
53
|
+
enumerable: !0,
|
|
54
|
+
configurable: !0,
|
|
55
|
+
writable: !0,
|
|
56
|
+
value: "InvalidFunctionModifierError"
|
|
57
|
+
});
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
class u extends t {
|
|
61
|
+
constructor({ abiParameter: e }) {
|
|
62
|
+
super("Invalid ABI parameter.", {
|
|
63
|
+
details: JSON.stringify(e, null, 2),
|
|
64
|
+
metaMessages: ["ABI parameter type is invalid."]
|
|
65
|
+
}), Object.defineProperty(this, "name", {
|
|
66
|
+
enumerable: !0,
|
|
67
|
+
configurable: !0,
|
|
68
|
+
writable: !0,
|
|
69
|
+
value: "InvalidAbiTypeParameterError"
|
|
70
|
+
});
|
|
71
|
+
}
|
|
6
72
|
}
|
|
7
73
|
export {
|
|
8
|
-
u as
|
|
74
|
+
u as InvalidAbiTypeParameterError,
|
|
75
|
+
d as InvalidFunctionModifierError,
|
|
76
|
+
l as InvalidModifierError,
|
|
77
|
+
n as InvalidParameterError,
|
|
78
|
+
s as SolidityProtectedKeywordError
|
|
9
79
|
};
|
package/dist/esm/index211.js
CHANGED
|
@@ -1,39 +1,43 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
|
|
1
|
+
import { BaseError as r } from "./index198.js";
|
|
2
|
+
class u extends r {
|
|
3
|
+
constructor({ signature: e, type: n }) {
|
|
4
|
+
super(`Invalid ${n} signature.`, {
|
|
5
|
+
details: e
|
|
6
|
+
}), Object.defineProperty(this, "name", {
|
|
7
|
+
enumerable: !0,
|
|
8
|
+
configurable: !0,
|
|
9
|
+
writable: !0,
|
|
10
|
+
value: "InvalidSignatureError"
|
|
11
|
+
});
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
class i extends r {
|
|
15
|
+
constructor({ signature: e }) {
|
|
16
|
+
super("Unknown signature.", {
|
|
17
|
+
details: e
|
|
18
|
+
}), Object.defineProperty(this, "name", {
|
|
19
|
+
enumerable: !0,
|
|
20
|
+
configurable: !0,
|
|
21
|
+
writable: !0,
|
|
22
|
+
value: "UnknownSignatureError"
|
|
23
|
+
});
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
class s extends r {
|
|
27
|
+
constructor({ signature: e }) {
|
|
28
|
+
super("Invalid struct signature.", {
|
|
29
|
+
details: e,
|
|
30
|
+
metaMessages: ["No properties exist."]
|
|
31
|
+
}), Object.defineProperty(this, "name", {
|
|
32
|
+
enumerable: !0,
|
|
33
|
+
configurable: !0,
|
|
34
|
+
writable: !0,
|
|
35
|
+
value: "InvalidStructSignatureError"
|
|
36
|
+
});
|
|
37
|
+
}
|
|
34
38
|
}
|
|
35
39
|
export {
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
40
|
+
u as InvalidSignatureError,
|
|
41
|
+
s as InvalidStructSignatureError,
|
|
42
|
+
i as UnknownSignatureError
|
|
39
43
|
};
|
package/dist/esm/index212.js
CHANGED
|
@@ -1,18 +1,19 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
1
|
+
import { BaseError as s } from "./index198.js";
|
|
2
|
+
class n extends s {
|
|
3
|
+
constructor({ current: r, depth: e }) {
|
|
4
|
+
super("Unbalanced parentheses.", {
|
|
5
|
+
metaMessages: [
|
|
6
|
+
`"${r.trim()}" has too many ${e > 0 ? "opening" : "closing"} parentheses.`
|
|
7
|
+
],
|
|
8
|
+
details: `Depth "${e}"`
|
|
9
|
+
}), Object.defineProperty(this, "name", {
|
|
10
|
+
enumerable: !0,
|
|
11
|
+
configurable: !0,
|
|
12
|
+
writable: !0,
|
|
13
|
+
value: "InvalidParenthesisError"
|
|
14
|
+
});
|
|
15
|
+
}
|
|
15
16
|
}
|
|
16
17
|
export {
|
|
17
|
-
|
|
18
|
+
n as InvalidParenthesisError
|
|
18
19
|
};
|
package/dist/esm/index213.js
CHANGED
|
@@ -1,11 +1,16 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
import { BaseError as r } from "./index198.js";
|
|
2
|
+
class a extends r {
|
|
3
|
+
constructor({ type: e }) {
|
|
4
|
+
super("Circular reference detected.", {
|
|
5
|
+
metaMessages: [`Struct "${e}" is a circular reference.`]
|
|
6
|
+
}), Object.defineProperty(this, "name", {
|
|
7
|
+
enumerable: !0,
|
|
8
|
+
configurable: !0,
|
|
9
|
+
writable: !0,
|
|
10
|
+
value: "CircularReferenceError"
|
|
11
|
+
});
|
|
12
|
+
}
|
|
8
13
|
}
|
|
9
14
|
export {
|
|
10
|
-
|
|
15
|
+
a as CircularReferenceError
|
|
11
16
|
};
|
package/dist/esm/index22.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { parseAvatarRecord as m } from "./index217.js";
|
|
2
|
-
import { getAction as u } from "./
|
|
2
|
+
import { getAction as u } from "./index193.js";
|
|
3
3
|
import { getEnsText as f } from "./index25.js";
|
|
4
4
|
async function y(t, { blockNumber: a, blockTag: e, assetGatewayUrls: n, name: o, gatewayUrls: c, strict: i, universalResolverAddress: s }) {
|
|
5
5
|
const r = await u(t, f, "getEnsText")({
|
package/dist/esm/index23.js
CHANGED
|
@@ -3,7 +3,7 @@ import { getChainContractAddress as u } from "./index174.js";
|
|
|
3
3
|
import { toHex as h } from "./index111.js";
|
|
4
4
|
import { isNullUniversalResolverError as p } from "./index215.js";
|
|
5
5
|
import { packetToBytes as C } from "./index216.js";
|
|
6
|
-
import { getAction as w } from "./
|
|
6
|
+
import { getAction as w } from "./index193.js";
|
|
7
7
|
import { readContract as A } from "./index57.js";
|
|
8
8
|
async function b(e, { address: t, blockNumber: s, blockTag: i, gatewayUrls: a, strict: c, universalResolverAddress: d }) {
|
|
9
9
|
let o = d;
|
package/dist/esm/index231.js
CHANGED
|
@@ -6,7 +6,7 @@ import { getAddress as S } from "./index121.js";
|
|
|
6
6
|
import { isAddressEqual as h } from "./index143.js";
|
|
7
7
|
import { isHex as v } from "./index147.js";
|
|
8
8
|
import { bytesToHex as x } from "./index111.js";
|
|
9
|
-
import { getAction as b } from "./
|
|
9
|
+
import { getAction as b } from "./index193.js";
|
|
10
10
|
import { isErc6492Signature as A } from "./index157.js";
|
|
11
11
|
import { recoverAddress as w } from "./index151.js";
|
|
12
12
|
import { serializeErc6492Signature as E } from "./index158.js";
|
package/dist/esm/index239.js
CHANGED
package/dist/esm/index24.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getChainContractAddress as l } from "./index174.js";
|
|
2
2
|
import { toHex as u } from "./index111.js";
|
|
3
3
|
import { packetToBytes as v } from "./index216.js";
|
|
4
|
-
import { getAction as f } from "./
|
|
4
|
+
import { getAction as f } from "./index193.js";
|
|
5
5
|
import { readContract as m } from "./index57.js";
|
|
6
6
|
async function A(o, r) {
|
|
7
7
|
const { blockNumber: n, blockTag: i, name: s } = r, { chain: e } = o, a = (() => {
|
package/dist/esm/index249.js
CHANGED
|
@@ -2,8 +2,8 @@ import { BaseError as y } from "./index257.js";
|
|
|
2
2
|
import { keccak256 as v } from "./index260.js";
|
|
3
3
|
import { validate as $, slice as A, fromString as S } from "./index246.js";
|
|
4
4
|
import { isArgOfType as E, normalizeSignature as p, getAmbiguousTypes as B } from "./index261.js";
|
|
5
|
-
import { parseAbiItem as l } from "./
|
|
6
|
-
import { formatAbiItem as h } from "./
|
|
5
|
+
import { parseAbiItem as l } from "./index208.js";
|
|
6
|
+
import { formatAbiItem as h } from "./index200.js";
|
|
7
7
|
function H(e, r = {}) {
|
|
8
8
|
const { prepare: i = !0 } = r, n = Array.isArray(e) ? l(e) : typeof e == "string" ? l(e) : e;
|
|
9
9
|
return {
|
package/dist/esm/index25.js
CHANGED
|
@@ -7,7 +7,7 @@ import { isNullUniversalResolverError as g } from "./index215.js";
|
|
|
7
7
|
import { localBatchGatewayUrl as w } from "./index165.js";
|
|
8
8
|
import { namehash as x } from "./index114.js";
|
|
9
9
|
import { packetToBytes as C } from "./index216.js";
|
|
10
|
-
import { getAction as y } from "./
|
|
10
|
+
import { getAction as y } from "./index193.js";
|
|
11
11
|
import { readContract as N } from "./index57.js";
|
|
12
12
|
async function j(n, e) {
|
|
13
13
|
const { blockNumber: s, blockTag: m, key: d, name: t, gatewayUrls: u, strict: f } = e, { chain: o } = n, v = (() => {
|
package/dist/esm/index26.js
CHANGED
|
@@ -17,7 +17,7 @@ import { formatTransactionRequest as rt } from "./index146.js";
|
|
|
17
17
|
import { createBatchScheduler as ot } from "./index17.js";
|
|
18
18
|
import { serializeStateOverride as ct } from "./index222.js";
|
|
19
19
|
import { assertRequest as nt } from "./index159.js";
|
|
20
|
-
import { parseAbi as z } from "./
|
|
20
|
+
import { parseAbi as z } from "./index204.js";
|
|
21
21
|
async function Et(t, a) {
|
|
22
22
|
const { account: e = t.account, authorizationList: n, batch: r = !!t.batch?.multicall, blockNumber: m, blockTag: C = t.experimental_blockTag ?? "latest", accessList: x, blobs: D, blockOverrides: d, code: p, data: o, factory: u, factoryData: s, gas: B, gasPrice: b, maxFeePerBlobGas: h, maxFeePerGas: y, maxPriorityFeePerGas: g, nonce: k, to: f, value: H, stateOverride: L, ...j } = a, R = e ? W(e) : void 0;
|
|
23
23
|
if (p && (u || s))
|
package/dist/esm/index28.js
CHANGED
package/dist/esm/index29.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { encodeEventTopics as l } from "./index138.js";
|
|
2
2
|
import { numberToHex as s } from "./index111.js";
|
|
3
|
-
import { createFilterRequestScope as u } from "./
|
|
3
|
+
import { createFilterRequestScope as u } from "./index194.js";
|
|
4
4
|
async function h(r, a) {
|
|
5
5
|
const { address: m, abi: n, args: i, eventName: e, fromBlock: t, strict: p, toBlock: o } = a, f = u(r, {
|
|
6
6
|
method: "eth_newFilter"
|
package/dist/esm/index30.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { encodeEventTopics as b } from "./index138.js";
|
|
2
2
|
import { numberToHex as m } from "./index111.js";
|
|
3
|
-
import { createFilterRequestScope as h } from "./
|
|
3
|
+
import { createFilterRequestScope as h } from "./index194.js";
|
|
4
4
|
async function l(r, { address: p, args: a, event: e, events: c, fromBlock: n, strict: f, toBlock: i } = {}) {
|
|
5
5
|
const o = c ?? (e ? [e] : void 0), u = h(r, {
|
|
6
6
|
method: "eth_newFilter"
|
package/dist/esm/index31.js
CHANGED
package/dist/esm/index32.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { parseAccount as u } from "./index13.js";
|
|
2
2
|
import { encodeFunctionData as f } from "./index139.js";
|
|
3
3
|
import { getContractError as p } from "./index181.js";
|
|
4
|
-
import { getAction as g } from "./
|
|
4
|
+
import { getAction as g } from "./index193.js";
|
|
5
5
|
import { estimateGas as G } from "./index34.js";
|
|
6
6
|
async function A(s, i) {
|
|
7
7
|
const { abi: a, address: o, args: r, functionName: c, dataSuffix: e, ...t } = i, m = f({
|
package/dist/esm/index33.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { BaseFeeScalarError as p, Eip1559FeesNotSupportedError as F } from "./index97.js";
|
|
2
|
-
import { getAction as l } from "./
|
|
2
|
+
import { getAction as l } from "./index193.js";
|
|
3
3
|
import { internal_estimateMaxPriorityFeePerGas as u } from "./index35.js";
|
|
4
4
|
import { getBlock as G } from "./index38.js";
|
|
5
5
|
import { getGasPrice as b } from "./index48.js";
|
package/dist/esm/index35.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Eip1559FeesNotSupportedError as f } from "./index97.js";
|
|
2
2
|
import { hexToBigInt as u } from "./index144.js";
|
|
3
|
-
import { getAction as s } from "./
|
|
3
|
+
import { getAction as s } from "./index193.js";
|
|
4
4
|
import { getBlock as c } from "./index38.js";
|
|
5
5
|
import { getGasPrice as y } from "./index48.js";
|
|
6
6
|
async function h(e, o) {
|
package/dist/esm/index43.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { getAbiItem as p } from "./index91.js";
|
|
2
|
-
import { getAction as v } from "./
|
|
2
|
+
import { getAction as v } from "./index193.js";
|
|
3
3
|
import { getLogs as l } from "./index49.js";
|
|
4
4
|
async function y(n, r) {
|
|
5
5
|
const { abi: t, address: s, args: c, blockHash: i, eventName: e, fromBlock: m, toBlock: a, strict: f } = r, o = e ? p({ abi: t, name: e }) : void 0, g = o ? void 0 : t.filter((d) => d.type === "event");
|
package/dist/esm/index44.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Eip712DomainNotFoundError as u } from "./index225.js";
|
|
2
|
-
import { getAction as d } from "./
|
|
2
|
+
import { getAction as d } from "./index193.js";
|
|
3
3
|
import { readContract as f } from "./index57.js";
|
|
4
4
|
async function E(a, o) {
|
|
5
5
|
const { address: e, factory: r, factoryData: i } = o;
|
package/dist/esm/index53.js
CHANGED
package/dist/esm/index56.js
CHANGED
|
@@ -6,7 +6,7 @@ import { decodeFunctionResult as q } from "./index132.js";
|
|
|
6
6
|
import { encodeFunctionData as B } from "./index139.js";
|
|
7
7
|
import { getChainContractAddress as O } from "./index174.js";
|
|
8
8
|
import { getContractError as E } from "./index181.js";
|
|
9
|
-
import { getAction as T } from "./
|
|
9
|
+
import { getAction as T } from "./index193.js";
|
|
10
10
|
import { readContract as Z } from "./index57.js";
|
|
11
11
|
async function W(n, w) {
|
|
12
12
|
const { account: b, allowFailure: u = !0, batchSize: F, blockNumber: p, blockTag: j, multicallAddress: y, stateOverride: N } = w, d = w.contracts, C = F ?? (typeof n.batch?.multicall == "object" && n.batch.multicall.batchSize || 1024);
|
package/dist/esm/index57.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { decodeFunctionResult as m } from "./index132.js";
|
|
2
2
|
import { encodeFunctionData as s } from "./index139.js";
|
|
3
3
|
import { getContractError as f } from "./index181.js";
|
|
4
|
-
import { getAction as l } from "./
|
|
4
|
+
import { getAction as l } from "./index193.js";
|
|
5
5
|
import { call as p } from "./index26.js";
|
|
6
6
|
async function x(n, e) {
|
|
7
7
|
const { abi: t, address: c, args: o, functionName: r, ...d } = e, i = s({
|
package/dist/esm/index60.js
CHANGED
|
@@ -2,7 +2,7 @@ import { parseAccount as p } from "./index13.js";
|
|
|
2
2
|
import { decodeFunctionResult as h } from "./index132.js";
|
|
3
3
|
import { encodeFunctionData as x } from "./index139.js";
|
|
4
4
|
import { getContractError as b } from "./index181.js";
|
|
5
|
-
import { getAction as g } from "./
|
|
5
|
+
import { getAction as g } from "./index193.js";
|
|
6
6
|
import { call as A } from "./index26.js";
|
|
7
7
|
async function R(s, m) {
|
|
8
8
|
const { abi: t, address: r, args: o, dataSuffix: n, functionName: a, ...c } = m, e = c.account ? p(c.account) : s.account, d = x({ abi: t, args: o, functionName: a });
|
package/dist/esm/index64.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { BlockNotFoundError as D } from "./index86.js";
|
|
2
2
|
import { WaitForTransactionReceiptTimeoutError as M, TransactionNotFoundError as O, TransactionReceiptNotFoundError as W } from "./index95.js";
|
|
3
|
-
import { getAction as l } from "./
|
|
4
|
-
import { observe as q } from "./
|
|
5
|
-
import { withResolvers as z } from "./
|
|
3
|
+
import { getAction as l } from "./index193.js";
|
|
4
|
+
import { observe as q } from "./index195.js";
|
|
5
|
+
import { withResolvers as z } from "./index197.js";
|
|
6
6
|
import { withRetry as B } from "./index176.js";
|
|
7
7
|
import { stringify as G } from "./index105.js";
|
|
8
8
|
import { getBlock as H } from "./index38.js";
|
package/dist/esm/index65.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { hexToBigInt as w } from "./index144.js";
|
|
2
|
-
import { getAction as g } from "./
|
|
3
|
-
import { observe as k } from "./
|
|
4
|
-
import { poll as h } from "./
|
|
2
|
+
import { getAction as g } from "./index193.js";
|
|
3
|
+
import { observe as k } from "./index195.js";
|
|
4
|
+
import { poll as h } from "./index196.js";
|
|
5
5
|
import { stringify as y } from "./index105.js";
|
|
6
6
|
import { getBlockNumber as v } from "./index39.js";
|
|
7
7
|
function H(r, { emitOnBegin: c = !1, emitMissed: a = !1, onBlockNumber: l, onError: b, poll: i, pollingInterval: m = r.pollingInterval }) {
|
package/dist/esm/index66.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { getAction as p } from "./
|
|
2
|
-
import { observe as h } from "./
|
|
3
|
-
import { poll as v } from "./
|
|
1
|
+
import { getAction as p } from "./index193.js";
|
|
2
|
+
import { observe as h } from "./index195.js";
|
|
3
|
+
import { poll as v } from "./index196.js";
|
|
4
4
|
import { stringify as S } from "./index105.js";
|
|
5
5
|
import { getBlock as i } from "./index38.js";
|
|
6
6
|
function P(r, { blockTag: l = r.experimental_blockTag ?? "latest", emitMissed: y = !1, emitOnBegin: m = !1, onBlock: k, onError: f, includeTransactions: B, poll: d, pollingInterval: w = r.pollingInterval }) {
|
package/dist/esm/index67.js
CHANGED
|
@@ -3,9 +3,9 @@ import { InvalidInputRpcError as T } from "./index98.js";
|
|
|
3
3
|
import { decodeEventLog as z } from "./index128.js";
|
|
4
4
|
import { encodeEventTopics as A } from "./index138.js";
|
|
5
5
|
import { formatLog as B } from "./index119.js";
|
|
6
|
-
import { getAction as g } from "./
|
|
7
|
-
import { observe as F } from "./
|
|
8
|
-
import { poll as O } from "./
|
|
6
|
+
import { getAction as g } from "./index193.js";
|
|
7
|
+
import { observe as F } from "./index195.js";
|
|
8
|
+
import { poll as O } from "./index196.js";
|
|
9
9
|
import { stringify as D } from "./index105.js";
|
|
10
10
|
import { createContractEventFilter as R } from "./index29.js";
|
|
11
11
|
import { getBlockNumber as U } from "./index39.js";
|
package/dist/esm/index68.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { encodeEventTopics as S } from "./index138.js";
|
|
2
|
-
import { observe as B } from "./
|
|
3
|
-
import { poll as C } from "./
|
|
2
|
+
import { observe as B } from "./index195.js";
|
|
3
|
+
import { poll as C } from "./index196.js";
|
|
4
4
|
import { stringify as T } from "./index105.js";
|
|
5
5
|
import { DecodeLogDataMismatch as z, DecodeLogTopicsMismatch as A } from "./index81.js";
|
|
6
6
|
import { InvalidInputRpcError as O } from "./index98.js";
|
|
7
7
|
import { decodeEventLog as P } from "./index128.js";
|
|
8
8
|
import { formatLog as I } from "./index119.js";
|
|
9
|
-
import { getAction as u } from "./
|
|
9
|
+
import { getAction as u } from "./index193.js";
|
|
10
10
|
import { createEventFilter as R } from "./index30.js";
|
|
11
11
|
import { getBlockNumber as U } from "./index39.js";
|
|
12
12
|
import { getFilterChanges as j } from "./index46.js";
|
package/dist/esm/index69.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { getAction as c } from "./
|
|
2
|
-
import { observe as p } from "./
|
|
3
|
-
import { poll as b } from "./
|
|
1
|
+
import { getAction as c } from "./index193.js";
|
|
2
|
+
import { observe as p } from "./index195.js";
|
|
3
|
+
import { poll as b } from "./index196.js";
|
|
4
4
|
import { stringify as m } from "./index105.js";
|
|
5
5
|
import { createPendingTransactionFilter as d } from "./index31.js";
|
|
6
6
|
import { getFilterChanges as h } from "./index46.js";
|
package/dist/esm/index71.js
CHANGED
|
@@ -8,7 +8,7 @@ import { blobsToCommitments as q } from "./index166.js";
|
|
|
8
8
|
import { blobsToProofs as V } from "./index170.js";
|
|
9
9
|
import { commitmentsToVersionedHashes as _ } from "./index169.js";
|
|
10
10
|
import { toBlobSidecars as B } from "./index171.js";
|
|
11
|
-
import { getAction as p } from "./
|
|
11
|
+
import { getAction as p } from "./index193.js";
|
|
12
12
|
import { assertRequest as E } from "./index159.js";
|
|
13
13
|
import { getTransactionType as M } from "./index148.js";
|
|
14
14
|
import { getChainId as N } from "./index41.js";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@coinbase/cdp-hooks",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.31",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist/**",
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
},
|
|
15
15
|
"peerDependencies": {
|
|
16
16
|
"react": ">=18.2.0",
|
|
17
|
-
"@coinbase/cdp-core": "^0.0.
|
|
17
|
+
"@coinbase/cdp-core": "^0.0.31"
|
|
18
18
|
},
|
|
19
19
|
"devDependencies": {
|
|
20
20
|
"@testing-library/jest-dom": "^6.6.3",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"@size-limit/webpack": "^11.2.0",
|
|
30
30
|
"@size-limit/webpack-why": "^11.2.0",
|
|
31
31
|
"size-limit": "^11.2.0",
|
|
32
|
-
"@coinbase/cdp-core": "^0.0.
|
|
32
|
+
"@coinbase/cdp-core": "^0.0.31"
|
|
33
33
|
},
|
|
34
34
|
"size-limit": [
|
|
35
35
|
{
|