@nexus-cross/crossx-sdk-core 2.3.3 → 2.3.7-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.
- package/dist/adapters/wallet/RNBridgeWalletProviderAdapter.d.ts +15 -1
- package/dist/core/config/environments.d.ts +6 -0
- package/dist/core/constants.d.ts +11 -1
- package/dist/core/types/chain.d.ts +2 -2
- package/dist/core/types/connectOtherWallet.d.ts +0 -5
- package/dist/core/types/index.d.ts +1 -1
- package/dist/crossx.global +82 -85
- package/dist/index.cjs +93 -96
- package/dist/index.d.ts +1 -1
- package/dist/index.js +685 -634
- package/dist/sdk/services/PinOrchestrator.d.ts +7 -0
- package/package.json +1 -1
|
@@ -12,6 +12,13 @@ type PinOrchestratorDeps = {
|
|
|
12
12
|
getUserEmail: () => string | null;
|
|
13
13
|
maskEmail: (email: string, appleLabel: string) => string;
|
|
14
14
|
signInAgain: () => Promise<AuthResult>;
|
|
15
|
+
/**
|
|
16
|
+
* §12 native sign delegation: 이 SDK 세션이 RN bridge 자동 로그인으로 인증된 경우만 true.
|
|
17
|
+
* true 반환 시 JS PIN 단계를 스킵한다 — native CROSSx 앱이 confirm + Keychain PIN 을 처리하므로
|
|
18
|
+
* WebView 안에서 embedded PIN 프롬프트가 뜨면 안 된다. `SigningOrchestrator.isRNBridgeMode` 와 동일 신호.
|
|
19
|
+
* (spoofable 한 `window.__crossxRNBridge.isInstalled` 이 아니라 SDK 내부 인증 신호 기준.)
|
|
20
|
+
*/
|
|
21
|
+
isRNBridgeMode?: () => boolean;
|
|
15
22
|
};
|
|
16
23
|
export declare class PinOrchestrator {
|
|
17
24
|
private readonly deps;
|