@coinbase/cdp-hooks 0.0.90 → 0.0.92
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/index100.js +1 -1
- package/dist/esm/index108.js +1 -1
- package/dist/esm/index109.js +2 -2
- package/dist/esm/index110.js +1 -1
- package/dist/esm/index115.js +1 -1
- package/dist/esm/index118.js +1 -1
- package/dist/esm/index121.js +1 -1
- package/dist/esm/index122.js +1 -1
- package/dist/esm/index123.js +3 -3
- package/dist/esm/index124.js +2 -2
- package/dist/esm/index125.js +1 -1
- package/dist/esm/index127.js +1 -1
- package/dist/esm/index128.js +1 -1
- package/dist/esm/index129.js +3 -3
- package/dist/esm/index130.js +3 -3
- package/dist/esm/index131.js +3 -3
- package/dist/esm/index132.js +3 -3
- package/dist/esm/index133.js +3 -3
- package/dist/esm/index134.js +3 -3
- package/dist/esm/index135.js +3 -3
- package/dist/esm/index136.js +1 -1
- package/dist/esm/index138.js +1 -1
- package/dist/esm/index219.js +3 -3
- package/dist/esm/index248.js +2 -2
- package/dist/esm/index251.js +2 -2
- package/dist/esm/index252.js +1 -1
- package/dist/esm/index256.js +39 -10
- package/dist/esm/index257.js +2 -39
- package/dist/esm/index258.js +70 -2
- package/dist/esm/index259.js +31 -66
- package/dist/esm/index260.js +13 -33
- package/dist/esm/index261.js +10 -15
- package/dist/esm/index262.js +2 -41
- package/dist/esm/index263.js +41 -2
- package/dist/esm/index264.js +2 -5
- package/dist/esm/index265.js +4 -10
- package/dist/esm/index266.js +9 -18
- package/dist/esm/index267.js +19 -7
- package/dist/esm/index268.js +7 -11
- package/dist/esm/index269.js +11 -66
- package/dist/esm/index270.js +65 -64
- package/dist/esm/index271.js +60 -180
- package/dist/esm/index272.js +183 -20
- package/dist/esm/index273.js +21 -41
- package/dist/esm/index274.js +20 -54
- package/dist/esm/index275.js +54 -18
- package/dist/esm/index276.js +34 -10
- package/dist/esm/index277.js +10 -7
- package/dist/esm/index278.js +13 -7
- package/dist/esm/index279.js +7 -6
- package/dist/esm/index280.js +6 -36
- package/dist/esm/index281.js +35 -14
- package/dist/esm/index282.js +15 -8
- package/dist/esm/index283.js +7 -11
- package/dist/esm/index284.js +12 -9
- package/dist/esm/index285.js +9 -16
- package/dist/esm/index286.js +15 -21
- package/dist/esm/index287.js +22 -30
- package/dist/esm/index288.js +31 -2
- package/dist/esm/index289.js +2 -14
- package/dist/esm/index290.js +13 -12
- package/dist/esm/index291.js +10 -45
- package/dist/esm/index292.js +47 -9
- package/dist/esm/index293.js +8 -12
- package/dist/esm/index294.js +13 -14
- package/dist/esm/index295.js +14 -8
- package/dist/esm/index296.js +6 -13
- package/dist/esm/index297.js +15 -24
- package/dist/esm/index298.js +24 -11
- package/dist/esm/index299.js +10 -23
- package/dist/esm/index3.js +1 -1
- package/dist/esm/index300.js +24 -51
- package/dist/esm/index301.js +51 -17
- package/dist/esm/index302.js +17 -14
- package/dist/esm/index303.js +14 -11
- package/dist/esm/index304.js +11 -103
- package/dist/esm/index305.js +103 -5
- package/dist/esm/index306.js +5 -223
- package/dist/esm/index307.js +223 -6
- package/dist/esm/index308.js +7 -7
- package/dist/esm/index309.js +7 -27
- package/dist/esm/index310.js +25 -18
- package/dist/esm/index311.js +18 -144
- package/dist/esm/index312.js +145 -12
- package/dist/esm/index313.js +12 -35
- package/dist/esm/index314.js +35 -41
- package/dist/esm/index315.js +42 -2
- package/dist/esm/index322.js +2 -2
- package/dist/esm/index324.js +1 -1
- package/dist/esm/index326.js +2 -2
- package/dist/esm/index327.js +2 -2
- package/dist/esm/index328.js +1 -1
- package/dist/esm/index329.js +1 -1
- package/dist/esm/index72.js +1 -1
- package/dist/esm/index74.js +1 -1
- package/dist/esm/index75.js +1 -1
- package/dist/esm/index82.js +1 -1
- package/dist/esm/index83.js +1 -1
- package/dist/esm/index86.js +3 -3
- package/dist/esm/index87.js +2 -2
- package/dist/esm/index88.js +3 -3
- package/dist/esm/index89.js +2 -2
- package/dist/esm/index90.js +3 -3
- package/dist/esm/index91.js +6 -6
- package/dist/esm/index92.js +2 -2
- package/dist/esm/index93.js +1 -1
- package/dist/esm/index94.js +1 -1
- package/dist/esm/index95.js +1 -1
- package/dist/esm/index96.js +1 -1
- package/dist/esm/index97.js +1 -1
- package/dist/esm/index98.js +1 -1
- package/dist/esm/index99.js +4 -4
- package/package.json +3 -3
package/dist/esm/index82.js
CHANGED
package/dist/esm/index83.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { TimeoutError as m, HttpRequestError as i } from "./index80.js";
|
|
2
2
|
import { withTimeout as j } from "./index244.js";
|
|
3
3
|
import { stringify as c } from "./index170.js";
|
|
4
|
-
import { idCache as y } from "./
|
|
4
|
+
import { idCache as y } from "./index284.js";
|
|
5
5
|
function E(s, o = {}) {
|
|
6
6
|
return {
|
|
7
7
|
async request(p) {
|
package/dist/esm/index86.js
CHANGED
|
@@ -4,11 +4,11 @@ import { encodeFunctionData as R } from "./index204.js";
|
|
|
4
4
|
import { getChainContractAddress as b } from "./index240.js";
|
|
5
5
|
import { trim as w } from "./index189.js";
|
|
6
6
|
import { toHex as C } from "./index176.js";
|
|
7
|
-
import { isNullUniversalResolverError as y } from "./
|
|
7
|
+
import { isNullUniversalResolverError as y } from "./index285.js";
|
|
8
8
|
import { localBatchGatewayUrl as x } from "./index230.js";
|
|
9
9
|
import { namehash as i } from "./index179.js";
|
|
10
|
-
import { packetToBytes as N } from "./
|
|
11
|
-
import { getAction as B } from "./
|
|
10
|
+
import { packetToBytes as N } from "./index286.js";
|
|
11
|
+
import { getAction as B } from "./index279.js";
|
|
12
12
|
import { readContract as T } from "./index122.js";
|
|
13
13
|
async function J(a, o) {
|
|
14
14
|
const { blockNumber: l, blockTag: m, coinType: t, name: e, gatewayUrls: f, strict: v } = o, { chain: n } = a, p = (() => {
|
package/dist/esm/index87.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { parseAvatarRecord as m } from "./
|
|
2
|
-
import { getAction as u } from "./
|
|
1
|
+
import { parseAvatarRecord as m } from "./index287.js";
|
|
2
|
+
import { getAction as u } from "./index279.js";
|
|
3
3
|
import { getEnsText as f } from "./index90.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/index88.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { universalResolverReverseAbi as f } from "./index139.js";
|
|
2
2
|
import { getChainContractAddress as u } from "./index240.js";
|
|
3
3
|
import { toHex as h } from "./index176.js";
|
|
4
|
-
import { isNullUniversalResolverError as p } from "./
|
|
5
|
-
import { packetToBytes as C } from "./
|
|
6
|
-
import { getAction as w } from "./
|
|
4
|
+
import { isNullUniversalResolverError as p } from "./index285.js";
|
|
5
|
+
import { packetToBytes as C } from "./index286.js";
|
|
6
|
+
import { getAction as w } from "./index279.js";
|
|
7
7
|
import { readContract as A } from "./index122.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/index89.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getChainContractAddress as l } from "./index240.js";
|
|
2
2
|
import { toHex as u } from "./index176.js";
|
|
3
|
-
import { packetToBytes as v } from "./
|
|
4
|
-
import { getAction as f } from "./
|
|
3
|
+
import { packetToBytes as v } from "./index286.js";
|
|
4
|
+
import { getAction as f } from "./index279.js";
|
|
5
5
|
import { readContract as m } from "./index122.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/index90.js
CHANGED
|
@@ -3,11 +3,11 @@ import { decodeFunctionResult as p } from "./index197.js";
|
|
|
3
3
|
import { encodeFunctionData as A } from "./index204.js";
|
|
4
4
|
import { getChainContractAddress as R } from "./index240.js";
|
|
5
5
|
import { toHex as b } from "./index176.js";
|
|
6
|
-
import { isNullUniversalResolverError as g } from "./
|
|
6
|
+
import { isNullUniversalResolverError as g } from "./index285.js";
|
|
7
7
|
import { localBatchGatewayUrl as w } from "./index230.js";
|
|
8
8
|
import { namehash as x } from "./index179.js";
|
|
9
|
-
import { packetToBytes as C } from "./
|
|
10
|
-
import { getAction as y } from "./
|
|
9
|
+
import { packetToBytes as C } from "./index286.js";
|
|
10
|
+
import { getAction as y } from "./index279.js";
|
|
11
11
|
import { readContract as N } from "./index122.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/index91.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { toRpc as $ } from "./
|
|
1
|
+
import { toRpc as $ } from "./index288.js";
|
|
2
2
|
import { parseAccount as W } from "./index78.js";
|
|
3
3
|
import { multicall3Abi as O } from "./index139.js";
|
|
4
|
-
import { aggregate3Signature as I } from "./
|
|
4
|
+
import { aggregate3Signature as I } from "./index289.js";
|
|
5
5
|
import { deploylessCallViaBytecodeBytecode as J, deploylessCallViaFactoryBytecode as K } from "./index141.js";
|
|
6
6
|
import { BaseError as N } from "./index149.js";
|
|
7
7
|
import { ClientChainNotConfiguredError as P, ChainDoesNotSupportContract as Q } from "./index164.js";
|
|
@@ -11,13 +11,13 @@ import { encodeDeployData as T } from "./index201.js";
|
|
|
11
11
|
import { encodeFunctionData as Z } from "./index204.js";
|
|
12
12
|
import { getChainContractAddress as tt } from "./index240.js";
|
|
13
13
|
import { numberToHex as V } from "./index176.js";
|
|
14
|
-
import { getCallError as at } from "./
|
|
15
|
-
import { extract as et } from "./
|
|
14
|
+
import { getCallError as at } from "./index290.js";
|
|
15
|
+
import { extract as et } from "./index291.js";
|
|
16
16
|
import { formatTransactionRequest as rt } from "./index211.js";
|
|
17
17
|
import { createBatchScheduler as ot } from "./index82.js";
|
|
18
|
-
import { serializeStateOverride as ct } from "./
|
|
18
|
+
import { serializeStateOverride as ct } from "./index292.js";
|
|
19
19
|
import { assertRequest as nt } from "./index224.js";
|
|
20
|
-
import { parseAbi as z } from "./
|
|
20
|
+
import { parseAbi as z } from "./index269.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/index92.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { parseAccount as P } from "./index78.js";
|
|
2
2
|
import { numberToHex as y } from "./index176.js";
|
|
3
|
-
import { getCallError as F } from "./
|
|
4
|
-
import { extract as L } from "./
|
|
3
|
+
import { getCallError as F } from "./index290.js";
|
|
4
|
+
import { extract as L } from "./index291.js";
|
|
5
5
|
import { formatTransactionRequest as A } from "./index211.js";
|
|
6
6
|
import { assertRequest as G } from "./index224.js";
|
|
7
7
|
async function _(t, e) {
|
package/dist/esm/index93.js
CHANGED
package/dist/esm/index94.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { encodeEventTopics as l } from "./index203.js";
|
|
2
2
|
import { numberToHex as s } from "./index176.js";
|
|
3
|
-
import { createFilterRequestScope as u } from "./
|
|
3
|
+
import { createFilterRequestScope as u } from "./index280.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/index95.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { encodeEventTopics as b } from "./index203.js";
|
|
2
2
|
import { numberToHex as m } from "./index176.js";
|
|
3
|
-
import { createFilterRequestScope as h } from "./
|
|
3
|
+
import { createFilterRequestScope as h } from "./index280.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/index96.js
CHANGED
package/dist/esm/index97.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { parseAccount as u } from "./index78.js";
|
|
2
2
|
import { encodeFunctionData as f } from "./index204.js";
|
|
3
3
|
import { getContractError as p } from "./index247.js";
|
|
4
|
-
import { getAction as g } from "./
|
|
4
|
+
import { getAction as g } from "./index279.js";
|
|
5
5
|
import { estimateGas as G } from "./index99.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/index98.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { BaseFeeScalarError as p, Eip1559FeesNotSupportedError as F } from "./index162.js";
|
|
2
|
-
import { getAction as l } from "./
|
|
2
|
+
import { getAction as l } from "./index279.js";
|
|
3
3
|
import { internal_estimateMaxPriorityFeePerGas as u } from "./index100.js";
|
|
4
4
|
import { getBlock as G } from "./index103.js";
|
|
5
5
|
import { getGasPrice as b } from "./index113.js";
|
package/dist/esm/index99.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { parseAccount as R } from "./index78.js";
|
|
2
2
|
import { BaseError as _ } from "./index149.js";
|
|
3
|
-
import { recoverAuthorizationAddress as A } from "./
|
|
3
|
+
import { recoverAuthorizationAddress as A } from "./index293.js";
|
|
4
4
|
import { numberToHex as x } from "./index176.js";
|
|
5
|
-
import { getEstimateGasError as E } from "./
|
|
6
|
-
import { extract as N } from "./
|
|
5
|
+
import { getEstimateGasError as E } from "./index294.js";
|
|
6
|
+
import { extract as N } from "./index291.js";
|
|
7
7
|
import { formatTransactionRequest as S } from "./index211.js";
|
|
8
|
-
import { serializeStateOverride as I } from "./
|
|
8
|
+
import { serializeStateOverride as I } from "./index292.js";
|
|
9
9
|
import { assertRequest as V } from "./index224.js";
|
|
10
10
|
import { prepareTransactionRequest as C } from "./index136.js";
|
|
11
11
|
import { getBalance as j } from "./index101.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.92",
|
|
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.
|
|
18
|
+
"@coinbase/cdp-core": "^0.0.92"
|
|
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.
|
|
33
|
+
"@coinbase/cdp-core": "^0.0.92"
|
|
34
34
|
},
|
|
35
35
|
"size-limit": [
|
|
36
36
|
{
|