@nexus-cross/crossx-sdk-core 1.0.8 → 1.0.9
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/config/environments.d.ts +7 -5
- package/dist/core/config/environments.d.ts.map +1 -1
- package/dist/crossx.global +1228 -0
- package/dist/index.cjs +28 -28
- package/dist/index.js +366 -374
- package/package.json +4 -2
|
@@ -3,8 +3,7 @@
|
|
|
3
3
|
*
|
|
4
4
|
* 우선순위:
|
|
5
5
|
* 1. 빌드 타임 주입 (__CROSSX_CONFIG__) — Vite define / Webpack DefinePlugin 등
|
|
6
|
-
* 2.
|
|
7
|
-
* 3. production 기본값
|
|
6
|
+
* 2. production 기본값
|
|
8
7
|
*/
|
|
9
8
|
export type SDKEnvironment = 'production' | 'staging' | 'development';
|
|
10
9
|
export interface CrossxConfigFile {
|
|
@@ -21,8 +20,11 @@ export declare const ENVIRONMENTS: Record<SDKEnvironment, EnvironmentUrls>;
|
|
|
21
20
|
*
|
|
22
21
|
* 우선순위:
|
|
23
22
|
* 1. __CROSSX_CONFIG__ (빌드 도구가 프로젝트 루트의 crossx.config.json을 주입)
|
|
24
|
-
* 2.
|
|
25
|
-
*
|
|
23
|
+
* 2. production 기본값
|
|
24
|
+
*
|
|
25
|
+
* 런타임 fetch(/crossx.config.json)는 일반 SDK 사용자에게 불필요한 404를
|
|
26
|
+
* 유발하므로 제거되었습니다. 내부 개발자는 빌드 도구의 __CROSSX_CONFIG__ 주입을
|
|
27
|
+
* 사용하세요. (Vite: define, Next.js: webpack DefinePlugin)
|
|
26
28
|
*/
|
|
27
|
-
export declare function resolveEndpoints():
|
|
29
|
+
export declare function resolveEndpoints(): EnvironmentUrls;
|
|
28
30
|
//# sourceMappingURL=environments.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"environments.d.ts","sourceRoot":"","sources":["../../../src/core/config/environments.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"environments.d.ts","sourceRoot":"","sources":["../../../src/core/config/environments.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,MAAM,MAAM,cAAc,GAAG,YAAY,GAAG,SAAS,GAAG,aAAa,CAAC;AAEtE,MAAM,WAAW,gBAAgB;IAC/B,WAAW,CAAC,EAAE,cAAc,CAAC;CAC9B;AAED,MAAM,WAAW,eAAe;IAC9B,eAAe,EAAE,MAAM,CAAC;IACxB,UAAU,EAAE,MAAM,CAAC;IACnB,gBAAgB,EAAE,MAAM,CAAC;CAC1B;AAMD,eAAO,MAAM,YAAY,EAAE,MAAM,CAAC,cAAc,EAAE,eAAe,CAsBhE,CAAC;AAUF;;;;;;;;;;GAUG;AACH,wBAAgB,gBAAgB,IAAI,eAAe,CAiBlD"}
|