@coinbase/cdp-hooks 0.0.74 → 0.0.75

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 (108) hide show
  1. package/dist/esm/index177.js +3 -3
  2. package/dist/esm/index206.js +2 -2
  3. package/dist/esm/index209.js +2 -2
  4. package/dist/esm/index210.js +1 -1
  5. package/dist/esm/index214.js +3 -3
  6. package/dist/esm/index217.js +1 -1
  7. package/dist/esm/index220.js +2 -41
  8. package/dist/esm/index221.js +41 -2
  9. package/dist/esm/index222.js +2 -5
  10. package/dist/esm/index223.js +4 -10
  11. package/dist/esm/index224.js +9 -18
  12. package/dist/esm/index225.js +19 -7
  13. package/dist/esm/index226.js +7 -11
  14. package/dist/esm/index227.js +11 -66
  15. package/dist/esm/index228.js +65 -64
  16. package/dist/esm/index229.js +60 -180
  17. package/dist/esm/index230.js +183 -20
  18. package/dist/esm/index231.js +21 -41
  19. package/dist/esm/index232.js +20 -54
  20. package/dist/esm/index233.js +54 -18
  21. package/dist/esm/index234.js +34 -10
  22. package/dist/esm/index235.js +10 -7
  23. package/dist/esm/index236.js +13 -7
  24. package/dist/esm/index237.js +7 -6
  25. package/dist/esm/index238.js +6 -36
  26. package/dist/esm/index239.js +35 -14
  27. package/dist/esm/index240.js +15 -8
  28. package/dist/esm/index241.js +7 -11
  29. package/dist/esm/index242.js +12 -9
  30. package/dist/esm/index243.js +9 -16
  31. package/dist/esm/index244.js +15 -21
  32. package/dist/esm/index245.js +22 -30
  33. package/dist/esm/index246.js +31 -2
  34. package/dist/esm/index247.js +2 -14
  35. package/dist/esm/index248.js +13 -12
  36. package/dist/esm/index249.js +10 -45
  37. package/dist/esm/index250.js +47 -9
  38. package/dist/esm/index251.js +8 -12
  39. package/dist/esm/index252.js +13 -14
  40. package/dist/esm/index253.js +14 -8
  41. package/dist/esm/index254.js +6 -13
  42. package/dist/esm/index255.js +15 -24
  43. package/dist/esm/index256.js +24 -11
  44. package/dist/esm/index257.js +10 -23
  45. package/dist/esm/index258.js +24 -51
  46. package/dist/esm/index259.js +51 -17
  47. package/dist/esm/index260.js +17 -14
  48. package/dist/esm/index261.js +14 -11
  49. package/dist/esm/index262.js +11 -103
  50. package/dist/esm/index263.js +103 -5
  51. package/dist/esm/index264.js +5 -223
  52. package/dist/esm/index265.js +223 -6
  53. package/dist/esm/index266.js +7 -7
  54. package/dist/esm/index267.js +7 -27
  55. package/dist/esm/index268.js +25 -18
  56. package/dist/esm/index269.js +18 -144
  57. package/dist/esm/index270.js +145 -12
  58. package/dist/esm/index271.js +12 -35
  59. package/dist/esm/index272.js +35 -41
  60. package/dist/esm/index273.js +42 -2
  61. package/dist/esm/index275.js +3 -136
  62. package/dist/esm/index276.js +136 -3
  63. package/dist/esm/index280.js +2 -2
  64. package/dist/esm/index282.js +1 -1
  65. package/dist/esm/index284.js +2 -2
  66. package/dist/esm/index285.js +2 -2
  67. package/dist/esm/index286.js +1 -1
  68. package/dist/esm/index287.js +1 -1
  69. package/dist/esm/index3.js +1 -1
  70. package/dist/esm/index40.js +1 -1
  71. package/dist/esm/index41.js +1 -1
  72. package/dist/esm/index44.js +3 -3
  73. package/dist/esm/index45.js +2 -2
  74. package/dist/esm/index46.js +3 -3
  75. package/dist/esm/index47.js +2 -2
  76. package/dist/esm/index48.js +3 -3
  77. package/dist/esm/index49.js +6 -6
  78. package/dist/esm/index50.js +2 -2
  79. package/dist/esm/index51.js +1 -1
  80. package/dist/esm/index52.js +1 -1
  81. package/dist/esm/index53.js +1 -1
  82. package/dist/esm/index54.js +1 -1
  83. package/dist/esm/index55.js +1 -1
  84. package/dist/esm/index56.js +1 -1
  85. package/dist/esm/index57.js +4 -4
  86. package/dist/esm/index58.js +1 -1
  87. package/dist/esm/index66.js +1 -1
  88. package/dist/esm/index67.js +2 -2
  89. package/dist/esm/index68.js +1 -1
  90. package/dist/esm/index73.js +1 -1
  91. package/dist/esm/index76.js +1 -1
  92. package/dist/esm/index79.js +1 -1
  93. package/dist/esm/index80.js +1 -1
  94. package/dist/esm/index81.js +3 -3
  95. package/dist/esm/index82.js +2 -2
  96. package/dist/esm/index83.js +1 -1
  97. package/dist/esm/index85.js +1 -1
  98. package/dist/esm/index86.js +1 -1
  99. package/dist/esm/index87.js +3 -3
  100. package/dist/esm/index88.js +3 -3
  101. package/dist/esm/index89.js +3 -3
  102. package/dist/esm/index90.js +3 -3
  103. package/dist/esm/index91.js +3 -3
  104. package/dist/esm/index92.js +3 -3
  105. package/dist/esm/index93.js +3 -3
  106. package/dist/esm/index94.js +1 -1
  107. package/dist/esm/index96.js +1 -1
  108. package/package.json +3 -3
@@ -1,5 +1,5 @@
1
- import { encode as J, from as K } from "./index256.js";
2
- import { encodeData as M, from as o } from "./index257.js";
1
+ import { encode as J, from as K } from "./index257.js";
2
+ import { encodeData as M, from as o } from "./index258.js";
3
3
  import { parseAccount as Q } from "./index36.js";
4
4
  import { zeroAddress as t, ethAddress as S } from "./index98.js";
5
5
  import { deploylessCallViaBytecodeBytecode as W } from "./index99.js";
@@ -2,7 +2,7 @@ import { parseAccount as p } from "./index36.js";
2
2
  import { decodeFunctionResult as h } from "./index155.js";
3
3
  import { encodeFunctionData as x } from "./index162.js";
4
4
  import { getContractError as b } from "./index205.js";
5
- import { getAction as g } from "./index236.js";
5
+ import { getAction as g } from "./index237.js";
6
6
  import { call as A } from "./index49.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,5 +1,5 @@
1
1
  import { hashMessage as h } from "./index207.js";
2
- import { verifyHash as i } from "./index258.js";
2
+ import { verifyHash as i } from "./index259.js";
3
3
  async function m(r, { address: a, message: o, factory: s, factoryData: t, signature: e, ...f }) {
4
4
  const c = h(o);
5
5
  return i(r, {
@@ -1,5 +1,5 @@
1
1
  import { hashTypedData as m } from "./index172.js";
2
- import { verifyHash as d } from "./index258.js";
2
+ import { verifyHash as d } from "./index259.js";
3
3
  async function D(a, t) {
4
4
  const { address: r, factory: e, factoryData: o, signature: s, message: y, primaryType: c, types: f, domain: i, ...n } = t, p = m({ message: y, primaryType: c, types: f, domain: i });
5
5
  return d(a, {
@@ -1,8 +1,8 @@
1
1
  import { BlockNotFoundError as D } from "./index109.js";
2
2
  import { WaitForTransactionReceiptTimeoutError as M, TransactionNotFoundError as O, TransactionReceiptNotFoundError as W } from "./index118.js";
3
- import { getAction as l } from "./index236.js";
4
- import { observe as q } from "./index238.js";
5
- import { withResolvers as z } from "./index240.js";
3
+ import { getAction as l } from "./index237.js";
4
+ import { observe as q } from "./index239.js";
5
+ import { withResolvers as z } from "./index241.js";
6
6
  import { withRetry as B } from "./index200.js";
7
7
  import { stringify as G } from "./index128.js";
8
8
  import { getBlock as H } from "./index61.js";
@@ -1,7 +1,7 @@
1
1
  import { hexToBigInt as w } from "./index167.js";
2
- import { getAction as g } from "./index236.js";
3
- import { observe as k } from "./index238.js";
4
- import { poll as h } from "./index239.js";
2
+ import { getAction as g } from "./index237.js";
3
+ import { observe as k } from "./index239.js";
4
+ import { poll as h } from "./index240.js";
5
5
  import { stringify as y } from "./index128.js";
6
6
  import { getBlockNumber as v } from "./index62.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 "./index236.js";
2
- import { observe as h } from "./index238.js";
3
- import { poll as v } from "./index239.js";
1
+ import { getAction as p } from "./index237.js";
2
+ import { observe as h } from "./index239.js";
3
+ import { poll as v } from "./index240.js";
4
4
  import { stringify as S } from "./index128.js";
5
5
  import { getBlock as i } from "./index61.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 "./index121.js";
3
3
  import { decodeEventLog as z } from "./index151.js";
4
4
  import { encodeEventTopics as A } from "./index161.js";
5
5
  import { formatLog as B } from "./index142.js";
6
- import { getAction as g } from "./index236.js";
7
- import { observe as F } from "./index238.js";
8
- import { poll as O } from "./index239.js";
6
+ import { getAction as g } from "./index237.js";
7
+ import { observe as F } from "./index239.js";
8
+ import { poll as O } from "./index240.js";
9
9
  import { stringify as D } from "./index128.js";
10
10
  import { createContractEventFilter as R } from "./index52.js";
11
11
  import { getBlockNumber as U } from "./index62.js";
@@ -1,12 +1,12 @@
1
1
  import { encodeEventTopics as S } from "./index161.js";
2
- import { observe as B } from "./index238.js";
3
- import { poll as C } from "./index239.js";
2
+ import { observe as B } from "./index239.js";
3
+ import { poll as C } from "./index240.js";
4
4
  import { stringify as T } from "./index128.js";
5
5
  import { DecodeLogDataMismatch as z, DecodeLogTopicsMismatch as A } from "./index104.js";
6
6
  import { InvalidInputRpcError as O } from "./index121.js";
7
7
  import { decodeEventLog as P } from "./index151.js";
8
8
  import { formatLog as I } from "./index142.js";
9
- import { getAction as u } from "./index236.js";
9
+ import { getAction as u } from "./index237.js";
10
10
  import { createEventFilter as R } from "./index53.js";
11
11
  import { getBlockNumber as U } from "./index62.js";
12
12
  import { getFilterChanges as j } from "./index69.js";
@@ -1,6 +1,6 @@
1
- import { getAction as c } from "./index236.js";
2
- import { observe as p } from "./index238.js";
3
- import { poll as b } from "./index239.js";
1
+ import { getAction as c } from "./index237.js";
2
+ import { observe as p } from "./index239.js";
3
+ import { poll as b } from "./index240.js";
4
4
  import { stringify as m } from "./index128.js";
5
5
  import { createPendingTransactionFilter as d } from "./index54.js";
6
6
  import { getFilterChanges as h } from "./index69.js";
@@ -1,7 +1,7 @@
1
1
  import { hashMessage as g } from "./index207.js";
2
- import { parseSiweMessage as l } from "./index259.js";
3
- import { validateSiweMessage as p } from "./index260.js";
4
- import { verifyHash as h } from "./index258.js";
2
+ import { parseSiweMessage as l } from "./index260.js";
3
+ import { validateSiweMessage as p } from "./index261.js";
4
+ import { verifyHash as h } from "./index259.js";
5
5
  async function S(a, r) {
6
6
  const { address: i, domain: t, message: s, nonce: o, scheme: n, signature: d, time: m = /* @__PURE__ */ new Date(), ...f } = r, e = l(s);
7
7
  if (!e.address || !p({
@@ -8,7 +8,7 @@ import { blobsToCommitments as q } from "./index189.js";
8
8
  import { blobsToProofs as V } from "./index193.js";
9
9
  import { commitmentsToVersionedHashes as _ } from "./index192.js";
10
10
  import { toBlobSidecars as B } from "./index194.js";
11
- import { getAction as p } from "./index236.js";
11
+ import { getAction as p } from "./index237.js";
12
12
  import { assertRequest as E } from "./index182.js";
13
13
  import { getTransactionType as M } from "./index171.js";
14
14
  import { getChainId as N } from "./index64.js";
@@ -2,7 +2,7 @@ import { BaseError as $ } from "./index107.js";
2
2
  import { HttpRequestError as M } from "./index38.js";
3
3
  import { MethodNotSupportedRpcError as c, UnknownRpcError as g, UserRejectedRequestError as s, AtomicityNotSupportedError as h, AtomicReadyWalletRejectedUpgradeError as p, BundleTooLargeError as f, UnknownBundleIdError as E, DuplicateIdError as m, UnsupportedChainIdError as l, UnsupportedNonOptionalCapabilityError as R, SwitchChainError as y, ChainDisconnectedError as I, ProviderDisconnectedError as U, UnsupportedProviderMethodError as v, UnauthorizedProviderError as b, JsonRpcVersionUnsupportedError as N, LimitExceededRpcError as u, TransactionRejectedRpcError as q, ResourceUnavailableRpcError as C, ResourceNotFoundRpcError as D, InvalidInputRpcError as P, InternalRpcError as a, InvalidParamsRpcError as x, MethodNotFoundRpcError as A, InvalidRequestRpcError as j, ParseRpcError as B } from "./index121.js";
4
4
  import { stringToHex as z } from "./index134.js";
5
- import { withDedupe as J } from "./index261.js";
5
+ import { withDedupe as J } from "./index262.js";
6
6
  import { withRetry as O } from "./index200.js";
7
7
  import { stringify as V } from "./index128.js";
8
8
  function ee(r, S = {}) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coinbase/cdp-hooks",
3
- "version": "0.0.74",
3
+ "version": "0.0.75",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist/**",
@@ -15,7 +15,7 @@
15
15
  },
16
16
  "peerDependencies": {
17
17
  "react": ">=18.2.0",
18
- "@coinbase/cdp-core": "^0.0.74"
18
+ "@coinbase/cdp-core": "^0.0.75"
19
19
  },
20
20
  "devDependencies": {
21
21
  "@testing-library/jest-dom": "^6.6.3",
@@ -30,7 +30,7 @@
30
30
  "@size-limit/webpack": "^11.2.0",
31
31
  "@size-limit/webpack-why": "^11.2.0",
32
32
  "size-limit": "^11.2.0",
33
- "@coinbase/cdp-core": "^0.0.74"
33
+ "@coinbase/cdp-core": "^0.0.75"
34
34
  },
35
35
  "size-limit": [
36
36
  {