@phantom/react-sdk 1.0.0-beta.4 → 1.0.0-beta.6
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.d.ts +4 -4
- package/package.json +4 -4
package/dist/index.d.ts
CHANGED
|
@@ -3,8 +3,8 @@ import { ReactNode } from 'react';
|
|
|
3
3
|
import { BrowserSDKConfig, DebugConfig, AuthOptions, BrowserSDK, WalletAddress, AutoConfirmEnableParams, AutoConfirmResult, AutoConfirmSupportedChainsResult } from '@phantom/browser-sdk';
|
|
4
4
|
export { AddressType, AutoConfirmEnableParams, AutoConfirmResult, AutoConfirmSupportedChainsResult, DebugLevel, DebugMessage, NetworkId, SignedTransaction, WalletAddress, debug } from '@phantom/browser-sdk';
|
|
5
5
|
import * as _phantom_embedded_provider_core from '@phantom/embedded-provider-core';
|
|
6
|
-
import * as
|
|
7
|
-
export { EthTransactionRequest, IEthereumChain, ISolanaChain } from '@phantom/
|
|
6
|
+
import * as _phantom_chain_interfaces from '@phantom/chain-interfaces';
|
|
7
|
+
export { EthTransactionRequest, IEthereumChain, ISolanaChain } from '@phantom/chain-interfaces';
|
|
8
8
|
|
|
9
9
|
interface PhantomSDKConfig extends BrowserSDKConfig {
|
|
10
10
|
}
|
|
@@ -75,7 +75,7 @@ declare function useAutoConfirm(): UseAutoConfirmResult;
|
|
|
75
75
|
* @returns Solana chain interface with connection enforcement
|
|
76
76
|
*/
|
|
77
77
|
declare function useSolana(): {
|
|
78
|
-
solana:
|
|
78
|
+
solana: _phantom_chain_interfaces.ISolanaChain;
|
|
79
79
|
isAvailable: boolean;
|
|
80
80
|
};
|
|
81
81
|
|
|
@@ -85,7 +85,7 @@ declare function useSolana(): {
|
|
|
85
85
|
* @returns Ethereum chain interface with connection enforcement
|
|
86
86
|
*/
|
|
87
87
|
declare function useEthereum(): {
|
|
88
|
-
ethereum:
|
|
88
|
+
ethereum: _phantom_chain_interfaces.IEthereumChain;
|
|
89
89
|
isAvailable: boolean;
|
|
90
90
|
};
|
|
91
91
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@phantom/react-sdk",
|
|
3
|
-
"version": "1.0.0-beta.
|
|
3
|
+
"version": "1.0.0-beta.6",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"module": "dist/index.mjs",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -26,9 +26,9 @@
|
|
|
26
26
|
"prettier": "prettier --write \"src/**/*.{ts,tsx}\""
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@phantom/browser-sdk": "^1.0.0-beta.
|
|
30
|
-
"@phantom/
|
|
31
|
-
"@phantom/constants": "^1.0.0-beta.
|
|
29
|
+
"@phantom/browser-sdk": "^1.0.0-beta.6",
|
|
30
|
+
"@phantom/chain-interfaces": "^1.0.0-beta.6",
|
|
31
|
+
"@phantom/constants": "^1.0.0-beta.6"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
34
|
"@testing-library/dom": "^10.4.0",
|