@embarkai/ui-kit 0.4.22 → 0.4.23
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/{auth-S7VX73GX.js → auth-75PGJ25Q.js} +3 -3
- package/dist/auth-YDKIV5SU.cjs +115 -0
- package/dist/{chunk-KLC3OOWX.cjs → chunk-4J6J5WEO.cjs} +154 -155
- package/dist/{chunk-IKKT5JDT.js → chunk-5KLYHQSL.js} +6 -6
- package/dist/{chunk-ISXWRCDC.js → chunk-CDHKIIRE.js} +8 -7
- package/dist/{chunk-7H5TZZQT.cjs → chunk-DBAXDALG.cjs} +8 -7
- package/dist/{chunk-Q7PR2UUH.js → chunk-LHRG7QCD.js} +41 -42
- package/dist/{chunk-FVUBVOOZ.cjs → chunk-P5JBS26B.cjs} +26 -26
- package/dist/clients-NZRHWBNN.cjs +78 -0
- package/dist/{clients-EQIRT5QY.js → clients-XL2Y6ST7.js} +4 -4
- package/dist/{hyperbridge-5ORI5ZDZ.cjs → hyperbridge-2S7QQE7L.cjs} +107 -109
- package/dist/{hyperbridge-OU2MDJ5Q.js → hyperbridge-KD6K6KYY.js} +4 -6
- package/dist/iframe/index.html +1 -1
- package/dist/iframe/main.js +24 -24
- package/dist/{iframe-manager-GCUMMQVH.js → iframe-manager-2RG25J3I.js} +2 -2
- package/dist/iframe-manager-NAFIVNPX.cjs +14 -0
- package/dist/index.cjs +4 -4
- package/dist/index.js +3 -3
- package/dist/{passkey-UQ4D7IBC.js → passkey-4AX4LP2S.js} +3 -3
- package/dist/passkey-GGPDRR6S.cjs +13 -0
- package/dist/passkey-PCR33BXP.cjs +19 -0
- package/dist/{passkey-QGOQHMP2.js → passkey-QX3M5WS4.js} +3 -3
- package/dist/profile-26M4OCDU.cjs +14 -0
- package/dist/{profile-MN3MGEEE.js → profile-LDJ2UQYE.js} +4 -4
- package/dist/vaultClient-2ILQST2J.cjs +50 -0
- package/dist/{vaultClient-RB5J5M5Z.js → vaultClient-X4HI7D3B.js} +4 -4
- package/package.json +4 -5
- package/dist/auth-JTFILPX3.cjs +0 -115
- package/dist/clients-JG222VOC.cjs +0 -78
- package/dist/iframe-manager-KOR4O7PU.cjs +0 -14
- package/dist/passkey-NE5N2Q2W.cjs +0 -13
- package/dist/passkey-PFNFI7AP.cjs +0 -19
- package/dist/profile-OCWTUVLR.cjs +0 -14
- package/dist/vaultClient-2DRJXCTL.cjs +0 -50
|
@@ -14,9 +14,9 @@ import {
|
|
|
14
14
|
useFlowSelectorStore,
|
|
15
15
|
useSession,
|
|
16
16
|
useT
|
|
17
|
-
} from "./chunk-
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
17
|
+
} from "./chunk-LHRG7QCD.js";
|
|
18
|
+
import "./chunk-5KLYHQSL.js";
|
|
19
|
+
import "./chunk-CDHKIIRE.js";
|
|
20
20
|
import "./chunk-DBFKMKYT.js";
|
|
21
21
|
|
|
22
22
|
// src/internal/components/SendMenu/hyperbridge/HyperlaneBridge.tsx
|
|
@@ -266,12 +266,10 @@ async function executeWarpTransactions(txs) {
|
|
|
266
266
|
}
|
|
267
267
|
|
|
268
268
|
// src/internal/components/SendMenu/hyperbridge/hooks/useWarpCore.ts
|
|
269
|
-
import { Buffer } from "buffer";
|
|
270
269
|
import { toPairs as toPairs2 } from "lodash-es";
|
|
271
270
|
import { useEffect } from "react";
|
|
272
271
|
var BRIDGE_CHAINS_LIST2 = toPairs2(CHAINS_META).map(([chainName]) => chainName);
|
|
273
272
|
var DEFAULT_WARP_ROUTE_ID = "USDT/ethereum-lumiaprism";
|
|
274
|
-
globalThis.Buffer = Buffer;
|
|
275
273
|
function useWarpCore() {
|
|
276
274
|
useEffect(() => {
|
|
277
275
|
const existingWarpCore = useBridgeStore.getState().warpCore;
|
|
@@ -929,4 +927,4 @@ export {
|
|
|
929
927
|
hyperbridge_default as default,
|
|
930
928
|
useBridgeStore
|
|
931
929
|
};
|
|
932
|
-
//# sourceMappingURL=hyperbridge-
|
|
930
|
+
//# sourceMappingURL=hyperbridge-KD6K6KYY.js.map
|
package/dist/iframe/index.html
CHANGED
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
<meta http-equiv="X-Content-Type-Options" content="nosniff" />
|
|
16
16
|
<meta http-equiv="Referrer-Policy" content="strict-origin-when-cross-origin" />
|
|
17
17
|
|
|
18
|
-
<title>EmbarkAI Secure Wallet - iframe version 0.4.
|
|
18
|
+
<title>EmbarkAI Secure Wallet - iframe version 0.4.23</title>
|
|
19
19
|
|
|
20
20
|
<!-- Styles will be injected by build process -->
|
|
21
21
|
<style>
|
package/dist/iframe/main.js
CHANGED
|
@@ -578,7 +578,7 @@ var init_server_backup = __esm({
|
|
|
578
578
|
}
|
|
579
579
|
});
|
|
580
580
|
|
|
581
|
-
// ../../node_modules/.pnpm/viem@2.38.0_bufferutil@4.0.9_typescript@5.9.3_utf-8-validate@
|
|
581
|
+
// ../../node_modules/.pnpm/viem@2.38.0_bufferutil@4.0.9_typescript@5.9.3_utf-8-validate@6.0.6_zod@3.25.76/node_modules/viem/_esm/utils/data/isHex.js
|
|
582
582
|
function isHex(value, { strict = true } = {}) {
|
|
583
583
|
if (!value)
|
|
584
584
|
return false;
|
|
@@ -587,31 +587,31 @@ function isHex(value, { strict = true } = {}) {
|
|
|
587
587
|
return strict ? /^0x[0-9a-fA-F]*$/.test(value) : value.startsWith("0x");
|
|
588
588
|
}
|
|
589
589
|
var init_isHex = __esm({
|
|
590
|
-
"../../node_modules/.pnpm/viem@2.38.0_bufferutil@4.0.9_typescript@5.9.3_utf-8-validate@
|
|
590
|
+
"../../node_modules/.pnpm/viem@2.38.0_bufferutil@4.0.9_typescript@5.9.3_utf-8-validate@6.0.6_zod@3.25.76/node_modules/viem/_esm/utils/data/isHex.js"() {
|
|
591
591
|
}
|
|
592
592
|
});
|
|
593
593
|
|
|
594
|
-
// ../../node_modules/.pnpm/viem@2.38.0_bufferutil@4.0.9_typescript@5.9.3_utf-8-validate@
|
|
594
|
+
// ../../node_modules/.pnpm/viem@2.38.0_bufferutil@4.0.9_typescript@5.9.3_utf-8-validate@6.0.6_zod@3.25.76/node_modules/viem/_esm/utils/data/size.js
|
|
595
595
|
function size(value) {
|
|
596
596
|
if (isHex(value, { strict: false }))
|
|
597
597
|
return Math.ceil((value.length - 2) / 2);
|
|
598
598
|
return value.length;
|
|
599
599
|
}
|
|
600
600
|
var init_size = __esm({
|
|
601
|
-
"../../node_modules/.pnpm/viem@2.38.0_bufferutil@4.0.9_typescript@5.9.3_utf-8-validate@
|
|
601
|
+
"../../node_modules/.pnpm/viem@2.38.0_bufferutil@4.0.9_typescript@5.9.3_utf-8-validate@6.0.6_zod@3.25.76/node_modules/viem/_esm/utils/data/size.js"() {
|
|
602
602
|
init_isHex();
|
|
603
603
|
}
|
|
604
604
|
});
|
|
605
605
|
|
|
606
|
-
// ../../node_modules/.pnpm/viem@2.38.0_bufferutil@4.0.9_typescript@5.9.3_utf-8-validate@
|
|
606
|
+
// ../../node_modules/.pnpm/viem@2.38.0_bufferutil@4.0.9_typescript@5.9.3_utf-8-validate@6.0.6_zod@3.25.76/node_modules/viem/_esm/errors/version.js
|
|
607
607
|
var version;
|
|
608
608
|
var init_version = __esm({
|
|
609
|
-
"../../node_modules/.pnpm/viem@2.38.0_bufferutil@4.0.9_typescript@5.9.3_utf-8-validate@
|
|
609
|
+
"../../node_modules/.pnpm/viem@2.38.0_bufferutil@4.0.9_typescript@5.9.3_utf-8-validate@6.0.6_zod@3.25.76/node_modules/viem/_esm/errors/version.js"() {
|
|
610
610
|
version = "2.38.0";
|
|
611
611
|
}
|
|
612
612
|
});
|
|
613
613
|
|
|
614
|
-
// ../../node_modules/.pnpm/viem@2.38.0_bufferutil@4.0.9_typescript@5.9.3_utf-8-validate@
|
|
614
|
+
// ../../node_modules/.pnpm/viem@2.38.0_bufferutil@4.0.9_typescript@5.9.3_utf-8-validate@6.0.6_zod@3.25.76/node_modules/viem/_esm/errors/base.js
|
|
615
615
|
function walk(err, fn) {
|
|
616
616
|
if (fn?.(err))
|
|
617
617
|
return err;
|
|
@@ -621,7 +621,7 @@ function walk(err, fn) {
|
|
|
621
621
|
}
|
|
622
622
|
var errorConfig, BaseError;
|
|
623
623
|
var init_base = __esm({
|
|
624
|
-
"../../node_modules/.pnpm/viem@2.38.0_bufferutil@4.0.9_typescript@5.9.3_utf-8-validate@
|
|
624
|
+
"../../node_modules/.pnpm/viem@2.38.0_bufferutil@4.0.9_typescript@5.9.3_utf-8-validate@6.0.6_zod@3.25.76/node_modules/viem/_esm/errors/base.js"() {
|
|
625
625
|
init_version();
|
|
626
626
|
errorConfig = {
|
|
627
627
|
getDocsUrl: ({ docsBaseUrl, docsPath = "", docsSlug }) => docsPath ? `${docsBaseUrl ?? "https://viem.sh"}${docsPath}${docsSlug ? `#${docsSlug}` : ""}` : void 0,
|
|
@@ -701,10 +701,10 @@ var init_base = __esm({
|
|
|
701
701
|
}
|
|
702
702
|
});
|
|
703
703
|
|
|
704
|
-
// ../../node_modules/.pnpm/viem@2.38.0_bufferutil@4.0.9_typescript@5.9.3_utf-8-validate@
|
|
704
|
+
// ../../node_modules/.pnpm/viem@2.38.0_bufferutil@4.0.9_typescript@5.9.3_utf-8-validate@6.0.6_zod@3.25.76/node_modules/viem/_esm/errors/data.js
|
|
705
705
|
var SizeExceedsPaddingSizeError;
|
|
706
706
|
var init_data = __esm({
|
|
707
|
-
"../../node_modules/.pnpm/viem@2.38.0_bufferutil@4.0.9_typescript@5.9.3_utf-8-validate@
|
|
707
|
+
"../../node_modules/.pnpm/viem@2.38.0_bufferutil@4.0.9_typescript@5.9.3_utf-8-validate@6.0.6_zod@3.25.76/node_modules/viem/_esm/errors/data.js"() {
|
|
708
708
|
init_base();
|
|
709
709
|
SizeExceedsPaddingSizeError = class extends BaseError {
|
|
710
710
|
constructor({ size: size2, targetSize, type }) {
|
|
@@ -714,7 +714,7 @@ var init_data = __esm({
|
|
|
714
714
|
}
|
|
715
715
|
});
|
|
716
716
|
|
|
717
|
-
// ../../node_modules/.pnpm/viem@2.38.0_bufferutil@4.0.9_typescript@5.9.3_utf-8-validate@
|
|
717
|
+
// ../../node_modules/.pnpm/viem@2.38.0_bufferutil@4.0.9_typescript@5.9.3_utf-8-validate@6.0.6_zod@3.25.76/node_modules/viem/_esm/utils/data/pad.js
|
|
718
718
|
function pad(hexOrBytes, { dir, size: size2 = 32 } = {}) {
|
|
719
719
|
if (typeof hexOrBytes === "string")
|
|
720
720
|
return padHex(hexOrBytes, { dir, size: size2 });
|
|
@@ -749,15 +749,15 @@ function padBytes(bytes, { dir, size: size2 = 32 } = {}) {
|
|
|
749
749
|
return paddedBytes;
|
|
750
750
|
}
|
|
751
751
|
var init_pad = __esm({
|
|
752
|
-
"../../node_modules/.pnpm/viem@2.38.0_bufferutil@4.0.9_typescript@5.9.3_utf-8-validate@
|
|
752
|
+
"../../node_modules/.pnpm/viem@2.38.0_bufferutil@4.0.9_typescript@5.9.3_utf-8-validate@6.0.6_zod@3.25.76/node_modules/viem/_esm/utils/data/pad.js"() {
|
|
753
753
|
init_data();
|
|
754
754
|
}
|
|
755
755
|
});
|
|
756
756
|
|
|
757
|
-
// ../../node_modules/.pnpm/viem@2.38.0_bufferutil@4.0.9_typescript@5.9.3_utf-8-validate@
|
|
757
|
+
// ../../node_modules/.pnpm/viem@2.38.0_bufferutil@4.0.9_typescript@5.9.3_utf-8-validate@6.0.6_zod@3.25.76/node_modules/viem/_esm/errors/encoding.js
|
|
758
758
|
var IntegerOutOfRangeError, SizeOverflowError;
|
|
759
759
|
var init_encoding = __esm({
|
|
760
|
-
"../../node_modules/.pnpm/viem@2.38.0_bufferutil@4.0.9_typescript@5.9.3_utf-8-validate@
|
|
760
|
+
"../../node_modules/.pnpm/viem@2.38.0_bufferutil@4.0.9_typescript@5.9.3_utf-8-validate@6.0.6_zod@3.25.76/node_modules/viem/_esm/errors/encoding.js"() {
|
|
761
761
|
init_base();
|
|
762
762
|
IntegerOutOfRangeError = class extends BaseError {
|
|
763
763
|
constructor({ max, min, signed, size: size2, value }) {
|
|
@@ -772,7 +772,7 @@ var init_encoding = __esm({
|
|
|
772
772
|
}
|
|
773
773
|
});
|
|
774
774
|
|
|
775
|
-
// ../../node_modules/.pnpm/viem@2.38.0_bufferutil@4.0.9_typescript@5.9.3_utf-8-validate@
|
|
775
|
+
// ../../node_modules/.pnpm/viem@2.38.0_bufferutil@4.0.9_typescript@5.9.3_utf-8-validate@6.0.6_zod@3.25.76/node_modules/viem/_esm/utils/encoding/fromHex.js
|
|
776
776
|
function assertSize(hexOrBytes, { size: size2 }) {
|
|
777
777
|
if (size(hexOrBytes) > size2)
|
|
778
778
|
throw new SizeOverflowError({
|
|
@@ -781,13 +781,13 @@ function assertSize(hexOrBytes, { size: size2 }) {
|
|
|
781
781
|
});
|
|
782
782
|
}
|
|
783
783
|
var init_fromHex = __esm({
|
|
784
|
-
"../../node_modules/.pnpm/viem@2.38.0_bufferutil@4.0.9_typescript@5.9.3_utf-8-validate@
|
|
784
|
+
"../../node_modules/.pnpm/viem@2.38.0_bufferutil@4.0.9_typescript@5.9.3_utf-8-validate@6.0.6_zod@3.25.76/node_modules/viem/_esm/utils/encoding/fromHex.js"() {
|
|
785
785
|
init_encoding();
|
|
786
786
|
init_size();
|
|
787
787
|
}
|
|
788
788
|
});
|
|
789
789
|
|
|
790
|
-
// ../../node_modules/.pnpm/viem@2.38.0_bufferutil@4.0.9_typescript@5.9.3_utf-8-validate@
|
|
790
|
+
// ../../node_modules/.pnpm/viem@2.38.0_bufferutil@4.0.9_typescript@5.9.3_utf-8-validate@6.0.6_zod@3.25.76/node_modules/viem/_esm/utils/encoding/toHex.js
|
|
791
791
|
function toHex(value, opts = {}) {
|
|
792
792
|
if (typeof value === "number" || typeof value === "bigint")
|
|
793
793
|
return numberToHex(value, opts);
|
|
@@ -852,7 +852,7 @@ function stringToHex(value_, opts = {}) {
|
|
|
852
852
|
}
|
|
853
853
|
var hexes, encoder;
|
|
854
854
|
var init_toHex = __esm({
|
|
855
|
-
"../../node_modules/.pnpm/viem@2.38.0_bufferutil@4.0.9_typescript@5.9.3_utf-8-validate@
|
|
855
|
+
"../../node_modules/.pnpm/viem@2.38.0_bufferutil@4.0.9_typescript@5.9.3_utf-8-validate@6.0.6_zod@3.25.76/node_modules/viem/_esm/utils/encoding/toHex.js"() {
|
|
856
856
|
init_encoding();
|
|
857
857
|
init_pad();
|
|
858
858
|
init_fromHex();
|
|
@@ -861,7 +861,7 @@ var init_toHex = __esm({
|
|
|
861
861
|
}
|
|
862
862
|
});
|
|
863
863
|
|
|
864
|
-
// ../../node_modules/.pnpm/viem@2.38.0_bufferutil@4.0.9_typescript@5.9.3_utf-8-validate@
|
|
864
|
+
// ../../node_modules/.pnpm/viem@2.38.0_bufferutil@4.0.9_typescript@5.9.3_utf-8-validate@6.0.6_zod@3.25.76/node_modules/viem/_esm/utils/encoding/toBytes.js
|
|
865
865
|
function toBytes(value, opts = {}) {
|
|
866
866
|
if (typeof value === "number" || typeof value === "bigint")
|
|
867
867
|
return numberToBytes(value, opts);
|
|
@@ -924,7 +924,7 @@ function stringToBytes(value, opts = {}) {
|
|
|
924
924
|
}
|
|
925
925
|
var encoder2, charCodeMap;
|
|
926
926
|
var init_toBytes = __esm({
|
|
927
|
-
"../../node_modules/.pnpm/viem@2.38.0_bufferutil@4.0.9_typescript@5.9.3_utf-8-validate@
|
|
927
|
+
"../../node_modules/.pnpm/viem@2.38.0_bufferutil@4.0.9_typescript@5.9.3_utf-8-validate@6.0.6_zod@3.25.76/node_modules/viem/_esm/utils/encoding/toBytes.js"() {
|
|
928
928
|
init_base();
|
|
929
929
|
init_isHex();
|
|
930
930
|
init_pad();
|
|
@@ -1231,7 +1231,7 @@ var init_sha3 = __esm({
|
|
|
1231
1231
|
}
|
|
1232
1232
|
});
|
|
1233
1233
|
|
|
1234
|
-
// ../../node_modules/.pnpm/viem@2.38.0_bufferutil@4.0.9_typescript@5.9.3_utf-8-validate@
|
|
1234
|
+
// ../../node_modules/.pnpm/viem@2.38.0_bufferutil@4.0.9_typescript@5.9.3_utf-8-validate@6.0.6_zod@3.25.76/node_modules/viem/_esm/utils/hash/keccak256.js
|
|
1235
1235
|
function keccak256(value, to_) {
|
|
1236
1236
|
const to = to_ || "hex";
|
|
1237
1237
|
const bytes = keccak_256(isHex(value, { strict: false }) ? toBytes(value) : value);
|
|
@@ -1240,7 +1240,7 @@ function keccak256(value, to_) {
|
|
|
1240
1240
|
return toHex(bytes);
|
|
1241
1241
|
}
|
|
1242
1242
|
var init_keccak256 = __esm({
|
|
1243
|
-
"../../node_modules/.pnpm/viem@2.38.0_bufferutil@4.0.9_typescript@5.9.3_utf-8-validate@
|
|
1243
|
+
"../../node_modules/.pnpm/viem@2.38.0_bufferutil@4.0.9_typescript@5.9.3_utf-8-validate@6.0.6_zod@3.25.76/node_modules/viem/_esm/utils/hash/keccak256.js"() {
|
|
1244
1244
|
init_sha3();
|
|
1245
1245
|
init_isHex();
|
|
1246
1246
|
init_toBytes();
|
|
@@ -2886,7 +2886,7 @@ async function __wbg_init(module_or_path) {
|
|
|
2886
2886
|
}
|
|
2887
2887
|
var dkls23_wasm_default = __wbg_init;
|
|
2888
2888
|
|
|
2889
|
-
// ../../node_modules/.pnpm/viem@2.38.0_bufferutil@4.0.9_typescript@5.9.3_utf-8-validate@
|
|
2889
|
+
// ../../node_modules/.pnpm/viem@2.38.0_bufferutil@4.0.9_typescript@5.9.3_utf-8-validate@6.0.6_zod@3.25.76/node_modules/viem/_esm/index.js
|
|
2890
2890
|
init_keccak256();
|
|
2891
2891
|
|
|
2892
2892
|
// src/iframe/lib/dkg-manager.ts
|
|
@@ -6266,7 +6266,7 @@ var SigningManager = class extends TokenRefreshApiClient {
|
|
|
6266
6266
|
};
|
|
6267
6267
|
|
|
6268
6268
|
// src/iframe/main.ts
|
|
6269
|
-
var IFRAME_VERSION = "0.4.
|
|
6269
|
+
var IFRAME_VERSION = "0.4.23";
|
|
6270
6270
|
var IframeWallet = class {
|
|
6271
6271
|
constructor() {
|
|
6272
6272
|
console.log("=".repeat(60));
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
destroyIframeManager,
|
|
4
4
|
getIframeManager,
|
|
5
5
|
waitForIframe
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-CDHKIIRE.js";
|
|
7
7
|
import "./chunk-DBFKMKYT.js";
|
|
8
8
|
export {
|
|
9
9
|
IframeManager,
|
|
@@ -11,4 +11,4 @@ export {
|
|
|
11
11
|
getIframeManager,
|
|
12
12
|
waitForIframe
|
|
13
13
|
};
|
|
14
|
-
//# sourceMappingURL=iframe-manager-
|
|
14
|
+
//# sourceMappingURL=iframe-manager-2RG25J3I.js.map
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
var _chunkDBAXDALGcjs = require('./chunk-DBAXDALG.cjs');
|
|
7
|
+
require('./chunk-DACL62OU.cjs');
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
exports.IframeManager = _chunkDBAXDALGcjs.IframeManager; exports.destroyIframeManager = _chunkDBAXDALGcjs.destroyIframeManager; exports.getIframeManager = _chunkDBAXDALGcjs.getIframeManager; exports.waitForIframe = _chunkDBAXDALGcjs.waitForIframe;
|
|
14
|
+
//# sourceMappingURL=iframe-manager-NAFIVNPX.cjs.map
|
package/dist/index.cjs
CHANGED
|
@@ -72,12 +72,12 @@
|
|
|
72
72
|
|
|
73
73
|
|
|
74
74
|
|
|
75
|
-
var
|
|
75
|
+
var _chunk4J6J5WEOcjs = require('./chunk-4J6J5WEO.cjs');
|
|
76
76
|
|
|
77
77
|
|
|
78
78
|
|
|
79
79
|
|
|
80
|
-
var
|
|
80
|
+
var _chunkP5JBS26Bcjs = require('./chunk-P5JBS26B.cjs');
|
|
81
81
|
|
|
82
82
|
|
|
83
83
|
|
|
@@ -85,7 +85,7 @@ var _chunkFVUBVOOZcjs = require('./chunk-FVUBVOOZ.cjs');
|
|
|
85
85
|
|
|
86
86
|
|
|
87
87
|
|
|
88
|
-
var
|
|
88
|
+
var _chunkDBAXDALGcjs = require('./chunk-DBAXDALG.cjs');
|
|
89
89
|
require('./chunk-DACL62OU.cjs');
|
|
90
90
|
|
|
91
91
|
|
|
@@ -170,5 +170,5 @@ require('./chunk-DACL62OU.cjs');
|
|
|
170
170
|
|
|
171
171
|
|
|
172
172
|
|
|
173
|
-
exports.AccountAbstractionError =
|
|
173
|
+
exports.AccountAbstractionError = _chunkDBAXDALGcjs.AccountAbstractionError; exports.Address = _chunk4J6J5WEOcjs.Address; exports.ConnectWalletButton = _chunk4J6J5WEOcjs.ConnectWalletButton; exports.ErrorCodes = _chunkDBAXDALGcjs.ErrorCodes; exports.Hash = _chunk4J6J5WEOcjs.Hash; exports.KeyshareBackup = _chunk4J6J5WEOcjs.KeyshareBackupMenu; exports.LOCAL_STORAGE_I18N_KEY = _chunk4J6J5WEOcjs.LOCAL_STORAGE_I18N_KEY; exports.LangToggle = _chunk4J6J5WEOcjs.LangToggle; exports.PASSPORT_TRANSLATIONS = _chunk4J6J5WEOcjs.PASSPORT_TRANSLATIONS; exports.PageKey = _chunk4J6J5WEOcjs.PageKey; exports.Provider = _chunk4J6J5WEOcjs.Provider; exports.ThemeToggle = _chunk4J6J5WEOcjs.ThemeToggle; exports.TransactionsList = _chunk4J6J5WEOcjs.TransactionsList; exports.USER_PROFILE_QUERY_KEY = _chunk4J6J5WEOcjs.USER_PROFILE_QUERY_KEY; exports.UserOpStatus = _chunk4J6J5WEOcjs.UserOpStatus; exports.UserOperationTimeoutError = _chunk4J6J5WEOcjs.UserOperationTimeoutError; exports.UserRejectedError = _chunkDBAXDALGcjs.UserRejectedError; exports.combineI18NResources = _chunk4J6J5WEOcjs.combineI18NResources; exports.createAccountAbstractionError = _chunkDBAXDALGcjs.createAccountAbstractionError; exports.deployAccount = _chunk4J6J5WEOcjs.deployAccount; exports.destroyIframeManager = _chunkDBAXDALGcjs.destroyIframeManager; exports.generateFingerprint = _chunk4J6J5WEOcjs.generateFingerprint; exports.getAllSmartAccounts = _chunk4J6J5WEOcjs.getAllSmartAccounts; exports.getAvailableLanguages = _chunk4J6J5WEOcjs.getAvailableLanguages; exports.getExplorerUrl = _chunk4J6J5WEOcjs.getExplorerUrl; exports.getIframeManager = _chunkDBAXDALGcjs.getIframeManager; exports.getLanguageIcon = _chunk4J6J5WEOcjs.getLanguageIcon; exports.getShareRecoveryStats = _chunk4J6J5WEOcjs.getShareRecoveryStats; exports.getSmartAccountForChain = _chunk4J6J5WEOcjs.getSmartAccountForChain; exports.getUserOperationByHash = _chunk4J6J5WEOcjs.getUserOperationByHash; exports.getUserOperationReceipt = _chunk4J6J5WEOcjs.getUserOperationReceipt; exports.getUserProfile = _chunk4J6J5WEOcjs.getUserProfile; exports.getValidTokens = _chunkP5JBS26Bcjs.getValidTokens; exports.jwtTokenManager = _chunkP5JBS26Bcjs.jwtTokenManager; exports.logout = _chunkP5JBS26Bcjs.logout; exports.looksLikeNickname = _chunk4J6J5WEOcjs.looksLikeNickname; exports.prepareBatchUserOperation = _chunk4J6J5WEOcjs.prepareBatchUserOperation; exports.prepareUserOperation = _chunk4J6J5WEOcjs.prepareUserOperation; exports.requireActiveChainId = _chunk4J6J5WEOcjs.requireActiveChainId; exports.sendBatchUserOperation = _chunk4J6J5WEOcjs.sendBatchUserOperation; exports.sendUserOperation = _chunk4J6J5WEOcjs.sendUserOperation; exports.signTypedData = _chunk4J6J5WEOcjs.signTypedData; exports.updateUserProfile = _chunk4J6J5WEOcjs.updateUserProfile; exports.useAccountSession = _chunk4J6J5WEOcjs.useAccountSession; exports.useActiveChainId = _chunk4J6J5WEOcjs.useActiveChainId; exports.useAddress = _chunk4J6J5WEOcjs.useAddress; exports.useAssets = _chunk4J6J5WEOcjs.useAssets; exports.useBalance = _chunk4J6J5WEOcjs.useBalance; exports.useBlockscoutAssets = _chunk4J6J5WEOcjs.useBlockscoutAssets; exports.useColorMode = _chunk4J6J5WEOcjs.useColorMode; exports.useConnectedApps = _chunk4J6J5WEOcjs.useConnectedApps; exports.useDirectWallet = _chunk4J6J5WEOcjs.useDirectWallet; exports.useErc3643Compliance = _chunk4J6J5WEOcjs.useErc3643Compliance; exports.useError = _chunk4J6J5WEOcjs.useError; exports.useHasServerVault = _chunk4J6J5WEOcjs.useHasServerVault; exports.useHydrated = _chunk4J6J5WEOcjs.useHydrated; exports.useIFrameReady = _chunk4J6J5WEOcjs.useIFrameReady; exports.useIsMobileView = _chunk4J6J5WEOcjs.useIsMobileView; exports.useKeyshareRecoveryStats = _chunk4J6J5WEOcjs.useKeyshareRecoveryStats; exports.useLinkedProfiles = _chunk4J6J5WEOcjs.useLinkedProfiles; exports.useLoadingStatus = _chunk4J6J5WEOcjs.useLoadingStatus; exports.useLogout = _chunk4J6J5WEOcjs.useLogout; exports.useNativeWalletSignature = _chunk4J6J5WEOcjs.useNativeWalletSignature; exports.useNicknameResolve = _chunk4J6J5WEOcjs.useNicknameResolve; exports.useOpenPage = _chunk4J6J5WEOcjs.useOpenPage; exports.useProviderConfig = _chunk4J6J5WEOcjs.useProviderConfig; exports.useRecoveryUserId = _chunk4J6J5WEOcjs.useRecoveryUserId; exports.useSendDirectTransaction = _chunk4J6J5WEOcjs.useSendDirectTransaction; exports.useSendTransaction = _chunk4J6J5WEOcjs.useSendTransaction; exports.useSession = _chunk4J6J5WEOcjs.useSession; exports.useSmartAccountTransactions = _chunk4J6J5WEOcjs.useSmartAccountTransactions; exports.useTokenBalance = _chunk4J6J5WEOcjs.useTokenBalance; exports.useTokenInfo = _chunk4J6J5WEOcjs.useTokenInfo; exports.useTransactions = _chunk4J6J5WEOcjs.useTransactions; exports.useTransferToLinkedWallet = _chunk4J6J5WEOcjs.useTransferToLinkedWallet; exports.useUserOpStatus = _chunk4J6J5WEOcjs.useUserOpStatus; exports.useWalletMode = _chunk4J6J5WEOcjs.useWalletMode; exports.verifyFingerprint = _chunk4J6J5WEOcjs.verifyFingerprint; exports.verifyFingerprintDetailed = _chunk4J6J5WEOcjs.verifyFingerprintDetailed; exports.wagmiConfig = _chunk4J6J5WEOcjs.wagmiConfig; exports.waitForStoreHydration = _chunk4J6J5WEOcjs.waitForStoreHydration; exports.waitForUserOperationReceipt = _chunk4J6J5WEOcjs.waitForUserOperationReceipt;
|
|
174
174
|
//# sourceMappingURL=index.cjs.map
|
package/dist/index.js
CHANGED
|
@@ -72,12 +72,12 @@ import {
|
|
|
72
72
|
wagmiConfig,
|
|
73
73
|
waitForStoreHydration,
|
|
74
74
|
waitForUserOperationReceipt
|
|
75
|
-
} from "./chunk-
|
|
75
|
+
} from "./chunk-LHRG7QCD.js";
|
|
76
76
|
import {
|
|
77
77
|
getValidTokens,
|
|
78
78
|
jwtTokenManager,
|
|
79
79
|
logout
|
|
80
|
-
} from "./chunk-
|
|
80
|
+
} from "./chunk-5KLYHQSL.js";
|
|
81
81
|
import {
|
|
82
82
|
AccountAbstractionError,
|
|
83
83
|
ErrorCodes,
|
|
@@ -85,7 +85,7 @@ import {
|
|
|
85
85
|
createAccountAbstractionError,
|
|
86
86
|
destroyIframeManager,
|
|
87
87
|
getIframeManager
|
|
88
|
-
} from "./chunk-
|
|
88
|
+
} from "./chunk-CDHKIIRE.js";
|
|
89
89
|
import "./chunk-DBFKMKYT.js";
|
|
90
90
|
export {
|
|
91
91
|
AccountAbstractionError,
|
|
@@ -2,12 +2,12 @@ import {
|
|
|
2
2
|
beginPasskeyLinking,
|
|
3
3
|
completePasskeyLinking,
|
|
4
4
|
linkPasskeyWithWebAuthn
|
|
5
|
-
} from "./chunk-
|
|
6
|
-
import "./chunk-
|
|
5
|
+
} from "./chunk-5KLYHQSL.js";
|
|
6
|
+
import "./chunk-CDHKIIRE.js";
|
|
7
7
|
import "./chunk-DBFKMKYT.js";
|
|
8
8
|
export {
|
|
9
9
|
beginPasskeyLinking,
|
|
10
10
|
completePasskeyLinking,
|
|
11
11
|
linkPasskeyWithWebAuthn
|
|
12
12
|
};
|
|
13
|
-
//# sourceMappingURL=passkey-
|
|
13
|
+
//# sourceMappingURL=passkey-4AX4LP2S.js.map
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
var _chunkP5JBS26Bcjs = require('./chunk-P5JBS26B.cjs');
|
|
6
|
+
require('./chunk-DBAXDALG.cjs');
|
|
7
|
+
require('./chunk-DACL62OU.cjs');
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
exports.beginPasskeyLinking = _chunkP5JBS26Bcjs.beginPasskeyLinking; exports.completePasskeyLinking = _chunkP5JBS26Bcjs.completePasskeyLinking; exports.linkPasskeyWithWebAuthn = _chunkP5JBS26Bcjs.linkPasskeyWithWebAuthn;
|
|
13
|
+
//# sourceMappingURL=passkey-GGPDRR6S.cjs.map
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
var _chunkP5JBS26Bcjs = require('./chunk-P5JBS26B.cjs');
|
|
9
|
+
require('./chunk-DBAXDALG.cjs');
|
|
10
|
+
require('./chunk-DACL62OU.cjs');
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
exports.authenticateWithPasskey = _chunkP5JBS26Bcjs.authenticateWithPasskey; exports.createPasskeyHelpers = _chunkP5JBS26Bcjs.createPasskeyHelpers; exports.hasAvailablePasskeys = _chunkP5JBS26Bcjs.hasAvailablePasskeys; exports.isWebAuthnSupported = _chunkP5JBS26Bcjs.isWebAuthnSupported; exports.registerPasskey = _chunkP5JBS26Bcjs.registerPasskey; exports.resetWebAuthnFlags = _chunkP5JBS26Bcjs.resetWebAuthnFlags;
|
|
19
|
+
//# sourceMappingURL=passkey-PCR33BXP.cjs.map
|
|
@@ -5,8 +5,8 @@ import {
|
|
|
5
5
|
isWebAuthnSupported,
|
|
6
6
|
registerPasskey,
|
|
7
7
|
resetWebAuthnFlags
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import "./chunk-
|
|
8
|
+
} from "./chunk-5KLYHQSL.js";
|
|
9
|
+
import "./chunk-CDHKIIRE.js";
|
|
10
10
|
import "./chunk-DBFKMKYT.js";
|
|
11
11
|
export {
|
|
12
12
|
authenticateWithPasskey,
|
|
@@ -16,4 +16,4 @@ export {
|
|
|
16
16
|
registerPasskey,
|
|
17
17
|
resetWebAuthnFlags
|
|
18
18
|
};
|
|
19
|
-
//# sourceMappingURL=passkey-
|
|
19
|
+
//# sourceMappingURL=passkey-QX3M5WS4.js.map
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
var _chunk4J6J5WEOcjs = require('./chunk-4J6J5WEO.cjs');
|
|
6
|
+
require('./chunk-P5JBS26B.cjs');
|
|
7
|
+
require('./chunk-DBAXDALG.cjs');
|
|
8
|
+
require('./chunk-DACL62OU.cjs');
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
exports.QUERY_KEYS = _chunk4J6J5WEOcjs.QUERY_KEYS; exports.getUserProfile = _chunk4J6J5WEOcjs.getUserProfile; exports.updateUserProfile = _chunk4J6J5WEOcjs.updateUserProfile;
|
|
14
|
+
//# sourceMappingURL=profile-26M4OCDU.cjs.map
|
|
@@ -2,13 +2,13 @@ import {
|
|
|
2
2
|
QUERY_KEYS,
|
|
3
3
|
getUserProfile,
|
|
4
4
|
updateUserProfile
|
|
5
|
-
} from "./chunk-
|
|
6
|
-
import "./chunk-
|
|
7
|
-
import "./chunk-
|
|
5
|
+
} from "./chunk-LHRG7QCD.js";
|
|
6
|
+
import "./chunk-5KLYHQSL.js";
|
|
7
|
+
import "./chunk-CDHKIIRE.js";
|
|
8
8
|
import "./chunk-DBFKMKYT.js";
|
|
9
9
|
export {
|
|
10
10
|
QUERY_KEYS,
|
|
11
11
|
getUserProfile,
|
|
12
12
|
updateUserProfile
|
|
13
13
|
};
|
|
14
|
-
//# sourceMappingURL=profile-
|
|
14
|
+
//# sourceMappingURL=profile-LDJ2UQYE.js.map
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
var _chunk4J6J5WEOcjs = require('./chunk-4J6J5WEO.cjs');
|
|
24
|
+
require('./chunk-P5JBS26B.cjs');
|
|
25
|
+
require('./chunk-DBAXDALG.cjs');
|
|
26
|
+
require('./chunk-DACL62OU.cjs');
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
exports.BACKUP_MAGIC = _chunk4J6J5WEOcjs.BACKUP_MAGIC; exports.PasswordValidationError = _chunk4J6J5WEOcjs.PasswordValidationError; exports.backupToCloud = _chunk4J6J5WEOcjs.backupToCloud; exports.backupToLocalFile = _chunk4J6J5WEOcjs.backupToLocalFile; exports.backupToServer = _chunk4J6J5WEOcjs.backupToServer; exports.checkPasskeyAvailability = _chunk4J6J5WEOcjs.checkPasskeyAvailability; exports.checkServerBackupAvailability = _chunk4J6J5WEOcjs.checkServerBackupAvailability; exports.clearBackupStatus = _chunk4J6J5WEOcjs.clearBackupStatus; exports.deleteShare = _chunk4J6J5WEOcjs.deleteShare; exports.getAvailableCloudProviders = _chunk4J6J5WEOcjs.getAvailableCloudProviders; exports.getBackupEncryptionMethod = _chunk4J6J5WEOcjs.getBackupEncryptionMethod; exports.getBackupStatus = _chunk4J6J5WEOcjs.getBackupStatus; exports.getCurrentKeyshareBackupData = _chunk4J6J5WEOcjs.getCurrentKeyshareBackupData; exports.getShare = _chunk4J6J5WEOcjs.getShare; exports.getShareRecoveryStats = _chunk4J6J5WEOcjs.getShareRecoveryStats; exports.isCloudShareSupported = _chunk4J6J5WEOcjs.isCloudShareSupported; exports.restoreFromBackup = _chunk4J6J5WEOcjs.restoreFromBackup; exports.restoreFromServer = _chunk4J6J5WEOcjs.restoreFromServer; exports.rewrapShare = _chunk4J6J5WEOcjs.rewrapShare; exports.updateBackupStatus = _chunk4J6J5WEOcjs.updateBackupStatus; exports.uploadShare = _chunk4J6J5WEOcjs.uploadShare;
|
|
50
|
+
//# sourceMappingURL=vaultClient-2ILQST2J.cjs.map
|
|
@@ -20,9 +20,9 @@ import {
|
|
|
20
20
|
rewrapShare,
|
|
21
21
|
updateBackupStatus,
|
|
22
22
|
uploadShare
|
|
23
|
-
} from "./chunk-
|
|
24
|
-
import "./chunk-
|
|
25
|
-
import "./chunk-
|
|
23
|
+
} from "./chunk-LHRG7QCD.js";
|
|
24
|
+
import "./chunk-5KLYHQSL.js";
|
|
25
|
+
import "./chunk-CDHKIIRE.js";
|
|
26
26
|
import "./chunk-DBFKMKYT.js";
|
|
27
27
|
export {
|
|
28
28
|
BACKUP_MAGIC,
|
|
@@ -47,4 +47,4 @@ export {
|
|
|
47
47
|
updateBackupStatus,
|
|
48
48
|
uploadShare
|
|
49
49
|
};
|
|
50
|
-
//# sourceMappingURL=vaultClient-
|
|
50
|
+
//# sourceMappingURL=vaultClient-X4HI7D3B.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@embarkai/ui-kit",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.23",
|
|
4
4
|
"description": "React UI components and hooks for EmbarkAI authentication and Account Abstraction",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.cjs",
|
|
@@ -41,10 +41,12 @@
|
|
|
41
41
|
"@radix-ui/react-slot": ">=1.2.4",
|
|
42
42
|
"@rainbow-me/rainbowkit": "^2.2.10",
|
|
43
43
|
"@sentry/browser": "^10.22.0",
|
|
44
|
-
"buffer": "^6.0.3",
|
|
45
44
|
"class-variance-authority": "^0.7.0",
|
|
46
45
|
"clsx": "^2.1.1",
|
|
47
46
|
"dayjs": "^1.11.9",
|
|
47
|
+
"@hyperlane-xyz/registry": "^25.1.0",
|
|
48
|
+
"@hyperlane-xyz/sdk": "^35.0.1",
|
|
49
|
+
"@hyperlane-xyz/utils": "^35.0.1",
|
|
48
50
|
"dkls23-wasm": "^0.1.0",
|
|
49
51
|
"framer-motion": "^12.23.24",
|
|
50
52
|
"lodash-es": "^4.17.21",
|
|
@@ -56,9 +58,6 @@
|
|
|
56
58
|
"@embarkai/core": "0.3.5"
|
|
57
59
|
},
|
|
58
60
|
"devDependencies": {
|
|
59
|
-
"@hyperlane-xyz/registry": "^25.1.0",
|
|
60
|
-
"@hyperlane-xyz/sdk": "^35.0.1",
|
|
61
|
-
"@hyperlane-xyz/utils": "^35.0.1",
|
|
62
61
|
"@tailwindcss/typography": "^0.5.16",
|
|
63
62
|
"@tanstack/react-query": "^5.90.2",
|
|
64
63
|
"@types/lodash-es": "^4.17.12",
|