@nexus-cross/crossx-sdk-core 3.0.0-beta.1 → 3.0.0-beta.2

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.
@@ -16,7 +16,7 @@ class h extends Error {
16
16
  };
17
17
  }
18
18
  }
19
- const Ft = 2e3, Fe = 6e4, Bt = 1e3, Gt = 1e4, Kt = "0x77359400", Be = "0x3B9ACA00", Ge = 130, ut = 6, Ke = 18, He = 3e4, Ht = 300 * 1e3, Vt = 30 * 1e3, Ve = 100, $t = 300 * 1e3, $e = 60 * 1e3, le = "crossx-sdk-js/3.0.0-beta.1", Yt = "X-SDK-Version", qt = !1, jt = "x-sdk-deprecation", de = -10050, gt = "ONEpocket";
19
+ const Ft = 2e3, Fe = 6e4, Bt = 1e3, Gt = 1e4, Kt = "0x77359400", Be = "0x3B9ACA00", Ge = 130, ut = 6, Ke = 18, He = 3e4, Ht = 300 * 1e3, Vt = 30 * 1e3, Ve = 100, $t = 300 * 1e3, $e = 60 * 1e3, le = "crossx-sdk-js/3.0.0-beta.2", Yt = "X-SDK-Version", qt = !1, jt = "x-sdk-deprecation", de = -10050, gt = "ONEpocket";
20
20
  var Xt = /* @__PURE__ */ ((i) => (i.MetaMask = "io.metamask", i.Binance = "com.binance.wallet", i.CROSSx = "crossx", i))(Xt || {});
21
21
  const zt = {
22
22
  "io.metamask": "MetaMask",
@@ -3850,12 +3850,12 @@ const W = class W extends or {
3850
3850
  }
3851
3851
  async _doInitialize(e) {
3852
3852
  var t, s;
3853
- c.log("[CROSSx SDK] v3.0.0-beta.1 초기화 중..."), this.confirmation.setMessages(M(this._config.locale));
3853
+ c.log("[CROSSx SDK] v3.0.0-beta.2 초기화 중..."), this.confirmation.setMessages(M(this._config.locale));
3854
3854
  try {
3855
3855
  const r = ue();
3856
3856
  if (this.internalConfig.oauthServiceUrl = r.oauthServiceUrl, this.internalConfig.legacyOauthServiceUrl = r.legacyOauthServiceUrl, this.internalConfig.authApiUrl = r.authApiUrl, this.internalConfig.walletGatewayUrl = r.walletGatewayUrl, this.adapterConfig.gatewayUrl = r.walletGatewayUrl, (s = (t = this.crypto).setJWKSEndpoint) == null || s.call(t, `${r.authApiUrl}/.well-known/jwks.json`), this.usesOneWallet) {
3857
3857
  const g = await this.restoreOneWalletSession();
3858
- return this.initialized = !0, c.info("[CROSSx SDK] v3.0.0-beta.1 초기화 완료 (one-wallet)"), this.emit("initialized", { restored: !!(g != null && g.success) }), g;
3858
+ return this.initialized = !0, c.info("[CROSSx SDK] v3.0.0-beta.2 초기화 완료 (one-wallet)"), this.emit("initialized", { restored: !!(g != null && g.success) }), g;
3859
3859
  }
3860
3860
  const n = this._config.persistWalletPreference !== !1 ? await this.storage.get(
3861
3861
  W.WALLET_PREF_KEY
@@ -3889,7 +3889,7 @@ const W = class W extends or {
3889
3889
  throw _;
3890
3890
  }
3891
3891
  }
3892
- return this.initialized = !0, c.info("[CROSSx SDK] v3.0.0-beta.1 초기화 완료"), this.emit("initialized", { restored: !!(d != null && d.success) }), d ?? null;
3892
+ return this.initialized = !0, c.info("[CROSSx SDK] v3.0.0-beta.2 초기화 완료"), this.emit("initialized", { restored: !!(d != null && d.success) }), d ?? null;
3893
3893
  } catch (r) {
3894
3894
  throw new h(o.AUTH_NOT_INITIALIZED, "SDK 초기화에 실패했습니다", r);
3895
3895
  }
@@ -3909,7 +3909,7 @@ const W = class W extends or {
3909
3909
  c.log("[CROSSx] RN Bridge 감지 — Handshake 시도"), c.info("[CROSSx][RNBridge trace] Bootstrap config", {
3910
3910
  appId: this._config.projectId,
3911
3911
  appVersion: "1.0.0",
3912
- sdkVersion: "3.0.0-beta.1",
3912
+ sdkVersion: "3.0.0-beta.2",
3913
3913
  keyId: "key-id-1",
3914
3914
  userIdHash: "user-hash-placeholder",
3915
3915
  projectId: this._config.projectId
@@ -3917,7 +3917,7 @@ const W = class W extends or {
3917
3917
  const e = new b({
3918
3918
  appId: this._config.projectId,
3919
3919
  appVersion: "1.0.0",
3920
- sdkVersion: "3.0.0-beta.1",
3920
+ sdkVersion: "3.0.0-beta.2",
3921
3921
  keyId: "key-id-1",
3922
3922
  userIdHash: "user-hash-placeholder",
3923
3923
  projectId: this._config.projectId