@nexus-cross/dapp-ui 1.3.12 → 1.3.14-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/index.cjs +15 -15
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +13 -3
- package/dist/index.d.ts +13 -3
- package/dist/index.js +26 -26
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.d.cts
CHANGED
|
@@ -21,6 +21,14 @@ type AppsConfig = {
|
|
|
21
21
|
bridgePoweredBy?: {
|
|
22
22
|
url?: RemoteEnvValue<string>;
|
|
23
23
|
};
|
|
24
|
+
/**
|
|
25
|
+
* 약관 문서 링크. 브릿지 약관 동의 모달의 Terms of Service 링크가 읽는다 —
|
|
26
|
+
* cross-game-swap의 legal.json과 같은 운영 방식(무배포 교체). 호출부가
|
|
27
|
+
* `termsUrl` prop을 넘기면 그 값이 우선, 값이 없으면 DEFAULT_TERMS_URL 폴백.
|
|
28
|
+
*/
|
|
29
|
+
legal?: {
|
|
30
|
+
termsUrl?: RemoteEnvValue<string>;
|
|
31
|
+
};
|
|
24
32
|
/**
|
|
25
33
|
* Get ONEUSD chooser action visibility. Swap/Bridge default to enabled;
|
|
26
34
|
* Transfer Crypto defaults to disabled when remote config is unavailable.
|
|
@@ -1865,10 +1873,12 @@ interface RelayDepositProps extends RelayWalletProps {
|
|
|
1865
1873
|
* hosts whose users connect external wallets that can sign on the origin
|
|
1866
1874
|
* chains — CROSS embedded-wallet users never can, hence the off default. */
|
|
1867
1875
|
showOneClickDeposit?: boolean;
|
|
1868
|
-
/**
|
|
1876
|
+
/** Enable recovery actions (default `false` for low-level RelayDeposit).
|
|
1877
|
+
* The Recover tab remains visible so the Deposit navigation always has the
|
|
1878
|
+
* same three entries; when disabled it shows an unavailable-state message.
|
|
1869
1879
|
* Recovery signs on BSC with the connected wallet, which CROSS embedded-wallet
|
|
1870
|
-
* users can never do — so
|
|
1871
|
-
* wallets opts in. Even opted in, it still requires the injected
|
|
1880
|
+
* users can never do — so actions stay unavailable unless a host serving
|
|
1881
|
+
* external wallets opts in. Even opted in, it still requires the injected
|
|
1872
1882
|
* `writeContract`/`readContract`/`waitForReceipt` capability trio. */
|
|
1873
1883
|
showRecovery?: boolean;
|
|
1874
1884
|
/** Which (chainId, token address) to default-select once the catalog loads. */
|
package/dist/index.d.ts
CHANGED
|
@@ -21,6 +21,14 @@ type AppsConfig = {
|
|
|
21
21
|
bridgePoweredBy?: {
|
|
22
22
|
url?: RemoteEnvValue<string>;
|
|
23
23
|
};
|
|
24
|
+
/**
|
|
25
|
+
* 약관 문서 링크. 브릿지 약관 동의 모달의 Terms of Service 링크가 읽는다 —
|
|
26
|
+
* cross-game-swap의 legal.json과 같은 운영 방식(무배포 교체). 호출부가
|
|
27
|
+
* `termsUrl` prop을 넘기면 그 값이 우선, 값이 없으면 DEFAULT_TERMS_URL 폴백.
|
|
28
|
+
*/
|
|
29
|
+
legal?: {
|
|
30
|
+
termsUrl?: RemoteEnvValue<string>;
|
|
31
|
+
};
|
|
24
32
|
/**
|
|
25
33
|
* Get ONEUSD chooser action visibility. Swap/Bridge default to enabled;
|
|
26
34
|
* Transfer Crypto defaults to disabled when remote config is unavailable.
|
|
@@ -1865,10 +1873,12 @@ interface RelayDepositProps extends RelayWalletProps {
|
|
|
1865
1873
|
* hosts whose users connect external wallets that can sign on the origin
|
|
1866
1874
|
* chains — CROSS embedded-wallet users never can, hence the off default. */
|
|
1867
1875
|
showOneClickDeposit?: boolean;
|
|
1868
|
-
/**
|
|
1876
|
+
/** Enable recovery actions (default `false` for low-level RelayDeposit).
|
|
1877
|
+
* The Recover tab remains visible so the Deposit navigation always has the
|
|
1878
|
+
* same three entries; when disabled it shows an unavailable-state message.
|
|
1869
1879
|
* Recovery signs on BSC with the connected wallet, which CROSS embedded-wallet
|
|
1870
|
-
* users can never do — so
|
|
1871
|
-
* wallets opts in. Even opted in, it still requires the injected
|
|
1880
|
+
* users can never do — so actions stay unavailable unless a host serving
|
|
1881
|
+
* external wallets opts in. Even opted in, it still requires the injected
|
|
1872
1882
|
* `writeContract`/`readContract`/`waitForReceipt` capability trio. */
|
|
1873
1883
|
showRecovery?: boolean;
|
|
1874
1884
|
/** Which (chainId, token address) to default-select once the catalog loads. */
|