@forge-connect/react 1.0.2 → 1.0.3
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 +1605 -1606
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +9 -0
- package/dist/index.d.ts +9 -0
- package/dist/index.js +1580 -1581
- package/dist/index.js.map +1 -1
- package/package.json +1 -5
package/dist/index.d.cts
CHANGED
|
@@ -12,6 +12,15 @@ interface WalletConfig {
|
|
|
12
12
|
preferredWallets?: string[];
|
|
13
13
|
/** If true, only show wallets listed in preferredWallets. Default: false. */
|
|
14
14
|
onlyPreferred?: boolean;
|
|
15
|
+
/**
|
|
16
|
+
* Pass `Transaction` from `@solana/web3.js` to enable hardware wallet (cold wallet) support.
|
|
17
|
+
* Only needed if you want cold wallet signing (Ledger, Trezor, etc.).
|
|
18
|
+
*
|
|
19
|
+
* @example
|
|
20
|
+
* import { Transaction } from '@solana/web3.js';
|
|
21
|
+
* walletConfig: { Transaction }
|
|
22
|
+
*/
|
|
23
|
+
Transaction?: any;
|
|
15
24
|
}
|
|
16
25
|
interface ForgeConnectConfig {
|
|
17
26
|
/** Base URL of the ForgeConnect API */
|
package/dist/index.d.ts
CHANGED
|
@@ -12,6 +12,15 @@ interface WalletConfig {
|
|
|
12
12
|
preferredWallets?: string[];
|
|
13
13
|
/** If true, only show wallets listed in preferredWallets. Default: false. */
|
|
14
14
|
onlyPreferred?: boolean;
|
|
15
|
+
/**
|
|
16
|
+
* Pass `Transaction` from `@solana/web3.js` to enable hardware wallet (cold wallet) support.
|
|
17
|
+
* Only needed if you want cold wallet signing (Ledger, Trezor, etc.).
|
|
18
|
+
*
|
|
19
|
+
* @example
|
|
20
|
+
* import { Transaction } from '@solana/web3.js';
|
|
21
|
+
* walletConfig: { Transaction }
|
|
22
|
+
*/
|
|
23
|
+
Transaction?: any;
|
|
15
24
|
}
|
|
16
25
|
interface ForgeConnectConfig {
|
|
17
26
|
/** Base URL of the ForgeConnect API */
|