@embarkai/ui-kit 0.4.55 → 0.4.56
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/iframe/index.html +1 -1
- package/dist/iframe/main.js +24 -24
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/package.json +2 -2
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.56</title>
|
|
19
19
|
|
|
20
20
|
<!-- Styles will be injected by build process -->
|
|
21
21
|
<style>
|
package/dist/iframe/main.js
CHANGED
|
@@ -579,7 +579,7 @@ var init_server_backup = __esm({
|
|
|
579
579
|
}
|
|
580
580
|
});
|
|
581
581
|
|
|
582
|
-
// ../../node_modules/.pnpm/viem@2.52.2_bufferutil@4.0.9_typescript@6.0.3_utf-8-validate@5.0.10_zod@
|
|
582
|
+
// ../../node_modules/.pnpm/viem@2.52.2_bufferutil@4.0.9_typescript@6.0.3_utf-8-validate@5.0.10_zod@4.4.3/node_modules/viem/_esm/utils/data/isHex.js
|
|
583
583
|
function isHex(value, { strict = true } = {}) {
|
|
584
584
|
if (!value)
|
|
585
585
|
return false;
|
|
@@ -588,31 +588,31 @@ function isHex(value, { strict = true } = {}) {
|
|
|
588
588
|
return strict ? /^0x[0-9a-fA-F]*$/.test(value) : value.startsWith("0x");
|
|
589
589
|
}
|
|
590
590
|
var init_isHex = __esm({
|
|
591
|
-
"../../node_modules/.pnpm/viem@2.52.2_bufferutil@4.0.9_typescript@6.0.3_utf-8-validate@5.0.10_zod@
|
|
591
|
+
"../../node_modules/.pnpm/viem@2.52.2_bufferutil@4.0.9_typescript@6.0.3_utf-8-validate@5.0.10_zod@4.4.3/node_modules/viem/_esm/utils/data/isHex.js"() {
|
|
592
592
|
}
|
|
593
593
|
});
|
|
594
594
|
|
|
595
|
-
// ../../node_modules/.pnpm/viem@2.52.2_bufferutil@4.0.9_typescript@6.0.3_utf-8-validate@5.0.10_zod@
|
|
595
|
+
// ../../node_modules/.pnpm/viem@2.52.2_bufferutil@4.0.9_typescript@6.0.3_utf-8-validate@5.0.10_zod@4.4.3/node_modules/viem/_esm/utils/data/size.js
|
|
596
596
|
function size(value) {
|
|
597
597
|
if (isHex(value, { strict: false }))
|
|
598
598
|
return Math.ceil((value.length - 2) / 2);
|
|
599
599
|
return value.length;
|
|
600
600
|
}
|
|
601
601
|
var init_size = __esm({
|
|
602
|
-
"../../node_modules/.pnpm/viem@2.52.2_bufferutil@4.0.9_typescript@6.0.3_utf-8-validate@5.0.10_zod@
|
|
602
|
+
"../../node_modules/.pnpm/viem@2.52.2_bufferutil@4.0.9_typescript@6.0.3_utf-8-validate@5.0.10_zod@4.4.3/node_modules/viem/_esm/utils/data/size.js"() {
|
|
603
603
|
init_isHex();
|
|
604
604
|
}
|
|
605
605
|
});
|
|
606
606
|
|
|
607
|
-
// ../../node_modules/.pnpm/viem@2.52.2_bufferutil@4.0.9_typescript@6.0.3_utf-8-validate@5.0.10_zod@
|
|
607
|
+
// ../../node_modules/.pnpm/viem@2.52.2_bufferutil@4.0.9_typescript@6.0.3_utf-8-validate@5.0.10_zod@4.4.3/node_modules/viem/_esm/errors/version.js
|
|
608
608
|
var version;
|
|
609
609
|
var init_version = __esm({
|
|
610
|
-
"../../node_modules/.pnpm/viem@2.52.2_bufferutil@4.0.9_typescript@6.0.3_utf-8-validate@5.0.10_zod@
|
|
610
|
+
"../../node_modules/.pnpm/viem@2.52.2_bufferutil@4.0.9_typescript@6.0.3_utf-8-validate@5.0.10_zod@4.4.3/node_modules/viem/_esm/errors/version.js"() {
|
|
611
611
|
version = "2.52.2";
|
|
612
612
|
}
|
|
613
613
|
});
|
|
614
614
|
|
|
615
|
-
// ../../node_modules/.pnpm/viem@2.52.2_bufferutil@4.0.9_typescript@6.0.3_utf-8-validate@5.0.10_zod@
|
|
615
|
+
// ../../node_modules/.pnpm/viem@2.52.2_bufferutil@4.0.9_typescript@6.0.3_utf-8-validate@5.0.10_zod@4.4.3/node_modules/viem/_esm/errors/base.js
|
|
616
616
|
function walk(err, fn) {
|
|
617
617
|
if (fn?.(err))
|
|
618
618
|
return err;
|
|
@@ -622,7 +622,7 @@ function walk(err, fn) {
|
|
|
622
622
|
}
|
|
623
623
|
var errorConfig, BaseError;
|
|
624
624
|
var init_base = __esm({
|
|
625
|
-
"../../node_modules/.pnpm/viem@2.52.2_bufferutil@4.0.9_typescript@6.0.3_utf-8-validate@5.0.10_zod@
|
|
625
|
+
"../../node_modules/.pnpm/viem@2.52.2_bufferutil@4.0.9_typescript@6.0.3_utf-8-validate@5.0.10_zod@4.4.3/node_modules/viem/_esm/errors/base.js"() {
|
|
626
626
|
init_version();
|
|
627
627
|
errorConfig = {
|
|
628
628
|
getDocsUrl: ({ docsBaseUrl, docsPath = "", docsSlug }) => docsPath ? `${docsBaseUrl ?? "https://viem.sh"}${docsPath}${docsSlug ? `#${docsSlug}` : ""}` : void 0,
|
|
@@ -702,10 +702,10 @@ var init_base = __esm({
|
|
|
702
702
|
}
|
|
703
703
|
});
|
|
704
704
|
|
|
705
|
-
// ../../node_modules/.pnpm/viem@2.52.2_bufferutil@4.0.9_typescript@6.0.3_utf-8-validate@5.0.10_zod@
|
|
705
|
+
// ../../node_modules/.pnpm/viem@2.52.2_bufferutil@4.0.9_typescript@6.0.3_utf-8-validate@5.0.10_zod@4.4.3/node_modules/viem/_esm/errors/data.js
|
|
706
706
|
var SizeExceedsPaddingSizeError;
|
|
707
707
|
var init_data = __esm({
|
|
708
|
-
"../../node_modules/.pnpm/viem@2.52.2_bufferutil@4.0.9_typescript@6.0.3_utf-8-validate@5.0.10_zod@
|
|
708
|
+
"../../node_modules/.pnpm/viem@2.52.2_bufferutil@4.0.9_typescript@6.0.3_utf-8-validate@5.0.10_zod@4.4.3/node_modules/viem/_esm/errors/data.js"() {
|
|
709
709
|
init_base();
|
|
710
710
|
SizeExceedsPaddingSizeError = class extends BaseError {
|
|
711
711
|
constructor({ size: size2, targetSize, type }) {
|
|
@@ -715,7 +715,7 @@ var init_data = __esm({
|
|
|
715
715
|
}
|
|
716
716
|
});
|
|
717
717
|
|
|
718
|
-
// ../../node_modules/.pnpm/viem@2.52.2_bufferutil@4.0.9_typescript@6.0.3_utf-8-validate@5.0.10_zod@
|
|
718
|
+
// ../../node_modules/.pnpm/viem@2.52.2_bufferutil@4.0.9_typescript@6.0.3_utf-8-validate@5.0.10_zod@4.4.3/node_modules/viem/_esm/utils/data/pad.js
|
|
719
719
|
function pad(hexOrBytes, { dir, size: size2 = 32 } = {}) {
|
|
720
720
|
if (typeof hexOrBytes === "string")
|
|
721
721
|
return padHex(hexOrBytes, { dir, size: size2 });
|
|
@@ -750,15 +750,15 @@ function padBytes(bytes, { dir, size: size2 = 32 } = {}) {
|
|
|
750
750
|
return paddedBytes;
|
|
751
751
|
}
|
|
752
752
|
var init_pad = __esm({
|
|
753
|
-
"../../node_modules/.pnpm/viem@2.52.2_bufferutil@4.0.9_typescript@6.0.3_utf-8-validate@5.0.10_zod@
|
|
753
|
+
"../../node_modules/.pnpm/viem@2.52.2_bufferutil@4.0.9_typescript@6.0.3_utf-8-validate@5.0.10_zod@4.4.3/node_modules/viem/_esm/utils/data/pad.js"() {
|
|
754
754
|
init_data();
|
|
755
755
|
}
|
|
756
756
|
});
|
|
757
757
|
|
|
758
|
-
// ../../node_modules/.pnpm/viem@2.52.2_bufferutil@4.0.9_typescript@6.0.3_utf-8-validate@5.0.10_zod@
|
|
758
|
+
// ../../node_modules/.pnpm/viem@2.52.2_bufferutil@4.0.9_typescript@6.0.3_utf-8-validate@5.0.10_zod@4.4.3/node_modules/viem/_esm/errors/encoding.js
|
|
759
759
|
var IntegerOutOfRangeError, SizeOverflowError;
|
|
760
760
|
var init_encoding = __esm({
|
|
761
|
-
"../../node_modules/.pnpm/viem@2.52.2_bufferutil@4.0.9_typescript@6.0.3_utf-8-validate@5.0.10_zod@
|
|
761
|
+
"../../node_modules/.pnpm/viem@2.52.2_bufferutil@4.0.9_typescript@6.0.3_utf-8-validate@5.0.10_zod@4.4.3/node_modules/viem/_esm/errors/encoding.js"() {
|
|
762
762
|
init_base();
|
|
763
763
|
IntegerOutOfRangeError = class extends BaseError {
|
|
764
764
|
constructor({ max, min, signed, size: size2, value }) {
|
|
@@ -773,7 +773,7 @@ var init_encoding = __esm({
|
|
|
773
773
|
}
|
|
774
774
|
});
|
|
775
775
|
|
|
776
|
-
// ../../node_modules/.pnpm/viem@2.52.2_bufferutil@4.0.9_typescript@6.0.3_utf-8-validate@5.0.10_zod@
|
|
776
|
+
// ../../node_modules/.pnpm/viem@2.52.2_bufferutil@4.0.9_typescript@6.0.3_utf-8-validate@5.0.10_zod@4.4.3/node_modules/viem/_esm/utils/encoding/fromHex.js
|
|
777
777
|
function assertSize(hexOrBytes, { size: size2 }) {
|
|
778
778
|
if (size(hexOrBytes) > size2)
|
|
779
779
|
throw new SizeOverflowError({
|
|
@@ -782,13 +782,13 @@ function assertSize(hexOrBytes, { size: size2 }) {
|
|
|
782
782
|
});
|
|
783
783
|
}
|
|
784
784
|
var init_fromHex = __esm({
|
|
785
|
-
"../../node_modules/.pnpm/viem@2.52.2_bufferutil@4.0.9_typescript@6.0.3_utf-8-validate@5.0.10_zod@
|
|
785
|
+
"../../node_modules/.pnpm/viem@2.52.2_bufferutil@4.0.9_typescript@6.0.3_utf-8-validate@5.0.10_zod@4.4.3/node_modules/viem/_esm/utils/encoding/fromHex.js"() {
|
|
786
786
|
init_encoding();
|
|
787
787
|
init_size();
|
|
788
788
|
}
|
|
789
789
|
});
|
|
790
790
|
|
|
791
|
-
// ../../node_modules/.pnpm/viem@2.52.2_bufferutil@4.0.9_typescript@6.0.3_utf-8-validate@5.0.10_zod@
|
|
791
|
+
// ../../node_modules/.pnpm/viem@2.52.2_bufferutil@4.0.9_typescript@6.0.3_utf-8-validate@5.0.10_zod@4.4.3/node_modules/viem/_esm/utils/encoding/toHex.js
|
|
792
792
|
function toHex(value, opts = {}) {
|
|
793
793
|
if (typeof value === "number" || typeof value === "bigint")
|
|
794
794
|
return numberToHex(value, opts);
|
|
@@ -853,7 +853,7 @@ function stringToHex(value_, opts = {}) {
|
|
|
853
853
|
}
|
|
854
854
|
var hexes, encoder;
|
|
855
855
|
var init_toHex = __esm({
|
|
856
|
-
"../../node_modules/.pnpm/viem@2.52.2_bufferutil@4.0.9_typescript@6.0.3_utf-8-validate@5.0.10_zod@
|
|
856
|
+
"../../node_modules/.pnpm/viem@2.52.2_bufferutil@4.0.9_typescript@6.0.3_utf-8-validate@5.0.10_zod@4.4.3/node_modules/viem/_esm/utils/encoding/toHex.js"() {
|
|
857
857
|
init_encoding();
|
|
858
858
|
init_pad();
|
|
859
859
|
init_fromHex();
|
|
@@ -862,7 +862,7 @@ var init_toHex = __esm({
|
|
|
862
862
|
}
|
|
863
863
|
});
|
|
864
864
|
|
|
865
|
-
// ../../node_modules/.pnpm/viem@2.52.2_bufferutil@4.0.9_typescript@6.0.3_utf-8-validate@5.0.10_zod@
|
|
865
|
+
// ../../node_modules/.pnpm/viem@2.52.2_bufferutil@4.0.9_typescript@6.0.3_utf-8-validate@5.0.10_zod@4.4.3/node_modules/viem/_esm/utils/encoding/toBytes.js
|
|
866
866
|
function toBytes(value, opts = {}) {
|
|
867
867
|
if (typeof value === "number" || typeof value === "bigint")
|
|
868
868
|
return numberToBytes(value, opts);
|
|
@@ -925,7 +925,7 @@ function stringToBytes(value, opts = {}) {
|
|
|
925
925
|
}
|
|
926
926
|
var encoder2, charCodeMap;
|
|
927
927
|
var init_toBytes = __esm({
|
|
928
|
-
"../../node_modules/.pnpm/viem@2.52.2_bufferutil@4.0.9_typescript@6.0.3_utf-8-validate@5.0.10_zod@
|
|
928
|
+
"../../node_modules/.pnpm/viem@2.52.2_bufferutil@4.0.9_typescript@6.0.3_utf-8-validate@5.0.10_zod@4.4.3/node_modules/viem/_esm/utils/encoding/toBytes.js"() {
|
|
929
929
|
init_base();
|
|
930
930
|
init_isHex();
|
|
931
931
|
init_pad();
|
|
@@ -1232,7 +1232,7 @@ var init_sha3 = __esm({
|
|
|
1232
1232
|
}
|
|
1233
1233
|
});
|
|
1234
1234
|
|
|
1235
|
-
// ../../node_modules/.pnpm/viem@2.52.2_bufferutil@4.0.9_typescript@6.0.3_utf-8-validate@5.0.10_zod@
|
|
1235
|
+
// ../../node_modules/.pnpm/viem@2.52.2_bufferutil@4.0.9_typescript@6.0.3_utf-8-validate@5.0.10_zod@4.4.3/node_modules/viem/_esm/utils/hash/keccak256.js
|
|
1236
1236
|
function keccak256(value, to_) {
|
|
1237
1237
|
const to = to_ || "hex";
|
|
1238
1238
|
const bytes = keccak_256(isHex(value, { strict: false }) ? toBytes(value) : value);
|
|
@@ -1241,7 +1241,7 @@ function keccak256(value, to_) {
|
|
|
1241
1241
|
return toHex(bytes);
|
|
1242
1242
|
}
|
|
1243
1243
|
var init_keccak256 = __esm({
|
|
1244
|
-
"../../node_modules/.pnpm/viem@2.52.2_bufferutil@4.0.9_typescript@6.0.3_utf-8-validate@5.0.10_zod@
|
|
1244
|
+
"../../node_modules/.pnpm/viem@2.52.2_bufferutil@4.0.9_typescript@6.0.3_utf-8-validate@5.0.10_zod@4.4.3/node_modules/viem/_esm/utils/hash/keccak256.js"() {
|
|
1245
1245
|
init_sha3();
|
|
1246
1246
|
init_isHex();
|
|
1247
1247
|
init_toBytes();
|
|
@@ -2887,7 +2887,7 @@ async function __wbg_init(module_or_path) {
|
|
|
2887
2887
|
}
|
|
2888
2888
|
var dkls23_wasm_default = __wbg_init;
|
|
2889
2889
|
|
|
2890
|
-
// ../../node_modules/.pnpm/viem@2.52.2_bufferutil@4.0.9_typescript@6.0.3_utf-8-validate@5.0.10_zod@
|
|
2890
|
+
// ../../node_modules/.pnpm/viem@2.52.2_bufferutil@4.0.9_typescript@6.0.3_utf-8-validate@5.0.10_zod@4.4.3/node_modules/viem/_esm/index.js
|
|
2891
2891
|
init_keccak256();
|
|
2892
2892
|
|
|
2893
2893
|
// src/iframe/lib/dkg-manager.ts
|
|
@@ -6391,7 +6391,7 @@ var SigningManager = class extends TokenRefreshApiClient {
|
|
|
6391
6391
|
};
|
|
6392
6392
|
|
|
6393
6393
|
// src/iframe/main.ts
|
|
6394
|
-
var IFRAME_VERSION = "0.4.
|
|
6394
|
+
var IFRAME_VERSION = "0.4.56";
|
|
6395
6395
|
var IframeWallet = class {
|
|
6396
6396
|
constructor() {
|
|
6397
6397
|
console.log("=".repeat(60));
|
package/dist/index.cjs
CHANGED
|
@@ -24299,7 +24299,7 @@ var init_package = __esm({
|
|
|
24299
24299
|
"package.json"() {
|
|
24300
24300
|
package_default = {
|
|
24301
24301
|
name: "@embarkai/ui-kit",
|
|
24302
|
-
version: "0.4.
|
|
24302
|
+
version: "0.4.56",
|
|
24303
24303
|
description: "React UI components and hooks for EmbarkAI authentication and Account Abstraction",
|
|
24304
24304
|
type: "module",
|
|
24305
24305
|
main: "./dist/index.cjs",
|
package/dist/index.js
CHANGED
|
@@ -24215,7 +24215,7 @@ var init_package = __esm({
|
|
|
24215
24215
|
"package.json"() {
|
|
24216
24216
|
package_default = {
|
|
24217
24217
|
name: "@embarkai/ui-kit",
|
|
24218
|
-
version: "0.4.
|
|
24218
|
+
version: "0.4.56",
|
|
24219
24219
|
description: "React UI components and hooks for EmbarkAI authentication and Account Abstraction",
|
|
24220
24220
|
type: "module",
|
|
24221
24221
|
main: "./dist/index.cjs",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@embarkai/ui-kit",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.56",
|
|
4
4
|
"description": "React UI components and hooks for EmbarkAI authentication and Account Abstraction",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.cjs",
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
"viem": "^2.52.2",
|
|
52
52
|
"wagmi": "^2.19.5",
|
|
53
53
|
"zustand": "^5.0.14",
|
|
54
|
-
"@embarkai/core": "0.4.
|
|
54
|
+
"@embarkai/core": "0.4.6"
|
|
55
55
|
},
|
|
56
56
|
"devDependencies": {
|
|
57
57
|
"@svgr/core": "^8.1.0",
|