@nexus-cross/crossx-sdk-core 2.5.0-beta.1 → 2.5.0
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/core/constants.d.ts +1 -1
- package/dist/crossx.global +2 -2
- package/dist/index.cjs +2 -2
- package/dist/index.js +5 -5
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -16,7 +16,7 @@ class u extends Error {
|
|
|
16
16
|
};
|
|
17
17
|
}
|
|
18
18
|
}
|
|
19
|
-
const Ut = 2e3, Ze = 6e4, Wt = 1e3, Ht = 1e4, Gt = "0x77359400", Qe = "0x3B9ACA00", et = 130, He = 6, tt = 18, rt = 3e4, Kt = 300 * 1e3, Vt = 30 * 1e3, Fe = 100, qt = 300 * 1e3, st = 60 * 1e3, zt = "crossx-sdk-js/2.5.0
|
|
19
|
+
const Ut = 2e3, Ze = 6e4, Wt = 1e3, Ht = 1e4, Gt = "0x77359400", Qe = "0x3B9ACA00", et = 130, He = 6, tt = 18, rt = 3e4, Kt = 300 * 1e3, Vt = 30 * 1e3, Fe = 100, qt = 300 * 1e3, st = 60 * 1e3, zt = "crossx-sdk-js/2.5.0", Ge = "ONEpocket";
|
|
20
20
|
var we = /* @__PURE__ */ ((i) => (i.MetaMask = "io.metamask", i.Binance = "com.binance.wallet", i.CROSSx = "crossx", i))(we || {});
|
|
21
21
|
const jt = {
|
|
22
22
|
"io.metamask": "MetaMask",
|
|
@@ -2631,7 +2631,7 @@ const ce = class ce extends _r {
|
|
|
2631
2631
|
}
|
|
2632
2632
|
async _doInitialize(e) {
|
|
2633
2633
|
var r, t;
|
|
2634
|
-
c.log("[CROSSx SDK] v2.5.0
|
|
2634
|
+
c.log("[CROSSx SDK] v2.5.0 초기화 중..."), this.confirmation.setMessages(Q(this._config.locale));
|
|
2635
2635
|
try {
|
|
2636
2636
|
const s = Ke();
|
|
2637
2637
|
this.internalConfig.oauthServiceUrl = s.oauthServiceUrl, this.internalConfig.legacyOauthServiceUrl = s.legacyOauthServiceUrl, this.internalConfig.authApiUrl = s.authApiUrl, this.internalConfig.walletGatewayUrl = s.walletGatewayUrl, this.adapterConfig.gatewayUrl = s.walletGatewayUrl, (t = (r = this.crypto).setJWKSEndpoint) == null || t.call(r, `${s.authApiUrl}/.well-known/jwks.json`);
|
|
@@ -2667,7 +2667,7 @@ const ce = class ce extends _r {
|
|
|
2667
2667
|
throw _;
|
|
2668
2668
|
}
|
|
2669
2669
|
}
|
|
2670
|
-
return this.initialized = !0, c.info("[CROSSx SDK] v2.5.0
|
|
2670
|
+
return this.initialized = !0, c.info("[CROSSx SDK] v2.5.0 초기화 완료"), this.emit("initialized", { restored: !!(l != null && l.success) }), l ?? null;
|
|
2671
2671
|
} catch (s) {
|
|
2672
2672
|
throw new u(d.AUTH_NOT_INITIALIZED, "SDK 초기화에 실패했습니다", s);
|
|
2673
2673
|
}
|
|
@@ -2687,7 +2687,7 @@ const ce = class ce extends _r {
|
|
|
2687
2687
|
c.log("[CROSSx] RN Bridge 감지 — Handshake 시도"), c.info("[CROSSx][RNBridge trace] Bootstrap config", {
|
|
2688
2688
|
appId: this._config.projectId,
|
|
2689
2689
|
appVersion: "1.0.0",
|
|
2690
|
-
sdkVersion: "2.5.0
|
|
2690
|
+
sdkVersion: "2.5.0",
|
|
2691
2691
|
keyId: "key-id-1",
|
|
2692
2692
|
userIdHash: "user-hash-placeholder",
|
|
2693
2693
|
projectId: this._config.projectId
|
|
@@ -2695,7 +2695,7 @@ const ce = class ce extends _r {
|
|
|
2695
2695
|
const e = new Y({
|
|
2696
2696
|
appId: this._config.projectId,
|
|
2697
2697
|
appVersion: "1.0.0",
|
|
2698
|
-
sdkVersion: "2.5.0
|
|
2698
|
+
sdkVersion: "2.5.0",
|
|
2699
2699
|
keyId: "key-id-1",
|
|
2700
2700
|
userIdHash: "user-hash-placeholder",
|
|
2701
2701
|
projectId: this._config.projectId
|