@embarkai/ui-kit 0.6.9 → 0.6.10

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.6.9</title>
18
+ <title>embarkAI Secure Wallet - iframe version 0.6.10</title>
19
19
 
20
20
  <!-- Styles will be injected by build process -->
21
21
  <style>
@@ -2662,7 +2662,7 @@ var ACCOUNT_ROUTES = [
2662
2662
  { method: "POST", path: /^\/api\/auth\/link\/email\/(send-code|verify-code)$/ },
2663
2663
  { method: "POST", path: /^\/api\/auth\/link\/passkey\/(begin|complete)$/ },
2664
2664
  { method: "POST", path: /^\/api\/auth\/link\/(x|discord)\/start$/ },
2665
- { method: "DELETE", path: /^\/api\/auth\/unlink\/wallet$/, query: ["address"] },
2665
+ { method: "DELETE", path: /^\/api\/auth\/unlink\/wallet$/, query: ["address", "externalId"] },
2666
2666
  { method: "DELETE", path: new RegExp(`^/api/auth/unlink/(${UNLINKABLE})$`), query: ["externalId"] }
2667
2667
  ];
2668
2668
  function parseAccountRoute(method, pathWithQuery) {
@@ -2765,7 +2765,7 @@ function createAccountAbstractionError(params) {
2765
2765
 
2766
2766
  // src/iframe/lib/sdk-version.ts
2767
2767
  var SDK_VERSION_HEADER = "X-Embark-SDK-Version";
2768
- var IFRAME_SDK_VERSION = `iframe-${"0.6.9"}`;
2768
+ var IFRAME_SDK_VERSION = `iframe-${"0.6.10"}`;
2769
2769
  function sdkVersionHeaders() {
2770
2770
  return { [SDK_VERSION_HEADER]: IFRAME_SDK_VERSION };
2771
2771
  }
@@ -5280,7 +5280,7 @@ var GoogleDriveProvider = class {
5280
5280
  __publicField(this, "icon", "\u{1F4C1}");
5281
5281
  // Can be replaced with proper icon
5282
5282
  __publicField(this, "accessToken", null);
5283
- __publicField(this, "CLIENT_ID", typeof window.__GOOGLE_DRIVE_CLIENT_ID__ !== "undefined" && window.__GOOGLE_DRIVE_CLIENT_ID__ || "");
5283
+ __publicField(this, "CLIENT_ID", "41560291859-hjqblt3jb80e268i0nafeu4m89eomhg3.apps.googleusercontent.com");
5284
5284
  __publicField(this, "DISCOVERY_DOC", "https://www.googleapis.com/discovery/v1/apis/drive/v3/rest");
5285
5285
  __publicField(this, "SCOPES", "https://www.googleapis.com/auth/drive.file https://www.googleapis.com/auth/drive.appdata");
5286
5286
  __publicField(this, "gapiInitialized", false);
@@ -8746,7 +8746,7 @@ var UserPolicyAPI = class extends TokenRefreshApiClient {
8746
8746
  };
8747
8747
 
8748
8748
  // src/iframe/main.ts
8749
- var IFRAME_VERSION = "0.6.9";
8749
+ var IFRAME_VERSION = "0.6.10";
8750
8750
  function walletOwnerOf(data) {
8751
8751
  const owner = data?.walletOwner;
8752
8752
  return typeof owner === "string" && /^0x[0-9a-fA-F]{40}$/.test(owner) ? owner : void 0;
package/dist/index.cjs CHANGED
@@ -333,7 +333,7 @@ var import_auth, UI_KIT_VERSION;
333
333
  var init_sdk_version = __esm({
334
334
  "src/internal/lib/sdk-version.ts"() {
335
335
  import_auth = require("@embarkai/core/auth");
336
- UI_KIT_VERSION = "0.6.9";
336
+ UI_KIT_VERSION = "0.6.10";
337
337
  if (UI_KIT_VERSION) (0, import_auth.setSdkVersion)(UI_KIT_VERSION);
338
338
  }
339
339
  });
@@ -6281,7 +6281,7 @@ var init_account_routes = __esm({
6281
6281
  { method: "POST", path: /^\/api\/auth\/link\/email\/(send-code|verify-code)$/ },
6282
6282
  { method: "POST", path: /^\/api\/auth\/link\/passkey\/(begin|complete)$/ },
6283
6283
  { method: "POST", path: /^\/api\/auth\/link\/(x|discord)\/start$/ },
6284
- { method: "DELETE", path: /^\/api\/auth\/unlink\/wallet$/, query: ["address"] },
6284
+ { method: "DELETE", path: /^\/api\/auth\/unlink\/wallet$/, query: ["address", "externalId"] },
6285
6285
  { method: "DELETE", path: new RegExp(`^/api/auth/unlink/(${UNLINKABLE})$`), query: ["externalId"] }
6286
6286
  ];
6287
6287
  }
@@ -34195,7 +34195,7 @@ var init_package = __esm({
34195
34195
  "package.json"() {
34196
34196
  package_default = {
34197
34197
  name: "@embarkai/ui-kit",
34198
- version: "0.6.9",
34198
+ version: "0.6.10",
34199
34199
  description: "React UI components and hooks for embarkAI authentication and Account Abstraction",
34200
34200
  type: "module",
34201
34201
  main: "./dist/index.cjs",
package/dist/index.js CHANGED
@@ -323,7 +323,7 @@ import { getSdkVersion, sdkVersionHeaders, setSdkVersion } from "@embarkai/core/
323
323
  var UI_KIT_VERSION;
324
324
  var init_sdk_version = __esm({
325
325
  "src/internal/lib/sdk-version.ts"() {
326
- UI_KIT_VERSION = "0.6.9";
326
+ UI_KIT_VERSION = "0.6.10";
327
327
  if (UI_KIT_VERSION) setSdkVersion(UI_KIT_VERSION);
328
328
  }
329
329
  });
@@ -6267,7 +6267,7 @@ var init_account_routes = __esm({
6267
6267
  { method: "POST", path: /^\/api\/auth\/link\/email\/(send-code|verify-code)$/ },
6268
6268
  { method: "POST", path: /^\/api\/auth\/link\/passkey\/(begin|complete)$/ },
6269
6269
  { method: "POST", path: /^\/api\/auth\/link\/(x|discord)\/start$/ },
6270
- { method: "DELETE", path: /^\/api\/auth\/unlink\/wallet$/, query: ["address"] },
6270
+ { method: "DELETE", path: /^\/api\/auth\/unlink\/wallet$/, query: ["address", "externalId"] },
6271
6271
  { method: "DELETE", path: new RegExp(`^/api/auth/unlink/(${UNLINKABLE})$`), query: ["externalId"] }
6272
6272
  ];
6273
6273
  }
@@ -34126,7 +34126,7 @@ var init_package = __esm({
34126
34126
  "package.json"() {
34127
34127
  package_default = {
34128
34128
  name: "@embarkai/ui-kit",
34129
- version: "0.6.9",
34129
+ version: "0.6.10",
34130
34130
  description: "React UI components and hooks for embarkAI authentication and Account Abstraction",
34131
34131
  type: "module",
34132
34132
  main: "./dist/index.cjs",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@embarkai/ui-kit",
3
- "version": "0.6.9",
3
+ "version": "0.6.10",
4
4
  "description": "React UI components and hooks for embarkAI authentication and Account Abstraction",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",