@nexus-cross/onramp 1.3.1 → 1.3.3-beta.1

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.
@@ -119,9 +119,9 @@ interface OnRampRepository {
119
119
  */
120
120
  interface AlchemyPayBrowserAdapterOptions {
121
121
  /**
122
- * crossx 2.0 embedded-wallet-gateway용 식별자. kitConfig.crossProjectId가
123
- * `X-Project-Id`로 그대로 전달된다. `repository` 옵션을 직접 주입하는
124
- * 경우(예: Mock) projectId는 무시되어도 무방.
122
+ * crossx 2.0 embedded-wallet-gateway용 식별자. kitConfig.embeddedProjectId
123
+ * (미설정 시 crossProjectId)가 `X-Project-Id`로 그대로 전달된다. `repository`
124
+ * 옵션을 직접 주입하는 경우(예: Mock) projectId는 무시되어도 무방.
125
125
  */
126
126
  projectId?: string;
127
127
  /** native SDK 흐름에서만 사용. 웹은 생략. */
@@ -1,4 +1,4 @@
1
- export { k as AlchemyPayBrowserAdapter, A as AlchemyPayBrowserAdapterOptions } from '../../AlchemyPayBrowserAdapter-Dtas3vZE.js';
1
+ export { k as AlchemyPayBrowserAdapter, A as AlchemyPayBrowserAdapterOptions } from '../../AlchemyPayBrowserAdapter-DT8ZMFey.js';
2
2
 
3
3
  /**
4
4
  * AlchemyPay on-ramp URL 빌더 — 순수 함수만.
@@ -1,4 +1,4 @@
1
- import { O as OnRampPort, d as OnRampOpenParams, h as OnRampSession, A as AlchemyPayBrowserAdapterOptions, a as OnRampEligibility, j as OnRampStatusEvent, U as Unsubscribe } from './AlchemyPayBrowserAdapter-Dtas3vZE.js';
1
+ import { O as OnRampPort, d as OnRampOpenParams, h as OnRampSession, A as AlchemyPayBrowserAdapterOptions, a as OnRampEligibility, j as OnRampStatusEvent, U as Unsubscribe } from './AlchemyPayBrowserAdapter-DT8ZMFey.js';
2
2
 
3
3
  /**
4
4
  * 지갑 주소 / 네트워크 / 금액을 검증하고 eligibility 재확인 후 결제 위젯을 연다.
package/dist/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
- import { O as OnRampPort, a as OnRampEligibility, b as OnRampRepository, c as OnRampProviderId, d as OnRampOpenParams } from './AlchemyPayBrowserAdapter-Dtas3vZE.js';
2
- export { e as OnRampDisallowReason, f as OnRampError, g as OnRampErrorCode, h as OnRampSession, i as OnRampStatus, j as OnRampStatusEvent, U as Unsubscribe, n as normalizeDisallowReason } from './AlchemyPayBrowserAdapter-Dtas3vZE.js';
3
- export { C as CreateOnRampOptions, N as NetworkRegistry, O as OnRamp, a as OnRampNetworkInfo, b as OpenOnRampUseCase, W as WalletStateReader, c as createOnRamp } from './createOnRamp-DyJoY_CH.js';
1
+ import { O as OnRampPort, a as OnRampEligibility, b as OnRampRepository, c as OnRampProviderId, d as OnRampOpenParams } from './AlchemyPayBrowserAdapter-DT8ZMFey.js';
2
+ export { e as OnRampDisallowReason, f as OnRampError, g as OnRampErrorCode, h as OnRampSession, i as OnRampStatus, j as OnRampStatusEvent, U as Unsubscribe, n as normalizeDisallowReason } from './AlchemyPayBrowserAdapter-DT8ZMFey.js';
3
+ export { C as CreateOnRampOptions, N as NetworkRegistry, O as OnRamp, a as OnRampNetworkInfo, b as OpenOnRampUseCase, W as WalletStateReader, c as createOnRamp } from './createOnRamp-CY0uuL5w.js';
4
4
 
5
5
  /**
6
6
  * Port 위임 + 향후 멀티 프로바이더 머지 로직이 들어갈 자리.
@@ -38,7 +38,10 @@ declare const DEFAULT_ONRAMP_PATHS: OnRampEndpointPaths;
38
38
  declare function getOnRampBaseUrl(): string;
39
39
 
40
40
  interface HttpOnRampRepositoryOptions {
41
- /** kitConfig.crossProjectId — `X-Project-Id` 헤더로 사용. 필수. */
41
+ /**
42
+ * CROSSx 2.0 embedded wallet 프로젝트 ID (kitConfig.embeddedProjectId,
43
+ * 미설정 시 crossProjectId) — `X-Project-Id` 헤더로 사용. 필수.
44
+ */
42
45
  projectId: string;
43
46
  /** native SDK 흐름에서만 사용. 웹은 생략. */
44
47
  appId?: string;
@@ -1,8 +1,8 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import { ReactNode } from 'react';
3
- import { C as CreateOnRampOptions, O as OnRamp } from '../createOnRamp-DyJoY_CH.js';
4
- import { a as OnRampEligibility, j as OnRampStatusEvent, d as OnRampOpenParams, h as OnRampSession, f as OnRampError } from '../AlchemyPayBrowserAdapter-Dtas3vZE.js';
5
- export { e as OnRampDisallowReason, g as OnRampErrorCode, c as OnRampProviderId, i as OnRampStatus } from '../AlchemyPayBrowserAdapter-Dtas3vZE.js';
3
+ import { C as CreateOnRampOptions, O as OnRamp } from '../createOnRamp-CY0uuL5w.js';
4
+ import { a as OnRampEligibility, j as OnRampStatusEvent, d as OnRampOpenParams, h as OnRampSession, f as OnRampError } from '../AlchemyPayBrowserAdapter-DT8ZMFey.js';
5
+ export { e as OnRampDisallowReason, g as OnRampErrorCode, c as OnRampProviderId, i as OnRampStatus } from '../AlchemyPayBrowserAdapter-DT8ZMFey.js';
6
6
 
7
7
  interface OnRampProviderProps {
8
8
  /** createOnRamp options. 가장 흔한 케이스는 { projectId } 한 줄. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nexus-cross/onramp",
3
- "version": "1.3.1",
3
+ "version": "1.3.3-beta.1",
4
4
  "description": "fiat→crypto on-ramp integration (AlchemyPay first). Framework-agnostic core + React adapter.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",