@tuwaio/satellite-core 1.0.0-fix-test-alpha.16.6b07abf → 1.0.0-fix-test-alpha.17.cf65aef
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.mts +4 -0
- package/dist/index.d.ts +4 -0
- package/package.json +2 -2
package/dist/index.d.mts
CHANGED
|
@@ -93,6 +93,10 @@ type SatelliteAdapter = BaseAdapter & {
|
|
|
93
93
|
* @param updateActiveWallet - Callback to update wallet state
|
|
94
94
|
*/
|
|
95
95
|
checkAndSwitchNetwork: (chainId: string | number, currentChainId?: string | number, updateActiveWallet?: (wallet: Partial<Wallet>) => void) => Promise<void>;
|
|
96
|
+
getBalance: (address: string, chainId: number | string) => Promise<{
|
|
97
|
+
value: string;
|
|
98
|
+
symbol: string;
|
|
99
|
+
}>;
|
|
96
100
|
/** Optional method to check if address is a smart contract */
|
|
97
101
|
checkIsContractWallet?: ({ address, chainId }: {
|
|
98
102
|
address: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -93,6 +93,10 @@ type SatelliteAdapter = BaseAdapter & {
|
|
|
93
93
|
* @param updateActiveWallet - Callback to update wallet state
|
|
94
94
|
*/
|
|
95
95
|
checkAndSwitchNetwork: (chainId: string | number, currentChainId?: string | number, updateActiveWallet?: (wallet: Partial<Wallet>) => void) => Promise<void>;
|
|
96
|
+
getBalance: (address: string, chainId: number | string) => Promise<{
|
|
97
|
+
value: string;
|
|
98
|
+
symbol: string;
|
|
99
|
+
}>;
|
|
96
100
|
/** Optional method to check if address is a smart contract */
|
|
97
101
|
checkIsContractWallet?: ({ address, chainId }: {
|
|
98
102
|
address: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tuwaio/satellite-core",
|
|
3
|
-
"version": "1.0.0-fix-test-alpha.
|
|
3
|
+
"version": "1.0.0-fix-test-alpha.17.cf65aef",
|
|
4
4
|
"private": false,
|
|
5
5
|
"author": "Oleksandr Tkach",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"tsup": "^8.5.0",
|
|
54
54
|
"typescript": "^5.9.2",
|
|
55
55
|
"zustand": "^5.0.8",
|
|
56
|
-
"@tuwaio/orbit-core": "^1.0.0-fix-test-alpha.
|
|
56
|
+
"@tuwaio/orbit-core": "^1.0.0-fix-test-alpha.17.cf65aef"
|
|
57
57
|
},
|
|
58
58
|
"scripts": {
|
|
59
59
|
"start": "tsup src/index.ts --watch",
|