@embarkai/ui-kit 0.4.127 → 0.4.128
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 +35 -28
- package/dist/index.cjs +28 -23
- package/dist/index.d.cts +6 -6
- package/dist/index.d.ts +6 -6
- package/dist/index.js +28 -23
- package/package.json +22 -22
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.128</title>
|
|
19
19
|
|
|
20
20
|
<!-- Styles will be injected by build process -->
|
|
21
21
|
<style>
|
package/dist/iframe/main.js
CHANGED
|
@@ -1,8 +1,13 @@
|
|
|
1
1
|
var __defProp = Object.defineProperty;
|
|
2
2
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
3
3
|
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4
|
-
var __esm = (fn, res) => function __init() {
|
|
5
|
-
|
|
4
|
+
var __esm = (fn, res, err) => function __init() {
|
|
5
|
+
if (err) throw err[0];
|
|
6
|
+
try {
|
|
7
|
+
return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res;
|
|
8
|
+
} catch (e) {
|
|
9
|
+
throw err = [e], e;
|
|
10
|
+
}
|
|
6
11
|
};
|
|
7
12
|
var __export = (target, all) => {
|
|
8
13
|
for (var name in all)
|
|
@@ -571,40 +576,42 @@ var init_server_backup = __esm({
|
|
|
571
576
|
}
|
|
572
577
|
});
|
|
573
578
|
|
|
574
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
575
|
-
function isHex(value, { strict = true } = {}) {
|
|
579
|
+
// ../../node_modules/.pnpm/viem@2.57.12_typescript@6.0.3_zod@4.6.7/node_modules/viem/_esm/utils/data/isHex.js
|
|
580
|
+
function isHex(value, { even = false, strict = true } = {}) {
|
|
576
581
|
if (!value)
|
|
577
582
|
return false;
|
|
578
583
|
if (typeof value !== "string")
|
|
579
584
|
return false;
|
|
585
|
+
if (even && value.length % 2 !== 0)
|
|
586
|
+
return false;
|
|
580
587
|
return strict ? /^0x[0-9a-fA-F]*$/.test(value) : value.startsWith("0x");
|
|
581
588
|
}
|
|
582
589
|
var init_isHex = __esm({
|
|
583
|
-
"../../node_modules/.pnpm/viem@2.
|
|
590
|
+
"../../node_modules/.pnpm/viem@2.57.12_typescript@6.0.3_zod@4.6.7/node_modules/viem/_esm/utils/data/isHex.js"() {
|
|
584
591
|
}
|
|
585
592
|
});
|
|
586
593
|
|
|
587
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
594
|
+
// ../../node_modules/.pnpm/viem@2.57.12_typescript@6.0.3_zod@4.6.7/node_modules/viem/_esm/utils/data/size.js
|
|
588
595
|
function size(value) {
|
|
589
596
|
if (isHex(value, { strict: false }))
|
|
590
597
|
return Math.ceil((value.length - 2) / 2);
|
|
591
598
|
return value.length;
|
|
592
599
|
}
|
|
593
600
|
var init_size = __esm({
|
|
594
|
-
"../../node_modules/.pnpm/viem@2.
|
|
601
|
+
"../../node_modules/.pnpm/viem@2.57.12_typescript@6.0.3_zod@4.6.7/node_modules/viem/_esm/utils/data/size.js"() {
|
|
595
602
|
init_isHex();
|
|
596
603
|
}
|
|
597
604
|
});
|
|
598
605
|
|
|
599
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
606
|
+
// ../../node_modules/.pnpm/viem@2.57.12_typescript@6.0.3_zod@4.6.7/node_modules/viem/_esm/errors/version.js
|
|
600
607
|
var version;
|
|
601
608
|
var init_version = __esm({
|
|
602
|
-
"../../node_modules/.pnpm/viem@2.
|
|
603
|
-
version = "2.
|
|
609
|
+
"../../node_modules/.pnpm/viem@2.57.12_typescript@6.0.3_zod@4.6.7/node_modules/viem/_esm/errors/version.js"() {
|
|
610
|
+
version = "2.57.12";
|
|
604
611
|
}
|
|
605
612
|
});
|
|
606
613
|
|
|
607
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
614
|
+
// ../../node_modules/.pnpm/viem@2.57.12_typescript@6.0.3_zod@4.6.7/node_modules/viem/_esm/errors/base.js
|
|
608
615
|
function walk(err, fn) {
|
|
609
616
|
if (fn?.(err))
|
|
610
617
|
return err;
|
|
@@ -614,7 +621,7 @@ function walk(err, fn) {
|
|
|
614
621
|
}
|
|
615
622
|
var errorConfig, BaseError;
|
|
616
623
|
var init_base = __esm({
|
|
617
|
-
"../../node_modules/.pnpm/viem@2.
|
|
624
|
+
"../../node_modules/.pnpm/viem@2.57.12_typescript@6.0.3_zod@4.6.7/node_modules/viem/_esm/errors/base.js"() {
|
|
618
625
|
init_version();
|
|
619
626
|
errorConfig = {
|
|
620
627
|
getDocsUrl: ({ docsBaseUrl, docsPath = "", docsSlug }) => docsPath ? `${docsBaseUrl ?? "https://viem.sh"}${docsPath}${docsSlug ? `#${docsSlug}` : ""}` : void 0,
|
|
@@ -694,10 +701,10 @@ var init_base = __esm({
|
|
|
694
701
|
}
|
|
695
702
|
});
|
|
696
703
|
|
|
697
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
704
|
+
// ../../node_modules/.pnpm/viem@2.57.12_typescript@6.0.3_zod@4.6.7/node_modules/viem/_esm/errors/data.js
|
|
698
705
|
var SizeExceedsPaddingSizeError;
|
|
699
706
|
var init_data = __esm({
|
|
700
|
-
"../../node_modules/.pnpm/viem@2.
|
|
707
|
+
"../../node_modules/.pnpm/viem@2.57.12_typescript@6.0.3_zod@4.6.7/node_modules/viem/_esm/errors/data.js"() {
|
|
701
708
|
init_base();
|
|
702
709
|
SizeExceedsPaddingSizeError = class extends BaseError {
|
|
703
710
|
constructor({ size: size2, targetSize, type }) {
|
|
@@ -707,7 +714,7 @@ var init_data = __esm({
|
|
|
707
714
|
}
|
|
708
715
|
});
|
|
709
716
|
|
|
710
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
717
|
+
// ../../node_modules/.pnpm/viem@2.57.12_typescript@6.0.3_zod@4.6.7/node_modules/viem/_esm/utils/data/pad.js
|
|
711
718
|
function pad(hexOrBytes, { dir, size: size2 = 32 } = {}) {
|
|
712
719
|
if (typeof hexOrBytes === "string")
|
|
713
720
|
return padHex(hexOrBytes, { dir, size: size2 });
|
|
@@ -742,15 +749,15 @@ function padBytes(bytes, { dir, size: size2 = 32 } = {}) {
|
|
|
742
749
|
return paddedBytes;
|
|
743
750
|
}
|
|
744
751
|
var init_pad = __esm({
|
|
745
|
-
"../../node_modules/.pnpm/viem@2.
|
|
752
|
+
"../../node_modules/.pnpm/viem@2.57.12_typescript@6.0.3_zod@4.6.7/node_modules/viem/_esm/utils/data/pad.js"() {
|
|
746
753
|
init_data();
|
|
747
754
|
}
|
|
748
755
|
});
|
|
749
756
|
|
|
750
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
757
|
+
// ../../node_modules/.pnpm/viem@2.57.12_typescript@6.0.3_zod@4.6.7/node_modules/viem/_esm/errors/encoding.js
|
|
751
758
|
var IntegerOutOfRangeError, SizeOverflowError;
|
|
752
759
|
var init_encoding = __esm({
|
|
753
|
-
"../../node_modules/.pnpm/viem@2.
|
|
760
|
+
"../../node_modules/.pnpm/viem@2.57.12_typescript@6.0.3_zod@4.6.7/node_modules/viem/_esm/errors/encoding.js"() {
|
|
754
761
|
init_base();
|
|
755
762
|
IntegerOutOfRangeError = class extends BaseError {
|
|
756
763
|
constructor({ max, min, signed, size: size2, value }) {
|
|
@@ -765,7 +772,7 @@ var init_encoding = __esm({
|
|
|
765
772
|
}
|
|
766
773
|
});
|
|
767
774
|
|
|
768
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
775
|
+
// ../../node_modules/.pnpm/viem@2.57.12_typescript@6.0.3_zod@4.6.7/node_modules/viem/_esm/utils/encoding/fromHex.js
|
|
769
776
|
function assertSize(hexOrBytes, { size: size2 }) {
|
|
770
777
|
if (size(hexOrBytes) > size2)
|
|
771
778
|
throw new SizeOverflowError({
|
|
@@ -774,13 +781,13 @@ function assertSize(hexOrBytes, { size: size2 }) {
|
|
|
774
781
|
});
|
|
775
782
|
}
|
|
776
783
|
var init_fromHex = __esm({
|
|
777
|
-
"../../node_modules/.pnpm/viem@2.
|
|
784
|
+
"../../node_modules/.pnpm/viem@2.57.12_typescript@6.0.3_zod@4.6.7/node_modules/viem/_esm/utils/encoding/fromHex.js"() {
|
|
778
785
|
init_encoding();
|
|
779
786
|
init_size();
|
|
780
787
|
}
|
|
781
788
|
});
|
|
782
789
|
|
|
783
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
790
|
+
// ../../node_modules/.pnpm/viem@2.57.12_typescript@6.0.3_zod@4.6.7/node_modules/viem/_esm/utils/encoding/toHex.js
|
|
784
791
|
function toHex(value, opts = {}) {
|
|
785
792
|
if (typeof value === "number" || typeof value === "bigint")
|
|
786
793
|
return numberToHex(value, opts);
|
|
@@ -845,7 +852,7 @@ function stringToHex(value_, opts = {}) {
|
|
|
845
852
|
}
|
|
846
853
|
var hexes, encoder;
|
|
847
854
|
var init_toHex = __esm({
|
|
848
|
-
"../../node_modules/.pnpm/viem@2.
|
|
855
|
+
"../../node_modules/.pnpm/viem@2.57.12_typescript@6.0.3_zod@4.6.7/node_modules/viem/_esm/utils/encoding/toHex.js"() {
|
|
849
856
|
init_encoding();
|
|
850
857
|
init_pad();
|
|
851
858
|
init_fromHex();
|
|
@@ -854,7 +861,7 @@ var init_toHex = __esm({
|
|
|
854
861
|
}
|
|
855
862
|
});
|
|
856
863
|
|
|
857
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
864
|
+
// ../../node_modules/.pnpm/viem@2.57.12_typescript@6.0.3_zod@4.6.7/node_modules/viem/_esm/utils/encoding/toBytes.js
|
|
858
865
|
function toBytes(value, opts = {}) {
|
|
859
866
|
if (typeof value === "number" || typeof value === "bigint")
|
|
860
867
|
return numberToBytes(value, opts);
|
|
@@ -917,7 +924,7 @@ function stringToBytes(value, opts = {}) {
|
|
|
917
924
|
}
|
|
918
925
|
var encoder2, charCodeMap;
|
|
919
926
|
var init_toBytes = __esm({
|
|
920
|
-
"../../node_modules/.pnpm/viem@2.
|
|
927
|
+
"../../node_modules/.pnpm/viem@2.57.12_typescript@6.0.3_zod@4.6.7/node_modules/viem/_esm/utils/encoding/toBytes.js"() {
|
|
921
928
|
init_base();
|
|
922
929
|
init_isHex();
|
|
923
930
|
init_pad();
|
|
@@ -1224,7 +1231,7 @@ var init_sha3 = __esm({
|
|
|
1224
1231
|
}
|
|
1225
1232
|
});
|
|
1226
1233
|
|
|
1227
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
1234
|
+
// ../../node_modules/.pnpm/viem@2.57.12_typescript@6.0.3_zod@4.6.7/node_modules/viem/_esm/utils/hash/keccak256.js
|
|
1228
1235
|
function keccak256(value, to_) {
|
|
1229
1236
|
const to = to_ || "hex";
|
|
1230
1237
|
const bytes = keccak_256(isHex(value, { strict: false }) ? toBytes(value) : value);
|
|
@@ -1233,7 +1240,7 @@ function keccak256(value, to_) {
|
|
|
1233
1240
|
return toHex(bytes);
|
|
1234
1241
|
}
|
|
1235
1242
|
var init_keccak256 = __esm({
|
|
1236
|
-
"../../node_modules/.pnpm/viem@2.
|
|
1243
|
+
"../../node_modules/.pnpm/viem@2.57.12_typescript@6.0.3_zod@4.6.7/node_modules/viem/_esm/utils/hash/keccak256.js"() {
|
|
1237
1244
|
init_sha3();
|
|
1238
1245
|
init_isHex();
|
|
1239
1246
|
init_toBytes();
|
|
@@ -4684,7 +4691,7 @@ async function __wbg_init(module_or_path) {
|
|
|
4684
4691
|
}
|
|
4685
4692
|
var dkls23_wasm_default = __wbg_init;
|
|
4686
4693
|
|
|
4687
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
4694
|
+
// ../../node_modules/.pnpm/viem@2.57.12_typescript@6.0.3_zod@4.6.7/node_modules/viem/_esm/index.js
|
|
4688
4695
|
init_keccak256();
|
|
4689
4696
|
|
|
4690
4697
|
// src/iframe/lib/dkg-manager.ts
|
|
@@ -6342,7 +6349,7 @@ var SigningManager = class extends TokenRefreshApiClient {
|
|
|
6342
6349
|
};
|
|
6343
6350
|
|
|
6344
6351
|
// src/iframe/main.ts
|
|
6345
|
-
var IFRAME_VERSION = "0.4.
|
|
6352
|
+
var IFRAME_VERSION = "0.4.128";
|
|
6346
6353
|
var IframeWallet = class {
|
|
6347
6354
|
// private finchpay: FinchPayRampAPI
|
|
6348
6355
|
// private rampnow: RampnowOnrampAPI
|
package/dist/index.cjs
CHANGED
|
@@ -4,8 +4,13 @@ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
|
4
4
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
5
|
var __getProtoOf = Object.getPrototypeOf;
|
|
6
6
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
-
var __esm = (fn, res) => function __init() {
|
|
8
|
-
|
|
7
|
+
var __esm = (fn, res, err) => function __init() {
|
|
8
|
+
if (err) throw err[0];
|
|
9
|
+
try {
|
|
10
|
+
return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res;
|
|
11
|
+
} catch (e) {
|
|
12
|
+
throw err = [e], e;
|
|
13
|
+
}
|
|
9
14
|
};
|
|
10
15
|
var __export = (target, all) => {
|
|
11
16
|
for (var name in all)
|
|
@@ -31370,7 +31375,7 @@ var init_package = __esm({
|
|
|
31370
31375
|
"package.json"() {
|
|
31371
31376
|
package_default = {
|
|
31372
31377
|
name: "@embarkai/ui-kit",
|
|
31373
|
-
version: "0.4.
|
|
31378
|
+
version: "0.4.128",
|
|
31374
31379
|
description: "React UI components and hooks for EmbarkAI authentication and Account Abstraction",
|
|
31375
31380
|
type: "module",
|
|
31376
31381
|
main: "./dist/index.cjs",
|
|
@@ -31416,45 +31421,45 @@ var init_package = __esm({
|
|
|
31416
31421
|
},
|
|
31417
31422
|
dependencies: {
|
|
31418
31423
|
"@embarkai/core": "workspace:*",
|
|
31419
|
-
"@radix-ui/react-checkbox": "^1.
|
|
31420
|
-
"@radix-ui/react-dialog": "^1.1
|
|
31421
|
-
"@radix-ui/react-radio-group": "^1.
|
|
31422
|
-
"@radix-ui/react-select": "^2.
|
|
31423
|
-
"@sentry/browser": "^10.
|
|
31424
|
+
"@radix-ui/react-checkbox": "^1.4.1",
|
|
31425
|
+
"@radix-ui/react-dialog": "^1.3.1",
|
|
31426
|
+
"@radix-ui/react-radio-group": "^1.5.1",
|
|
31427
|
+
"@radix-ui/react-select": "^2.4.1",
|
|
31428
|
+
"@sentry/browser": "^10.77.1",
|
|
31424
31429
|
"class-variance-authority": "^0.7.1",
|
|
31425
31430
|
clsx: "^2.1.1",
|
|
31426
|
-
dayjs: "^1.11.
|
|
31431
|
+
dayjs: "^1.11.23",
|
|
31427
31432
|
"dkls23-wasm": "^0.1.1",
|
|
31428
31433
|
"lodash-es": "^4.18.1",
|
|
31429
|
-
"lucide-react": "^1.
|
|
31434
|
+
"lucide-react": "^1.63.0",
|
|
31430
31435
|
mipd: "^0.0.7",
|
|
31431
|
-
motion: "^13.
|
|
31436
|
+
motion: "^13.5.1",
|
|
31432
31437
|
qrcode: "^1.5.4",
|
|
31433
|
-
viem: "^2.
|
|
31434
|
-
wagmi: "^3.7.
|
|
31435
|
-
zustand: "^5.0.
|
|
31438
|
+
viem: "^2.57.12",
|
|
31439
|
+
wagmi: "^3.7.9",
|
|
31440
|
+
zustand: "^5.0.16"
|
|
31436
31441
|
},
|
|
31437
31442
|
devDependencies: {
|
|
31438
31443
|
"@svgr/core": "^8.1.0",
|
|
31439
31444
|
"@svgr/plugin-jsx": "^8.1.0",
|
|
31440
31445
|
"@tailwindcss/cli": "^4.3.3",
|
|
31441
|
-
"@tanstack/react-query": "^5.
|
|
31446
|
+
"@tanstack/react-query": "^5.105.0",
|
|
31442
31447
|
"@types/lodash-es": "^4.17.12",
|
|
31443
31448
|
"@types/qrcode": "^1.5.6",
|
|
31444
|
-
"@types/react": "^19.
|
|
31445
|
-
"@types/react-dom": "^19.
|
|
31449
|
+
"@types/react": "^19.3.0",
|
|
31450
|
+
"@types/react-dom": "^19.3.0",
|
|
31446
31451
|
dotenv: "^17.4.2",
|
|
31447
31452
|
"esbuild-plugin-svgr": "^3.1.1",
|
|
31448
|
-
i18next: "^26.
|
|
31449
|
-
react: "^19.
|
|
31450
|
-
"react-dom": "^19.
|
|
31451
|
-
"react-i18next": "^17.
|
|
31453
|
+
i18next: "^26.5.11",
|
|
31454
|
+
react: "^19.3.1",
|
|
31455
|
+
"react-dom": "^19.3.1",
|
|
31456
|
+
"react-i18next": "^17.1.9",
|
|
31452
31457
|
"tailwind-merge": "^3.7.0",
|
|
31453
31458
|
tailwindcss: "^4.3.3",
|
|
31454
31459
|
tsup: "^8.5.1",
|
|
31455
31460
|
typescript: "^6.0.3",
|
|
31456
|
-
vite: "^8.
|
|
31457
|
-
vitest: "^4.1.
|
|
31461
|
+
vite: "^8.3.5",
|
|
31462
|
+
vitest: "^4.1.12"
|
|
31458
31463
|
},
|
|
31459
31464
|
repository: {
|
|
31460
31465
|
type: "git",
|
package/dist/index.d.cts
CHANGED
|
@@ -1971,9 +1971,9 @@ interface ConnectedApp {
|
|
|
1971
1971
|
lastActiveAt: string;
|
|
1972
1972
|
}
|
|
1973
1973
|
|
|
1974
|
-
declare function useConnectedApps(): _tanstack_react_query.UseQueryResult<
|
|
1974
|
+
declare function useConnectedApps(): _tanstack_react_query.UseQueryResult<ConnectedApp[], Error>;
|
|
1975
1975
|
|
|
1976
|
-
declare function useKeyshareRecoveryStats(): _tanstack_react_query.UseQueryResult<
|
|
1976
|
+
declare function useKeyshareRecoveryStats(): _tanstack_react_query.UseQueryResult<{
|
|
1977
1977
|
keyshareInfo: {
|
|
1978
1978
|
hasKeyshare: boolean;
|
|
1979
1979
|
ownerAddress?: `0x${string}`;
|
|
@@ -1981,10 +1981,10 @@ declare function useKeyshareRecoveryStats(): _tanstack_react_query.UseQueryResul
|
|
|
1981
1981
|
keyshareSize?: number;
|
|
1982
1982
|
};
|
|
1983
1983
|
shareRecoveryStats: RecoveryStats;
|
|
1984
|
-
}
|
|
1984
|
+
}, Error>;
|
|
1985
1985
|
|
|
1986
1986
|
/** The user's own policy for the active chain (one policy per wallet per chain) */
|
|
1987
|
-
declare function useUserAssetsPolicies(activeChainId: number): _tanstack_react_query.UseQueryResult<
|
|
1987
|
+
declare function useUserAssetsPolicies(activeChainId: number): _tanstack_react_query.UseQueryResult<UserPolicyView, Error>;
|
|
1988
1988
|
|
|
1989
1989
|
declare function getUserPolicy(userId: string, chainId: number): Promise<UserPolicyView>;
|
|
1990
1990
|
declare function putUserPolicy(userId: string, chainId: number, rules: PolicyRules): Promise<UserPolicyView>;
|
|
@@ -2014,10 +2014,10 @@ interface UseAssetRateOptions {
|
|
|
2014
2014
|
refetchInterval?: number;
|
|
2015
2015
|
staleTime?: number;
|
|
2016
2016
|
}
|
|
2017
|
-
declare function useAssetUsdtRate(assetSymbol: string | null, options?: UseAssetRateOptions): _tanstack_react_query.UseQueryResult<
|
|
2017
|
+
declare function useAssetUsdtRate(assetSymbol: string | null, options?: UseAssetRateOptions): _tanstack_react_query.UseQueryResult<{
|
|
2018
2018
|
symbol: string;
|
|
2019
2019
|
price: string;
|
|
2020
|
-
}
|
|
2020
|
+
}, Error>;
|
|
2021
2021
|
|
|
2022
2022
|
interface LinkedProfileDisplay extends AuthProvider {
|
|
2023
2023
|
displayName: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -1971,9 +1971,9 @@ interface ConnectedApp {
|
|
|
1971
1971
|
lastActiveAt: string;
|
|
1972
1972
|
}
|
|
1973
1973
|
|
|
1974
|
-
declare function useConnectedApps(): _tanstack_react_query.UseQueryResult<
|
|
1974
|
+
declare function useConnectedApps(): _tanstack_react_query.UseQueryResult<ConnectedApp[], Error>;
|
|
1975
1975
|
|
|
1976
|
-
declare function useKeyshareRecoveryStats(): _tanstack_react_query.UseQueryResult<
|
|
1976
|
+
declare function useKeyshareRecoveryStats(): _tanstack_react_query.UseQueryResult<{
|
|
1977
1977
|
keyshareInfo: {
|
|
1978
1978
|
hasKeyshare: boolean;
|
|
1979
1979
|
ownerAddress?: `0x${string}`;
|
|
@@ -1981,10 +1981,10 @@ declare function useKeyshareRecoveryStats(): _tanstack_react_query.UseQueryResul
|
|
|
1981
1981
|
keyshareSize?: number;
|
|
1982
1982
|
};
|
|
1983
1983
|
shareRecoveryStats: RecoveryStats;
|
|
1984
|
-
}
|
|
1984
|
+
}, Error>;
|
|
1985
1985
|
|
|
1986
1986
|
/** The user's own policy for the active chain (one policy per wallet per chain) */
|
|
1987
|
-
declare function useUserAssetsPolicies(activeChainId: number): _tanstack_react_query.UseQueryResult<
|
|
1987
|
+
declare function useUserAssetsPolicies(activeChainId: number): _tanstack_react_query.UseQueryResult<UserPolicyView, Error>;
|
|
1988
1988
|
|
|
1989
1989
|
declare function getUserPolicy(userId: string, chainId: number): Promise<UserPolicyView>;
|
|
1990
1990
|
declare function putUserPolicy(userId: string, chainId: number, rules: PolicyRules): Promise<UserPolicyView>;
|
|
@@ -2014,10 +2014,10 @@ interface UseAssetRateOptions {
|
|
|
2014
2014
|
refetchInterval?: number;
|
|
2015
2015
|
staleTime?: number;
|
|
2016
2016
|
}
|
|
2017
|
-
declare function useAssetUsdtRate(assetSymbol: string | null, options?: UseAssetRateOptions): _tanstack_react_query.UseQueryResult<
|
|
2017
|
+
declare function useAssetUsdtRate(assetSymbol: string | null, options?: UseAssetRateOptions): _tanstack_react_query.UseQueryResult<{
|
|
2018
2018
|
symbol: string;
|
|
2019
2019
|
price: string;
|
|
2020
|
-
}
|
|
2020
|
+
}, Error>;
|
|
2021
2021
|
|
|
2022
2022
|
interface LinkedProfileDisplay extends AuthProvider {
|
|
2023
2023
|
displayName: string;
|
package/dist/index.js
CHANGED
|
@@ -2,8 +2,13 @@ var __defProp = Object.defineProperty;
|
|
|
2
2
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
3
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
4
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
-
var __esm = (fn, res) => function __init() {
|
|
6
|
-
|
|
5
|
+
var __esm = (fn, res, err) => function __init() {
|
|
6
|
+
if (err) throw err[0];
|
|
7
|
+
try {
|
|
8
|
+
return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res;
|
|
9
|
+
} catch (e) {
|
|
10
|
+
throw err = [e], e;
|
|
11
|
+
}
|
|
7
12
|
};
|
|
8
13
|
var __export = (target, all) => {
|
|
9
14
|
for (var name in all)
|
|
@@ -31273,7 +31278,7 @@ var init_package = __esm({
|
|
|
31273
31278
|
"package.json"() {
|
|
31274
31279
|
package_default = {
|
|
31275
31280
|
name: "@embarkai/ui-kit",
|
|
31276
|
-
version: "0.4.
|
|
31281
|
+
version: "0.4.128",
|
|
31277
31282
|
description: "React UI components and hooks for EmbarkAI authentication and Account Abstraction",
|
|
31278
31283
|
type: "module",
|
|
31279
31284
|
main: "./dist/index.cjs",
|
|
@@ -31319,45 +31324,45 @@ var init_package = __esm({
|
|
|
31319
31324
|
},
|
|
31320
31325
|
dependencies: {
|
|
31321
31326
|
"@embarkai/core": "workspace:*",
|
|
31322
|
-
"@radix-ui/react-checkbox": "^1.
|
|
31323
|
-
"@radix-ui/react-dialog": "^1.1
|
|
31324
|
-
"@radix-ui/react-radio-group": "^1.
|
|
31325
|
-
"@radix-ui/react-select": "^2.
|
|
31326
|
-
"@sentry/browser": "^10.
|
|
31327
|
+
"@radix-ui/react-checkbox": "^1.4.1",
|
|
31328
|
+
"@radix-ui/react-dialog": "^1.3.1",
|
|
31329
|
+
"@radix-ui/react-radio-group": "^1.5.1",
|
|
31330
|
+
"@radix-ui/react-select": "^2.4.1",
|
|
31331
|
+
"@sentry/browser": "^10.77.1",
|
|
31327
31332
|
"class-variance-authority": "^0.7.1",
|
|
31328
31333
|
clsx: "^2.1.1",
|
|
31329
|
-
dayjs: "^1.11.
|
|
31334
|
+
dayjs: "^1.11.23",
|
|
31330
31335
|
"dkls23-wasm": "^0.1.1",
|
|
31331
31336
|
"lodash-es": "^4.18.1",
|
|
31332
|
-
"lucide-react": "^1.
|
|
31337
|
+
"lucide-react": "^1.63.0",
|
|
31333
31338
|
mipd: "^0.0.7",
|
|
31334
|
-
motion: "^13.
|
|
31339
|
+
motion: "^13.5.1",
|
|
31335
31340
|
qrcode: "^1.5.4",
|
|
31336
|
-
viem: "^2.
|
|
31337
|
-
wagmi: "^3.7.
|
|
31338
|
-
zustand: "^5.0.
|
|
31341
|
+
viem: "^2.57.12",
|
|
31342
|
+
wagmi: "^3.7.9",
|
|
31343
|
+
zustand: "^5.0.16"
|
|
31339
31344
|
},
|
|
31340
31345
|
devDependencies: {
|
|
31341
31346
|
"@svgr/core": "^8.1.0",
|
|
31342
31347
|
"@svgr/plugin-jsx": "^8.1.0",
|
|
31343
31348
|
"@tailwindcss/cli": "^4.3.3",
|
|
31344
|
-
"@tanstack/react-query": "^5.
|
|
31349
|
+
"@tanstack/react-query": "^5.105.0",
|
|
31345
31350
|
"@types/lodash-es": "^4.17.12",
|
|
31346
31351
|
"@types/qrcode": "^1.5.6",
|
|
31347
|
-
"@types/react": "^19.
|
|
31348
|
-
"@types/react-dom": "^19.
|
|
31352
|
+
"@types/react": "^19.3.0",
|
|
31353
|
+
"@types/react-dom": "^19.3.0",
|
|
31349
31354
|
dotenv: "^17.4.2",
|
|
31350
31355
|
"esbuild-plugin-svgr": "^3.1.1",
|
|
31351
|
-
i18next: "^26.
|
|
31352
|
-
react: "^19.
|
|
31353
|
-
"react-dom": "^19.
|
|
31354
|
-
"react-i18next": "^17.
|
|
31356
|
+
i18next: "^26.5.11",
|
|
31357
|
+
react: "^19.3.1",
|
|
31358
|
+
"react-dom": "^19.3.1",
|
|
31359
|
+
"react-i18next": "^17.1.9",
|
|
31355
31360
|
"tailwind-merge": "^3.7.0",
|
|
31356
31361
|
tailwindcss: "^4.3.3",
|
|
31357
31362
|
tsup: "^8.5.1",
|
|
31358
31363
|
typescript: "^6.0.3",
|
|
31359
|
-
vite: "^8.
|
|
31360
|
-
vitest: "^4.1.
|
|
31364
|
+
vite: "^8.3.5",
|
|
31365
|
+
vitest: "^4.1.12"
|
|
31361
31366
|
},
|
|
31362
31367
|
repository: {
|
|
31363
31368
|
type: "git",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@embarkai/ui-kit",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.128",
|
|
4
4
|
"description": "React UI components and hooks for EmbarkAI authentication and Account Abstraction",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.cjs",
|
|
@@ -34,46 +34,46 @@
|
|
|
34
34
|
"react-i18next": "^16.5.3"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@radix-ui/react-checkbox": "^1.
|
|
38
|
-
"@radix-ui/react-dialog": "^1.1
|
|
39
|
-
"@radix-ui/react-radio-group": "^1.
|
|
40
|
-
"@radix-ui/react-select": "^2.
|
|
41
|
-
"@sentry/browser": "^10.
|
|
37
|
+
"@radix-ui/react-checkbox": "^1.4.1",
|
|
38
|
+
"@radix-ui/react-dialog": "^1.3.1",
|
|
39
|
+
"@radix-ui/react-radio-group": "^1.5.1",
|
|
40
|
+
"@radix-ui/react-select": "^2.4.1",
|
|
41
|
+
"@sentry/browser": "^10.77.1",
|
|
42
42
|
"class-variance-authority": "^0.7.1",
|
|
43
43
|
"clsx": "^2.1.1",
|
|
44
|
-
"dayjs": "^1.11.
|
|
44
|
+
"dayjs": "^1.11.23",
|
|
45
45
|
"dkls23-wasm": "^0.1.1",
|
|
46
46
|
"lodash-es": "^4.18.1",
|
|
47
|
-
"lucide-react": "^1.
|
|
47
|
+
"lucide-react": "^1.63.0",
|
|
48
48
|
"mipd": "^0.0.7",
|
|
49
|
-
"motion": "^13.
|
|
49
|
+
"motion": "^13.5.1",
|
|
50
50
|
"qrcode": "^1.5.4",
|
|
51
|
-
"viem": "^2.
|
|
52
|
-
"wagmi": "^3.7.
|
|
53
|
-
"zustand": "^5.0.
|
|
54
|
-
"@embarkai/core": "0.4.
|
|
51
|
+
"viem": "^2.57.12",
|
|
52
|
+
"wagmi": "^3.7.9",
|
|
53
|
+
"zustand": "^5.0.16",
|
|
54
|
+
"@embarkai/core": "0.4.23"
|
|
55
55
|
},
|
|
56
56
|
"devDependencies": {
|
|
57
57
|
"@svgr/core": "^8.1.0",
|
|
58
58
|
"@svgr/plugin-jsx": "^8.1.0",
|
|
59
59
|
"@tailwindcss/cli": "^4.3.3",
|
|
60
|
-
"@tanstack/react-query": "^5.
|
|
60
|
+
"@tanstack/react-query": "^5.105.0",
|
|
61
61
|
"@types/lodash-es": "^4.17.12",
|
|
62
62
|
"@types/qrcode": "^1.5.6",
|
|
63
|
-
"@types/react": "^19.
|
|
64
|
-
"@types/react-dom": "^19.
|
|
63
|
+
"@types/react": "^19.3.0",
|
|
64
|
+
"@types/react-dom": "^19.3.0",
|
|
65
65
|
"dotenv": "^17.4.2",
|
|
66
66
|
"esbuild-plugin-svgr": "^3.1.1",
|
|
67
|
-
"i18next": "^26.
|
|
68
|
-
"react": "^19.
|
|
69
|
-
"react-dom": "^19.
|
|
70
|
-
"react-i18next": "^17.
|
|
67
|
+
"i18next": "^26.5.11",
|
|
68
|
+
"react": "^19.3.1",
|
|
69
|
+
"react-dom": "^19.3.1",
|
|
70
|
+
"react-i18next": "^17.1.9",
|
|
71
71
|
"tailwind-merge": "^3.7.0",
|
|
72
72
|
"tailwindcss": "^4.3.3",
|
|
73
73
|
"tsup": "^8.5.1",
|
|
74
74
|
"typescript": "^6.0.3",
|
|
75
|
-
"vite": "^8.
|
|
76
|
-
"vitest": "^4.1.
|
|
75
|
+
"vite": "^8.3.5",
|
|
76
|
+
"vitest": "^4.1.12"
|
|
77
77
|
},
|
|
78
78
|
"repository": {
|
|
79
79
|
"type": "git",
|