@nexus-cross/crossx-sdk-core 2.1.1-beta.1 → 2.1.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.
package/dist/index.js CHANGED
@@ -922,7 +922,7 @@ const Ce = {
922
922
  oauthServiceUrl: "https://cross-wallet-oauth.crosstoken.io",
923
923
  authApiUrl: "https://cross-auth.crosstoken.io",
924
924
  walletGatewayUrl: "https://embedded-wallet-gateway.crosstoken.io/api/v1",
925
- portraitBaseUrl: "https://dev-portrait.crosstoken.io"
925
+ portraitBaseUrl: "https://portrait.crosstoken.io"
926
926
  },
927
927
  staging: {
928
928
  oauthServiceUrl: "https://stg-cross-wallet-oauth.crosstoken.io",
@@ -1850,7 +1850,7 @@ const Ie = class Ie extends hr {
1850
1850
  }
1851
1851
  async _doInitialize(e) {
1852
1852
  var s, t;
1853
- d.log("[CROSSx SDK] v2.1.1 초기화 중..."), this.confirmation.setMessages(xe(this._config.locale));
1853
+ d.log("[CROSSx SDK] v2.1.2 초기화 중..."), this.confirmation.setMessages(xe(this._config.locale));
1854
1854
  try {
1855
1855
  const n = ls();
1856
1856
  this.internalConfig.oauthServiceUrl = n.oauthServiceUrl, this.internalConfig.authApiUrl = n.authApiUrl, this.internalConfig.walletGatewayUrl = n.walletGatewayUrl, this.adapterConfig.gatewayUrl = n.walletGatewayUrl, (t = (s = this.crypto).setJWKSEndpoint) == null || t.call(s, `${n.authApiUrl}/.well-known/jwks.json`);
@@ -1867,7 +1867,7 @@ const Ie = class Ie extends hr {
1867
1867
  throw u;
1868
1868
  d.log("[CROSSx] initialize: 비밀번호 입력 취소 — 지갑 미로드 상태로 계속");
1869
1869
  }
1870
- return this.initialized = !0, d.info("[CROSSx SDK] v2.1.1 초기화 완료"), this.emit("initialized", { restored: !!(c != null && c.success) }), c ?? null;
1870
+ return this.initialized = !0, d.info("[CROSSx SDK] v2.1.2 초기화 완료"), this.emit("initialized", { restored: !!(c != null && c.success) }), c ?? null;
1871
1871
  } catch (n) {
1872
1872
  throw new g(h.AUTH_NOT_INITIALIZED, "SDK 초기화에 실패했습니다", n);
1873
1873
  }
@@ -8531,7 +8531,8 @@ function vi() {
8531
8531
  }
8532
8532
  const Ei = ls().portraitBaseUrl;
8533
8533
  function Ai(r, e) {
8534
- return e.replace("#", ""), `${Ei}/portrait/evm/${r}.png?size=56`;
8534
+ const s = e.replace("#", "");
8535
+ return `${Ei}/portrait/evm/${r}.png?size=256&bg=${s}`;
8535
8536
  }
8536
8537
  function zs(r, e, s) {
8537
8538
  const t = Ai(r, s), i = vi().replace(/"/g, """);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nexus-cross/crossx-sdk-core",
3
- "version": "2.1.1-beta.1",
3
+ "version": "2.1.2",
4
4
  "description": "CROSSx Core SDK - Vanilla JavaScript Embedded Wallet SDK",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",