@coinbase/cdp-core 0.0.82 → 0.0.84
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/index.native116.js +1 -1
- package/dist/esm/index.native117.js +1 -1
- package/dist/esm/index.native122.js +1 -1
- package/dist/esm/index.native123.js +1 -1
- package/dist/esm/index.native125.js +6 -6
- package/dist/esm/index.native160.js +32 -6
- package/dist/esm/index.native161.js +6 -32
- package/dist/esm/index.native162.js +20 -4
- package/dist/esm/index.native163.js +10 -21
- package/dist/esm/index.native164.js +19 -9
- package/dist/esm/index.native165.js +89 -15
- package/dist/esm/index.native166.js +19 -92
- package/dist/esm/index.native167.js +115 -18
- package/dist/esm/index.native168.js +5 -118
- package/dist/esm/index.native182.js +18 -2
- package/dist/esm/index.native183.js +28 -109
- package/dist/esm/index.native184.js +8 -2
- package/dist/esm/index.native185.js +11 -18
- package/dist/esm/index.native186.js +13 -28
- package/dist/esm/index.native187.js +10 -8
- package/dist/esm/index.native188.js +17 -11
- package/dist/esm/index.native189.js +80 -12
- package/dist/esm/index.native190.js +2 -10
- package/dist/esm/index.native191.js +108 -16
- package/dist/esm/index.native192.js +2 -81
- package/dist/esm/index.native22.js +6 -6
- package/dist/esm/index.native69.js +3 -3
- package/dist/esm/index.native72.js +1 -1
- package/dist/esm/index.native73.js +1 -1
- package/dist/esm/index.native78.js +377 -2
- package/dist/esm/index.native79.js +29 -2
- package/dist/esm/index.native80.js +26 -374
- package/dist/esm/index.native81.js +2 -29
- package/dist/esm/index.native82.js +2 -29
- package/dist/esm/index.native9.js +1 -1
- package/dist/esm/index.web100.js +127 -6
- package/dist/esm/index.web101.js +21 -40
- package/dist/esm/index.web102.js +10 -53
- package/dist/esm/index.web103.js +102 -125
- package/dist/esm/index.web104.js +6 -23
- package/dist/esm/index.web105.js +3 -13
- package/dist/esm/index.web106.js +14 -104
- package/dist/esm/index.web107.js +34 -6
- package/dist/esm/index.web108.js +79 -3
- package/dist/esm/index.web109.js +2 -15
- package/dist/esm/index.web110.js +2 -35
- package/dist/esm/index.web111.js +11 -77
- package/dist/esm/index.web112.js +38 -2
- package/dist/esm/index.web113.js +7 -2
- package/dist/esm/index.web114.js +32 -10
- package/dist/esm/index.web115.js +8 -37
- package/dist/esm/index.web116.js +9 -5
- package/dist/esm/index.web117.js +11 -34
- package/dist/esm/index.web118.js +13 -8
- package/dist/esm/index.web119.js +17 -9
- package/dist/esm/index.web120.js +5 -11
- package/dist/esm/index.web121.js +5 -14
- package/dist/esm/index.web122.js +10 -18
- package/dist/esm/index.web123.js +2 -8
- package/dist/esm/index.web124.js +66 -5
- package/dist/esm/index.web125.js +364 -10
- package/dist/esm/index.web126.js +6 -6
- package/dist/esm/index.web131.js +2 -5
- package/dist/esm/index.web132.js +4 -18
- package/dist/esm/index.web133.js +18 -7
- package/dist/esm/index.web134.js +7 -3
- package/dist/esm/index.web135.js +3 -19
- package/dist/esm/index.web136.js +19 -8
- package/dist/esm/index.web137.js +8 -7
- package/dist/esm/index.web138.js +7 -71
- package/dist/esm/index.web139.js +70 -17
- package/dist/esm/index.web140.js +18 -3
- package/dist/esm/index.web141.js +3 -4
- package/dist/esm/index.web142.js +4 -4
- package/dist/esm/index.web143.js +4 -4
- package/dist/esm/index.web144.js +4 -19
- package/dist/esm/index.web145.js +15 -48
- package/dist/esm/index.web146.js +52 -17
- package/dist/esm/index.web147.js +17 -23
- package/dist/esm/index.web148.js +23 -8
- package/dist/esm/index.web149.js +8 -33
- package/dist/esm/index.web150.js +33 -7
- package/dist/esm/index.web151.js +7 -20
- package/dist/esm/index.web152.js +20 -4
- package/dist/esm/index.web153.js +21 -5
- package/dist/esm/index.web154.js +5 -48
- package/dist/esm/index.web155.js +48 -2
- package/dist/esm/index.web156.js +17 -18
- package/dist/esm/index.web157.js +80 -20
- package/dist/esm/index.web158.js +103 -79
- package/dist/esm/index.web159.js +30 -101
- package/dist/esm/index.web160.js +6 -32
- package/dist/esm/index.web161.js +4 -6
- package/dist/esm/index.web162.js +19 -77
- package/dist/esm/index.web163.js +10 -21
- package/dist/esm/index.web164.js +19 -9
- package/dist/esm/index.web165.js +89 -15
- package/dist/esm/index.web166.js +19 -92
- package/dist/esm/index.web167.js +115 -18
- package/dist/esm/index.web168.js +73 -112
- package/dist/esm/index.web169.js +4 -2
- package/dist/esm/index.web170.js +46 -108
- package/dist/esm/index.web171.js +39 -2
- package/dist/esm/index.web172.js +2 -4
- package/dist/esm/index.web173.js +67 -36
- package/dist/esm/index.web174.js +35 -2
- package/dist/esm/index.web175.js +20 -69
- package/dist/esm/index.web176.js +7 -34
- package/dist/esm/index.web177.js +2 -21
- package/dist/esm/index.web178.js +377 -7
- package/dist/esm/index.web179.js +836 -2
- package/dist/esm/index.web180.js +5 -378
- package/dist/esm/index.web181.js +2 -836
- package/dist/esm/index.web182.js +108 -46
- package/dist/esm/index.web183.js +2 -5
- package/dist/esm/index.web192.js +15 -2
- package/dist/esm/index.web193.js +2 -2
- package/dist/esm/index.web194.js +2 -2
- package/dist/esm/index.web195.js +2 -15
- package/dist/esm/index.web2.js +2 -2
- package/dist/esm/index.web21.js +6 -6
- package/dist/esm/index.web3.js +1 -1
- package/dist/esm/index.web60.js +12 -12
- package/dist/esm/index.web67.js +2 -2
- package/dist/esm/index.web74.js +1 -1
- package/dist/esm/index.web75.js +1 -1
- package/dist/esm/index.web79.js +3 -3
- package/dist/esm/index.web8.js +1 -1
- package/dist/esm/index.web80.js +12 -12
- package/dist/esm/index.web81.js +12 -12
- package/dist/esm/index.web82.js +4 -2
- package/dist/esm/index.web83.js +2 -66
- package/dist/esm/index.web84.js +17 -364
- package/dist/esm/index.web85.js +46 -2
- package/dist/esm/index.web86.js +14 -2
- package/dist/esm/index.web87.js +54 -16
- package/dist/esm/index.web88.js +6 -45
- package/dist/esm/index.web89.js +21 -13
- package/dist/esm/index.web90.js +11 -55
- package/dist/esm/index.web91.js +3 -6
- package/dist/esm/index.web92.js +3 -21
- package/dist/esm/index.web93.js +34 -11
- package/dist/esm/index.web94.js +12 -3
- package/dist/esm/index.web95.js +4 -3
- package/dist/esm/index.web96.js +25 -31
- package/dist/esm/index.web97.js +6 -12
- package/dist/esm/index.web98.js +42 -4
- package/dist/esm/index.web99.js +54 -27
- package/dist/native/index.native116.js +1 -1
- package/dist/native/index.native117.js +1 -1
- package/dist/native/index.native122.js +1 -1
- package/dist/native/index.native123.js +1 -1
- package/dist/native/index.native125.js +6 -6
- package/dist/native/index.native160.js +32 -6
- package/dist/native/index.native161.js +6 -32
- package/dist/native/index.native162.js +20 -4
- package/dist/native/index.native163.js +10 -21
- package/dist/native/index.native164.js +19 -9
- package/dist/native/index.native165.js +89 -15
- package/dist/native/index.native166.js +19 -92
- package/dist/native/index.native167.js +115 -18
- package/dist/native/index.native168.js +5 -118
- package/dist/native/index.native182.js +18 -2
- package/dist/native/index.native183.js +28 -109
- package/dist/native/index.native184.js +8 -2
- package/dist/native/index.native185.js +11 -18
- package/dist/native/index.native186.js +13 -28
- package/dist/native/index.native187.js +10 -8
- package/dist/native/index.native188.js +17 -11
- package/dist/native/index.native189.js +80 -12
- package/dist/native/index.native190.js +2 -10
- package/dist/native/index.native191.js +108 -16
- package/dist/native/index.native192.js +2 -81
- package/dist/native/index.native22.js +6 -6
- package/dist/native/index.native69.js +3 -3
- package/dist/native/index.native72.js +1 -1
- package/dist/native/index.native73.js +1 -1
- package/dist/native/index.native78.js +377 -2
- package/dist/native/index.native79.js +29 -2
- package/dist/native/index.native80.js +26 -374
- package/dist/native/index.native81.js +2 -29
- package/dist/native/index.native82.js +2 -29
- package/dist/native/index.native9.js +1 -1
- package/dist/native-types/version.d.ts +1 -1
- package/dist/types/version.d.ts +1 -1
- package/dist/web/index.web100.js +127 -6
- package/dist/web/index.web101.js +21 -40
- package/dist/web/index.web102.js +10 -53
- package/dist/web/index.web103.js +102 -125
- package/dist/web/index.web104.js +6 -23
- package/dist/web/index.web105.js +3 -13
- package/dist/web/index.web106.js +14 -104
- package/dist/web/index.web107.js +34 -6
- package/dist/web/index.web108.js +79 -3
- package/dist/web/index.web109.js +2 -15
- package/dist/web/index.web110.js +2 -35
- package/dist/web/index.web111.js +11 -77
- package/dist/web/index.web112.js +38 -2
- package/dist/web/index.web113.js +7 -2
- package/dist/web/index.web114.js +32 -10
- package/dist/web/index.web115.js +8 -37
- package/dist/web/index.web116.js +9 -5
- package/dist/web/index.web117.js +11 -34
- package/dist/web/index.web118.js +13 -8
- package/dist/web/index.web119.js +17 -9
- package/dist/web/index.web120.js +5 -11
- package/dist/web/index.web121.js +5 -14
- package/dist/web/index.web122.js +10 -18
- package/dist/web/index.web123.js +2 -8
- package/dist/web/index.web124.js +66 -5
- package/dist/web/index.web125.js +364 -10
- package/dist/web/index.web126.js +6 -6
- package/dist/web/index.web131.js +2 -5
- package/dist/web/index.web132.js +4 -18
- package/dist/web/index.web133.js +18 -7
- package/dist/web/index.web134.js +7 -3
- package/dist/web/index.web135.js +3 -19
- package/dist/web/index.web136.js +19 -8
- package/dist/web/index.web137.js +8 -7
- package/dist/web/index.web138.js +7 -71
- package/dist/web/index.web139.js +70 -17
- package/dist/web/index.web140.js +18 -3
- package/dist/web/index.web141.js +3 -4
- package/dist/web/index.web142.js +4 -4
- package/dist/web/index.web143.js +4 -4
- package/dist/web/index.web144.js +4 -19
- package/dist/web/index.web145.js +15 -48
- package/dist/web/index.web146.js +52 -17
- package/dist/web/index.web147.js +17 -23
- package/dist/web/index.web148.js +23 -8
- package/dist/web/index.web149.js +8 -33
- package/dist/web/index.web150.js +33 -7
- package/dist/web/index.web151.js +7 -20
- package/dist/web/index.web152.js +20 -4
- package/dist/web/index.web153.js +21 -5
- package/dist/web/index.web154.js +5 -48
- package/dist/web/index.web155.js +48 -2
- package/dist/web/index.web156.js +17 -18
- package/dist/web/index.web157.js +80 -20
- package/dist/web/index.web158.js +103 -79
- package/dist/web/index.web159.js +30 -101
- package/dist/web/index.web160.js +6 -32
- package/dist/web/index.web161.js +4 -6
- package/dist/web/index.web162.js +19 -77
- package/dist/web/index.web163.js +10 -21
- package/dist/web/index.web164.js +19 -9
- package/dist/web/index.web165.js +89 -15
- package/dist/web/index.web166.js +19 -92
- package/dist/web/index.web167.js +115 -18
- package/dist/web/index.web168.js +73 -112
- package/dist/web/index.web169.js +4 -2
- package/dist/web/index.web170.js +46 -108
- package/dist/web/index.web171.js +39 -2
- package/dist/web/index.web172.js +2 -4
- package/dist/web/index.web173.js +67 -36
- package/dist/web/index.web174.js +35 -2
- package/dist/web/index.web175.js +20 -69
- package/dist/web/index.web176.js +7 -34
- package/dist/web/index.web177.js +2 -21
- package/dist/web/index.web178.js +377 -7
- package/dist/web/index.web179.js +836 -2
- package/dist/web/index.web180.js +5 -378
- package/dist/web/index.web181.js +2 -836
- package/dist/web/index.web182.js +108 -46
- package/dist/web/index.web183.js +2 -5
- package/dist/web/index.web192.js +15 -2
- package/dist/web/index.web193.js +2 -2
- package/dist/web/index.web194.js +2 -2
- package/dist/web/index.web195.js +2 -15
- package/dist/web/index.web2.js +2 -2
- package/dist/web/index.web21.js +6 -6
- package/dist/web/index.web3.js +1 -1
- package/dist/web/index.web60.js +12 -12
- package/dist/web/index.web67.js +2 -2
- package/dist/web/index.web74.js +1 -1
- package/dist/web/index.web75.js +1 -1
- package/dist/web/index.web79.js +3 -3
- package/dist/web/index.web8.js +1 -1
- package/dist/web/index.web80.js +12 -12
- package/dist/web/index.web81.js +12 -12
- package/dist/web/index.web82.js +4 -2
- package/dist/web/index.web83.js +2 -66
- package/dist/web/index.web84.js +17 -364
- package/dist/web/index.web85.js +46 -2
- package/dist/web/index.web86.js +14 -2
- package/dist/web/index.web87.js +54 -16
- package/dist/web/index.web88.js +6 -45
- package/dist/web/index.web89.js +21 -13
- package/dist/web/index.web90.js +11 -55
- package/dist/web/index.web91.js +3 -6
- package/dist/web/index.web92.js +3 -21
- package/dist/web/index.web93.js +34 -11
- package/dist/web/index.web94.js +12 -3
- package/dist/web/index.web95.js +4 -3
- package/dist/web/index.web96.js +25 -31
- package/dist/web/index.web97.js +6 -12
- package/dist/web/index.web98.js +42 -4
- package/dist/web/index.web99.js +54 -27
- package/dist/web-types/version.d.ts +1 -1
- package/package.json +2 -2
package/dist/web/index.web182.js
CHANGED
|
@@ -1,49 +1,111 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
function
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
}
|
|
21
|
-
function
|
|
22
|
-
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
1
|
+
import { __module as x } from "./index.web183.js";
|
|
2
|
+
var w;
|
|
3
|
+
function O() {
|
|
4
|
+
return w ? x.exports : (w = 1, function(d) {
|
|
5
|
+
var g = Object.prototype.hasOwnProperty, c = "~";
|
|
6
|
+
function h() {
|
|
7
|
+
}
|
|
8
|
+
Object.create && (h.prototype = /* @__PURE__ */ Object.create(null), new h().__proto__ || (c = !1));
|
|
9
|
+
function b(s, t, n) {
|
|
10
|
+
this.fn = s, this.context = t, this.once = n || !1;
|
|
11
|
+
}
|
|
12
|
+
function m(s, t, n, r, l) {
|
|
13
|
+
if (typeof n != "function")
|
|
14
|
+
throw new TypeError("The listener must be a function");
|
|
15
|
+
var u = new b(n, r || s, l), o = c ? c + t : t;
|
|
16
|
+
return s._events[o] ? s._events[o].fn ? s._events[o] = [s._events[o], u] : s._events[o].push(u) : (s._events[o] = u, s._eventsCount++), s;
|
|
17
|
+
}
|
|
18
|
+
function y(s, t) {
|
|
19
|
+
--s._eventsCount === 0 ? s._events = new h() : delete s._events[t];
|
|
20
|
+
}
|
|
21
|
+
function f() {
|
|
22
|
+
this._events = new h(), this._eventsCount = 0;
|
|
23
|
+
}
|
|
24
|
+
f.prototype.eventNames = function() {
|
|
25
|
+
var t = [], n, r;
|
|
26
|
+
if (this._eventsCount === 0) return t;
|
|
27
|
+
for (r in n = this._events)
|
|
28
|
+
g.call(n, r) && t.push(c ? r.slice(1) : r);
|
|
29
|
+
return Object.getOwnPropertySymbols ? t.concat(Object.getOwnPropertySymbols(n)) : t;
|
|
30
|
+
}, f.prototype.listeners = function(t) {
|
|
31
|
+
var n = c ? c + t : t, r = this._events[n];
|
|
32
|
+
if (!r) return [];
|
|
33
|
+
if (r.fn) return [r.fn];
|
|
34
|
+
for (var l = 0, u = r.length, o = new Array(u); l < u; l++)
|
|
35
|
+
o[l] = r[l].fn;
|
|
36
|
+
return o;
|
|
37
|
+
}, f.prototype.listenerCount = function(t) {
|
|
38
|
+
var n = c ? c + t : t, r = this._events[n];
|
|
39
|
+
return r ? r.fn ? 1 : r.length : 0;
|
|
40
|
+
}, f.prototype.emit = function(t, n, r, l, u, o) {
|
|
41
|
+
var a = c ? c + t : t;
|
|
42
|
+
if (!this._events[a]) return !1;
|
|
43
|
+
var e = this._events[a], p = arguments.length, v, i;
|
|
44
|
+
if (e.fn) {
|
|
45
|
+
switch (e.once && this.removeListener(t, e.fn, void 0, !0), p) {
|
|
46
|
+
case 1:
|
|
47
|
+
return e.fn.call(e.context), !0;
|
|
48
|
+
case 2:
|
|
49
|
+
return e.fn.call(e.context, n), !0;
|
|
50
|
+
case 3:
|
|
51
|
+
return e.fn.call(e.context, n, r), !0;
|
|
52
|
+
case 4:
|
|
53
|
+
return e.fn.call(e.context, n, r, l), !0;
|
|
54
|
+
case 5:
|
|
55
|
+
return e.fn.call(e.context, n, r, l, u), !0;
|
|
56
|
+
case 6:
|
|
57
|
+
return e.fn.call(e.context, n, r, l, u, o), !0;
|
|
58
|
+
}
|
|
59
|
+
for (i = 1, v = new Array(p - 1); i < p; i++)
|
|
60
|
+
v[i - 1] = arguments[i];
|
|
61
|
+
e.fn.apply(e.context, v);
|
|
62
|
+
} else {
|
|
63
|
+
var E = e.length, _;
|
|
64
|
+
for (i = 0; i < E; i++)
|
|
65
|
+
switch (e[i].once && this.removeListener(t, e[i].fn, void 0, !0), p) {
|
|
66
|
+
case 1:
|
|
67
|
+
e[i].fn.call(e[i].context);
|
|
68
|
+
break;
|
|
69
|
+
case 2:
|
|
70
|
+
e[i].fn.call(e[i].context, n);
|
|
71
|
+
break;
|
|
72
|
+
case 3:
|
|
73
|
+
e[i].fn.call(e[i].context, n, r);
|
|
74
|
+
break;
|
|
75
|
+
case 4:
|
|
76
|
+
e[i].fn.call(e[i].context, n, r, l);
|
|
77
|
+
break;
|
|
78
|
+
default:
|
|
79
|
+
if (!v) for (_ = 1, v = new Array(p - 1); _ < p; _++)
|
|
80
|
+
v[_ - 1] = arguments[_];
|
|
81
|
+
e[i].fn.apply(e[i].context, v);
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
return !0;
|
|
85
|
+
}, f.prototype.on = function(t, n, r) {
|
|
86
|
+
return m(this, t, n, r, !1);
|
|
87
|
+
}, f.prototype.once = function(t, n, r) {
|
|
88
|
+
return m(this, t, n, r, !0);
|
|
89
|
+
}, f.prototype.removeListener = function(t, n, r, l) {
|
|
90
|
+
var u = c ? c + t : t;
|
|
91
|
+
if (!this._events[u]) return this;
|
|
92
|
+
if (!n)
|
|
93
|
+
return y(this, u), this;
|
|
94
|
+
var o = this._events[u];
|
|
95
|
+
if (o.fn)
|
|
96
|
+
o.fn === n && (!l || o.once) && (!r || o.context === r) && y(this, u);
|
|
97
|
+
else {
|
|
98
|
+
for (var a = 0, e = [], p = o.length; a < p; a++)
|
|
99
|
+
(o[a].fn !== n || l && !o[a].once || r && o[a].context !== r) && e.push(o[a]);
|
|
100
|
+
e.length ? this._events[u] = e.length === 1 ? e[0] : e : y(this, u);
|
|
101
|
+
}
|
|
102
|
+
return this;
|
|
103
|
+
}, f.prototype.removeAllListeners = function(t) {
|
|
104
|
+
var n;
|
|
105
|
+
return t ? (n = c ? c + t : t, this._events[n] && y(this, n)) : (this._events = new h(), this._eventsCount = 0), this;
|
|
106
|
+
}, f.prototype.off = f.prototype.removeListener, f.prototype.addListener = f.prototype.on, f.prefixed = c, f.EventEmitter = f, d.exports = f;
|
|
107
|
+
}(x), x.exports);
|
|
43
108
|
}
|
|
44
109
|
export {
|
|
45
|
-
|
|
46
|
-
p as SizeExceedsPaddingSizeError,
|
|
47
|
-
m as fromNumber,
|
|
48
|
-
c as padLeft
|
|
110
|
+
O as __require
|
|
49
111
|
};
|
package/dist/web/index.web183.js
CHANGED
package/dist/web/index.web192.js
CHANGED
|
@@ -1,4 +1,17 @@
|
|
|
1
|
-
|
|
1
|
+
import { SizeExceedsPaddingSizeError as a } from "./index.web170.js";
|
|
2
|
+
function o(r, i = {}) {
|
|
3
|
+
const { dir: n, size: e = 32 } = i;
|
|
4
|
+
if (e === 0)
|
|
5
|
+
return r;
|
|
6
|
+
const t = r.replace("0x", "");
|
|
7
|
+
if (t.length > e * 2)
|
|
8
|
+
throw new a({
|
|
9
|
+
size: Math.ceil(t.length / 2),
|
|
10
|
+
targetSize: e,
|
|
11
|
+
type: "Hex"
|
|
12
|
+
});
|
|
13
|
+
return `0x${t[n === "right" ? "padEnd" : "padStart"](e * 2, "0")}`;
|
|
14
|
+
}
|
|
2
15
|
export {
|
|
3
|
-
|
|
16
|
+
o as pad
|
|
4
17
|
};
|
package/dist/web/index.web193.js
CHANGED
package/dist/web/index.web194.js
CHANGED
package/dist/web/index.web195.js
CHANGED
|
@@ -1,17 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
function o(r, i = {}) {
|
|
3
|
-
const { dir: n, size: e = 32 } = i;
|
|
4
|
-
if (e === 0)
|
|
5
|
-
return r;
|
|
6
|
-
const t = r.replace("0x", "");
|
|
7
|
-
if (t.length > e * 2)
|
|
8
|
-
throw new a({
|
|
9
|
-
size: Math.ceil(t.length / 2),
|
|
10
|
-
targetSize: e,
|
|
11
|
-
type: "Hex"
|
|
12
|
-
});
|
|
13
|
-
return `0x${t[n === "right" ? "padEnd" : "padStart"](e * 2, "0")}`;
|
|
14
|
-
}
|
|
1
|
+
var e = { exports: {} };
|
|
15
2
|
export {
|
|
16
|
-
|
|
3
|
+
e as __module
|
|
17
4
|
};
|
package/dist/web/index.web2.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import p from "./index.
|
|
2
|
-
import { getFramework as m } from "./index.
|
|
1
|
+
import p from "./index.web154.js";
|
|
2
|
+
import { getFramework as m } from "./index.web155.js";
|
|
3
3
|
const y = "1f8d3e558f493e38a037dbfadb8ba344", v = "d473b1dcc969105adab157226cd9cf63", i = Symbol.for("@coinbase/cdp-analytics");
|
|
4
4
|
function g() {
|
|
5
5
|
const t = globalThis;
|
package/dist/web/index.web21.js
CHANGED
|
@@ -3,12 +3,12 @@ import { Analytics as h } from "./index.web2.js";
|
|
|
3
3
|
import "./index.web3.js";
|
|
4
4
|
import { toAuthStateUser as f } from "./index.web54.js";
|
|
5
5
|
import { InternalError as l } from "./index.web41.js";
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
6
|
+
import { createEvmEoaAccount as S } from "./index.web20.js";
|
|
7
|
+
import { validateUserAuthState as E } from "./index.web63.js";
|
|
8
|
+
import { getCoreAuthManager as g, getConfig as v } from "./index.web48.js";
|
|
9
9
|
async function _(r) {
|
|
10
10
|
h.sendActionCallEvent({ name: "create_evm_smart_account" });
|
|
11
|
-
const n =
|
|
11
|
+
const n = g(), { user: t, authState: d } = E(
|
|
12
12
|
n.getUser(),
|
|
13
13
|
n.getAuthState()
|
|
14
14
|
);
|
|
@@ -26,14 +26,14 @@ async function _(r) {
|
|
|
26
26
|
a = r.owner;
|
|
27
27
|
} else
|
|
28
28
|
try {
|
|
29
|
-
a = await
|
|
29
|
+
a = await S();
|
|
30
30
|
} catch (e) {
|
|
31
31
|
throw e instanceof w && e.errorType === "account_limit_exceeded" ? new Error(
|
|
32
32
|
"Cannot create smart account: Maximum number of EOA accounts (10) reached. Please provide an existing EOA address using the 'owner' parameter."
|
|
33
33
|
) : e;
|
|
34
34
|
}
|
|
35
35
|
const u = await A(
|
|
36
|
-
|
|
36
|
+
v().projectId,
|
|
37
37
|
t.userId,
|
|
38
38
|
{
|
|
39
39
|
owner: a,
|
package/dist/web/index.web3.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { __require as r } from "./index.
|
|
1
|
+
import { __require as r } from "./index.web176.js";
|
|
2
2
|
r();
|
package/dist/web/index.web60.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { serializeAuthorizationList as v } from "./index.
|
|
2
|
-
import { blobsToCommitments as H } from "./index.
|
|
3
|
-
import { blobsToProofs as V } from "./index.
|
|
4
|
-
import { commitmentsToVersionedHashes as k } from "./index.
|
|
5
|
-
import { toBlobSidecars as B } from "./index.
|
|
6
|
-
import { concatHex as T } from "./index.
|
|
7
|
-
import { trim as F } from "./index.
|
|
8
|
-
import { numberToHex as s, bytesToHex as S } from "./index.
|
|
9
|
-
import { toRlp as b } from "./index.
|
|
10
|
-
import { assertTransactionEIP1559 as _, assertTransactionEIP2930 as C, assertTransactionEIP4844 as R, assertTransactionEIP7702 as Y, assertTransactionLegacy as j } from "./index.
|
|
11
|
-
import { getTransactionType as q } from "./index.
|
|
12
|
-
import { serializeAccessList as h } from "./index.
|
|
1
|
+
import { serializeAuthorizationList as v } from "./index.web84.js";
|
|
2
|
+
import { blobsToCommitments as H } from "./index.web115.js";
|
|
3
|
+
import { blobsToProofs as V } from "./index.web116.js";
|
|
4
|
+
import { commitmentsToVersionedHashes as k } from "./index.web117.js";
|
|
5
|
+
import { toBlobSidecars as B } from "./index.web118.js";
|
|
6
|
+
import { concatHex as T } from "./index.web91.js";
|
|
7
|
+
import { trim as F } from "./index.web97.js";
|
|
8
|
+
import { numberToHex as s, bytesToHex as S } from "./index.web85.js";
|
|
9
|
+
import { toRlp as b } from "./index.web98.js";
|
|
10
|
+
import { assertTransactionEIP1559 as _, assertTransactionEIP2930 as C, assertTransactionEIP4844 as R, assertTransactionEIP7702 as Y, assertTransactionLegacy as j } from "./index.web108.js";
|
|
11
|
+
import { getTransactionType as q } from "./index.web106.js";
|
|
12
|
+
import { serializeAccessList as h } from "./index.web119.js";
|
|
13
13
|
function re(e, t) {
|
|
14
14
|
const i = q(e);
|
|
15
15
|
return i === "eip1559" ? J(e, t) : i === "eip2930" ? K(e, t) : i === "eip4844" ? D(e, t) : i === "eip7702" ? w(e, t) : M(e);
|
package/dist/web/index.web67.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { InvalidAddressError as s } from "./index.
|
|
2
|
-
import { isAddress as a } from "./index.
|
|
1
|
+
import { InvalidAddressError as s } from "./index.web111.js";
|
|
2
|
+
import { isAddress as a } from "./index.web90.js";
|
|
3
3
|
function r(n) {
|
|
4
4
|
if (typeof n == "string") {
|
|
5
5
|
if (!a(n, { strict: !1 }))
|
package/dist/web/index.web74.js
CHANGED
package/dist/web/index.web75.js
CHANGED
package/dist/web/index.web79.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import "./index.
|
|
2
|
-
import { BaseError as P } from "./index.
|
|
3
|
-
import { parse as y, parseError as j, InternalError as g } from "./index.
|
|
1
|
+
import "./index.web123.js";
|
|
2
|
+
import { BaseError as P } from "./index.web124.js";
|
|
3
|
+
import { parse as y, parseError as j, InternalError as g } from "./index.web125.js";
|
|
4
4
|
class u extends Error {
|
|
5
5
|
constructor(e, t) {
|
|
6
6
|
super(t), Object.defineProperty(this, "name", {
|
package/dist/web/index.web8.js
CHANGED
package/dist/web/index.web80.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { handleAccounts as t } from "./index.
|
|
2
|
-
import { handleEthSign as e } from "./index.
|
|
3
|
-
import { handleGetCallsStatus as a } from "./index.
|
|
4
|
-
import { handleGetCapabilities as n } from "./index.
|
|
5
|
-
import { handlePersonalSign as o } from "./index.
|
|
6
|
-
import { handleRequestAccounts as r } from "./index.
|
|
7
|
-
import { handleSendCalls as i } from "./index.
|
|
8
|
-
import { handleSendTransaction as l } from "./index.
|
|
9
|
-
import { handleSignTypedData as h } from "./index.
|
|
10
|
-
import { handleChainId as s } from "./index.
|
|
11
|
-
import { handleDisconnect as m } from "./index.
|
|
12
|
-
import { handleSwitchEthereumChain as d } from "./index.
|
|
1
|
+
import { handleAccounts as t } from "./index.web132.js";
|
|
2
|
+
import { handleEthSign as e } from "./index.web133.js";
|
|
3
|
+
import { handleGetCallsStatus as a } from "./index.web134.js";
|
|
4
|
+
import { handleGetCapabilities as n } from "./index.web135.js";
|
|
5
|
+
import { handlePersonalSign as o } from "./index.web136.js";
|
|
6
|
+
import { handleRequestAccounts as r } from "./index.web137.js";
|
|
7
|
+
import { handleSendCalls as i } from "./index.web138.js";
|
|
8
|
+
import { handleSendTransaction as l } from "./index.web139.js";
|
|
9
|
+
import { handleSignTypedData as h } from "./index.web140.js";
|
|
10
|
+
import { handleChainId as s } from "./index.web141.js";
|
|
11
|
+
import { handleDisconnect as m } from "./index.web142.js";
|
|
12
|
+
import { handleSwitchEthereumChain as d } from "./index.web143.js";
|
|
13
13
|
function D() {
|
|
14
14
|
return {
|
|
15
15
|
eth_accounts: t,
|
package/dist/web/index.web81.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { handleChainId as t } from "./index.
|
|
2
|
-
import { handleDisconnect as e } from "./index.
|
|
3
|
-
import { handleSwitchEthereumChain as a } from "./index.
|
|
4
|
-
import { handleAccounts as n } from "./index.
|
|
5
|
-
import { handleEthSign as o } from "./index.
|
|
6
|
-
import { handleGetCallsStatus as r } from "./index.
|
|
7
|
-
import { handleGetCapabilities as i } from "./index.
|
|
8
|
-
import { handlePersonalSign as l } from "./index.
|
|
9
|
-
import { handleRequestAccounts as h } from "./index.
|
|
10
|
-
import { handleSendCalls as m } from "./index.
|
|
11
|
-
import { handleSendTransaction as s } from "./index.
|
|
12
|
-
import { handleSignTypedData as d } from "./index.
|
|
1
|
+
import { handleChainId as t } from "./index.web141.js";
|
|
2
|
+
import { handleDisconnect as e } from "./index.web142.js";
|
|
3
|
+
import { handleSwitchEthereumChain as a } from "./index.web143.js";
|
|
4
|
+
import { handleAccounts as n } from "./index.web144.js";
|
|
5
|
+
import { handleEthSign as o } from "./index.web145.js";
|
|
6
|
+
import { handleGetCallsStatus as r } from "./index.web146.js";
|
|
7
|
+
import { handleGetCapabilities as i } from "./index.web147.js";
|
|
8
|
+
import { handlePersonalSign as l } from "./index.web148.js";
|
|
9
|
+
import { handleRequestAccounts as h } from "./index.web149.js";
|
|
10
|
+
import { handleSendCalls as m } from "./index.web150.js";
|
|
11
|
+
import { handleSendTransaction as s } from "./index.web151.js";
|
|
12
|
+
import { handleSignTypedData as d } from "./index.web152.js";
|
|
13
13
|
function E() {
|
|
14
14
|
return {
|
|
15
15
|
eth_accounts: n,
|
package/dist/web/index.web82.js
CHANGED
package/dist/web/index.web83.js
CHANGED
|
@@ -1,68 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
class s extends Error {
|
|
3
|
-
constructor(r, e = {}) {
|
|
4
|
-
const a = (() => {
|
|
5
|
-
if (e.cause instanceof s) {
|
|
6
|
-
if (e.cause.details)
|
|
7
|
-
return e.cause.details;
|
|
8
|
-
if (e.cause.shortMessage)
|
|
9
|
-
return e.cause.shortMessage;
|
|
10
|
-
}
|
|
11
|
-
return e.cause && "details" in e.cause && typeof e.cause.details == "string" ? e.cause.details : e.cause?.message ? e.cause.message : e.details;
|
|
12
|
-
})(), u = e.cause instanceof s && e.cause.docsPath || e.docsPath, c = `https://oxlib.sh${u ?? ""}`, l = [
|
|
13
|
-
r || "An error occurred.",
|
|
14
|
-
...e.metaMessages ? ["", ...e.metaMessages] : [],
|
|
15
|
-
...a || u ? [
|
|
16
|
-
"",
|
|
17
|
-
a ? `Details: ${a}` : void 0,
|
|
18
|
-
u ? `See: ${c}` : void 0
|
|
19
|
-
] : []
|
|
20
|
-
].filter((d) => typeof d == "string").join(`
|
|
21
|
-
`);
|
|
22
|
-
super(l, e.cause ? { cause: e.cause } : void 0), Object.defineProperty(this, "details", {
|
|
23
|
-
enumerable: !0,
|
|
24
|
-
configurable: !0,
|
|
25
|
-
writable: !0,
|
|
26
|
-
value: void 0
|
|
27
|
-
}), Object.defineProperty(this, "docs", {
|
|
28
|
-
enumerable: !0,
|
|
29
|
-
configurable: !0,
|
|
30
|
-
writable: !0,
|
|
31
|
-
value: void 0
|
|
32
|
-
}), Object.defineProperty(this, "docsPath", {
|
|
33
|
-
enumerable: !0,
|
|
34
|
-
configurable: !0,
|
|
35
|
-
writable: !0,
|
|
36
|
-
value: void 0
|
|
37
|
-
}), Object.defineProperty(this, "shortMessage", {
|
|
38
|
-
enumerable: !0,
|
|
39
|
-
configurable: !0,
|
|
40
|
-
writable: !0,
|
|
41
|
-
value: void 0
|
|
42
|
-
}), Object.defineProperty(this, "cause", {
|
|
43
|
-
enumerable: !0,
|
|
44
|
-
configurable: !0,
|
|
45
|
-
writable: !0,
|
|
46
|
-
value: void 0
|
|
47
|
-
}), Object.defineProperty(this, "name", {
|
|
48
|
-
enumerable: !0,
|
|
49
|
-
configurable: !0,
|
|
50
|
-
writable: !0,
|
|
51
|
-
value: "BaseError"
|
|
52
|
-
}), Object.defineProperty(this, "version", {
|
|
53
|
-
enumerable: !0,
|
|
54
|
-
configurable: !0,
|
|
55
|
-
writable: !0,
|
|
56
|
-
value: `ox@${n()}`
|
|
57
|
-
}), this.cause = e.cause, this.details = a, this.docs = c, this.docsPath = u, this.shortMessage = r;
|
|
58
|
-
}
|
|
59
|
-
walk(r) {
|
|
60
|
-
return i(this, r);
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
function i(t, r) {
|
|
64
|
-
return r?.(t) ? t : t && typeof t == "object" && "cause" in t && t.cause ? i(t.cause, r) : r ? null : t;
|
|
65
|
-
}
|
|
1
|
+
var e = {};
|
|
66
2
|
export {
|
|
67
|
-
|
|
3
|
+
e as __exports
|
|
68
4
|
};
|