@embarkai/ui-kit 0.4.104 → 0.4.105

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.
@@ -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.104</title>
18
+ <title>EmbarkAI Secure Wallet - iframe version 0.4.105</title>
19
19
 
20
20
  <!-- Styles will be injected by build process -->
21
21
  <style>
@@ -6342,7 +6342,7 @@ var SigningManager = class extends TokenRefreshApiClient {
6342
6342
  };
6343
6343
 
6344
6344
  // src/iframe/main.ts
6345
- var IFRAME_VERSION = "0.4.104";
6345
+ var IFRAME_VERSION = "0.4.105";
6346
6346
  var IframeWallet = class {
6347
6347
  // private finchpay: FinchPayRampAPI
6348
6348
  // private rampnow: RampnowOnrampAPI
package/dist/index.cjs CHANGED
@@ -17367,9 +17367,9 @@ function ConnectExternalWalletMenu() {
17367
17367
  const skipLinkWalletProfile = providers.findIndex((p) => p.externalId === walletData.address) !== -1;
17368
17368
  if (skipLinkWalletProfile)
17369
17369
  return { linked: false, message: `Address ${walletData.address} already linked` };
17370
- return await linkWallet(walletData).then(async () => await onLinkingComplete(true)).catch((err) => {
17371
- throw err;
17372
- });
17370
+ await linkWallet(walletData);
17371
+ await onLinkingComplete(true);
17372
+ return { linked: true, message: `Address ${walletData.address} linked` };
17373
17373
  // Connect external wallet flow, only if embarkAI is connected
17374
17374
  case "connect":
17375
17375
  return null;
@@ -29956,7 +29956,7 @@ var init_package = __esm({
29956
29956
  "package.json"() {
29957
29957
  package_default = {
29958
29958
  name: "@embarkai/ui-kit",
29959
- version: "0.4.104",
29959
+ version: "0.4.105",
29960
29960
  description: "React UI components and hooks for EmbarkAI authentication and Account Abstraction",
29961
29961
  type: "module",
29962
29962
  main: "./dist/index.cjs",
package/dist/index.js CHANGED
@@ -17320,9 +17320,9 @@ function ConnectExternalWalletMenu() {
17320
17320
  const skipLinkWalletProfile = providers.findIndex((p) => p.externalId === walletData.address) !== -1;
17321
17321
  if (skipLinkWalletProfile)
17322
17322
  return { linked: false, message: `Address ${walletData.address} already linked` };
17323
- return await linkWallet(walletData).then(async () => await onLinkingComplete(true)).catch((err) => {
17324
- throw err;
17325
- });
17323
+ await linkWallet(walletData);
17324
+ await onLinkingComplete(true);
17325
+ return { linked: true, message: `Address ${walletData.address} linked` };
17326
17326
  // Connect external wallet flow, only if embarkAI is connected
17327
17327
  case "connect":
17328
17328
  return null;
@@ -29847,7 +29847,7 @@ var init_package = __esm({
29847
29847
  "package.json"() {
29848
29848
  package_default = {
29849
29849
  name: "@embarkai/ui-kit",
29850
- version: "0.4.104",
29850
+ version: "0.4.105",
29851
29851
  description: "React UI components and hooks for EmbarkAI authentication and Account Abstraction",
29852
29852
  type: "module",
29853
29853
  main: "./dist/index.cjs",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@embarkai/ui-kit",
3
- "version": "0.4.104",
3
+ "version": "0.4.105",
4
4
  "description": "React UI components and hooks for EmbarkAI authentication and Account Abstraction",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",