@nexus-cross/dapp-ui 1.5.0 → 1.5.1-beta.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.cjs +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +12 -12
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.d.cts
CHANGED
|
@@ -51,7 +51,7 @@ type AppsConfig = {
|
|
|
51
51
|
swap?: boolean;
|
|
52
52
|
bridge?: boolean;
|
|
53
53
|
transferCrypto?: boolean;
|
|
54
|
-
/** Stake ONEUSD into the
|
|
54
|
+
/** Stake ONEUSD into the stONEUSD vault. Opt-in like Transfer Crypto. */
|
|
55
55
|
stake?: boolean;
|
|
56
56
|
};
|
|
57
57
|
/**
|
|
@@ -2668,14 +2668,14 @@ interface GetOneUsdPairs {
|
|
|
2668
2668
|
type GetOneUsdBridgeProps = Omit<BridgeFlowProps, "walletAddress" | "tokens" | "initialFromToken" | "initialToToken" | "env" | "onClose" | "onBackToWallet" | "className" | "title" | "variant" | "isConnected" | "onRequestConnect">;
|
|
2669
2669
|
type GetOneUsdRelayProps = Omit<RelayDepositProps, "walletAddress" | "children" | "open" | "onOpenChange" | "requireWalletConnection" | "showRecipientInput" | "hideAmount" | "targetTokens" | "defaultTarget" | "onRequestConnect">;
|
|
2670
2670
|
/**
|
|
2671
|
-
* Stake (ONEUSD →
|
|
2671
|
+
* Stake (ONEUSD → stONEUSD vault) configuration and wallet ports. Every port is
|
|
2672
2672
|
* optional here because the same capabilities are usually already injected via
|
|
2673
2673
|
* `relay` — a missing port falls back to the matching `relay` one. The action
|
|
2674
2674
|
* is hidden when, after that fallback, `readContract`/`writeContract` are still
|
|
2675
2675
|
* missing or the environment has no vault address.
|
|
2676
2676
|
*/
|
|
2677
2677
|
interface GetOneUsdStakeProps {
|
|
2678
|
-
/** ERC-4626
|
|
2678
|
+
/** ERC-4626 stONEUSD vault. Built-in per-environment address when omitted. */
|
|
2679
2679
|
vaultAddress?: string;
|
|
2680
2680
|
/** Wallet's active chain; a stake switches chain first when it differs. */
|
|
2681
2681
|
walletChainId?: number;
|
package/dist/index.d.ts
CHANGED
|
@@ -51,7 +51,7 @@ type AppsConfig = {
|
|
|
51
51
|
swap?: boolean;
|
|
52
52
|
bridge?: boolean;
|
|
53
53
|
transferCrypto?: boolean;
|
|
54
|
-
/** Stake ONEUSD into the
|
|
54
|
+
/** Stake ONEUSD into the stONEUSD vault. Opt-in like Transfer Crypto. */
|
|
55
55
|
stake?: boolean;
|
|
56
56
|
};
|
|
57
57
|
/**
|
|
@@ -2668,14 +2668,14 @@ interface GetOneUsdPairs {
|
|
|
2668
2668
|
type GetOneUsdBridgeProps = Omit<BridgeFlowProps, "walletAddress" | "tokens" | "initialFromToken" | "initialToToken" | "env" | "onClose" | "onBackToWallet" | "className" | "title" | "variant" | "isConnected" | "onRequestConnect">;
|
|
2669
2669
|
type GetOneUsdRelayProps = Omit<RelayDepositProps, "walletAddress" | "children" | "open" | "onOpenChange" | "requireWalletConnection" | "showRecipientInput" | "hideAmount" | "targetTokens" | "defaultTarget" | "onRequestConnect">;
|
|
2670
2670
|
/**
|
|
2671
|
-
* Stake (ONEUSD →
|
|
2671
|
+
* Stake (ONEUSD → stONEUSD vault) configuration and wallet ports. Every port is
|
|
2672
2672
|
* optional here because the same capabilities are usually already injected via
|
|
2673
2673
|
* `relay` — a missing port falls back to the matching `relay` one. The action
|
|
2674
2674
|
* is hidden when, after that fallback, `readContract`/`writeContract` are still
|
|
2675
2675
|
* missing or the environment has no vault address.
|
|
2676
2676
|
*/
|
|
2677
2677
|
interface GetOneUsdStakeProps {
|
|
2678
|
-
/** ERC-4626
|
|
2678
|
+
/** ERC-4626 stONEUSD vault. Built-in per-environment address when omitted. */
|
|
2679
2679
|
vaultAddress?: string;
|
|
2680
2680
|
/** Wallet's active chain; a stake switches chain first when it differs. */
|
|
2681
2681
|
walletChainId?: number;
|