@embarkai/ui-kit 0.4.94 → 0.4.96

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/README.md CHANGED
@@ -411,7 +411,7 @@ function TransactionExample() {
411
411
  const handleSend = async () => {
412
412
  try {
413
413
  const userOpHash = await sendTransaction({
414
- to: '0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb',
414
+ to: '0x742d35Cc6634C0532925a3b844Bc454e4438f44e',
415
415
  value: '1000000000000000000', // 1 ETH in wei
416
416
  data: '0x' // Optional contract call data
417
417
  })
@@ -450,7 +450,7 @@ function DirectTransactionExample() {
450
450
  try {
451
451
  // Send transaction directly with full control
452
452
  const userOpHash = await sendUserOperation(session, {
453
- to: '0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb',
453
+ to: '0x742d35Cc6634C0532925a3b844Bc454e4438f44e',
454
454
  value: '1000000000000000000', // 1 ETH in wei
455
455
  data: '0x', // optional contract call
456
456
  feeType: 'standard' // (Optional) 'economy' | 'standard' | 'fast'
@@ -683,7 +683,7 @@ function BackendSubmissionExample() {
683
683
 
684
684
  // Prepare and sign UserOp without sending to bundler
685
685
  const { userOp, userOpHash } = await prepareUserOperation(session, {
686
- to: '0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb',
686
+ to: '0x742d35Cc6634C0532925a3b844Bc454e4438f44e',
687
687
  value: '1000000000000000000', // 1 ETH in wei
688
688
  data: '0x',
689
689
  feeType: 'standard' // (Optional) 'economy' | 'standard' | 'fast'
@@ -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.94</title>
18
+ <title>EmbarkAI Secure Wallet - iframe version 0.4.96</title>
19
19
 
20
20
  <!-- Styles will be injected by build process -->
21
21
  <style>
@@ -571,7 +571,7 @@ var init_server_backup = __esm({
571
571
  }
572
572
  });
573
573
 
574
- // ../../node_modules/.pnpm/viem@2.52.2_bufferutil@4.0.9_typescript@6.0.3_utf-8-validate@6.0.6_zod@4.4.3/node_modules/viem/_esm/utils/data/isHex.js
574
+ // ../../node_modules/.pnpm/viem@2.52.2_typescript@6.0.3_zod@4.4.3/node_modules/viem/_esm/utils/data/isHex.js
575
575
  function isHex(value, { strict = true } = {}) {
576
576
  if (!value)
577
577
  return false;
@@ -580,31 +580,31 @@ function isHex(value, { strict = true } = {}) {
580
580
  return strict ? /^0x[0-9a-fA-F]*$/.test(value) : value.startsWith("0x");
581
581
  }
582
582
  var init_isHex = __esm({
583
- "../../node_modules/.pnpm/viem@2.52.2_bufferutil@4.0.9_typescript@6.0.3_utf-8-validate@6.0.6_zod@4.4.3/node_modules/viem/_esm/utils/data/isHex.js"() {
583
+ "../../node_modules/.pnpm/viem@2.52.2_typescript@6.0.3_zod@4.4.3/node_modules/viem/_esm/utils/data/isHex.js"() {
584
584
  }
585
585
  });
586
586
 
587
- // ../../node_modules/.pnpm/viem@2.52.2_bufferutil@4.0.9_typescript@6.0.3_utf-8-validate@6.0.6_zod@4.4.3/node_modules/viem/_esm/utils/data/size.js
587
+ // ../../node_modules/.pnpm/viem@2.52.2_typescript@6.0.3_zod@4.4.3/node_modules/viem/_esm/utils/data/size.js
588
588
  function size(value) {
589
589
  if (isHex(value, { strict: false }))
590
590
  return Math.ceil((value.length - 2) / 2);
591
591
  return value.length;
592
592
  }
593
593
  var init_size = __esm({
594
- "../../node_modules/.pnpm/viem@2.52.2_bufferutil@4.0.9_typescript@6.0.3_utf-8-validate@6.0.6_zod@4.4.3/node_modules/viem/_esm/utils/data/size.js"() {
594
+ "../../node_modules/.pnpm/viem@2.52.2_typescript@6.0.3_zod@4.4.3/node_modules/viem/_esm/utils/data/size.js"() {
595
595
  init_isHex();
596
596
  }
597
597
  });
598
598
 
599
- // ../../node_modules/.pnpm/viem@2.52.2_bufferutil@4.0.9_typescript@6.0.3_utf-8-validate@6.0.6_zod@4.4.3/node_modules/viem/_esm/errors/version.js
599
+ // ../../node_modules/.pnpm/viem@2.52.2_typescript@6.0.3_zod@4.4.3/node_modules/viem/_esm/errors/version.js
600
600
  var version;
601
601
  var init_version = __esm({
602
- "../../node_modules/.pnpm/viem@2.52.2_bufferutil@4.0.9_typescript@6.0.3_utf-8-validate@6.0.6_zod@4.4.3/node_modules/viem/_esm/errors/version.js"() {
602
+ "../../node_modules/.pnpm/viem@2.52.2_typescript@6.0.3_zod@4.4.3/node_modules/viem/_esm/errors/version.js"() {
603
603
  version = "2.52.2";
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@6.0.6_zod@4.4.3/node_modules/viem/_esm/errors/base.js
607
+ // ../../node_modules/.pnpm/viem@2.52.2_typescript@6.0.3_zod@4.4.3/node_modules/viem/_esm/errors/base.js
608
608
  function walk(err, fn) {
609
609
  if (fn?.(err))
610
610
  return err;
@@ -614,7 +614,7 @@ function walk(err, fn) {
614
614
  }
615
615
  var errorConfig, BaseError;
616
616
  var init_base = __esm({
617
- "../../node_modules/.pnpm/viem@2.52.2_bufferutil@4.0.9_typescript@6.0.3_utf-8-validate@6.0.6_zod@4.4.3/node_modules/viem/_esm/errors/base.js"() {
617
+ "../../node_modules/.pnpm/viem@2.52.2_typescript@6.0.3_zod@4.4.3/node_modules/viem/_esm/errors/base.js"() {
618
618
  init_version();
619
619
  errorConfig = {
620
620
  getDocsUrl: ({ docsBaseUrl, docsPath = "", docsSlug }) => docsPath ? `${docsBaseUrl ?? "https://viem.sh"}${docsPath}${docsSlug ? `#${docsSlug}` : ""}` : void 0,
@@ -694,10 +694,10 @@ var init_base = __esm({
694
694
  }
695
695
  });
696
696
 
697
- // ../../node_modules/.pnpm/viem@2.52.2_bufferutil@4.0.9_typescript@6.0.3_utf-8-validate@6.0.6_zod@4.4.3/node_modules/viem/_esm/errors/data.js
697
+ // ../../node_modules/.pnpm/viem@2.52.2_typescript@6.0.3_zod@4.4.3/node_modules/viem/_esm/errors/data.js
698
698
  var SizeExceedsPaddingSizeError;
699
699
  var init_data = __esm({
700
- "../../node_modules/.pnpm/viem@2.52.2_bufferutil@4.0.9_typescript@6.0.3_utf-8-validate@6.0.6_zod@4.4.3/node_modules/viem/_esm/errors/data.js"() {
700
+ "../../node_modules/.pnpm/viem@2.52.2_typescript@6.0.3_zod@4.4.3/node_modules/viem/_esm/errors/data.js"() {
701
701
  init_base();
702
702
  SizeExceedsPaddingSizeError = class extends BaseError {
703
703
  constructor({ size: size2, targetSize, type }) {
@@ -707,7 +707,7 @@ var init_data = __esm({
707
707
  }
708
708
  });
709
709
 
710
- // ../../node_modules/.pnpm/viem@2.52.2_bufferutil@4.0.9_typescript@6.0.3_utf-8-validate@6.0.6_zod@4.4.3/node_modules/viem/_esm/utils/data/pad.js
710
+ // ../../node_modules/.pnpm/viem@2.52.2_typescript@6.0.3_zod@4.4.3/node_modules/viem/_esm/utils/data/pad.js
711
711
  function pad(hexOrBytes, { dir, size: size2 = 32 } = {}) {
712
712
  if (typeof hexOrBytes === "string")
713
713
  return padHex(hexOrBytes, { dir, size: size2 });
@@ -742,15 +742,15 @@ function padBytes(bytes, { dir, size: size2 = 32 } = {}) {
742
742
  return paddedBytes;
743
743
  }
744
744
  var init_pad = __esm({
745
- "../../node_modules/.pnpm/viem@2.52.2_bufferutil@4.0.9_typescript@6.0.3_utf-8-validate@6.0.6_zod@4.4.3/node_modules/viem/_esm/utils/data/pad.js"() {
745
+ "../../node_modules/.pnpm/viem@2.52.2_typescript@6.0.3_zod@4.4.3/node_modules/viem/_esm/utils/data/pad.js"() {
746
746
  init_data();
747
747
  }
748
748
  });
749
749
 
750
- // ../../node_modules/.pnpm/viem@2.52.2_bufferutil@4.0.9_typescript@6.0.3_utf-8-validate@6.0.6_zod@4.4.3/node_modules/viem/_esm/errors/encoding.js
750
+ // ../../node_modules/.pnpm/viem@2.52.2_typescript@6.0.3_zod@4.4.3/node_modules/viem/_esm/errors/encoding.js
751
751
  var IntegerOutOfRangeError, SizeOverflowError;
752
752
  var init_encoding = __esm({
753
- "../../node_modules/.pnpm/viem@2.52.2_bufferutil@4.0.9_typescript@6.0.3_utf-8-validate@6.0.6_zod@4.4.3/node_modules/viem/_esm/errors/encoding.js"() {
753
+ "../../node_modules/.pnpm/viem@2.52.2_typescript@6.0.3_zod@4.4.3/node_modules/viem/_esm/errors/encoding.js"() {
754
754
  init_base();
755
755
  IntegerOutOfRangeError = class extends BaseError {
756
756
  constructor({ max, min, signed, size: size2, value }) {
@@ -765,7 +765,7 @@ var init_encoding = __esm({
765
765
  }
766
766
  });
767
767
 
768
- // ../../node_modules/.pnpm/viem@2.52.2_bufferutil@4.0.9_typescript@6.0.3_utf-8-validate@6.0.6_zod@4.4.3/node_modules/viem/_esm/utils/encoding/fromHex.js
768
+ // ../../node_modules/.pnpm/viem@2.52.2_typescript@6.0.3_zod@4.4.3/node_modules/viem/_esm/utils/encoding/fromHex.js
769
769
  function assertSize(hexOrBytes, { size: size2 }) {
770
770
  if (size(hexOrBytes) > size2)
771
771
  throw new SizeOverflowError({
@@ -774,13 +774,13 @@ function assertSize(hexOrBytes, { size: size2 }) {
774
774
  });
775
775
  }
776
776
  var init_fromHex = __esm({
777
- "../../node_modules/.pnpm/viem@2.52.2_bufferutil@4.0.9_typescript@6.0.3_utf-8-validate@6.0.6_zod@4.4.3/node_modules/viem/_esm/utils/encoding/fromHex.js"() {
777
+ "../../node_modules/.pnpm/viem@2.52.2_typescript@6.0.3_zod@4.4.3/node_modules/viem/_esm/utils/encoding/fromHex.js"() {
778
778
  init_encoding();
779
779
  init_size();
780
780
  }
781
781
  });
782
782
 
783
- // ../../node_modules/.pnpm/viem@2.52.2_bufferutil@4.0.9_typescript@6.0.3_utf-8-validate@6.0.6_zod@4.4.3/node_modules/viem/_esm/utils/encoding/toHex.js
783
+ // ../../node_modules/.pnpm/viem@2.52.2_typescript@6.0.3_zod@4.4.3/node_modules/viem/_esm/utils/encoding/toHex.js
784
784
  function toHex(value, opts = {}) {
785
785
  if (typeof value === "number" || typeof value === "bigint")
786
786
  return numberToHex(value, opts);
@@ -845,7 +845,7 @@ function stringToHex(value_, opts = {}) {
845
845
  }
846
846
  var hexes, encoder;
847
847
  var init_toHex = __esm({
848
- "../../node_modules/.pnpm/viem@2.52.2_bufferutil@4.0.9_typescript@6.0.3_utf-8-validate@6.0.6_zod@4.4.3/node_modules/viem/_esm/utils/encoding/toHex.js"() {
848
+ "../../node_modules/.pnpm/viem@2.52.2_typescript@6.0.3_zod@4.4.3/node_modules/viem/_esm/utils/encoding/toHex.js"() {
849
849
  init_encoding();
850
850
  init_pad();
851
851
  init_fromHex();
@@ -854,7 +854,7 @@ var init_toHex = __esm({
854
854
  }
855
855
  });
856
856
 
857
- // ../../node_modules/.pnpm/viem@2.52.2_bufferutil@4.0.9_typescript@6.0.3_utf-8-validate@6.0.6_zod@4.4.3/node_modules/viem/_esm/utils/encoding/toBytes.js
857
+ // ../../node_modules/.pnpm/viem@2.52.2_typescript@6.0.3_zod@4.4.3/node_modules/viem/_esm/utils/encoding/toBytes.js
858
858
  function toBytes(value, opts = {}) {
859
859
  if (typeof value === "number" || typeof value === "bigint")
860
860
  return numberToBytes(value, opts);
@@ -917,7 +917,7 @@ function stringToBytes(value, opts = {}) {
917
917
  }
918
918
  var encoder2, charCodeMap;
919
919
  var init_toBytes = __esm({
920
- "../../node_modules/.pnpm/viem@2.52.2_bufferutil@4.0.9_typescript@6.0.3_utf-8-validate@6.0.6_zod@4.4.3/node_modules/viem/_esm/utils/encoding/toBytes.js"() {
920
+ "../../node_modules/.pnpm/viem@2.52.2_typescript@6.0.3_zod@4.4.3/node_modules/viem/_esm/utils/encoding/toBytes.js"() {
921
921
  init_base();
922
922
  init_isHex();
923
923
  init_pad();
@@ -1224,7 +1224,7 @@ var init_sha3 = __esm({
1224
1224
  }
1225
1225
  });
1226
1226
 
1227
- // ../../node_modules/.pnpm/viem@2.52.2_bufferutil@4.0.9_typescript@6.0.3_utf-8-validate@6.0.6_zod@4.4.3/node_modules/viem/_esm/utils/hash/keccak256.js
1227
+ // ../../node_modules/.pnpm/viem@2.52.2_typescript@6.0.3_zod@4.4.3/node_modules/viem/_esm/utils/hash/keccak256.js
1228
1228
  function keccak256(value, to_) {
1229
1229
  const to = to_ || "hex";
1230
1230
  const bytes = keccak_256(isHex(value, { strict: false }) ? toBytes(value) : value);
@@ -1233,7 +1233,7 @@ function keccak256(value, to_) {
1233
1233
  return toHex(bytes);
1234
1234
  }
1235
1235
  var init_keccak256 = __esm({
1236
- "../../node_modules/.pnpm/viem@2.52.2_bufferutil@4.0.9_typescript@6.0.3_utf-8-validate@6.0.6_zod@4.4.3/node_modules/viem/_esm/utils/hash/keccak256.js"() {
1236
+ "../../node_modules/.pnpm/viem@2.52.2_typescript@6.0.3_zod@4.4.3/node_modules/viem/_esm/utils/hash/keccak256.js"() {
1237
1237
  init_sha3();
1238
1238
  init_isHex();
1239
1239
  init_toBytes();
@@ -2924,7 +2924,7 @@ async function __wbg_init(module_or_path) {
2924
2924
  }
2925
2925
  var dkls23_wasm_default = __wbg_init;
2926
2926
 
2927
- // ../../node_modules/.pnpm/viem@2.52.2_bufferutil@4.0.9_typescript@6.0.3_utf-8-validate@6.0.6_zod@4.4.3/node_modules/viem/_esm/index.js
2927
+ // ../../node_modules/.pnpm/viem@2.52.2_typescript@6.0.3_zod@4.4.3/node_modules/viem/_esm/index.js
2928
2928
  init_keccak256();
2929
2929
 
2930
2930
  // src/iframe/lib/dkg-manager.ts
@@ -6414,7 +6414,7 @@ var SigningManager = class extends TokenRefreshApiClient {
6414
6414
  };
6415
6415
 
6416
6416
  // src/iframe/main.ts
6417
- var IFRAME_VERSION = "0.4.94";
6417
+ var IFRAME_VERSION = "0.4.96";
6418
6418
  var IframeWallet = class {
6419
6419
  constructor() {
6420
6420
  __publicField(this, "messenger");
package/dist/index.cjs CHANGED
@@ -28744,7 +28744,7 @@ var init_package = __esm({
28744
28744
  "package.json"() {
28745
28745
  package_default = {
28746
28746
  name: "@embarkai/ui-kit",
28747
- version: "0.4.94",
28747
+ version: "0.4.96",
28748
28748
  description: "React UI components and hooks for EmbarkAI authentication and Account Abstraction",
28749
28749
  type: "module",
28750
28750
  main: "./dist/index.cjs",
@@ -28833,9 +28833,12 @@ var init_package = __esm({
28833
28833
  },
28834
28834
  repository: {
28835
28835
  type: "git",
28836
- url: "https://github.com/lumiachain/lumia-passport-sdk",
28837
- directory: "packages/ui-kit"
28836
+ url: "https://github.com/embark-ai/ui-kit.git"
28838
28837
  },
28838
+ bugs: {
28839
+ url: "https://github.com/embark-ai/ui-kit/issues"
28840
+ },
28841
+ homepage: "https://github.com/embark-ai/ui-kit#readme",
28839
28842
  publishConfig: {
28840
28843
  access: "public"
28841
28844
  }
package/dist/index.js CHANGED
@@ -28640,7 +28640,7 @@ var init_package = __esm({
28640
28640
  "package.json"() {
28641
28641
  package_default = {
28642
28642
  name: "@embarkai/ui-kit",
28643
- version: "0.4.94",
28643
+ version: "0.4.96",
28644
28644
  description: "React UI components and hooks for EmbarkAI authentication and Account Abstraction",
28645
28645
  type: "module",
28646
28646
  main: "./dist/index.cjs",
@@ -28729,9 +28729,12 @@ var init_package = __esm({
28729
28729
  },
28730
28730
  repository: {
28731
28731
  type: "git",
28732
- url: "https://github.com/lumiachain/lumia-passport-sdk",
28733
- directory: "packages/ui-kit"
28732
+ url: "https://github.com/embark-ai/ui-kit.git"
28734
28733
  },
28734
+ bugs: {
28735
+ url: "https://github.com/embark-ai/ui-kit/issues"
28736
+ },
28737
+ homepage: "https://github.com/embark-ai/ui-kit#readme",
28735
28738
  publishConfig: {
28736
28739
  access: "public"
28737
28740
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@embarkai/ui-kit",
3
- "version": "0.4.94",
3
+ "version": "0.4.96",
4
4
  "description": "React UI components and hooks for EmbarkAI authentication and Account Abstraction",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",
@@ -50,7 +50,7 @@
50
50
  "viem": "^2.52.2",
51
51
  "wagmi": "^3.7.5",
52
52
  "zustand": "^5.0.14",
53
- "@embarkai/core": "0.4.14"
53
+ "@embarkai/core": "0.4.16"
54
54
  },
55
55
  "devDependencies": {
56
56
  "@svgr/core": "^8.1.0",
@@ -78,9 +78,12 @@
78
78
  },
79
79
  "repository": {
80
80
  "type": "git",
81
- "url": "https://github.com/lumiachain/lumia-passport-sdk",
82
- "directory": "packages/ui-kit"
81
+ "url": "https://github.com/embark-ai/ui-kit.git"
83
82
  },
83
+ "bugs": {
84
+ "url": "https://github.com/embark-ai/ui-kit/issues"
85
+ },
86
+ "homepage": "https://github.com/embark-ai/ui-kit#readme",
84
87
  "publishConfig": {
85
88
  "access": "public"
86
89
  },