@swapkit/core 1.0.0-rc.7 → 1.0.0-rc.71

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
@@ -69,9 +69,9 @@ export declare class SwapKitCore<T = ''> {
69
69
  getExplorerTxUrl: (chain: Chain, txHash: string) => string;
70
70
  getWallet: <T_1 extends Chain>(chain: Chain) => WalletMethods[T_1];
71
71
  getExplorerAddressUrl: (chain: Chain, address: string) => string;
72
- getBalance: (chain: Chain, refresh?: boolean) => Promise<AssetValue[]>;
72
+ getBalance: (chain: Chain, potentialScamFilter?: boolean) => Promise<AssetValue[]>;
73
73
  swap: ({ streamSwap, recipient, route, feeOptionKey }: SwapParams) => Promise<string>;
74
- getWalletByChain: (chain: Chain) => Promise<{
74
+ getWalletByChain: (chain: Chain, potentialScamFilter?: boolean) => Promise<{
75
75
  address?: string | undefined;
76
76
  balance?: AssetValue[] | undefined;
77
77
  walletType?: WalletOption | undefined;
@@ -98,8 +98,7 @@ export declare class SwapKitCore<T = ''> {
98
98
  runeTx: string;
99
99
  assetTx: string;
100
100
  }>;
101
- addLiquidity: ({ poolIdentifier, runeAssetValue, assetValue, runeAddr, assetAddr, isPendingSymmAsset, mode, }: {
102
- poolIdentifier: string;
101
+ addLiquidity: ({ runeAssetValue, assetValue, runeAddr, assetAddr, isPendingSymmAsset, mode, }: {
103
102
  runeAssetValue: AssetValue;
104
103
  assetValue: AssetValue;
105
104
  isPendingSymmAsset?: boolean | undefined;
@@ -110,6 +109,12 @@ export declare class SwapKitCore<T = ''> {
110
109
  runeTx: string | undefined;
111
110
  assetTx: string | undefined;
112
111
  }>;
112
+ addLiquidityPart: ({ assetValue, poolAddress, address, symmetric, }: {
113
+ assetValue: AssetValue;
114
+ address?: string | undefined;
115
+ poolAddress: string;
116
+ symmetric: boolean;
117
+ }) => Promise<string>;
113
118
  withdraw: ({ memo, assetValue, percent, from, to, }: {
114
119
  memo?: string | undefined;
115
120
  assetValue: AssetValue;