keyring-chatbot-agent-sdk-test 0.3.17 → 0.3.19

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/lib.d.ts CHANGED
@@ -2,7 +2,7 @@ import { JSX } from 'react/jsx-runtime';
2
2
 
3
3
  export declare interface Account {
4
4
  address: string;
5
- chainId: number;
5
+ chainId: number | string;
6
6
  }
7
7
 
8
8
  /**
@@ -78,7 +78,7 @@ export declare interface Config {
78
78
  apiUrl?: string;
79
79
  apiKey?: string;
80
80
  /** Override RPC endpoint per chainId. Key = chainId, value = RPC URL. */
81
- rpcUrls?: Record<number, string>;
81
+ rpcUrls?: Record<number | string, string>;
82
82
  [key: string]: unknown;
83
83
  }
84
84
 
@@ -144,7 +144,7 @@ export declare interface Transaction {
144
144
  maxFeePerGas?: string;
145
145
  maxPriorityFeePerGas?: string;
146
146
  nonce?: number;
147
- chainId?: number;
147
+ chainId?: number | string;
148
148
  }
149
149
 
150
150
  export declare interface TransactionResult {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "keyring-chatbot-agent-sdk-test",
3
- "version": "0.3.17",
3
+ "version": "0.3.19",
4
4
  "private": false,
5
5
  "description": "A React chat widget SDK with floating button and modal",
6
6
  "keywords": [
@@ -56,6 +56,7 @@
56
56
  "preview": "vite preview"
57
57
  },
58
58
  "dependencies": {
59
+ "@solana/web3.js": "^1.98.4",
59
60
  "@types/react-syntax-highlighter": "^15.5.13",
60
61
  "bignumber.js": "^9.3.1",
61
62
  "lodash": "^4.17.23",