@nexus-cross/crossx-sdk-core 2.3.7-beta.2 → 2.3.7
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 h extends Error {
|
|
|
16
16
|
};
|
|
17
17
|
}
|
|
18
18
|
}
|
|
19
|
-
const Rt = 2e3, je = 6e4, Nt = 1e3, Pt = 1e4, Ct = "0x77359400", Ye = "0x3B9ACA00", Xe = 130, Fe = 6, Je = 18, Ze = 3e4, Ot = 5 * 60 * 1e3, Lt = 30 * 1e3, Ce = 100, Dt = "crossx-sdk-js/2.3.7
|
|
19
|
+
const Rt = 2e3, je = 6e4, Nt = 1e3, Pt = 1e4, Ct = "0x77359400", Ye = "0x3B9ACA00", Xe = 130, Fe = 6, Je = 18, Ze = 3e4, Ot = 5 * 60 * 1e3, Lt = 30 * 1e3, Ce = 100, Dt = "crossx-sdk-js/2.3.7", Be = "ONEwallet";
|
|
20
20
|
var ue = /* @__PURE__ */ ((i) => (i.MetaMask = "io.metamask", i.Binance = "com.binance.wallet", i.CROSSx = "crossx", i))(ue || {});
|
|
21
21
|
const $t = {
|
|
22
22
|
"io.metamask": "MetaMask",
|
|
@@ -2546,7 +2546,7 @@ const oe = class oe extends Yt {
|
|
|
2546
2546
|
}
|
|
2547
2547
|
async _doInitialize(e) {
|
|
2548
2548
|
var r, t;
|
|
2549
|
-
c.log("[CROSSx SDK] v2.3.7
|
|
2549
|
+
c.log("[CROSSx SDK] v2.3.7 초기화 중..."), this.confirmation.setMessages(J(this._config.locale));
|
|
2550
2550
|
try {
|
|
2551
2551
|
const s = We();
|
|
2552
2552
|
this.internalConfig.oauthServiceUrl = s.oauthServiceUrl, 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`);
|
|
@@ -2582,7 +2582,7 @@ const oe = class oe extends Yt {
|
|
|
2582
2582
|
throw u;
|
|
2583
2583
|
}
|
|
2584
2584
|
}
|
|
2585
|
-
return this.initialized = !0, c.info("[CROSSx SDK] v2.3.7
|
|
2585
|
+
return this.initialized = !0, c.info("[CROSSx SDK] v2.3.7 초기화 완료"), this.emit("initialized", { restored: !!(l != null && l.success) }), l ?? null;
|
|
2586
2586
|
} catch (s) {
|
|
2587
2587
|
throw new h(d.AUTH_NOT_INITIALIZED, "SDK 초기화에 실패했습니다", s);
|
|
2588
2588
|
}
|
|
@@ -2602,7 +2602,7 @@ const oe = class oe extends Yt {
|
|
|
2602
2602
|
c.log("[CROSSx] RN Bridge 감지 — Handshake 시도"), c.info("[CROSSx][RNBridge trace] Bootstrap config", {
|
|
2603
2603
|
appId: this._config.projectId,
|
|
2604
2604
|
appVersion: "1.0.0",
|
|
2605
|
-
sdkVersion: "2.3.7
|
|
2605
|
+
sdkVersion: "2.3.7",
|
|
2606
2606
|
keyId: "key-id-1",
|
|
2607
2607
|
userIdHash: "user-hash-placeholder",
|
|
2608
2608
|
projectId: this._config.projectId
|
|
@@ -2610,7 +2610,7 @@ const oe = class oe extends Yt {
|
|
|
2610
2610
|
const e = new Y({
|
|
2611
2611
|
appId: this._config.projectId,
|
|
2612
2612
|
appVersion: "1.0.0",
|
|
2613
|
-
sdkVersion: "2.3.7
|
|
2613
|
+
sdkVersion: "2.3.7",
|
|
2614
2614
|
keyId: "key-id-1",
|
|
2615
2615
|
userIdHash: "user-hash-placeholder",
|
|
2616
2616
|
projectId: this._config.projectId
|