@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.
Files changed (52) hide show
  1. package/dist/esm/index17.js +1 -1
  2. package/dist/esm/index193.js +7 -40
  3. package/dist/esm/index194.js +7 -2
  4. package/dist/esm/index195.js +36 -4
  5. package/dist/esm/index196.js +15 -10
  6. package/dist/esm/index197.js +8 -19
  7. package/dist/esm/index198.js +40 -7
  8. package/dist/esm/index199.js +2 -12
  9. package/dist/esm/index200.js +4 -66
  10. package/dist/esm/index201.js +9 -64
  11. package/dist/esm/index202.js +17 -183
  12. package/dist/esm/index203.js +7 -22
  13. package/dist/esm/index204.js +10 -41
  14. package/dist/esm/index205.js +62 -72
  15. package/dist/esm/index206.js +61 -36
  16. package/dist/esm/index207.js +184 -15
  17. package/dist/esm/index208.js +21 -12
  18. package/dist/esm/index209.js +42 -7
  19. package/dist/esm/index21.js +1 -1
  20. package/dist/esm/index210.js +76 -6
  21. package/dist/esm/index211.js +40 -36
  22. package/dist/esm/index212.js +16 -15
  23. package/dist/esm/index213.js +13 -8
  24. package/dist/esm/index22.js +1 -1
  25. package/dist/esm/index23.js +1 -1
  26. package/dist/esm/index231.js +1 -1
  27. package/dist/esm/index239.js +1 -1
  28. package/dist/esm/index24.js +1 -1
  29. package/dist/esm/index249.js +2 -2
  30. package/dist/esm/index25.js +1 -1
  31. package/dist/esm/index26.js +1 -1
  32. package/dist/esm/index28.js +1 -1
  33. package/dist/esm/index29.js +1 -1
  34. package/dist/esm/index30.js +1 -1
  35. package/dist/esm/index31.js +1 -1
  36. package/dist/esm/index32.js +1 -1
  37. package/dist/esm/index33.js +1 -1
  38. package/dist/esm/index35.js +1 -1
  39. package/dist/esm/index43.js +1 -1
  40. package/dist/esm/index44.js +1 -1
  41. package/dist/esm/index53.js +1 -1
  42. package/dist/esm/index56.js +1 -1
  43. package/dist/esm/index57.js +1 -1
  44. package/dist/esm/index60.js +1 -1
  45. package/dist/esm/index64.js +3 -3
  46. package/dist/esm/index65.js +3 -3
  47. package/dist/esm/index66.js +3 -3
  48. package/dist/esm/index67.js +3 -3
  49. package/dist/esm/index68.js +3 -3
  50. package/dist/esm/index69.js +3 -3
  51. package/dist/esm/index71.js +1 -1
  52. package/package.json +3 -3
@@ -1,9 +1,79 @@
1
- function u(e, { method: r }) {
2
- const t = {};
3
- return e.transport.type === "fallback" && e.transport.onResponse?.(({ method: s, response: o, status: p, transport: n }) => {
4
- p === "success" && r === s && (t[o] = n.request);
5
- }), (s) => t[s] || e.request;
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 createFilterRequestScope
74
+ u as InvalidAbiTypeParameterError,
75
+ d as InvalidFunctionModifierError,
76
+ l as InvalidModifierError,
77
+ n as InvalidParameterError,
78
+ s as SolidityProtectedKeywordError
9
79
  };
@@ -1,39 +1,43 @@
1
- const f = /* @__PURE__ */ new Map(), p = /* @__PURE__ */ new Map();
2
- let w = 0;
3
- function C(s, l, h) {
4
- const i = ++w, c = () => f.get(s) || [], g = () => {
5
- const n = c();
6
- f.set(s, n.filter((e) => e.id !== i));
7
- }, r = () => {
8
- const n = c();
9
- if (!n.some((t) => t.id === i))
10
- return;
11
- const e = p.get(s);
12
- if (n.length === 1 && e) {
13
- const t = e();
14
- t instanceof Promise && t.catch(() => {
15
- });
16
- }
17
- g();
18
- }, o = c();
19
- if (f.set(s, [
20
- ...o,
21
- { id: i, fns: l }
22
- ]), o && o.length > 0)
23
- return r;
24
- const u = {};
25
- for (const n in l)
26
- u[n] = (...e) => {
27
- const t = c();
28
- if (t.length !== 0)
29
- for (const m of t)
30
- m.fns[n]?.(...e);
31
- };
32
- const a = h(u);
33
- return typeof a == "function" && p.set(s, a), r;
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
- p as cleanupCache,
37
- f as listenersCache,
38
- C as observe
40
+ u as InvalidSignatureError,
41
+ s as InvalidStructSignatureError,
42
+ i as UnknownSignatureError
39
43
  };
@@ -1,18 +1,19 @@
1
- import { wait as l } from "./index177.js";
2
- function p(a, { emitOnBegin: e, initialWaitTime: w, interval: i }) {
3
- let n = !0;
4
- const t = () => n = !1;
5
- return (async () => {
6
- let o;
7
- e && (o = await a({ unpoll: t }));
8
- const u = await w?.(o) ?? i;
9
- await l(u);
10
- const c = async () => {
11
- n && (await a({ unpoll: t }), await l(i), c());
12
- };
13
- c();
14
- })(), t;
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
- p as poll
18
+ n as InvalidParenthesisError
18
19
  };
@@ -1,11 +1,16 @@
1
- function i() {
2
- let e = () => {
3
- }, n = () => {
4
- };
5
- return { promise: new Promise((r, o) => {
6
- e = r, n = o;
7
- }), resolve: e, reject: n };
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
- i as withResolvers
15
+ a as CircularReferenceError
11
16
  };
@@ -1,5 +1,5 @@
1
1
  import { parseAvatarRecord as m } from "./index217.js";
2
- import { getAction as u } from "./index209.js";
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")({
@@ -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 "./index209.js";
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;
@@ -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 "./index209.js";
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";
@@ -1,5 +1,5 @@
1
1
  import { normalizeSignature as o } from "./index240.js";
2
- import { formatAbiItem as n } from "./index195.js";
2
+ import { formatAbiItem as n } from "./index200.js";
3
3
  const m = (r) => {
4
4
  const t = typeof r == "string" ? r : n(r);
5
5
  return o(t);
@@ -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 "./index209.js";
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 = (() => {
@@ -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 "./index203.js";
6
- import { formatAbiItem as h } from "./index195.js";
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 {
@@ -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 "./index209.js";
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 = (() => {
@@ -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 "./index199.js";
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))
@@ -1,4 +1,4 @@
1
- import { createFilterRequestScope as r } from "./index210.js";
1
+ import { createFilterRequestScope as r } from "./index194.js";
2
2
  async function i(e) {
3
3
  const o = r(e, {
4
4
  method: "eth_newBlockFilter"
@@ -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 "./index210.js";
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"
@@ -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 "./index210.js";
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"
@@ -1,4 +1,4 @@
1
- import { createFilterRequestScope as r } from "./index210.js";
1
+ import { createFilterRequestScope as r } from "./index194.js";
2
2
  async function a(e) {
3
3
  const n = r(e, {
4
4
  method: "eth_newPendingTransactionFilter"
@@ -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 "./index209.js";
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({
@@ -1,5 +1,5 @@
1
1
  import { BaseFeeScalarError as p, Eip1559FeesNotSupportedError as F } from "./index97.js";
2
- import { getAction as l } from "./index209.js";
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";
@@ -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 "./index209.js";
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) {
@@ -1,5 +1,5 @@
1
1
  import { getAbiItem as p } from "./index91.js";
2
- import { getAction as v } from "./index209.js";
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");
@@ -1,5 +1,5 @@
1
1
  import { Eip712DomainNotFoundError as u } from "./index225.js";
2
- import { getAction as d } from "./index209.js";
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;
@@ -1,4 +1,4 @@
1
- import { getAction as n } from "./index209.js";
1
+ import { getAction as n } from "./index193.js";
2
2
  import { getBlockNumber as a } from "./index39.js";
3
3
  import { getTransaction as m } from "./index52.js";
4
4
  async function f(o, { hash: r, transactionReceipt: e }) {
@@ -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 "./index209.js";
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);
@@ -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 "./index209.js";
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({
@@ -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 "./index209.js";
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 });
@@ -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 "./index209.js";
4
- import { observe as q } from "./index211.js";
5
- import { withResolvers as z } from "./index213.js";
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";
@@ -1,7 +1,7 @@
1
1
  import { hexToBigInt as w } from "./index144.js";
2
- import { getAction as g } from "./index209.js";
3
- import { observe as k } from "./index211.js";
4
- import { poll as h } from "./index212.js";
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 }) {
@@ -1,6 +1,6 @@
1
- import { getAction as p } from "./index209.js";
2
- import { observe as h } from "./index211.js";
3
- import { poll as v } from "./index212.js";
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 }) {
@@ -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 "./index209.js";
7
- import { observe as F } from "./index211.js";
8
- import { poll as O } from "./index212.js";
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";
@@ -1,12 +1,12 @@
1
1
  import { encodeEventTopics as S } from "./index138.js";
2
- import { observe as B } from "./index211.js";
3
- import { poll as C } from "./index212.js";
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 "./index209.js";
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";
@@ -1,6 +1,6 @@
1
- import { getAction as c } from "./index209.js";
2
- import { observe as p } from "./index211.js";
3
- import { poll as b } from "./index212.js";
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";
@@ -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 "./index209.js";
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.29",
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.29"
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.29"
32
+ "@coinbase/cdp-core": "^0.0.31"
33
33
  },
34
34
  "size-limit": [
35
35
  {