@swapkit/core 1.0.0-rc.3 → 1.0.0-rc.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 CHANGED
@@ -13,6 +13,7 @@ import type { EVMWalletOptions } from '@swapkit/types';
13
13
  import type { ExtendParams } from '@swapkit/types';
14
14
  import type { FeeOption } from '@swapkit/types';
15
15
  import type { GaiaToolbox } from '@swapkit/toolbox-cosmos';
16
+ import type { KujiraToolbox } from '@swapkit/toolbox-cosmos';
16
17
  import type { LTCToolbox } from '@swapkit/toolbox-utxo';
17
18
  import type { MATICToolbox } from '@swapkit/toolbox-evm';
18
19
  import type { OPToolbox } from '@swapkit/toolbox-evm';
@@ -114,7 +115,7 @@ export declare class SwapKitCore<T = ''> {
114
115
  assetValue: AssetValue;
115
116
  percent: number;
116
117
  from: 'sym' | 'rune' | 'asset';
117
- to: 'sym' | 'rune';
118
+ to: 'sym' | 'rune' | 'asset';
118
119
  }) => Promise<string>;
119
120
  savings: ({ assetValue, memo, percent, type, }: {
120
121
  assetValue: AssetValue;
@@ -162,7 +163,7 @@ export declare class SwapKitCore<T = ''> {
162
163
  connectKeystore: (_chains: Chain[], _phrase: string) => Promise<void>;
163
164
  connectLedger: (_chains: Chain, _derivationPath: number[]) => Promise<void>;
164
165
  connectTrezor: (_chains: Chain, _derivationPath: number[]) => Promise<void>;
165
- connectKeplr: () => Promise<void>;
166
+ connectKeplr: (_chain: Chain) => Promise<void>;
166
167
  connectOkx: (_chains: Chain[]) => Promise<void>;
167
168
  disconnectChain: (chain: Chain) => void;
168
169
  }
@@ -200,6 +201,7 @@ export declare type WalletMethods = {
200
201
  [Chain.Cosmos]: CosmosBasedWallet<typeof GaiaToolbox> | null;
201
202
  [Chain.Dogecoin]: UTXOWallet<typeof DOGEToolbox> | null;
202
203
  [Chain.Ethereum]: EVMWallet<typeof ETHToolbox> | null;
204
+ [Chain.Kujira]: CosmosBasedWallet<typeof KujiraToolbox> | null;
203
205
  [Chain.Litecoin]: UTXOWallet<typeof LTCToolbox> | null;
204
206
  [Chain.Maya]: ThorchainWallet | null;
205
207
  [Chain.Optimism]: EVMWallet<typeof OPToolbox> | null;