@coinbase/cdp-core 0.0.90 → 0.0.91
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.native10.js +15 -13
- package/dist/esm/index.native104.js +1 -1
- package/dist/esm/index.native106.js +4 -4
- package/dist/esm/index.native107.js +3 -3
- package/dist/esm/index.native108.js +31 -2
- package/dist/esm/index.native109.js +28 -65
- package/dist/esm/index.native110.js +2 -367
- package/dist/esm/index.native111.js +65 -28
- package/dist/esm/index.native112.js +364 -28
- package/dist/esm/index.native117.js +53 -11
- package/dist/esm/index.native118.js +10 -11
- package/dist/esm/index.native119.js +2 -55
- package/dist/esm/index.native120.js +45 -11
- package/dist/esm/index.native121.js +14 -2
- package/dist/esm/index.native122.js +12 -44
- package/dist/esm/index.native123.js +11 -13
- package/dist/esm/index.native124.js +2 -2
- package/dist/esm/index.native130.js +1 -1
- package/dist/esm/index.native149.js +1 -1
- package/dist/esm/index.native151.js +1 -1
- package/dist/esm/index.native154.js +2 -2
- package/dist/esm/index.native162.js +1 -1
- package/dist/esm/index.native163.js +1 -1
- package/dist/esm/index.native164.js +2 -2
- package/dist/esm/index.native168.js +19 -102
- package/dist/esm/index.native169.js +10 -79
- package/dist/esm/index.native170.js +20 -80
- package/dist/esm/index.native171.js +94 -14
- package/dist/esm/index.native172.js +20 -27
- package/dist/esm/index.native173.js +118 -8
- package/dist/esm/index.native174.js +103 -3
- package/dist/esm/index.native175.js +77 -26
- package/dist/esm/index.native176.js +79 -8
- package/dist/esm/index.native177.js +13 -7
- package/dist/esm/index.native178.js +19 -71
- package/dist/esm/index.native179.js +7 -27
- package/dist/esm/index.native180.js +3 -3
- package/dist/esm/index.native181.js +19 -6
- package/dist/esm/index.native182.js +8 -4
- package/dist/esm/index.native183.js +7 -13
- package/dist/esm/index.native184.js +78 -18
- package/dist/esm/index.native185.js +14 -47
- package/dist/esm/index.native186.js +3 -17
- package/dist/esm/index.native187.js +14 -23
- package/dist/esm/index.native188.js +4 -8
- package/dist/esm/index.native189.js +5 -33
- package/dist/esm/index.native190.js +19 -7
- package/dist/esm/index.native191.js +55 -15
- package/dist/esm/index.native192.js +17 -20
- package/dist/esm/index.native193.js +24 -10
- package/dist/esm/index.native194.js +9 -20
- package/dist/esm/index.native195.js +41 -93
- package/dist/esm/index.native196.js +8 -21
- package/dist/esm/index.native197.js +20 -117
- package/dist/esm/index.native198.js +8 -2
- package/dist/esm/index.native199.js +2 -39
- package/dist/esm/index.native200.js +378 -2
- package/dist/esm/index.native201.js +835 -69
- package/dist/esm/index.native202.js +37 -33
- package/dist/esm/index.native203.js +2 -21
- package/dist/esm/index.native204.js +69 -7
- package/dist/esm/index.native205.js +35 -2
- package/dist/esm/index.native206.js +17 -374
- package/dist/esm/index.native207.js +2 -836
- package/dist/esm/index.native213.js +6 -32
- package/dist/esm/index.native214.js +32 -6
- package/dist/esm/index.native215.js +17 -3
- package/dist/esm/index.native216.js +28 -18
- package/dist/esm/index.native217.js +6 -26
- package/dist/esm/index.native218.js +9 -6
- package/dist/esm/index.native219.js +13 -11
- package/dist/esm/index.native220.js +8 -11
- package/dist/esm/index.native221.js +14 -7
- package/dist/esm/index.native222.js +80 -16
- package/dist/esm/index.native223.js +3 -80
- package/dist/esm/index.native224.js +2 -2
- package/dist/esm/index.native225.js +2 -2
- package/dist/esm/index.native226.js +2 -2
- package/dist/esm/index.native227.js +1 -1
- package/dist/esm/index.native3.js +1 -1
- package/dist/esm/index.native88.js +2 -2
- package/dist/esm/index.native9.js +1 -1
- package/dist/esm/index.native92.js +2 -2
- package/dist/esm/index.web105.js +1 -1
- package/dist/esm/index.web107.js +4 -4
- package/dist/esm/index.web108.js +3 -3
- package/dist/esm/index.web109.js +2 -31
- package/dist/esm/index.web110.js +65 -28
- package/dist/esm/index.web111.js +367 -2
- package/dist/esm/index.web112.js +28 -65
- package/dist/esm/index.web113.js +28 -364
- package/dist/esm/index.web118.js +11 -53
- package/dist/esm/index.web119.js +11 -10
- package/dist/esm/index.web120.js +55 -2
- package/dist/esm/index.web121.js +11 -45
- package/dist/esm/index.web122.js +2 -14
- package/dist/esm/index.web123.js +44 -12
- package/dist/esm/index.web124.js +13 -11
- package/dist/esm/index.web125.js +2 -2
- package/dist/esm/index.web129.js +1 -1
- package/dist/esm/index.web148.js +1 -1
- package/dist/esm/index.web150.js +1 -1
- package/dist/esm/index.web153.js +2 -2
- package/dist/esm/index.web161.js +1 -1
- package/dist/esm/index.web162.js +1 -1
- package/dist/esm/index.web163.js +2 -2
- package/dist/esm/index.web167.js +102 -19
- package/dist/esm/index.web168.js +79 -10
- package/dist/esm/index.web169.js +80 -20
- package/dist/esm/index.web170.js +15 -94
- package/dist/esm/index.web171.js +28 -20
- package/dist/esm/index.web172.js +8 -118
- package/dist/esm/index.web173.js +3 -103
- package/dist/esm/index.web174.js +27 -77
- package/dist/esm/index.web175.js +8 -79
- package/dist/esm/index.web176.js +7 -14
- package/dist/esm/index.web177.js +70 -18
- package/dist/esm/index.web178.js +28 -7
- package/dist/esm/index.web179.js +3 -3
- package/dist/esm/index.web180.js +6 -19
- package/dist/esm/index.web181.js +4 -8
- package/dist/esm/index.web182.js +14 -7
- package/dist/esm/index.web183.js +18 -79
- package/dist/esm/index.web184.js +48 -15
- package/dist/esm/index.web185.js +17 -3
- package/dist/esm/index.web186.js +23 -15
- package/dist/esm/index.web187.js +8 -4
- package/dist/esm/index.web188.js +33 -5
- package/dist/esm/index.web189.js +7 -19
- package/dist/esm/index.web190.js +16 -57
- package/dist/esm/index.web191.js +20 -17
- package/dist/esm/index.web192.js +10 -24
- package/dist/esm/index.web193.js +20 -9
- package/dist/esm/index.web194.js +93 -42
- package/dist/esm/index.web195.js +21 -8
- package/dist/esm/index.web196.js +117 -20
- package/dist/esm/index.web197.js +2 -39
- package/dist/esm/index.web198.js +8 -2
- package/dist/esm/index.web199.js +2 -70
- package/dist/esm/index.web200.js +373 -30
- package/dist/esm/index.web201.js +835 -20
- package/dist/esm/index.web202.js +38 -7
- package/dist/esm/index.web204.js +67 -375
- package/dist/esm/index.web205.js +34 -835
- package/dist/esm/index.web206.js +21 -2
- package/dist/esm/index.web212.js +6 -32
- package/dist/esm/index.web213.js +32 -6
- package/dist/esm/index.web214.js +3 -17
- package/dist/esm/index.web215.js +2 -28
- package/dist/esm/index.web216.js +2 -8
- package/dist/esm/index.web217.js +2 -11
- package/dist/esm/index.web218.js +16 -11
- package/dist/esm/index.web219.js +28 -10
- package/dist/esm/index.web220.js +8 -17
- package/dist/esm/index.web221.js +9 -79
- package/dist/esm/index.web222.js +12 -3
- package/dist/esm/index.web223.js +10 -2
- package/dist/esm/index.web224.js +17 -2
- package/dist/esm/index.web225.js +81 -2
- package/dist/esm/index.web226.js +1 -1
- package/dist/esm/index.web3.js +1 -1
- package/dist/esm/index.web8.js +1 -1
- package/dist/esm/index.web9.js +15 -13
- package/dist/esm/index.web90.js +2 -2
- package/dist/esm/index.web94.js +2 -2
- package/dist/native/index.native10.js +15 -13
- package/dist/native/index.native104.js +1 -1
- package/dist/native/index.native106.js +4 -4
- package/dist/native/index.native107.js +3 -3
- package/dist/native/index.native108.js +31 -2
- package/dist/native/index.native109.js +28 -65
- package/dist/native/index.native110.js +2 -367
- package/dist/native/index.native111.js +65 -28
- package/dist/native/index.native112.js +364 -28
- package/dist/native/index.native117.js +53 -11
- package/dist/native/index.native118.js +10 -11
- package/dist/native/index.native119.js +2 -55
- package/dist/native/index.native120.js +45 -11
- package/dist/native/index.native121.js +14 -2
- package/dist/native/index.native122.js +12 -44
- package/dist/native/index.native123.js +11 -13
- package/dist/native/index.native124.js +2 -2
- package/dist/native/index.native130.js +1 -1
- package/dist/native/index.native149.js +1 -1
- package/dist/native/index.native151.js +1 -1
- package/dist/native/index.native154.js +2 -2
- package/dist/native/index.native162.js +1 -1
- package/dist/native/index.native163.js +1 -1
- package/dist/native/index.native164.js +2 -2
- package/dist/native/index.native168.js +19 -102
- package/dist/native/index.native169.js +10 -79
- package/dist/native/index.native170.js +20 -80
- package/dist/native/index.native171.js +94 -14
- package/dist/native/index.native172.js +20 -27
- package/dist/native/index.native173.js +118 -8
- package/dist/native/index.native174.js +103 -3
- package/dist/native/index.native175.js +77 -26
- package/dist/native/index.native176.js +79 -8
- package/dist/native/index.native177.js +13 -7
- package/dist/native/index.native178.js +19 -71
- package/dist/native/index.native179.js +7 -27
- package/dist/native/index.native180.js +3 -3
- package/dist/native/index.native181.js +19 -6
- package/dist/native/index.native182.js +8 -4
- package/dist/native/index.native183.js +7 -13
- package/dist/native/index.native184.js +78 -18
- package/dist/native/index.native185.js +14 -47
- package/dist/native/index.native186.js +3 -17
- package/dist/native/index.native187.js +14 -23
- package/dist/native/index.native188.js +4 -8
- package/dist/native/index.native189.js +5 -33
- package/dist/native/index.native190.js +19 -7
- package/dist/native/index.native191.js +55 -15
- package/dist/native/index.native192.js +17 -20
- package/dist/native/index.native193.js +24 -10
- package/dist/native/index.native194.js +9 -20
- package/dist/native/index.native195.js +41 -93
- package/dist/native/index.native196.js +8 -21
- package/dist/native/index.native197.js +20 -117
- package/dist/native/index.native198.js +8 -2
- package/dist/native/index.native199.js +2 -39
- package/dist/native/index.native200.js +378 -2
- package/dist/native/index.native201.js +835 -69
- package/dist/native/index.native202.js +37 -33
- package/dist/native/index.native203.js +2 -21
- package/dist/native/index.native204.js +69 -7
- package/dist/native/index.native205.js +35 -2
- package/dist/native/index.native206.js +17 -374
- package/dist/native/index.native207.js +2 -836
- package/dist/native/index.native213.js +6 -32
- package/dist/native/index.native214.js +32 -6
- package/dist/native/index.native215.js +17 -3
- package/dist/native/index.native216.js +28 -18
- package/dist/native/index.native217.js +6 -26
- package/dist/native/index.native218.js +9 -6
- package/dist/native/index.native219.js +13 -11
- package/dist/native/index.native220.js +8 -11
- package/dist/native/index.native221.js +14 -7
- package/dist/native/index.native222.js +80 -16
- package/dist/native/index.native223.js +3 -80
- package/dist/native/index.native224.js +2 -2
- package/dist/native/index.native225.js +2 -2
- package/dist/native/index.native226.js +2 -2
- package/dist/native/index.native227.js +1 -1
- package/dist/native/index.native3.js +1 -1
- package/dist/native/index.native88.js +2 -2
- package/dist/native/index.native9.js +1 -1
- package/dist/native/index.native92.js +2 -2
- package/dist/native-types/version.d.ts +1 -1
- package/dist/types/version.d.ts +1 -1
- package/dist/web/index.web105.js +1 -1
- package/dist/web/index.web107.js +4 -4
- package/dist/web/index.web108.js +3 -3
- package/dist/web/index.web109.js +2 -31
- package/dist/web/index.web110.js +65 -28
- package/dist/web/index.web111.js +367 -2
- package/dist/web/index.web112.js +28 -65
- package/dist/web/index.web113.js +28 -364
- package/dist/web/index.web118.js +11 -53
- package/dist/web/index.web119.js +11 -10
- package/dist/web/index.web120.js +55 -2
- package/dist/web/index.web121.js +11 -45
- package/dist/web/index.web122.js +2 -14
- package/dist/web/index.web123.js +44 -12
- package/dist/web/index.web124.js +13 -11
- package/dist/web/index.web125.js +2 -2
- package/dist/web/index.web129.js +1 -1
- package/dist/web/index.web148.js +1 -1
- package/dist/web/index.web150.js +1 -1
- package/dist/web/index.web153.js +2 -2
- package/dist/web/index.web161.js +1 -1
- package/dist/web/index.web162.js +1 -1
- package/dist/web/index.web163.js +2 -2
- package/dist/web/index.web167.js +102 -19
- package/dist/web/index.web168.js +79 -10
- package/dist/web/index.web169.js +80 -20
- package/dist/web/index.web170.js +15 -94
- package/dist/web/index.web171.js +28 -20
- package/dist/web/index.web172.js +8 -118
- package/dist/web/index.web173.js +3 -103
- package/dist/web/index.web174.js +27 -77
- package/dist/web/index.web175.js +8 -79
- package/dist/web/index.web176.js +7 -14
- package/dist/web/index.web177.js +70 -18
- package/dist/web/index.web178.js +28 -7
- package/dist/web/index.web179.js +3 -3
- package/dist/web/index.web180.js +6 -19
- package/dist/web/index.web181.js +4 -8
- package/dist/web/index.web182.js +14 -7
- package/dist/web/index.web183.js +18 -79
- package/dist/web/index.web184.js +48 -15
- package/dist/web/index.web185.js +17 -3
- package/dist/web/index.web186.js +23 -15
- package/dist/web/index.web187.js +8 -4
- package/dist/web/index.web188.js +33 -5
- package/dist/web/index.web189.js +7 -19
- package/dist/web/index.web190.js +16 -57
- package/dist/web/index.web191.js +20 -17
- package/dist/web/index.web192.js +10 -24
- package/dist/web/index.web193.js +20 -9
- package/dist/web/index.web194.js +93 -42
- package/dist/web/index.web195.js +21 -8
- package/dist/web/index.web196.js +117 -20
- package/dist/web/index.web197.js +2 -39
- package/dist/web/index.web198.js +8 -2
- package/dist/web/index.web199.js +2 -70
- package/dist/web/index.web200.js +373 -30
- package/dist/web/index.web201.js +835 -20
- package/dist/web/index.web202.js +38 -7
- package/dist/web/index.web204.js +67 -375
- package/dist/web/index.web205.js +34 -835
- package/dist/web/index.web206.js +21 -2
- package/dist/web/index.web212.js +6 -32
- package/dist/web/index.web213.js +32 -6
- package/dist/web/index.web214.js +3 -17
- package/dist/web/index.web215.js +2 -28
- package/dist/web/index.web216.js +2 -8
- package/dist/web/index.web217.js +2 -11
- package/dist/web/index.web218.js +16 -11
- package/dist/web/index.web219.js +28 -10
- package/dist/web/index.web220.js +8 -17
- package/dist/web/index.web221.js +9 -79
- package/dist/web/index.web222.js +12 -3
- package/dist/web/index.web223.js +10 -2
- package/dist/web/index.web224.js +17 -2
- package/dist/web/index.web225.js +81 -2
- package/dist/web/index.web226.js +1 -1
- package/dist/web/index.web3.js +1 -1
- package/dist/web/index.web8.js +1 -1
- package/dist/web/index.web9.js +15 -13
- package/dist/web/index.web90.js +2 -2
- package/dist/web/index.web94.js +2 -2
- package/dist/web-types/version.d.ts +1 -1
- package/package.json +2 -2
package/dist/web/index.web206.js
CHANGED
|
@@ -1,4 +1,23 @@
|
|
|
1
|
-
|
|
1
|
+
/*!
|
|
2
|
+
* Determine if an object is a Buffer
|
|
3
|
+
*
|
|
4
|
+
* @author Feross Aboukhadijeh <https://feross.org>
|
|
5
|
+
* @license MIT
|
|
6
|
+
*/
|
|
7
|
+
var f, e;
|
|
8
|
+
function t() {
|
|
9
|
+
if (e) return f;
|
|
10
|
+
e = 1, f = function(r) {
|
|
11
|
+
return r != null && (u(r) || n(r) || !!r._isBuffer);
|
|
12
|
+
};
|
|
13
|
+
function u(r) {
|
|
14
|
+
return !!r.constructor && typeof r.constructor.isBuffer == "function" && r.constructor.isBuffer(r);
|
|
15
|
+
}
|
|
16
|
+
function n(r) {
|
|
17
|
+
return typeof r.readFloatLE == "function" && typeof r.slice == "function" && u(r.slice(0, 0));
|
|
18
|
+
}
|
|
19
|
+
return f;
|
|
20
|
+
}
|
|
2
21
|
export {
|
|
3
|
-
|
|
22
|
+
t as __require
|
|
4
23
|
};
|
package/dist/web/index.web212.js
CHANGED
|
@@ -1,35 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
import { bytesToHex as d } from "./index.web131.js";
|
|
7
|
-
function S(e) {
|
|
8
|
-
const m = e.to ?? (typeof e.data == "string" ? "hex" : "bytes"), i = typeof e.data == "string" ? x(e.data) : e.data, o = u(i);
|
|
9
|
-
if (!o)
|
|
10
|
-
throw new c();
|
|
11
|
-
if (o > y)
|
|
12
|
-
throw new h({
|
|
13
|
-
maxSize: y,
|
|
14
|
-
size: o
|
|
15
|
-
});
|
|
16
|
-
const s = [];
|
|
17
|
-
let n = !0, r = 0;
|
|
18
|
-
for (; n; ) {
|
|
19
|
-
const t = B(new Uint8Array(a));
|
|
20
|
-
let l = 0;
|
|
21
|
-
for (; l < f; ) {
|
|
22
|
-
const b = i.slice(r, r + (p - 1));
|
|
23
|
-
if (t.pushByte(0), t.pushBytes(b), b.length < 31) {
|
|
24
|
-
t.pushByte(128), n = !1;
|
|
25
|
-
break;
|
|
26
|
-
}
|
|
27
|
-
l++, r += 31;
|
|
28
|
-
}
|
|
29
|
-
s.push(t);
|
|
30
|
-
}
|
|
31
|
-
return m === "bytes" ? s.map((t) => t.bytes) : s.map((t) => d(t.bytes));
|
|
1
|
+
import { bytesToHex as i } from "./index.web131.js";
|
|
2
|
+
import { sha256 as m } from "./index.web149.js";
|
|
3
|
+
function f(t) {
|
|
4
|
+
const { commitment: e, version: s = 1 } = t, n = t.to ?? (typeof e == "string" ? "hex" : "bytes"), o = m(e);
|
|
5
|
+
return o.set([s], 0), n === "bytes" ? o : i(o);
|
|
32
6
|
}
|
|
33
7
|
export {
|
|
34
|
-
|
|
8
|
+
f as commitmentToVersionedHash
|
|
35
9
|
};
|
package/dist/web/index.web213.js
CHANGED
|
@@ -1,9 +1,35 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import { maxBytesPerTransaction as y, bytesPerBlob as a, fieldElementsPerBlob as f, bytesPerFieldElement as p } from "./index.web227.js";
|
|
2
|
+
import { EmptyBlobError as c, BlobSizeTooLargeError as h } from "./index.web156.js";
|
|
3
|
+
import { createCursor as B } from "./index.web145.js";
|
|
4
|
+
import { size as u } from "./index.web140.js";
|
|
5
|
+
import { hexToBytes as x } from "./index.web133.js";
|
|
6
|
+
import { bytesToHex as d } from "./index.web131.js";
|
|
7
|
+
function S(e) {
|
|
8
|
+
const m = e.to ?? (typeof e.data == "string" ? "hex" : "bytes"), i = typeof e.data == "string" ? x(e.data) : e.data, o = u(i);
|
|
9
|
+
if (!o)
|
|
10
|
+
throw new c();
|
|
11
|
+
if (o > y)
|
|
12
|
+
throw new h({
|
|
13
|
+
maxSize: y,
|
|
14
|
+
size: o
|
|
15
|
+
});
|
|
16
|
+
const s = [];
|
|
17
|
+
let n = !0, r = 0;
|
|
18
|
+
for (; n; ) {
|
|
19
|
+
const t = B(new Uint8Array(a));
|
|
20
|
+
let l = 0;
|
|
21
|
+
for (; l < f; ) {
|
|
22
|
+
const b = i.slice(r, r + (p - 1));
|
|
23
|
+
if (t.pushByte(0), t.pushBytes(b), b.length < 31) {
|
|
24
|
+
t.pushByte(128), n = !1;
|
|
25
|
+
break;
|
|
26
|
+
}
|
|
27
|
+
l++, r += 31;
|
|
28
|
+
}
|
|
29
|
+
s.push(t);
|
|
30
|
+
}
|
|
31
|
+
return m === "bytes" ? s.map((t) => t.bytes) : s.map((t) => d(t.bytes));
|
|
6
32
|
}
|
|
7
33
|
export {
|
|
8
|
-
|
|
34
|
+
S as toBlobs
|
|
9
35
|
};
|
package/dist/web/index.web214.js
CHANGED
|
@@ -1,20 +1,6 @@
|
|
|
1
|
-
function
|
|
2
|
-
|
|
3
|
-
return t.toBase64();
|
|
4
|
-
const e = 32768, n = [];
|
|
5
|
-
for (let r = 0; r < t.length; r += e)
|
|
6
|
-
n.push(String.fromCharCode.apply(null, t.subarray(r, r + e)));
|
|
7
|
-
return btoa(n.join(""));
|
|
8
|
-
}
|
|
9
|
-
function a(t) {
|
|
10
|
-
if (Uint8Array.fromBase64)
|
|
11
|
-
return Uint8Array.fromBase64(t);
|
|
12
|
-
const e = atob(t), n = new Uint8Array(e.length);
|
|
13
|
-
for (let r = 0; r < e.length; r++)
|
|
14
|
-
n[r] = e.charCodeAt(r);
|
|
15
|
-
return n;
|
|
1
|
+
function e(t) {
|
|
2
|
+
return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
|
|
16
3
|
}
|
|
17
4
|
export {
|
|
18
|
-
|
|
19
|
-
o as encodeBase64
|
|
5
|
+
e as getDefaultExportFromCjs
|
|
20
6
|
};
|
package/dist/web/index.web215.js
CHANGED
|
@@ -1,30 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
const S = (e, s) => {
|
|
3
|
-
const a = `SHA-${e.slice(-3)}`;
|
|
4
|
-
switch (e) {
|
|
5
|
-
case "HS256":
|
|
6
|
-
case "HS384":
|
|
7
|
-
case "HS512":
|
|
8
|
-
return { hash: a, name: "HMAC" };
|
|
9
|
-
case "PS256":
|
|
10
|
-
case "PS384":
|
|
11
|
-
case "PS512":
|
|
12
|
-
return { hash: a, name: "RSA-PSS", saltLength: parseInt(e.slice(-3), 10) >> 3 };
|
|
13
|
-
case "RS256":
|
|
14
|
-
case "RS384":
|
|
15
|
-
case "RS512":
|
|
16
|
-
return { hash: a, name: "RSASSA-PKCS1-v1_5" };
|
|
17
|
-
case "ES256":
|
|
18
|
-
case "ES384":
|
|
19
|
-
case "ES512":
|
|
20
|
-
return { hash: a, name: "ECDSA", namedCurve: s.namedCurve };
|
|
21
|
-
case "Ed25519":
|
|
22
|
-
case "EdDSA":
|
|
23
|
-
return { name: "Ed25519" };
|
|
24
|
-
default:
|
|
25
|
-
throw new r(`alg ${e} is not supported either by JOSE or your javascript runtime`);
|
|
26
|
-
}
|
|
27
|
-
};
|
|
1
|
+
var r = {};
|
|
28
2
|
export {
|
|
29
|
-
|
|
3
|
+
r as __exports
|
|
30
4
|
};
|
package/dist/web/index.web216.js
CHANGED
|
@@ -1,10 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
if (t.startsWith("RS") || t.startsWith("PS")) {
|
|
3
|
-
const { modulusLength: e } = r.algorithm;
|
|
4
|
-
if (typeof e != "number" || e < 2048)
|
|
5
|
-
throw new TypeError(`${t} requires key modulusLength to be 2048 bits or larger`);
|
|
6
|
-
}
|
|
7
|
-
};
|
|
1
|
+
var e = { exports: {} };
|
|
8
2
|
export {
|
|
9
|
-
|
|
3
|
+
e as __module
|
|
10
4
|
};
|
package/dist/web/index.web217.js
CHANGED
|
@@ -1,13 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
import o from "./index.web218.js";
|
|
3
|
-
const s = async (t, r, e) => {
|
|
4
|
-
if (r instanceof Uint8Array) {
|
|
5
|
-
if (!t.startsWith("HS"))
|
|
6
|
-
throw new TypeError(o(r, "CryptoKey", "KeyObject", "JSON Web Key"));
|
|
7
|
-
return crypto.subtle.importKey("raw", r, { hash: `SHA-${t.slice(-3)}`, name: "HMAC" }, !1, [e]);
|
|
8
|
-
}
|
|
9
|
-
return i(r, t, e), r;
|
|
10
|
-
};
|
|
1
|
+
var r = { exports: {} };
|
|
11
2
|
export {
|
|
12
|
-
|
|
3
|
+
r as __module
|
|
13
4
|
};
|
package/dist/web/index.web218.js
CHANGED
|
@@ -1,15 +1,20 @@
|
|
|
1
|
-
function
|
|
2
|
-
if (
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
function o(t) {
|
|
2
|
+
if (Uint8Array.prototype.toBase64)
|
|
3
|
+
return t.toBase64();
|
|
4
|
+
const e = 32768, n = [];
|
|
5
|
+
for (let r = 0; r < t.length; r += e)
|
|
6
|
+
n.push(String.fromCharCode.apply(null, t.subarray(r, r + e)));
|
|
7
|
+
return btoa(n.join(""));
|
|
7
8
|
}
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
9
|
+
function a(t) {
|
|
10
|
+
if (Uint8Array.fromBase64)
|
|
11
|
+
return Uint8Array.fromBase64(t);
|
|
12
|
+
const e = atob(t), n = new Uint8Array(e.length);
|
|
13
|
+
for (let r = 0; r < e.length; r++)
|
|
14
|
+
n[r] = e.charCodeAt(r);
|
|
15
|
+
return n;
|
|
11
16
|
}
|
|
12
17
|
export {
|
|
13
|
-
|
|
14
|
-
|
|
18
|
+
a as decodeBase64,
|
|
19
|
+
o as encodeBase64
|
|
15
20
|
};
|
package/dist/web/index.web219.js
CHANGED
|
@@ -1,12 +1,30 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
}
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
import { JOSENotSupported as r } from "./index.web106.js";
|
|
2
|
+
const S = (e, s) => {
|
|
3
|
+
const a = `SHA-${e.slice(-3)}`;
|
|
4
|
+
switch (e) {
|
|
5
|
+
case "HS256":
|
|
6
|
+
case "HS384":
|
|
7
|
+
case "HS512":
|
|
8
|
+
return { hash: a, name: "HMAC" };
|
|
9
|
+
case "PS256":
|
|
10
|
+
case "PS384":
|
|
11
|
+
case "PS512":
|
|
12
|
+
return { hash: a, name: "RSA-PSS", saltLength: parseInt(e.slice(-3), 10) >> 3 };
|
|
13
|
+
case "RS256":
|
|
14
|
+
case "RS384":
|
|
15
|
+
case "RS512":
|
|
16
|
+
return { hash: a, name: "RSASSA-PKCS1-v1_5" };
|
|
17
|
+
case "ES256":
|
|
18
|
+
case "ES384":
|
|
19
|
+
case "ES512":
|
|
20
|
+
return { hash: a, name: "ECDSA", namedCurve: s.namedCurve };
|
|
21
|
+
case "Ed25519":
|
|
22
|
+
case "EdDSA":
|
|
23
|
+
return { name: "Ed25519" };
|
|
24
|
+
default:
|
|
25
|
+
throw new r(`alg ${e} is not supported either by JOSE or your javascript runtime`);
|
|
26
|
+
}
|
|
27
|
+
};
|
|
8
28
|
export {
|
|
9
|
-
|
|
10
|
-
e as isCryptoKey,
|
|
11
|
-
r as isKeyObject
|
|
29
|
+
S as default
|
|
12
30
|
};
|
package/dist/web/index.web220.js
CHANGED
|
@@ -1,19 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
}
|
|
8
|
-
function e(t) {
|
|
9
|
-
return t.kty !== "oct" && typeof t.d > "u";
|
|
10
|
-
}
|
|
11
|
-
function c(t) {
|
|
12
|
-
return t.kty === "oct" && typeof t.k == "string";
|
|
13
|
-
}
|
|
1
|
+
const o = (t, r) => {
|
|
2
|
+
if (t.startsWith("RS") || t.startsWith("PS")) {
|
|
3
|
+
const { modulusLength: e } = r.algorithm;
|
|
4
|
+
if (typeof e != "number" || e < 2048)
|
|
5
|
+
throw new TypeError(`${t} requires key modulusLength to be 2048 bits or larger`);
|
|
6
|
+
}
|
|
7
|
+
};
|
|
14
8
|
export {
|
|
15
|
-
|
|
16
|
-
o as isPrivateJWK,
|
|
17
|
-
e as isPublicJWK,
|
|
18
|
-
c as isSecretJWK
|
|
9
|
+
o as default
|
|
19
10
|
};
|
package/dist/web/index.web221.js
CHANGED
|
@@ -1,83 +1,13 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
case "PS384":
|
|
9
|
-
case "PS512":
|
|
10
|
-
a = { name: "RSA-PSS", hash: `SHA-${e.alg.slice(-3)}` }, r = e.d ? ["sign"] : ["verify"];
|
|
11
|
-
break;
|
|
12
|
-
case "RS256":
|
|
13
|
-
case "RS384":
|
|
14
|
-
case "RS512":
|
|
15
|
-
a = { name: "RSASSA-PKCS1-v1_5", hash: `SHA-${e.alg.slice(-3)}` }, r = e.d ? ["sign"] : ["verify"];
|
|
16
|
-
break;
|
|
17
|
-
case "RSA-OAEP":
|
|
18
|
-
case "RSA-OAEP-256":
|
|
19
|
-
case "RSA-OAEP-384":
|
|
20
|
-
case "RSA-OAEP-512":
|
|
21
|
-
a = {
|
|
22
|
-
name: "RSA-OAEP",
|
|
23
|
-
hash: `SHA-${parseInt(e.alg.slice(-3), 10) || 1}`
|
|
24
|
-
}, r = e.d ? ["decrypt", "unwrapKey"] : ["encrypt", "wrapKey"];
|
|
25
|
-
break;
|
|
26
|
-
default:
|
|
27
|
-
throw new s('Invalid or unsupported JWK "alg" (Algorithm) Parameter value');
|
|
28
|
-
}
|
|
29
|
-
break;
|
|
30
|
-
}
|
|
31
|
-
case "EC": {
|
|
32
|
-
switch (e.alg) {
|
|
33
|
-
case "ES256":
|
|
34
|
-
a = { name: "ECDSA", namedCurve: "P-256" }, r = e.d ? ["sign"] : ["verify"];
|
|
35
|
-
break;
|
|
36
|
-
case "ES384":
|
|
37
|
-
a = { name: "ECDSA", namedCurve: "P-384" }, r = e.d ? ["sign"] : ["verify"];
|
|
38
|
-
break;
|
|
39
|
-
case "ES512":
|
|
40
|
-
a = { name: "ECDSA", namedCurve: "P-521" }, r = e.d ? ["sign"] : ["verify"];
|
|
41
|
-
break;
|
|
42
|
-
case "ECDH-ES":
|
|
43
|
-
case "ECDH-ES+A128KW":
|
|
44
|
-
case "ECDH-ES+A192KW":
|
|
45
|
-
case "ECDH-ES+A256KW":
|
|
46
|
-
a = { name: "ECDH", namedCurve: e.crv }, r = e.d ? ["deriveBits"] : [];
|
|
47
|
-
break;
|
|
48
|
-
default:
|
|
49
|
-
throw new s('Invalid or unsupported JWK "alg" (Algorithm) Parameter value');
|
|
50
|
-
}
|
|
51
|
-
break;
|
|
52
|
-
}
|
|
53
|
-
case "OKP": {
|
|
54
|
-
switch (e.alg) {
|
|
55
|
-
case "Ed25519":
|
|
56
|
-
case "EdDSA":
|
|
57
|
-
a = { name: "Ed25519" }, r = e.d ? ["sign"] : ["verify"];
|
|
58
|
-
break;
|
|
59
|
-
case "ECDH-ES":
|
|
60
|
-
case "ECDH-ES+A128KW":
|
|
61
|
-
case "ECDH-ES+A192KW":
|
|
62
|
-
case "ECDH-ES+A256KW":
|
|
63
|
-
a = { name: e.crv }, r = e.d ? ["deriveBits"] : [];
|
|
64
|
-
break;
|
|
65
|
-
default:
|
|
66
|
-
throw new s('Invalid or unsupported JWK "alg" (Algorithm) Parameter value');
|
|
67
|
-
}
|
|
68
|
-
break;
|
|
69
|
-
}
|
|
70
|
-
default:
|
|
71
|
-
throw new s('Invalid or unsupported JWK "kty" (Key Type) Parameter value');
|
|
1
|
+
import { checkSigCryptoKey as i } from "./index.web228.js";
|
|
2
|
+
import o from "./index.web222.js";
|
|
3
|
+
const s = async (t, r, e) => {
|
|
4
|
+
if (r instanceof Uint8Array) {
|
|
5
|
+
if (!t.startsWith("HS"))
|
|
6
|
+
throw new TypeError(o(r, "CryptoKey", "KeyObject", "JSON Web Key"));
|
|
7
|
+
return crypto.subtle.importKey("raw", r, { hash: `SHA-${t.slice(-3)}`, name: "HMAC" }, !1, [e]);
|
|
72
8
|
}
|
|
73
|
-
return
|
|
74
|
-
}
|
|
75
|
-
const i = async (e) => {
|
|
76
|
-
if (!e.alg)
|
|
77
|
-
throw new TypeError('"alg" argument is required when "jwk.alg" is not present');
|
|
78
|
-
const { algorithm: a, keyUsages: r } = n(e), t = { ...e };
|
|
79
|
-
return delete t.alg, delete t.use, crypto.subtle.importKey("jwk", t, a, e.ext ?? !e.d, e.key_ops ?? r);
|
|
9
|
+
return i(r, t, e), r;
|
|
80
10
|
};
|
|
81
11
|
export {
|
|
82
|
-
|
|
12
|
+
s as default
|
|
83
13
|
};
|
package/dist/web/index.web222.js
CHANGED
|
@@ -1,6 +1,15 @@
|
|
|
1
|
-
function e
|
|
2
|
-
|
|
1
|
+
function i(n, e, ...o) {
|
|
2
|
+
if (o = o.filter(Boolean), o.length > 2) {
|
|
3
|
+
const f = o.pop();
|
|
4
|
+
n += `one of type ${o.join(", ")}, or ${f}.`;
|
|
5
|
+
} else o.length === 2 ? n += `one of type ${o[0]} or ${o[1]}.` : n += `of type ${o[0]}.`;
|
|
6
|
+
return e == null ? n += ` Received ${e}` : typeof e == "function" && e.name ? n += ` Received function ${e.name}` : typeof e == "object" && e != null && e.constructor?.name && (n += ` Received an instance of ${e.constructor.name}`), n;
|
|
7
|
+
}
|
|
8
|
+
const r = (n, ...e) => i("Key must be ", n, ...e);
|
|
9
|
+
function t(n, e, ...o) {
|
|
10
|
+
return i(`Key for the ${n} algorithm must be `, e, ...o);
|
|
3
11
|
}
|
|
4
12
|
export {
|
|
5
|
-
|
|
13
|
+
r as default,
|
|
14
|
+
t as withAlg
|
|
6
15
|
};
|
package/dist/web/index.web223.js
CHANGED
|
@@ -1,4 +1,12 @@
|
|
|
1
|
-
|
|
1
|
+
function e(t) {
|
|
2
|
+
return t?.[Symbol.toStringTag] === "CryptoKey";
|
|
3
|
+
}
|
|
4
|
+
function r(t) {
|
|
5
|
+
return t?.[Symbol.toStringTag] === "KeyObject";
|
|
6
|
+
}
|
|
7
|
+
const n = (t) => e(t) || r(t);
|
|
2
8
|
export {
|
|
3
|
-
|
|
9
|
+
n as default,
|
|
10
|
+
e as isCryptoKey,
|
|
11
|
+
r as isKeyObject
|
|
4
12
|
};
|
package/dist/web/index.web224.js
CHANGED
|
@@ -1,4 +1,19 @@
|
|
|
1
|
-
|
|
1
|
+
import n from "./index.web124.js";
|
|
2
|
+
function r(t) {
|
|
3
|
+
return n(t) && typeof t.kty == "string";
|
|
4
|
+
}
|
|
5
|
+
function o(t) {
|
|
6
|
+
return t.kty !== "oct" && typeof t.d == "string";
|
|
7
|
+
}
|
|
8
|
+
function e(t) {
|
|
9
|
+
return t.kty !== "oct" && typeof t.d > "u";
|
|
10
|
+
}
|
|
11
|
+
function c(t) {
|
|
12
|
+
return t.kty === "oct" && typeof t.k == "string";
|
|
13
|
+
}
|
|
2
14
|
export {
|
|
3
|
-
r as
|
|
15
|
+
r as isJWK,
|
|
16
|
+
o as isPrivateJWK,
|
|
17
|
+
e as isPublicJWK,
|
|
18
|
+
c as isSecretJWK
|
|
4
19
|
};
|
package/dist/web/index.web225.js
CHANGED
|
@@ -1,4 +1,83 @@
|
|
|
1
|
-
|
|
1
|
+
import { JOSENotSupported as s } from "./index.web106.js";
|
|
2
|
+
function n(e) {
|
|
3
|
+
let a, r;
|
|
4
|
+
switch (e.kty) {
|
|
5
|
+
case "RSA": {
|
|
6
|
+
switch (e.alg) {
|
|
7
|
+
case "PS256":
|
|
8
|
+
case "PS384":
|
|
9
|
+
case "PS512":
|
|
10
|
+
a = { name: "RSA-PSS", hash: `SHA-${e.alg.slice(-3)}` }, r = e.d ? ["sign"] : ["verify"];
|
|
11
|
+
break;
|
|
12
|
+
case "RS256":
|
|
13
|
+
case "RS384":
|
|
14
|
+
case "RS512":
|
|
15
|
+
a = { name: "RSASSA-PKCS1-v1_5", hash: `SHA-${e.alg.slice(-3)}` }, r = e.d ? ["sign"] : ["verify"];
|
|
16
|
+
break;
|
|
17
|
+
case "RSA-OAEP":
|
|
18
|
+
case "RSA-OAEP-256":
|
|
19
|
+
case "RSA-OAEP-384":
|
|
20
|
+
case "RSA-OAEP-512":
|
|
21
|
+
a = {
|
|
22
|
+
name: "RSA-OAEP",
|
|
23
|
+
hash: `SHA-${parseInt(e.alg.slice(-3), 10) || 1}`
|
|
24
|
+
}, r = e.d ? ["decrypt", "unwrapKey"] : ["encrypt", "wrapKey"];
|
|
25
|
+
break;
|
|
26
|
+
default:
|
|
27
|
+
throw new s('Invalid or unsupported JWK "alg" (Algorithm) Parameter value');
|
|
28
|
+
}
|
|
29
|
+
break;
|
|
30
|
+
}
|
|
31
|
+
case "EC": {
|
|
32
|
+
switch (e.alg) {
|
|
33
|
+
case "ES256":
|
|
34
|
+
a = { name: "ECDSA", namedCurve: "P-256" }, r = e.d ? ["sign"] : ["verify"];
|
|
35
|
+
break;
|
|
36
|
+
case "ES384":
|
|
37
|
+
a = { name: "ECDSA", namedCurve: "P-384" }, r = e.d ? ["sign"] : ["verify"];
|
|
38
|
+
break;
|
|
39
|
+
case "ES512":
|
|
40
|
+
a = { name: "ECDSA", namedCurve: "P-521" }, r = e.d ? ["sign"] : ["verify"];
|
|
41
|
+
break;
|
|
42
|
+
case "ECDH-ES":
|
|
43
|
+
case "ECDH-ES+A128KW":
|
|
44
|
+
case "ECDH-ES+A192KW":
|
|
45
|
+
case "ECDH-ES+A256KW":
|
|
46
|
+
a = { name: "ECDH", namedCurve: e.crv }, r = e.d ? ["deriveBits"] : [];
|
|
47
|
+
break;
|
|
48
|
+
default:
|
|
49
|
+
throw new s('Invalid or unsupported JWK "alg" (Algorithm) Parameter value');
|
|
50
|
+
}
|
|
51
|
+
break;
|
|
52
|
+
}
|
|
53
|
+
case "OKP": {
|
|
54
|
+
switch (e.alg) {
|
|
55
|
+
case "Ed25519":
|
|
56
|
+
case "EdDSA":
|
|
57
|
+
a = { name: "Ed25519" }, r = e.d ? ["sign"] : ["verify"];
|
|
58
|
+
break;
|
|
59
|
+
case "ECDH-ES":
|
|
60
|
+
case "ECDH-ES+A128KW":
|
|
61
|
+
case "ECDH-ES+A192KW":
|
|
62
|
+
case "ECDH-ES+A256KW":
|
|
63
|
+
a = { name: e.crv }, r = e.d ? ["deriveBits"] : [];
|
|
64
|
+
break;
|
|
65
|
+
default:
|
|
66
|
+
throw new s('Invalid or unsupported JWK "alg" (Algorithm) Parameter value');
|
|
67
|
+
}
|
|
68
|
+
break;
|
|
69
|
+
}
|
|
70
|
+
default:
|
|
71
|
+
throw new s('Invalid or unsupported JWK "kty" (Key Type) Parameter value');
|
|
72
|
+
}
|
|
73
|
+
return { algorithm: a, keyUsages: r };
|
|
74
|
+
}
|
|
75
|
+
const i = async (e) => {
|
|
76
|
+
if (!e.alg)
|
|
77
|
+
throw new TypeError('"alg" argument is required when "jwk.alg" is not present');
|
|
78
|
+
const { algorithm: a, keyUsages: r } = n(e), t = { ...e };
|
|
79
|
+
return delete t.alg, delete t.use, crypto.subtle.importKey("jwk", t, a, e.ext ?? !e.d, e.key_ops ?? r);
|
|
80
|
+
};
|
|
2
81
|
export {
|
|
3
|
-
|
|
82
|
+
i as default
|
|
4
83
|
};
|
package/dist/web/index.web226.js
CHANGED
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.web198.js";
|
|
2
2
|
r();
|
package/dist/web/index.web8.js
CHANGED
package/dist/web/index.web9.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { configureCdpApiClient as p, setAuthManager as m, getMfaConfig as h, APIError as f, getProjectConfig as I } from "@coinbase/cdp-api-client";
|
|
2
2
|
import { Analytics as a } from "./index.web2.js";
|
|
3
3
|
import "./index.web3.js";
|
|
4
|
-
import { createAuthManager as
|
|
5
|
-
import { OAuthManager as
|
|
6
|
-
import { MockAuthManager as
|
|
7
|
-
import { MockOAuthManager as
|
|
4
|
+
import { createAuthManager as k } from "./index.web95.js";
|
|
5
|
+
import { OAuthManager as A } from "./index.web96.js";
|
|
6
|
+
import { MockAuthManager as C } from "./index.web97.js";
|
|
7
|
+
import { MockOAuthManager as j } from "./index.web98.js";
|
|
8
8
|
import { getPlatformServices as M } from "./index.web4.js";
|
|
9
|
-
import { getConfig as r, setCoreAuthManager as d, setCoreOAuthManager as l, setMfaConfig as g, setProjectConfig as u, getCoreAuthManager as
|
|
9
|
+
import { getConfig as r, setCoreAuthManager as d, setCoreOAuthManager as l, setMfaConfig as g, setProjectConfig as u, getCoreAuthManager as S, setConfig as w } from "./index.web57.js";
|
|
10
10
|
import "viem";
|
|
11
|
-
const
|
|
11
|
+
const z = async (t) => {
|
|
12
12
|
if (!t.projectId)
|
|
13
13
|
throw new Error("Project ID is required");
|
|
14
14
|
t.disableAnalytics === void 0 || t.disableAnalytics === !1 ? (a.developerIdentifier = t.projectId, a.isUsingMocks = t.useMock === !0, a.isProduction = !t.basePath || t.basePath === "https://api.cdp.coinbase.com/platform") : a.enabled = !1;
|
|
@@ -18,8 +18,8 @@ const F = async (t) => {
|
|
|
18
18
|
} catch {
|
|
19
19
|
n = !0;
|
|
20
20
|
}
|
|
21
|
-
if (
|
|
22
|
-
d(new
|
|
21
|
+
if (w(t), r().useMock) {
|
|
22
|
+
d(new C(r().projectId)), l(new j()), g({
|
|
23
23
|
projectId: r().projectId,
|
|
24
24
|
enabled: !1,
|
|
25
25
|
totpConfig: { enabled: !1 },
|
|
@@ -53,20 +53,22 @@ const F = async (t) => {
|
|
|
53
53
|
}
|
|
54
54
|
);
|
|
55
55
|
} catch {
|
|
56
|
-
|
|
56
|
+
a.sendSessionRefreshEvent({
|
|
57
|
+
name: "refresh_token_storage_not_initialized"
|
|
58
|
+
}), s = void 0;
|
|
57
59
|
}
|
|
58
60
|
if (p({
|
|
59
61
|
debugging: r().debugging,
|
|
60
62
|
basePath: r().basePath,
|
|
61
63
|
refreshTokenStorage: s
|
|
62
64
|
}), n) {
|
|
63
|
-
const e = new
|
|
65
|
+
const e = new A();
|
|
64
66
|
l(e);
|
|
65
|
-
const o =
|
|
67
|
+
const o = k(r().projectId);
|
|
66
68
|
d(o), m(o);
|
|
67
69
|
}
|
|
68
70
|
const [, i, c] = await Promise.allSettled([
|
|
69
|
-
|
|
71
|
+
S().ensureInitialized(),
|
|
70
72
|
(async () => {
|
|
71
73
|
try {
|
|
72
74
|
return await h(t.projectId);
|
|
@@ -85,5 +87,5 @@ const F = async (t) => {
|
|
|
85
87
|
i.status === "fulfilled" && i.value && g(i.value), c.status === "fulfilled" && c.value && u(c.value);
|
|
86
88
|
};
|
|
87
89
|
export {
|
|
88
|
-
|
|
90
|
+
z as initialize
|
|
89
91
|
};
|
package/dist/web/index.web90.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.web118.js";
|
|
2
|
+
import { isAddress as a } from "./index.web119.js";
|
|
3
3
|
function r(n) {
|
|
4
4
|
if (typeof n == "string") {
|
|
5
5
|
if (!a(n, { strict: !1 }))
|
package/dist/web/index.web94.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { DisconnectedError as l, from as d } from "./index.web108.js";
|
|
2
2
|
import { validateRequest as h, EIP1193ProviderError as m, STANDARD_ERROR_CODES as _ } from "./index.web74.js";
|
|
3
|
-
import { createEOAHandlers as p } from "./index.
|
|
4
|
-
import { createSmartAccountHandlers as g } from "./index.
|
|
3
|
+
import { createEOAHandlers as p } from "./index.web112.js";
|
|
4
|
+
import { createSmartAccountHandlers as g } from "./index.web113.js";
|
|
5
5
|
import "viem";
|
|
6
6
|
import "zustand";
|
|
7
7
|
import "@coinbase/cdp-api-client";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const VERSION = "0.0.
|
|
1
|
+
export declare const VERSION = "0.0.91";
|