@nexus-cross/crossx-sdk-core 2.4.0-beta.3 → 2.4.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 Bt = 2e3, Ze = 6e4, Ut = 1e3, Wt = 1e4, Ht = "0x77359400", Qe = "0x3B9ACA00", et = 130, Ge = 6, tt = 18, rt = 3e4, Gt = 5 * 60 * 1e3, Kt = 30 * 1e3, Fe = 100, Vt = 5 * 60 * 1e3, st = 60 * 1e3, zt = 5 * 60 * 1e3, qt = "crossx-sdk-js/2.4.0
|
|
19
|
+
const Bt = 2e3, Ze = 6e4, Ut = 1e3, Wt = 1e4, Ht = "0x77359400", Qe = "0x3B9ACA00", et = 130, Ge = 6, tt = 18, rt = 3e4, Gt = 5 * 60 * 1e3, Kt = 30 * 1e3, Fe = 100, Vt = 5 * 60 * 1e3, st = 60 * 1e3, zt = 5 * 60 * 1e3, qt = "crossx-sdk-js/2.4.0", Ke = "ONEpocket";
|
|
20
20
|
var fe = /* @__PURE__ */ ((i) => (i.MetaMask = "io.metamask", i.Binance = "com.binance.wallet", i.CROSSx = "crossx", i))(fe || {});
|
|
21
21
|
const jt = {
|
|
22
22
|
"io.metamask": "MetaMask",
|
|
@@ -2596,7 +2596,7 @@ const ce = class ce extends ar {
|
|
|
2596
2596
|
}
|
|
2597
2597
|
async _doInitialize(e) {
|
|
2598
2598
|
var r, t;
|
|
2599
|
-
c.log("[CROSSx SDK] v2.4.0
|
|
2599
|
+
c.log("[CROSSx SDK] v2.4.0 초기화 중..."), this.confirmation.setMessages(Q(this._config.locale));
|
|
2600
2600
|
try {
|
|
2601
2601
|
const s = ke();
|
|
2602
2602
|
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`);
|
|
@@ -2632,7 +2632,7 @@ const ce = class ce extends ar {
|
|
|
2632
2632
|
throw _;
|
|
2633
2633
|
}
|
|
2634
2634
|
}
|
|
2635
|
-
return this.initialized = !0, c.info("[CROSSx SDK] v2.4.0
|
|
2635
|
+
return this.initialized = !0, c.info("[CROSSx SDK] v2.4.0 초기화 완료"), this.emit("initialized", { restored: !!(l != null && l.success) }), l ?? null;
|
|
2636
2636
|
} catch (s) {
|
|
2637
2637
|
throw new u(d.AUTH_NOT_INITIALIZED, "SDK 초기화에 실패했습니다", s);
|
|
2638
2638
|
}
|
|
@@ -2652,7 +2652,7 @@ const ce = class ce extends ar {
|
|
|
2652
2652
|
c.log("[CROSSx] RN Bridge 감지 — Handshake 시도"), c.info("[CROSSx][RNBridge trace] Bootstrap config", {
|
|
2653
2653
|
appId: this._config.projectId,
|
|
2654
2654
|
appVersion: "1.0.0",
|
|
2655
|
-
sdkVersion: "2.4.0
|
|
2655
|
+
sdkVersion: "2.4.0",
|
|
2656
2656
|
keyId: "key-id-1",
|
|
2657
2657
|
userIdHash: "user-hash-placeholder",
|
|
2658
2658
|
projectId: this._config.projectId
|
|
@@ -2660,7 +2660,7 @@ const ce = class ce extends ar {
|
|
|
2660
2660
|
const e = new Y({
|
|
2661
2661
|
appId: this._config.projectId,
|
|
2662
2662
|
appVersion: "1.0.0",
|
|
2663
|
-
sdkVersion: "2.4.0
|
|
2663
|
+
sdkVersion: "2.4.0",
|
|
2664
2664
|
keyId: "key-id-1",
|
|
2665
2665
|
userIdHash: "user-hash-placeholder",
|
|
2666
2666
|
projectId: this._config.projectId
|