@tuwaio/satellite-core 1.0.0-fix-test-alpha.4.d5f27c9 → 1.0.0-fix-test-alpha.6.49ff3eb
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 +2 -11
- package/dist/index.d.ts +2 -11
- package/package.json +2 -2
package/dist/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as zustand from 'zustand';
|
|
2
|
-
import { OrbitGenericAdapter, OrbitAdapter } from '@tuwaio/orbit-core';
|
|
2
|
+
import { OrbitGenericAdapter, BaseAdapter, OrbitAdapter } from '@tuwaio/orbit-core';
|
|
3
3
|
import { Connector as Connector$1, CreateConnectorFn } from '@wagmi/core';
|
|
4
4
|
import { UiWallet, UiWalletAccount } from '@wallet-standard/ui';
|
|
5
5
|
|
|
@@ -68,7 +68,7 @@ type Connector = ConnectorEVM | ConnectorSolana;
|
|
|
68
68
|
* @remarks
|
|
69
69
|
* Adapters provide chain-specific implementation for wallet interactions
|
|
70
70
|
*/
|
|
71
|
-
type SatelliteAdapter = {
|
|
71
|
+
type SatelliteAdapter = BaseAdapter & {
|
|
72
72
|
/** Unique identifier for the adapter */
|
|
73
73
|
key: OrbitAdapter;
|
|
74
74
|
/**
|
|
@@ -94,15 +94,6 @@ type SatelliteAdapter = {
|
|
|
94
94
|
* @param updateActiveWallet - Callback to update wallet state
|
|
95
95
|
*/
|
|
96
96
|
checkAndSwitchNetwork: (chainId: string | number, currentChainId?: string | number, updateActiveWallet?: (wallet: Partial<Wallet>) => void) => Promise<void>;
|
|
97
|
-
/**
|
|
98
|
-
* Generates blockchain explorer URL
|
|
99
|
-
* @returns Explorer URL or undefined if not available
|
|
100
|
-
*/
|
|
101
|
-
getExplorerUrl: (url?: string, chainId?: string | number) => string | undefined;
|
|
102
|
-
/** Optional method to resolve ENS-like names */
|
|
103
|
-
getName?: (address: string) => Promise<string | null>;
|
|
104
|
-
/** Optional method to get avatar for resolved names */
|
|
105
|
-
getAvatar?: (name: string) => Promise<string | null>;
|
|
106
97
|
/** Optional method to check if address is a smart contract */
|
|
107
98
|
checkIsContractWallet?: ({ address, chainId }: {
|
|
108
99
|
address: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as zustand from 'zustand';
|
|
2
|
-
import { OrbitGenericAdapter, OrbitAdapter } from '@tuwaio/orbit-core';
|
|
2
|
+
import { OrbitGenericAdapter, BaseAdapter, OrbitAdapter } from '@tuwaio/orbit-core';
|
|
3
3
|
import { Connector as Connector$1, CreateConnectorFn } from '@wagmi/core';
|
|
4
4
|
import { UiWallet, UiWalletAccount } from '@wallet-standard/ui';
|
|
5
5
|
|
|
@@ -68,7 +68,7 @@ type Connector = ConnectorEVM | ConnectorSolana;
|
|
|
68
68
|
* @remarks
|
|
69
69
|
* Adapters provide chain-specific implementation for wallet interactions
|
|
70
70
|
*/
|
|
71
|
-
type SatelliteAdapter = {
|
|
71
|
+
type SatelliteAdapter = BaseAdapter & {
|
|
72
72
|
/** Unique identifier for the adapter */
|
|
73
73
|
key: OrbitAdapter;
|
|
74
74
|
/**
|
|
@@ -94,15 +94,6 @@ type SatelliteAdapter = {
|
|
|
94
94
|
* @param updateActiveWallet - Callback to update wallet state
|
|
95
95
|
*/
|
|
96
96
|
checkAndSwitchNetwork: (chainId: string | number, currentChainId?: string | number, updateActiveWallet?: (wallet: Partial<Wallet>) => void) => Promise<void>;
|
|
97
|
-
/**
|
|
98
|
-
* Generates blockchain explorer URL
|
|
99
|
-
* @returns Explorer URL or undefined if not available
|
|
100
|
-
*/
|
|
101
|
-
getExplorerUrl: (url?: string, chainId?: string | number) => string | undefined;
|
|
102
|
-
/** Optional method to resolve ENS-like names */
|
|
103
|
-
getName?: (address: string) => Promise<string | null>;
|
|
104
|
-
/** Optional method to get avatar for resolved names */
|
|
105
|
-
getAvatar?: (name: string) => Promise<string | null>;
|
|
106
97
|
/** Optional method to check if address is a smart contract */
|
|
107
98
|
checkIsContractWallet?: ({ address, chainId }: {
|
|
108
99
|
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.6.49ff3eb",
|
|
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.6.49ff3eb"
|
|
57
57
|
},
|
|
58
58
|
"scripts": {
|
|
59
59
|
"start": "tsup src/index.ts --watch",
|