@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.
Files changed (2) hide show
  1. package/dist/index.d.ts +4 -4
  2. 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 _phantom_chains from '@phantom/chains';
7
- export { EthTransactionRequest, IEthereumChain, ISolanaChain } from '@phantom/chains';
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: _phantom_chains.ISolanaChain;
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: _phantom_chains.IEthereumChain;
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.4",
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.4",
30
- "@phantom/chains": "^1.0.0-beta.4",
31
- "@phantom/constants": "^1.0.0-beta.4"
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",