@heyanon/sdk 1.0.3 → 1.0.4

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.
@@ -1,5 +1,5 @@
1
1
  import { AiTool } from '../ai';
2
- import { ChainId, SignTransactionProps, TransactionReturn } from '../blockchain';
2
+ import { ChainId, SendTransactionProps, TransactionReturn } from '../blockchain';
3
3
  import { PublicClient } from 'viem';
4
4
  export interface FunctionReturn {
5
5
  readonly success: boolean;
@@ -7,7 +7,7 @@ export interface FunctionReturn {
7
7
  }
8
8
  export interface FunctionOptions {
9
9
  readonly getProvider: (chainId: ChainId) => PublicClient;
10
- readonly signTransactions: (props: SignTransactionProps) => Promise<TransactionReturn>;
10
+ readonly sendTransactions: (props: SendTransactionProps) => Promise<TransactionReturn>;
11
11
  readonly notify: (message: string) => Promise<any>;
12
12
  }
13
13
  export interface AdapterExport {
@@ -13,7 +13,7 @@ export interface TransactionReturn {
13
13
  readonly isMultisig: boolean;
14
14
  readonly data: TransactionReturnData[];
15
15
  }
16
- export interface SignTransactionProps {
16
+ export interface SendTransactionProps {
17
17
  readonly chainId: number;
18
18
  readonly account: Address;
19
19
  readonly transactions: TransactionParams[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@heyanon/sdk",
3
- "version": "1.0.3",
3
+ "version": "1.0.4",
4
4
  "license": "MIT",
5
5
  "main": "dist/index.js",
6
6
  "typings": "dist/index.d.ts",