@heyanon/sdk 2.1.14 → 2.1.15
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/adapter/types.d.ts +2 -0
- package/package.json +2 -1
package/dist/adapter/types.d.ts
CHANGED
|
@@ -5,6 +5,7 @@ import { Connection, PublicKey, Transaction as SolanaTransaction, VersionedTrans
|
|
|
5
5
|
import { AdapterTag } from './misc';
|
|
6
6
|
import { Address as TonAddress } from '@ton/ton';
|
|
7
7
|
import { DeployContractProps } from '../blockchain/evm/types';
|
|
8
|
+
import { Exchange, exchanges } from 'ccxt';
|
|
8
9
|
export interface FunctionReturn {
|
|
9
10
|
readonly success: boolean;
|
|
10
11
|
readonly data: string;
|
|
@@ -42,6 +43,7 @@ export interface FunctionOptions {
|
|
|
42
43
|
readonly notify: (message: string, type?: 'alert' | 'regular') => Promise<void>;
|
|
43
44
|
readonly getRecipient: (type: WalletType) => Promise<string>;
|
|
44
45
|
readonly getUserTokens: () => Promise<UserToken[]>;
|
|
46
|
+
readonly getCcxtExchange: (name: keyof typeof exchanges) => Promise<Exchange>;
|
|
45
47
|
}
|
|
46
48
|
export interface AdapterExport {
|
|
47
49
|
readonly tools: AiTool[];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@heyanon/sdk",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.15",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"typings": "dist/index.d.ts",
|
|
@@ -47,6 +47,7 @@
|
|
|
47
47
|
"@ton-api/ton-adapter": "0.3.0",
|
|
48
48
|
"@ton/core": "0.60.0",
|
|
49
49
|
"@ton/ton": "15.2.0",
|
|
50
|
+
"ccxt": "4.4.78",
|
|
50
51
|
"viem": "2.22.9",
|
|
51
52
|
"vitest": "^2.1.8"
|
|
52
53
|
}
|