@coinbase/cdp-api-client 0.0.94 → 0.0.96
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/index14.js +1 -1
- package/dist/esm/index19.js +1 -1
- package/dist/esm/index20.js +50 -50
- package/dist/esm/index21.js +2 -2
- package/dist/esm/index22.js +2 -2
- package/dist/esm/index23.js +2 -2
- package/dist/esm/index4.js +1 -1
- package/package.json +2 -2
package/dist/esm/index14.js
CHANGED
package/dist/esm/index19.js
CHANGED
package/dist/esm/index20.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { __module as v } from "./
|
|
1
|
+
import { __module as v } from "./index22.js";
|
|
2
2
|
/**
|
|
3
3
|
* @license React
|
|
4
4
|
* react.development.js
|
|
@@ -37,19 +37,19 @@ function De() {
|
|
|
37
37
|
), oe[r] = !0);
|
|
38
38
|
}
|
|
39
39
|
function h(e, t, r) {
|
|
40
|
-
this.props = e, this.context = t, this.refs =
|
|
40
|
+
this.props = e, this.context = t, this.refs = H, this.updater = r || ue;
|
|
41
41
|
}
|
|
42
|
-
function
|
|
42
|
+
function Q() {
|
|
43
43
|
}
|
|
44
44
|
function M(e, t, r) {
|
|
45
|
-
this.props = e, this.context = t, this.refs =
|
|
45
|
+
this.props = e, this.context = t, this.refs = H, this.updater = r || ue;
|
|
46
46
|
}
|
|
47
|
-
function
|
|
47
|
+
function B(e) {
|
|
48
48
|
return "" + e;
|
|
49
49
|
}
|
|
50
50
|
function E(e) {
|
|
51
51
|
try {
|
|
52
|
-
|
|
52
|
+
B(e);
|
|
53
53
|
var t = !1;
|
|
54
54
|
} catch {
|
|
55
55
|
t = !0;
|
|
@@ -61,7 +61,7 @@ function De() {
|
|
|
61
61
|
t,
|
|
62
62
|
"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
|
|
63
63
|
n
|
|
64
|
-
),
|
|
64
|
+
), B(e);
|
|
65
65
|
}
|
|
66
66
|
}
|
|
67
67
|
function w(e) {
|
|
@@ -70,11 +70,11 @@ function De() {
|
|
|
70
70
|
return e.$$typeof === Ce ? null : e.displayName || e.name || null;
|
|
71
71
|
if (typeof e == "string") return e;
|
|
72
72
|
switch (e) {
|
|
73
|
-
case
|
|
73
|
+
case q:
|
|
74
74
|
return "Fragment";
|
|
75
75
|
case x:
|
|
76
76
|
return "Profiler";
|
|
77
|
-
case
|
|
77
|
+
case $:
|
|
78
78
|
return "StrictMode";
|
|
79
79
|
case re:
|
|
80
80
|
return "Suspense";
|
|
@@ -87,16 +87,16 @@ function De() {
|
|
|
87
87
|
switch (typeof e.tag == "number" && console.error(
|
|
88
88
|
"Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
|
|
89
89
|
), e.$$typeof) {
|
|
90
|
-
case
|
|
90
|
+
case J:
|
|
91
91
|
return "Portal";
|
|
92
92
|
case ee:
|
|
93
93
|
return (e.displayName || "Context") + ".Provider";
|
|
94
|
-
case
|
|
94
|
+
case W:
|
|
95
95
|
return (e._context.displayName || "Context") + ".Consumer";
|
|
96
96
|
case te:
|
|
97
97
|
var t = e.render;
|
|
98
98
|
return e = e.displayName, e || (e = t.displayName || t.name || "", e = e !== "" ? "ForwardRef(" + e + ")" : "ForwardRef"), e;
|
|
99
|
-
case
|
|
99
|
+
case z:
|
|
100
100
|
return t = e.displayName || null, t !== null ? t : w(e.type) || "Memo";
|
|
101
101
|
case T:
|
|
102
102
|
t = e._payload, e = e._init;
|
|
@@ -107,8 +107,8 @@ function De() {
|
|
|
107
107
|
}
|
|
108
108
|
return null;
|
|
109
109
|
}
|
|
110
|
-
function
|
|
111
|
-
if (e ===
|
|
110
|
+
function K(e) {
|
|
111
|
+
if (e === q) return "<>";
|
|
112
112
|
if (typeof e == "object" && e !== null && e.$$typeof === T)
|
|
113
113
|
return "<...>";
|
|
114
114
|
try {
|
|
@@ -118,14 +118,14 @@ function De() {
|
|
|
118
118
|
return "<...>";
|
|
119
119
|
}
|
|
120
120
|
}
|
|
121
|
-
function
|
|
121
|
+
function F() {
|
|
122
122
|
var e = i.A;
|
|
123
123
|
return e === null ? null : e.getOwner();
|
|
124
124
|
}
|
|
125
|
-
function
|
|
125
|
+
function X() {
|
|
126
126
|
return Error("react-stack-top-frame");
|
|
127
127
|
}
|
|
128
|
-
function
|
|
128
|
+
function V(e) {
|
|
129
129
|
if (S.call(e, "key")) {
|
|
130
130
|
var t = Object.getOwnPropertyDescriptor(e, "key").get;
|
|
131
131
|
if (t && t.isReactWarning) return !1;
|
|
@@ -152,7 +152,7 @@ function De() {
|
|
|
152
152
|
}
|
|
153
153
|
function L(e, t, r, n, o, c, a, f) {
|
|
154
154
|
return r = c.ref, e = {
|
|
155
|
-
$$typeof:
|
|
155
|
+
$$typeof: U,
|
|
156
156
|
type: e,
|
|
157
157
|
key: t,
|
|
158
158
|
props: c,
|
|
@@ -195,7 +195,7 @@ function De() {
|
|
|
195
195
|
), e._store && (t._store.validated = e._store.validated), t;
|
|
196
196
|
}
|
|
197
197
|
function m(e) {
|
|
198
|
-
return typeof e == "object" && e !== null && e.$$typeof ===
|
|
198
|
+
return typeof e == "object" && e !== null && e.$$typeof === U;
|
|
199
199
|
}
|
|
200
200
|
function Re(e) {
|
|
201
201
|
var t = { "=": "=0", ":": "=2" };
|
|
@@ -206,7 +206,7 @@ function De() {
|
|
|
206
206
|
function D(e, t) {
|
|
207
207
|
return typeof e == "object" && e !== null && e.key != null ? (E(e.key), Re("" + e.key)) : t.toString(36);
|
|
208
208
|
}
|
|
209
|
-
function
|
|
209
|
+
function Z() {
|
|
210
210
|
}
|
|
211
211
|
function Oe(e) {
|
|
212
212
|
switch (e.status) {
|
|
@@ -215,7 +215,7 @@ function De() {
|
|
|
215
215
|
case "rejected":
|
|
216
216
|
throw e.reason;
|
|
217
217
|
default:
|
|
218
|
-
switch (typeof e.status == "string" ? e.then(
|
|
218
|
+
switch (typeof e.status == "string" ? e.then(Z, Z) : (e.status = "pending", e.then(
|
|
219
219
|
function(t) {
|
|
220
220
|
e.status === "pending" && (e.status = "fulfilled", e.value = t);
|
|
221
221
|
},
|
|
@@ -245,8 +245,8 @@ function De() {
|
|
|
245
245
|
break;
|
|
246
246
|
case "object":
|
|
247
247
|
switch (e.$$typeof) {
|
|
248
|
-
case
|
|
249
|
-
case
|
|
248
|
+
case U:
|
|
249
|
+
case J:
|
|
250
250
|
a = !0;
|
|
251
251
|
break;
|
|
252
252
|
case T:
|
|
@@ -383,13 +383,13 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
|
|
|
383
383
|
"You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. "
|
|
384
384
|
), C = t;
|
|
385
385
|
}
|
|
386
|
-
function
|
|
386
|
+
function I(e, t, r) {
|
|
387
387
|
var n = i.actQueue;
|
|
388
388
|
if (n !== null)
|
|
389
389
|
if (n.length !== 0)
|
|
390
390
|
try {
|
|
391
|
-
|
|
392
|
-
return
|
|
391
|
+
Y(n), R(function() {
|
|
392
|
+
return I(e, t, r);
|
|
393
393
|
});
|
|
394
394
|
return;
|
|
395
395
|
} catch (o) {
|
|
@@ -398,9 +398,9 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
|
|
|
398
398
|
else i.actQueue = null;
|
|
399
399
|
0 < i.thrownErrors.length ? (n = y(i.thrownErrors), i.thrownErrors.length = 0, r(n)) : t(e);
|
|
400
400
|
}
|
|
401
|
-
function
|
|
402
|
-
if (!
|
|
403
|
-
|
|
401
|
+
function Y(e) {
|
|
402
|
+
if (!G) {
|
|
403
|
+
G = !0;
|
|
404
404
|
var t = 0;
|
|
405
405
|
try {
|
|
406
406
|
for (; t < e.length; t++) {
|
|
@@ -421,12 +421,12 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
|
|
|
421
421
|
} catch (o) {
|
|
422
422
|
e.splice(0, t + 1), i.thrownErrors.push(o);
|
|
423
423
|
} finally {
|
|
424
|
-
|
|
424
|
+
G = !1;
|
|
425
425
|
}
|
|
426
426
|
}
|
|
427
427
|
}
|
|
428
428
|
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
|
|
429
|
-
var
|
|
429
|
+
var U = Symbol.for("react.transitional.element"), J = Symbol.for("react.portal"), q = Symbol.for("react.fragment"), $ = Symbol.for("react.strict_mode"), x = Symbol.for("react.profiler"), W = Symbol.for("react.consumer"), ee = Symbol.for("react.context"), te = Symbol.for("react.forward_ref"), re = Symbol.for("react.suspense"), Se = Symbol.for("react.suspense_list"), z = Symbol.for("react.memo"), T = Symbol.for("react.lazy"), Ae = Symbol.for("react.activity"), ne = Symbol.iterator, oe = {}, ue = {
|
|
430
430
|
isMounted: function() {
|
|
431
431
|
return !1;
|
|
432
432
|
},
|
|
@@ -439,8 +439,8 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
|
|
|
439
439
|
enqueueSetState: function(e) {
|
|
440
440
|
N(e, "setState");
|
|
441
441
|
}
|
|
442
|
-
}, ae = Object.assign,
|
|
443
|
-
Object.freeze(
|
|
442
|
+
}, ae = Object.assign, H = {};
|
|
443
|
+
Object.freeze(H), h.prototype.isReactComponent = {}, h.prototype.setState = function(e, t) {
|
|
444
444
|
if (typeof e != "object" && typeof e != "function" && e != null)
|
|
445
445
|
throw Error(
|
|
446
446
|
"takes an object of state variables to update or a function which returns an object of state variables."
|
|
@@ -461,7 +461,7 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
|
|
|
461
461
|
}, k;
|
|
462
462
|
for (k in d)
|
|
463
463
|
d.hasOwnProperty(k) && ye(k, d[k]);
|
|
464
|
-
|
|
464
|
+
Q.prototype = h.prototype, d = M.prototype = new Q(), d.constructor = M, ae(d, h.prototype), d.isPureReactComponent = !0;
|
|
465
465
|
var se = Array.isArray, Ce = Symbol.for("react.client.reference"), i = {
|
|
466
466
|
H: null,
|
|
467
467
|
A: null,
|
|
@@ -485,8 +485,8 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
|
|
|
485
485
|
};
|
|
486
486
|
var ce, fe, le = {}, je = d.react_stack_bottom_frame.bind(
|
|
487
487
|
d,
|
|
488
|
-
|
|
489
|
-
)(), Pe = ie(
|
|
488
|
+
X
|
|
489
|
+
)(), Pe = ie(K(X)), de = !1, pe = /\/+/g, he = typeof reportError == "function" ? reportError : function(e) {
|
|
490
490
|
if (typeof window == "object" && typeof window.ErrorEvent == "function") {
|
|
491
491
|
var t = new window.ErrorEvent("error", {
|
|
492
492
|
bubbles: !0,
|
|
@@ -500,7 +500,7 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
|
|
|
500
500
|
return;
|
|
501
501
|
}
|
|
502
502
|
console.error(e);
|
|
503
|
-
}, me = !1, A = null, C = 0, j = !1,
|
|
503
|
+
}, me = !1, A = null, C = 0, j = !1, G = !1, ge = typeof queueMicrotask == "function" ? function(e) {
|
|
504
504
|
queueMicrotask(function() {
|
|
505
505
|
return queueMicrotask(e);
|
|
506
506
|
});
|
|
@@ -539,7 +539,7 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
|
|
|
539
539
|
);
|
|
540
540
|
return e;
|
|
541
541
|
}
|
|
542
|
-
}, u.Component = h, u.Fragment =
|
|
542
|
+
}, u.Component = h, u.Fragment = q, u.Profiler = x, u.PureComponent = M, u.StrictMode = $, u.Suspense = re, u.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = i, u.__COMPILER_RUNTIME = d, u.act = function(e) {
|
|
543
543
|
var t = i.actQueue, r = C;
|
|
544
544
|
C++;
|
|
545
545
|
var n = i.actQueue = t !== null ? t : [], o = !1;
|
|
@@ -562,8 +562,8 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
|
|
|
562
562
|
function(_) {
|
|
563
563
|
if (O(t, r), r === 0) {
|
|
564
564
|
try {
|
|
565
|
-
|
|
566
|
-
return
|
|
565
|
+
Y(n), R(function() {
|
|
566
|
+
return I(
|
|
567
567
|
_,
|
|
568
568
|
s,
|
|
569
569
|
p
|
|
@@ -590,7 +590,7 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
|
|
|
590
590
|
};
|
|
591
591
|
}
|
|
592
592
|
var f = c;
|
|
593
|
-
if (O(t, r), r === 0 && (
|
|
593
|
+
if (O(t, r), r === 0 && (Y(n), n.length !== 0 && ge(function() {
|
|
594
594
|
o || j || (j = !0, console.error(
|
|
595
595
|
"A component suspended inside an `act` scope, but the `act` call was not awaited. When testing React components that depend on asynchronous data, you must await the result:\n\nawait act(() => ...)"
|
|
596
596
|
));
|
|
@@ -599,7 +599,7 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
|
|
|
599
599
|
return {
|
|
600
600
|
then: function(s, p) {
|
|
601
601
|
o = !0, r === 0 ? (i.actQueue = n, R(function() {
|
|
602
|
-
return
|
|
602
|
+
return I(
|
|
603
603
|
f,
|
|
604
604
|
s,
|
|
605
605
|
p
|
|
@@ -632,7 +632,7 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
|
|
|
632
632
|
}
|
|
633
633
|
a = t.ref !== void 0;
|
|
634
634
|
}
|
|
635
|
-
a && (c =
|
|
635
|
+
a && (c = F()), V(t) && (E(t.key), o = "" + t.key);
|
|
636
636
|
for (f in t)
|
|
637
637
|
!S.call(t, f) || f === "key" || f === "__self" || f === "__source" || f === "ref" && t.ref === void 0 || (n[f] = t[f]);
|
|
638
638
|
}
|
|
@@ -665,7 +665,7 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
|
|
|
665
665
|
Provider: null,
|
|
666
666
|
Consumer: null
|
|
667
667
|
}, e.Provider = e, e.Consumer = {
|
|
668
|
-
$$typeof:
|
|
668
|
+
$$typeof: W,
|
|
669
669
|
_context: e
|
|
670
670
|
}, e._currentRenderer = null, e._currentRenderer2 = null, e;
|
|
671
671
|
}, u.createElement = function(e, t, r) {
|
|
@@ -676,7 +676,7 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
|
|
|
676
676
|
if (n = {}, o = null, t != null)
|
|
677
677
|
for (s in fe || !("__self" in t) || "key" in t || (fe = !0, console.warn(
|
|
678
678
|
"Your app (or one of its dependencies) is using an outdated JSX transform. Update to the modern JSX transform for faster performance: https://react.dev/link/new-jsx-transform"
|
|
679
|
-
)),
|
|
679
|
+
)), V(t) && (E(t.key), o = "" + t.key), t)
|
|
680
680
|
S.call(t, s) && s !== "key" && s !== "__self" && s !== "__source" && (n[s] = t[s]);
|
|
681
681
|
var c = arguments.length - 2;
|
|
682
682
|
if (c === 1) n.children = r;
|
|
@@ -698,16 +698,16 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
|
|
|
698
698
|
o,
|
|
699
699
|
void 0,
|
|
700
700
|
void 0,
|
|
701
|
-
|
|
701
|
+
F(),
|
|
702
702
|
n,
|
|
703
703
|
s ? Error("react-stack-top-frame") : je,
|
|
704
|
-
s ? ie(
|
|
704
|
+
s ? ie(K(e)) : Pe
|
|
705
705
|
);
|
|
706
706
|
}, u.createRef = function() {
|
|
707
707
|
var e = { current: null };
|
|
708
708
|
return Object.seal(e), e;
|
|
709
709
|
}, u.forwardRef = function(e) {
|
|
710
|
-
e != null && e.$$typeof ===
|
|
710
|
+
e != null && e.$$typeof === z ? console.error(
|
|
711
711
|
"forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."
|
|
712
712
|
) : typeof e != "function" ? console.error(
|
|
713
713
|
"forwardRef requires a render function but was given %s.",
|
|
@@ -740,7 +740,7 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
|
|
|
740
740
|
"memo: The first argument must be a component. Instead received: %s",
|
|
741
741
|
e === null ? "null" : typeof e
|
|
742
742
|
), t = {
|
|
743
|
-
$$typeof:
|
|
743
|
+
$$typeof: z,
|
|
744
744
|
type: e,
|
|
745
745
|
compare: t === void 0 ? null : t
|
|
746
746
|
};
|
|
@@ -782,7 +782,7 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
|
|
|
782
782
|
return l().useCallback(e, t);
|
|
783
783
|
}, u.useContext = function(e) {
|
|
784
784
|
var t = l();
|
|
785
|
-
return e.$$typeof ===
|
|
785
|
+
return e.$$typeof === W && console.error(
|
|
786
786
|
"Calling useContext(Context.Consumer) is not supported and will cause bugs. Did you mean to call useContext(Context) instead?"
|
|
787
787
|
), t.useContext(e);
|
|
788
788
|
}, u.useDebugValue = function(e, t) {
|
package/dist/esm/index21.js
CHANGED
package/dist/esm/index22.js
CHANGED
package/dist/esm/index23.js
CHANGED
package/dist/esm/index4.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@coinbase/cdp-api-client",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.96",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist/**",
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"./package.json": "./package.json"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"axios": "^1.
|
|
17
|
+
"axios": "^1.13.5"
|
|
18
18
|
},
|
|
19
19
|
"devDependencies": {
|
|
20
20
|
"@size-limit/preset-big-lib": "^11.2.0",
|