@nexus-cross/crossx-sdk-core 2.3.7-beta.1 → 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 +43 -43
- package/dist/index.cjs +10 -10
- package/dist/index.js +13 -13
- 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
|
|
@@ -5875,7 +5875,7 @@ const Rr = `
|
|
|
5875
5875
|
transition: opacity 0.15s;
|
|
5876
5876
|
/* disabled 기본값 = 브랜드 그라데이션 50% 투명도 */
|
|
5877
5877
|
background: var(--cx-primary-gradient);
|
|
5878
|
-
color:
|
|
5878
|
+
color: #ffffff;
|
|
5879
5879
|
opacity: 0.5;
|
|
5880
5880
|
letter-spacing: -0.01em;
|
|
5881
5881
|
}
|
|
@@ -6359,7 +6359,7 @@ const Rr = `
|
|
|
6359
6359
|
border: 1px solid var(--cx-border);
|
|
6360
6360
|
border-radius: 12px;
|
|
6361
6361
|
background: var(--cx-primary-gradient);
|
|
6362
|
-
color:
|
|
6362
|
+
color: #ffffff;
|
|
6363
6363
|
font-family: 'Pretendard', 'Sora', -apple-system, sans-serif;
|
|
6364
6364
|
font-size: 18px;
|
|
6365
6365
|
font-weight: 700;
|
|
@@ -6375,7 +6375,7 @@ const Rr = `
|
|
|
6375
6375
|
filter: none !important;
|
|
6376
6376
|
transform: none !important;
|
|
6377
6377
|
background: var(--cx-primary-gradient) !important;
|
|
6378
|
-
color:
|
|
6378
|
+
color: #ffffff !important;
|
|
6379
6379
|
}
|
|
6380
6380
|
.__crossx-btn-row {
|
|
6381
6381
|
display: flex;
|
|
@@ -6412,7 +6412,7 @@ const Rr = `
|
|
|
6412
6412
|
border: 1px solid var(--cx-border);
|
|
6413
6413
|
border-radius: 12px;
|
|
6414
6414
|
background: var(--cx-primary-gradient);
|
|
6415
|
-
color:
|
|
6415
|
+
color: #ffffff;
|
|
6416
6416
|
font-family: 'Pretendard', 'Sora', -apple-system, sans-serif;
|
|
6417
6417
|
font-size: 18px;
|
|
6418
6418
|
font-weight: 700;
|
|
@@ -6428,7 +6428,7 @@ const Rr = `
|
|
|
6428
6428
|
filter: none !important;
|
|
6429
6429
|
transform: none !important;
|
|
6430
6430
|
background: var(--cx-primary-gradient) !important;
|
|
6431
|
-
color:
|
|
6431
|
+
color: #ffffff !important;
|
|
6432
6432
|
}
|
|
6433
6433
|
|
|
6434
6434
|
/* ── Sign/Send modals: max-height + sticky buttons ─────────── */
|
|
@@ -7676,7 +7676,7 @@ button.__crossx-connect-other-block:active {
|
|
|
7676
7676
|
width: 100%;
|
|
7677
7677
|
padding: 16px;
|
|
7678
7678
|
background: var(--cx-primary-gradient);
|
|
7679
|
-
color:
|
|
7679
|
+
color: #ffffff;
|
|
7680
7680
|
border: none;
|
|
7681
7681
|
border-radius: 12px;
|
|
7682
7682
|
font-size: 18px;
|
|
@@ -8050,7 +8050,7 @@ button.__crossx-connect-other-block:active {
|
|
|
8050
8050
|
border: none;
|
|
8051
8051
|
border-radius: 12px;
|
|
8052
8052
|
background: var(--cx-primary-gradient);
|
|
8053
|
-
color:
|
|
8053
|
+
color: #ffffff;
|
|
8054
8054
|
font-family: inherit;
|
|
8055
8055
|
font-size: 16px;
|
|
8056
8056
|
font-weight: 600;
|
|
@@ -8067,7 +8067,7 @@ button.__crossx-connect-other-block:active {
|
|
|
8067
8067
|
filter: none !important;
|
|
8068
8068
|
transform: none !important;
|
|
8069
8069
|
background: var(--cx-primary-gradient) !important;
|
|
8070
|
-
color:
|
|
8070
|
+
color: #ffffff !important;
|
|
8071
8071
|
}
|
|
8072
8072
|
|
|
8073
8073
|
/* ── Amount tooltip ──────────────────────────────────────────────── */
|