@instadapp/avocado-base 0.0.0-dev.0a0d048 → 0.0.0-dev.0c93591

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/utils/utils.d.ts CHANGED
@@ -18,7 +18,10 @@ declare global {
18
18
  | 534352
19
19
  | 204
20
20
  | 63400
21
- | 169;
21
+ | 169
22
+ | 34443
23
+ | 81457
24
+ | 59144
22
25
 
23
26
  type ISlackMessageType = "danger" | "error" | "success" | "banner";
24
27
 
@@ -42,7 +45,8 @@ declare global {
42
45
  explorerUrl: string;
43
46
  fakeTransactionHash: string;
44
47
  viemChain: Chain;
45
- apiURL?: string;
48
+ // must start with https://
49
+ apiURL: `https://${string}` | null;
46
50
  params: {
47
51
  chainName?: string;
48
52
  iconUrls?: string[];
@@ -79,8 +83,10 @@ declare global {
79
83
  toChainId: string;
80
84
  amount: string;
81
85
  receiver: string;
86
+ provider?: string;
82
87
  };
83
88
 
89
+
84
90
  type AuthMetadataProps = {
85
91
  address: string;
86
92
  chainId: string;
@@ -106,6 +112,8 @@ declare global {
106
112
  toChainId: string;
107
113
  bridgeFee: string;
108
114
  nativeToken: string;
115
+ version?: string;
116
+ provider: string;
109
117
  };
110
118
 
111
119
  type SwapMetadataProps = {