@phantom/react-native-sdk 1.0.0-beta.5 → 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 +3 -3
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +9 -9
package/dist/index.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import { ReactNode } from 'react';
|
|
|
3
3
|
import * as _phantom_embedded_provider_core from '@phantom/embedded-provider-core';
|
|
4
4
|
import { EmbeddedProviderConfig, EmbeddedProvider, WalletAddress, ConnectResult } from '@phantom/embedded-provider-core';
|
|
5
5
|
export { ConnectResult, SignAndSendTransactionParams, SignMessageParams, SignMessageResult, SignedTransaction, WalletAddress } from '@phantom/embedded-provider-core';
|
|
6
|
-
import * as
|
|
6
|
+
import * as _phantom_chain_interfaces from '@phantom/chain-interfaces';
|
|
7
7
|
export { AddressType } from '@phantom/client';
|
|
8
8
|
export { NetworkId } from '@phantom/constants';
|
|
9
9
|
|
|
@@ -75,7 +75,7 @@ declare function useAccounts(): {
|
|
|
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/dist/index.js
CHANGED
|
@@ -493,7 +493,7 @@ function PhantomProvider({ children, config, debugConfig }) {
|
|
|
493
493
|
[import_constants2.ANALYTICS_HEADERS.PLATFORM_VERSION]: `${import_react_native2.Platform.Version}`,
|
|
494
494
|
[import_constants2.ANALYTICS_HEADERS.APP_ID]: config.appId,
|
|
495
495
|
[import_constants2.ANALYTICS_HEADERS.WALLET_TYPE]: config.embeddedWalletType,
|
|
496
|
-
[import_constants2.ANALYTICS_HEADERS.SDK_VERSION]: "1.0.0-beta.
|
|
496
|
+
[import_constants2.ANALYTICS_HEADERS.SDK_VERSION]: "1.0.0-beta.6"
|
|
497
497
|
// Replaced at build time
|
|
498
498
|
}
|
|
499
499
|
};
|
package/dist/index.mjs
CHANGED
|
@@ -449,7 +449,7 @@ function PhantomProvider({ children, config, debugConfig }) {
|
|
|
449
449
|
[ANALYTICS_HEADERS.PLATFORM_VERSION]: `${Platform.Version}`,
|
|
450
450
|
[ANALYTICS_HEADERS.APP_ID]: config.appId,
|
|
451
451
|
[ANALYTICS_HEADERS.WALLET_TYPE]: config.embeddedWalletType,
|
|
452
|
-
[ANALYTICS_HEADERS.SDK_VERSION]: "1.0.0-beta.
|
|
452
|
+
[ANALYTICS_HEADERS.SDK_VERSION]: "1.0.0-beta.6"
|
|
453
453
|
// Replaced at build time
|
|
454
454
|
}
|
|
455
455
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@phantom/react-native-sdk",
|
|
3
|
-
"version": "1.0.0-beta.
|
|
3
|
+
"version": "1.0.0-beta.6",
|
|
4
4
|
"description": "Phantom Wallet SDK for React Native and Expo applications",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -45,14 +45,14 @@
|
|
|
45
45
|
"directory": "packages/react-native-sdk"
|
|
46
46
|
},
|
|
47
47
|
"dependencies": {
|
|
48
|
-
"@phantom/api-key-stamper": "^1.0.0-beta.
|
|
49
|
-
"@phantom/base64url": "^1.0.0-beta.
|
|
50
|
-
"@phantom/
|
|
51
|
-
"@phantom/client": "^1.0.0-beta.
|
|
52
|
-
"@phantom/constants": "^1.0.0-beta.
|
|
53
|
-
"@phantom/crypto": "^1.0.0-beta.
|
|
54
|
-
"@phantom/embedded-provider-core": "^1.0.0-beta.
|
|
55
|
-
"@phantom/sdk-types": "^1.0.0-beta.
|
|
48
|
+
"@phantom/api-key-stamper": "^1.0.0-beta.6",
|
|
49
|
+
"@phantom/base64url": "^1.0.0-beta.6",
|
|
50
|
+
"@phantom/chain-interfaces": "^1.0.0-beta.6",
|
|
51
|
+
"@phantom/client": "^1.0.0-beta.6",
|
|
52
|
+
"@phantom/constants": "^1.0.0-beta.6",
|
|
53
|
+
"@phantom/crypto": "^1.0.0-beta.6",
|
|
54
|
+
"@phantom/embedded-provider-core": "^1.0.0-beta.6",
|
|
55
|
+
"@phantom/sdk-types": "^1.0.0-beta.6",
|
|
56
56
|
"@types/bs58": "^5.0.0",
|
|
57
57
|
"bs58": "^6.0.0",
|
|
58
58
|
"buffer": "^6.0.3"
|