@avalabs/types 2.8.0-alpha.18 → 2.8.0-alpha.181

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
@@ -1,2 +1,47 @@
1
- export * from './src/contacts';
2
- //# sourceMappingURL=index.d.ts.map
1
+ interface Contact {
2
+ id: string;
3
+ name: string;
4
+ address: string;
5
+ isKnown?: boolean;
6
+ addressBTC?: string;
7
+ addressPVM?: string;
8
+ addressAVM?: string;
9
+ }
10
+ interface ContactsState {
11
+ contacts: Contact[];
12
+ }
13
+
14
+ declare enum CoreAccountType {
15
+ PRIMARY = "primary",
16
+ IMPORTED = "imported"
17
+ }
18
+ interface CoreBaseAccount {
19
+ active: boolean;
20
+ addressC: string;
21
+ addressBTC: string;
22
+ addressAVM: string;
23
+ addressPVM: string;
24
+ addressCoreEth: string;
25
+ name: string;
26
+ type: CoreAccountType;
27
+ id: string;
28
+ }
29
+ interface CorePrimaryAccount extends CoreBaseAccount {
30
+ index: number;
31
+ type: CoreAccountType.PRIMARY;
32
+ walletType: WalletType;
33
+ walletId: string;
34
+ }
35
+ interface CoreImportedAccount extends CoreBaseAccount {
36
+ type: CoreAccountType.IMPORTED;
37
+ }
38
+ declare enum WalletType {
39
+ Mnemonic = "mnemonic",
40
+ Ledger = "ledger",
41
+ LedgerLive = "ledger-live",
42
+ Keystone = "keystone",
43
+ Seedless = "seedless"
44
+ }
45
+ type CoreAccount = CorePrimaryAccount | CoreImportedAccount;
46
+
47
+ export { Contact, ContactsState, CoreAccount, CoreAccountType, CoreImportedAccount, CorePrimaryAccount, WalletType };
package/dist/index.js CHANGED
@@ -1,3 +1,18 @@
1
1
  'use strict';
2
2
 
3
- //# sourceMappingURL=index.js.map
3
+ var CoreAccountType = /* @__PURE__ */ ((CoreAccountType2) => {
4
+ CoreAccountType2["PRIMARY"] = "primary";
5
+ CoreAccountType2["IMPORTED"] = "imported";
6
+ return CoreAccountType2;
7
+ })(CoreAccountType || {});
8
+ var WalletType = /* @__PURE__ */ ((WalletType2) => {
9
+ WalletType2["Mnemonic"] = "mnemonic";
10
+ WalletType2["Ledger"] = "ledger";
11
+ WalletType2["LedgerLive"] = "ledger-live";
12
+ WalletType2["Keystone"] = "keystone";
13
+ WalletType2["Seedless"] = "seedless";
14
+ return WalletType2;
15
+ })(WalletType || {});
16
+
17
+ exports.CoreAccountType = CoreAccountType;
18
+ exports.WalletType = WalletType;
@@ -1,11 +1,14 @@
1
- export interface Contact {
2
- id: string;
3
- name: string;
4
- address: string;
5
- isKnown?: boolean;
6
- addressBTC?: string;
7
- }
8
- export interface ContactsState {
9
- contacts: Contact[];
10
- }
11
- //# sourceMappingURL=contacts.d.ts.map
1
+ interface Contact {
2
+ id: string;
3
+ name: string;
4
+ address: string;
5
+ isKnown?: boolean;
6
+ addressBTC?: string;
7
+ addressPVM?: string;
8
+ addressAVM?: string;
9
+ }
10
+ interface ContactsState {
11
+ contacts: Contact[];
12
+ }
13
+
14
+ export { Contact, ContactsState };
@@ -0,0 +1,34 @@
1
+ declare enum CoreAccountType {
2
+ PRIMARY = "primary",
3
+ IMPORTED = "imported"
4
+ }
5
+ interface CoreBaseAccount {
6
+ active: boolean;
7
+ addressC: string;
8
+ addressBTC: string;
9
+ addressAVM: string;
10
+ addressPVM: string;
11
+ addressCoreEth: string;
12
+ name: string;
13
+ type: CoreAccountType;
14
+ id: string;
15
+ }
16
+ interface CorePrimaryAccount extends CoreBaseAccount {
17
+ index: number;
18
+ type: CoreAccountType.PRIMARY;
19
+ walletType: WalletType;
20
+ walletId: string;
21
+ }
22
+ interface CoreImportedAccount extends CoreBaseAccount {
23
+ type: CoreAccountType.IMPORTED;
24
+ }
25
+ declare enum WalletType {
26
+ Mnemonic = "mnemonic",
27
+ Ledger = "ledger",
28
+ LedgerLive = "ledger-live",
29
+ Keystone = "keystone",
30
+ Seedless = "seedless"
31
+ }
32
+ type CoreAccount = CorePrimaryAccount | CoreImportedAccount;
33
+
34
+ export { CoreAccount, CoreAccountType, CoreImportedAccount, CorePrimaryAccount, WalletType };
@@ -0,0 +1,15 @@
1
+ var CoreAccountType = /* @__PURE__ */ ((CoreAccountType2) => {
2
+ CoreAccountType2["PRIMARY"] = "primary";
3
+ CoreAccountType2["IMPORTED"] = "imported";
4
+ return CoreAccountType2;
5
+ })(CoreAccountType || {});
6
+ var WalletType = /* @__PURE__ */ ((WalletType2) => {
7
+ WalletType2["Mnemonic"] = "mnemonic";
8
+ WalletType2["Ledger"] = "ledger";
9
+ WalletType2["LedgerLive"] = "ledger-live";
10
+ WalletType2["Keystone"] = "keystone";
11
+ WalletType2["Seedless"] = "seedless";
12
+ return WalletType2;
13
+ })(WalletType || {});
14
+
15
+ export { CoreAccountType, WalletType };
package/esm/index.d.ts ADDED
@@ -0,0 +1,2 @@
1
+ export { Contact, ContactsState } from './contacts.js';
2
+ export { CoreAccount, CoreAccountType, CoreImportedAccount, CorePrimaryAccount, WalletType } from './coreAccounts.js';
package/esm/index.js ADDED
@@ -0,0 +1 @@
1
+ export { CoreAccountType, WalletType } from './coreAccounts.js';
package/package.json CHANGED
@@ -1,25 +1,20 @@
1
1
  {
2
2
  "name": "@avalabs/types",
3
- "version": "2.8.0-alpha.18",
3
+ "version": "2.8.0-alpha.181",
4
4
  "license": "MIT",
5
- "main": "dist/index.js",
6
5
  "private": false,
6
+ "main": "dist/index.js",
7
+ "module": "esm/index.js",
7
8
  "typings": "dist/index.d.ts",
9
+ "files": [
10
+ "dist",
11
+ "esm"
12
+ ],
13
+ "sideEffects": false,
8
14
  "scripts": {
9
15
  "start": "rollup -c --watch",
10
16
  "build": "rollup -c",
11
- "build:prod": "rollup -c --environment BUILD:production",
12
17
  "lint": "eslint --fix -c ./.eslintrc.js \"src/**/*.ts*\""
13
18
  },
14
- "devDependencies": {
15
- "@rollup/plugin-json": "4.1.0",
16
- "@rollup/plugin-typescript": "8.2.1",
17
- "@zerollup/ts-transform-paths": "1.7.18",
18
- "rollup": "2.47.0",
19
- "rollup-plugin-commonjs": "10.1.0",
20
- "rollup-plugin-delete": "2.0.0",
21
- "rollup-plugin-typescript2": "0.30.0",
22
- "ttypescript": "1.5.12"
23
- },
24
- "gitHead": "b7c7ceb8c50cec46b9970aab623830927b02729a"
19
+ "gitHead": "1d0070f7b3915c3a82148ca06c280197e9ebe794"
25
20
  }
package/.eslintrc.js DELETED
@@ -1,3 +0,0 @@
1
- module.exports = {
2
- extends: ['../../.eslintrc.js'],
3
- };
package/CHANGELOG.md DELETED
@@ -1,1070 +0,0 @@
1
- # Change Log
2
-
3
- All notable changes to this project will be documented in this file.
4
- See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
-
6
- # 2.8.0-alpha.18 (2022-11-02)
7
-
8
- ### Bug Fixes
9
-
10
- - tree-shake better for chains-sdk ([#223](https://github.com/ava-labs/avalanche-sdks/issues/223)) ([b88602a](https://github.com/ava-labs/avalanche-sdks/commit/b88602a09ddff394a00a4f4743ada08e48d52a27))
11
-
12
- # 2.8.0-alpha.17 (2022-11-02)
13
-
14
- ### Bug Fixes
15
-
16
- - yarn lock ([816de17](https://github.com/ava-labs/avalanche-sdks/commit/816de17e29cc2dff0d7f1e5c4472bb3b37c6df39))
17
-
18
- # 2.8.0-alpha.16 (2022-11-02)
19
-
20
- ### Bug Fixes
21
-
22
- - make @avalabs/avalanchejs-v2 a dependency ([472b68f](https://github.com/ava-labs/avalanche-sdks/commit/472b68f3ffbd3e11cc5de0166b1012e0c2cb0330))
23
-
24
- # 2.8.0-alpha.15 (2022-11-02)
25
-
26
- **Note:** Version bump only for package @avalabs/types
27
-
28
- # 2.8.0-alpha.14 (2022-11-02)
29
-
30
- ### Bug Fixes
31
-
32
- - kick pipeline ([7bad6b3](https://github.com/ava-labs/avalanche-sdks/commit/7bad6b3dfd10d5f3bbed13dd11b01a51ec44a72a))
33
-
34
- # 2.8.0-alpha.13 (2022-11-02)
35
-
36
- **Note:** Version bump only for package @avalabs/types
37
-
38
- # 2.8.0-alpha.12 (2022-11-02)
39
-
40
- ### Bug Fixes
41
-
42
- - better typings, preserveModules ([ce4d31f](https://github.com/ava-labs/avalanche-sdks/commit/ce4d31fc1adda56102a6f32edc69c88718351b92))
43
-
44
- # 2.8.0-alpha.11 (2022-11-02)
45
-
46
- ### Bug Fixes
47
-
48
- - coingecko treeshake ([#220](https://github.com/ava-labs/avalanche-sdks/issues/220)) ([7aeb9d8](https://github.com/ava-labs/avalanche-sdks/commit/7aeb9d8f20488aa7f7f99b8c8332092591b321ed))
49
-
50
- # 2.8.0-alpha.10 (2022-11-01)
51
-
52
- ### Bug Fixes
53
-
54
- - replace all requires with imports ([0762c46](https://github.com/ava-labs/avalanche-sdks/commit/0762c4648af2161cdbe6d7a8e823b21aa3383491))
55
-
56
- # 2.8.0-alpha.9 (2022-11-01)
57
-
58
- ### Bug Fixes
59
-
60
- - simpler config for builds ([#219](https://github.com/ava-labs/avalanche-sdks/issues/219)) ([1bd27a1](https://github.com/ava-labs/avalanche-sdks/commit/1bd27a1c517bc1ee015882e4345f504874d1a1ef))
61
-
62
- # 2.8.0-alpha.8 (2022-11-01)
63
-
64
- ### Bug Fixes
65
-
66
- - bump to lerna v6 ([#216](https://github.com/ava-labs/avalanche-sdks/issues/216)) ([fbce292](https://github.com/ava-labs/avalanche-sdks/commit/fbce292e86bc35101d8a6f8a60e92dabf5cc2c24))
67
-
68
- # 2.8.0-alpha.7 (2022-10-27)
69
-
70
- **Note:** Version bump only for package @avalabs/types
71
-
72
- # 2.8.0-alpha.6 (2022-10-26)
73
-
74
- ### Bug Fixes
75
-
76
- - (Glacier) Schema update ([#213](https://github.com/ava-labs/avalanche-sdks/issues/213)) ([b4afa93](https://github.com/ava-labs/avalanche-sdks/commit/b4afa939c6ef03c4e1fe095d7c561d73a72c8556))
77
-
78
- # 2.8.0-alpha.5 (2022-10-24)
79
-
80
- **Note:** Version bump only for package @avalabs/types
81
-
82
- # 2.8.0-alpha.4 (2022-10-20)
83
-
84
- ### Bug Fixes
85
-
86
- - bogus commit to trigger release ([84e36d4](https://github.com/ava-labs/avalanche-sdks/commit/84e36d42deec024d0a28005c9e8928ad7fbb905a))
87
-
88
- # 2.8.0-alpha.3 (2022-10-20)
89
-
90
- ### Bug Fixes
91
-
92
- - bridge sdk tree shakable ([#208](https://github.com/ava-labs/avalanche-sdks/issues/208)) ([43952ca](https://github.com/ava-labs/avalanche-sdks/commit/43952ca8370af10d6f90578b3491300485b2056f))
93
-
94
- # 2.8.0-alpha.2 (2022-10-20)
95
-
96
- **Note:** Version bump only for package @avalabs/types
97
-
98
- # [2.8.0-alpha.1](https://github.com/ava-labs/avalanche-sdks/compare/v2.8.0-alpha.0...v2.8.0-alpha.1) (2022-10-20)
99
-
100
- **Note:** Version bump only for package @avalabs/types
101
-
102
- # [2.8.0-alpha.0](https://github.com/ava-labs/avalanche-sdks/compare/v2.7.1-alpha.0...v2.8.0-alpha.0) (2022-10-18)
103
-
104
- **Note:** Version bump only for package @avalabs/types
105
-
106
- ## [2.7.1-alpha.0](https://github.com/ava-labs/avalanche-sdks/compare/v2.7.0...v2.7.1-alpha.0) (2022-10-05)
107
-
108
- **Note:** Version bump only for package @avalabs/types
109
-
110
- # [2.7.0](https://github.com/ava-labs/avalanche-sdks/compare/v2.7.0-alpha.7...v2.7.0) (2022-10-05)
111
-
112
- **Note:** Version bump only for package @avalabs/types
113
-
114
- # [2.7.0-alpha.7](https://github.com/ava-labs/avalanche-sdks/compare/v2.7.0-alpha.6...v2.7.0-alpha.7) (2022-10-04)
115
-
116
- **Note:** Version bump only for package @avalabs/types
117
-
118
- # [2.7.0-alpha.6](https://github.com/ava-labs/avalanche-sdks/compare/v2.7.0-alpha.5...v2.7.0-alpha.6) (2022-10-04)
119
-
120
- **Note:** Version bump only for package @avalabs/types
121
-
122
- # [2.7.0-alpha.5](https://github.com/ava-labs/avalanche-sdks/compare/v2.7.0-alpha.4...v2.7.0-alpha.5) (2022-09-19)
123
-
124
- **Note:** Version bump only for package @avalabs/types
125
-
126
- # [2.7.0-alpha.4](https://github.com/ava-labs/avalanche-sdks/compare/v2.7.0-alpha.3...v2.7.0-alpha.4) (2022-09-19)
127
-
128
- **Note:** Version bump only for package @avalabs/types
129
-
130
- # [2.7.0-alpha.3](https://github.com/ava-labs/avalanche-sdks/compare/v2.7.0-alpha.2...v2.7.0-alpha.3) (2022-09-15)
131
-
132
- **Note:** Version bump only for package @avalabs/types
133
-
134
- # [2.7.0-alpha.2](https://github.com/ava-labs/avalanche-sdks/compare/v2.7.0-alpha.1...v2.7.0-alpha.2) (2022-09-14)
135
-
136
- **Note:** Version bump only for package @avalabs/types
137
-
138
- # [2.7.0-alpha.1](https://github.com/ava-labs/avalanche-sdks/compare/v2.7.0-alpha.0...v2.7.0-alpha.1) (2022-09-09)
139
-
140
- **Note:** Version bump only for package @avalabs/types
141
-
142
- # [2.7.0-alpha.0](https://github.com/ava-labs/avalanche-sdks/compare/v2.6.0...v2.7.0-alpha.0) (2022-09-09)
143
-
144
- **Note:** Version bump only for package @avalabs/types
145
-
146
- # [2.6.0](https://github.com/ava-labs/avalanche-sdks/compare/v2.6.0-alpha.1...v2.6.0) (2022-09-07)
147
-
148
- **Note:** Version bump only for package @avalabs/types
149
-
150
- # [2.6.0-alpha.1](https://github.com/ava-labs/avalanche-sdks/compare/v2.6.0-alpha.0...v2.6.0-alpha.1) (2022-09-01)
151
-
152
- **Note:** Version bump only for package @avalabs/types
153
-
154
- # [2.6.0-alpha.0](https://github.com/ava-labs/avalanche-sdks/compare/v2.5.1-alpha.0...v2.6.0-alpha.0) (2022-09-01)
155
-
156
- **Note:** Version bump only for package @avalabs/types
157
-
158
- ## [2.5.1-alpha.0](https://github.com/ava-labs/avalanche-sdks/compare/v2.5.0...v2.5.1-alpha.0) (2022-08-25)
159
-
160
- **Note:** Version bump only for package @avalabs/types
161
-
162
- # [2.5.0](https://github.com/ava-labs/avalanche-sdks/compare/v2.5.0-alpha.17...v2.5.0) (2022-08-18)
163
-
164
- **Note:** Version bump only for package @avalabs/types
165
-
166
- # [2.5.0-alpha.17](https://github.com/ava-labs/avalanche-sdks/compare/v2.5.0-alpha.15...v2.5.0-alpha.17) (2022-08-18)
167
-
168
- **Note:** Version bump only for package @avalabs/types
169
-
170
- # [2.5.0-alpha.15](https://github.com/ava-labs/avalanche-sdks/compare/v2.5.0-alpha.14...v2.5.0-alpha.15) (2022-08-17)
171
-
172
- **Note:** Version bump only for package @avalabs/types
173
-
174
- # 2.5.0-alpha.13 (2022-08-16)
175
-
176
- **Note:** Version bump only for package @avalabs/types
177
-
178
- # 2.5.0-alpha.12 (2022-08-15)
179
-
180
- **Note:** Version bump only for package @avalabs/types
181
-
182
- # 2.5.0-alpha.11 (2022-08-08)
183
-
184
- **Note:** Version bump only for package @avalabs/types
185
-
186
- # 2.5.0-alpha.10 (2022-08-04)
187
-
188
- ### Features
189
-
190
- - feature flag to not rely on posthog instance ([#166](https://github.com/ava-labs/avalanche-sdks/issues/166)) ([c9193aa](https://github.com/ava-labs/avalanche-sdks/commit/c9193aacb7fdb0bacb2440f1476b222bd76abe26))
191
-
192
- # 2.5.0-alpha.9 (2022-08-04)
193
-
194
- **Note:** Version bump only for package @avalabs/types
195
-
196
- # 2.5.0-alpha.8 (2022-08-04)
197
-
198
- **Note:** Version bump only for package @avalabs/types
199
-
200
- # 2.5.0-alpha.7 (2022-08-03)
201
-
202
- ### Bug Fixes
203
-
204
- - make glacier sdk pass params to the http client correctly ([c7eb6f5](https://github.com/ava-labs/avalanche-sdks/commit/c7eb6f56a9f5769050c2d1f5db8012c5c0af0f11))
205
-
206
- # 2.5.0-alpha.6 (2022-07-28)
207
-
208
- **Note:** Version bump only for package @avalabs/types
209
-
210
- # 2.5.0-alpha.5 (2022-07-22)
211
-
212
- ### Bug Fixes
213
-
214
- - use current version for utils dep for auto-update ([45b69a6](https://github.com/ava-labs/avalanche-sdks/commit/45b69a64d7eb120f44fe00c7598de468c08741a4))
215
-
216
- # 2.5.0-alpha.4 (2022-07-21)
217
-
218
- **Note:** Version bump only for package @avalabs/types
219
-
220
- # 2.5.0-alpha.3 (2022-07-21)
221
-
222
- **Note:** Version bump only for package @avalabs/types
223
-
224
- # 2.5.0-alpha.2 (2022-07-21)
225
-
226
- ### Bug Fixes
227
-
228
- - **glacier:** missing dep fixed ([e51a99f](https://github.com/ava-labs/avalanche-sdks/commit/e51a99f29cc740e0e1bdcd1a437120dbdb25c696))
229
-
230
- # 2.5.0-alpha.1 (2022-07-21)
231
-
232
- ### Bug Fixes
233
-
234
- - use etherscan proxy ([#160](https://github.com/ava-labs/avalanche-sdks/issues/160)) ([f3cba1e](https://github.com/ava-labs/avalanche-sdks/commit/f3cba1ea802006d682ab806a2cf324222fb31e90))
235
-
236
- # 2.5.0-alpha.0 (2022-07-19)
237
-
238
- ### Features
239
-
240
- - get Ethereum network data from wallet-network-assets ([#156](https://github.com/ava-labs/avalanche-sdks/issues/156)) ([bfa9731](https://github.com/ava-labs/avalanche-sdks/commit/bfa973197dfd01a6cb9ee155b4660374471e173c))
241
-
242
- ## 2.4.1-alpha.10 (2022-07-18)
243
-
244
- **Note:** Version bump only for package @avalabs/types
245
-
246
- ## 2.4.1-alpha.9 (2022-07-14)
247
-
248
- **Note:** Version bump only for package @avalabs/types
249
-
250
- ## 2.4.1-alpha.8 (2022-07-07)
251
-
252
- **Note:** Version bump only for package @avalabs/types
253
-
254
- ## 2.4.1-alpha.7 (2022-07-07)
255
-
256
- **Note:** Version bump only for package @avalabs/types
257
-
258
- ## 2.4.1-alpha.6 (2022-07-07)
259
-
260
- **Note:** Version bump only for package @avalabs/types
261
-
262
- ## 2.4.1-alpha.5 (2022-07-07)
263
-
264
- **Note:** Version bump only for package @avalabs/types
265
-
266
- ## 2.4.1-alpha.4 (2022-07-06)
267
-
268
- **Note:** Version bump only for package @avalabs/types
269
-
270
- ## 2.4.1-alpha.3 (2022-07-05)
271
-
272
- ### Bug Fixes
273
-
274
- - updated optional params ([2199735](https://github.com/ava-labs/avalanche-sdks/commit/21997355d4db550e4385a70ea2dc0f2e5c52b777))
275
-
276
- ## 2.4.1-alpha.2 (2022-07-05)
277
-
278
- ### Bug Fixes
279
-
280
- - version numbers ([997cb03](https://github.com/ava-labs/avalanche-sdks/commit/997cb032cf15ba51fb0e82a93467718cf71db2c2))
281
-
282
- ## 2.4.1-alpha.1 (2022-07-05)
283
-
284
- **Note:** Version bump only for package @avalabs/types
285
-
286
- ## 2.4.1-alpha.0 (2022-06-22)
287
-
288
- **Note:** Version bump only for package @avalabs/types
289
-
290
- # [2.4.0](https://github.com/ava-labs/avalanche-sdks/compare/v2.4.0-alpha.52...v2.4.0) (2022-06-15)
291
-
292
- **Note:** Version bump only for package @avalabs/types
293
-
294
- # 2.4.0-alpha.52 (2022-06-14)
295
-
296
- ### Features
297
-
298
- - **types:** add contacts to types ([#144](https://github.com/ava-labs/avalanche-sdks/issues/144)) ([a05a446](https://github.com/ava-labs/avalanche-sdks/commit/a05a44671e6f9735fe4da78d14eaf55338c1f663))
299
-
300
- # 2.4.0-alpha.50 (2022-06-07)
301
-
302
- **Note:** Version bump only for package @avalabs/utils-sdk
303
-
304
- # 2.4.0-alpha.49 (2022-06-07)
305
-
306
- **Note:** Version bump only for package @avalabs/utils-sdk
307
-
308
- # 2.4.0-alpha.48 (2022-06-06)
309
-
310
- ### Features
311
-
312
- - **chains:** use glacier for muti chain ([#139](https://github.com/ava-labs/avalanche-sdks/issues/139)) ([c1cb199](https://github.com/ava-labs/avalanche-sdks/commit/c1cb1991049fe483b5de071a5111c9f95196211a))
313
-
314
- # 2.4.0-alpha.47 (2022-06-06)
315
-
316
- ### Features
317
-
318
- - add subnets in ChainId enum ([#138](https://github.com/ava-labs/avalanche-sdks/issues/138)) ([44e55f7](https://github.com/ava-labs/avalanche-sdks/commit/44e55f7ea4745e6d096187a0baa7ddebab2a9d76))
319
-
320
- # 2.4.0-alpha.46 (2022-06-06)
321
-
322
- ### Bug Fixes
323
-
324
- - add missing dependency ([#137](https://github.com/ava-labs/avalanche-sdks/issues/137)) ([dfa8d65](https://github.com/ava-labs/avalanche-sdks/commit/dfa8d655028a846b08b3b87dacdcd9db93f48153))
325
-
326
- # 2.4.0-alpha.45 (2022-06-06)
327
-
328
- ### Bug Fixes
329
-
330
- - remove axios from ledger deps ([#136](https://github.com/ava-labs/avalanche-sdks/issues/136)) ([848ba57](https://github.com/ava-labs/avalanche-sdks/commit/848ba57a54bffc80f3208861b902b68d06a91a62))
331
-
332
- # 2.4.0-alpha.44 (2022-06-02)
333
-
334
- ### Features
335
-
336
- - add coins info method ([ed541c4](https://github.com/ava-labs/avalanche-sdks/commit/ed541c43ed130cf2c106f60d3944002dbb147cd1))
337
-
338
- # 2.4.0-alpha.43 (2022-06-02)
339
-
340
- ### Features
341
-
342
- - adding explorerUrl and subnetExplorerUriId to Network ([#134](https://github.com/ava-labs/avalanche-sdks/issues/134)) ([04cac5d](https://github.com/ava-labs/avalanche-sdks/commit/04cac5df3753ceffce22c6be49e7ffc3efc9ca1d))
343
-
344
- # 2.4.0-alpha.42 (2022-06-02)
345
-
346
- ### Features
347
-
348
- - update models to match schema ([#133](https://github.com/ava-labs/avalanche-sdks/issues/133)) ([ce47521](https://github.com/ava-labs/avalanche-sdks/commit/ce47521afec7408dc9ee2d1fd7b623fff22240ad))
349
-
350
- # 2.4.0-alpha.41 (2022-06-01)
351
-
352
- **Note:** Version bump only for package @avalabs/utils-sdk
353
-
354
- # 2.4.0-alpha.40 (2022-05-27)
355
-
356
- ### Bug Fixes
357
-
358
- - bump ethers versions ([#127](https://github.com/ava-labs/avalanche-sdks/issues/127)) ([f844b2f](https://github.com/ava-labs/avalanche-sdks/commit/f844b2f9c3888e6e0f7b41a3d169315be11473b5))
359
-
360
- # 2.4.0-alpha.39 (2022-05-26)
361
-
362
- ### Bug Fixes
363
-
364
- - add chainId for unwrap contract call ([#130](https://github.com/ava-labs/avalanche-sdks/issues/130)) ([49069cf](https://github.com/ava-labs/avalanche-sdks/commit/49069cff0da340e2b7dadf89f4da2652e40d0b22))
365
-
366
- # 2.4.0-alpha.38 (2022-05-26)
367
-
368
- ### Features
369
-
370
- - add btc logo ([#129](https://github.com/ava-labs/avalanche-sdks/issues/129)) ([411280e](https://github.com/ava-labs/avalanche-sdks/commit/411280e11888fe6049ee7148da7446fa4ef96637))
371
-
372
- # 2.4.0-alpha.37 (2022-05-26)
373
-
374
- **Note:** Version bump only for package @avalabs/utils-sdk
375
-
376
- # 2.4.0-alpha.36 (2022-05-25)
377
-
378
- ### Features
379
-
380
- - remove ethereum network type ([#128](https://github.com/ava-labs/avalanche-sdks/issues/128)) ([589abf4](https://github.com/ava-labs/avalanche-sdks/commit/589abf4f8d811e9dc8910442aae14787fe0238ad))
381
-
382
- # 2.4.0-alpha.35 (2022-05-24)
383
-
384
- ### Bug Fixes
385
-
386
- - update return type to match actual return keys ([#126](https://github.com/ava-labs/avalanche-sdks/issues/126)) ([3eb5909](https://github.com/ava-labs/avalanche-sdks/commit/3eb590943c43df3be32b206587eedd4e7817d13a))
387
-
388
- # 2.4.0-alpha.34 (2022-05-20)
389
-
390
- ### Features
391
-
392
- - optional Environment arg for fetchConfig ([#124](https://github.com/ava-labs/avalanche-sdks/issues/124)) ([44b16bc](https://github.com/ava-labs/avalanche-sdks/commit/44b16bced1179c90ced6922b615c2016f21a9d5e))
393
-
394
- # 2.4.0-alpha.33 (2022-05-20)
395
-
396
- ### Bug Fixes
397
-
398
- - remove usage of getBlockCypher from the bridge sdk ([#123](https://github.com/ava-labs/avalanche-sdks/issues/123)) ([cdd0692](https://github.com/ava-labs/avalanche-sdks/commit/cdd06924f7a1320f86c2df23e8a2d3d1b5366b9a))
399
-
400
- # 2.4.0-alpha.32 (2022-05-19)
401
-
402
- ### Bug Fixes
403
-
404
- - add api key to blockcypher requests ([#122](https://github.com/ava-labs/avalanche-sdks/issues/122)) ([9fe04b5](https://github.com/ava-labs/avalanche-sdks/commit/9fe04b5062553ad57f79d2fe90c95153257899b9))
405
-
406
- # 2.4.0-alpha.31 (2022-05-19)
407
-
408
- ### Features
409
-
410
- - support custom base urls in blockcypher provider ([#121](https://github.com/ava-labs/avalanche-sdks/issues/121)) ([819b254](https://github.com/ava-labs/avalanche-sdks/commit/819b2542ae393b538230857b21a794c31586288e))
411
-
412
- # 2.4.0-alpha.30 (2022-05-18)
413
-
414
- ### Features
415
-
416
- - support custom base urls ([#120](https://github.com/ava-labs/avalanche-sdks/issues/120)) ([5e719ed](https://github.com/ava-labs/avalanche-sdks/commit/5e719edd1488e8bcef456673a7fc6dff19fdef3d))
417
-
418
- # 2.4.0-alpha.29 (2022-05-18)
419
-
420
- ### Features
421
-
422
- - replace blockccypher http provider with utils http provider ([#117](https://github.com/ava-labs/avalanche-sdks/issues/117)) ([69fd8f6](https://github.com/ava-labs/avalanche-sdks/commit/69fd8f67e24a8d4755589f6c05c45834c7c928c5))
423
-
424
- # 2.4.0-alpha.28 (2022-05-18)
425
-
426
- ### Bug Fixes
427
-
428
- - **bridge-sdk:** pass in correct network to Psbt ([#119](https://github.com/ava-labs/avalanche-sdks/issues/119)) ([ea3bdca](https://github.com/ava-labs/avalanche-sdks/commit/ea3bdca1a3ba965db4c521a03ec28de4c35d64c2))
429
-
430
- # 2.4.0-alpha.27 (2022-05-17)
431
-
432
- **Note:** Version bump only for package @avalabs/utils-sdk
433
-
434
- # 2.4.0-alpha.26 (2022-05-17)
435
-
436
- **Note:** Version bump only for package @avalabs/utils-sdk
437
-
438
- # 2.4.0-alpha.25 (2022-05-16)
439
-
440
- ### Features
441
-
442
- - export getXpubFromMnemonic ([#114](https://github.com/ava-labs/avalanche-sdks/issues/114)) ([77c9a7c](https://github.com/ava-labs/avalanche-sdks/commit/77c9a7c15ea58916576d5d7423957c33eac8c692))
443
-
444
- # 2.4.0-alpha.24 (2022-05-16)
445
-
446
- ### Features
447
-
448
- - add util to get xpub from mnemonic ([#113](https://github.com/ava-labs/avalanche-sdks/issues/113)) ([1e5c2cc](https://github.com/ava-labs/avalanche-sdks/commit/1e5c2cc4ff1cf53ad28cfc8fcc29012c6e89c9ac))
449
-
450
- # 2.4.0-alpha.23 (2022-05-16)
451
-
452
- ### Bug Fixes
453
-
454
- - **chains:** only evm chains, chain ids and better modeling ([694d94e](https://github.com/ava-labs/avalanche-sdks/commit/694d94eac3897369902b8b2d3994fc665f9f9b27))
455
-
456
- # 2.4.0-alpha.22 (2022-05-16)
457
-
458
- ### Bug Fixes
459
-
460
- - **chain:** use chain instead of network ([b112be5](https://github.com/ava-labs/avalanche-sdks/commit/b112be5ccd256dc903a10ced710516b9ee6210c1))
461
-
462
- # 2.4.0-alpha.21 (2022-05-16)
463
-
464
- **Note:** Version bump only for package @avalabs/utils-sdk
465
-
466
- # 2.4.0-alpha.20 (2022-05-16)
467
-
468
- **Note:** Version bump only for package @avalabs/utils-sdk
469
-
470
- # 2.4.0-alpha.19 (2022-05-13)
471
-
472
- **Note:** Version bump only for package @avalabs/utils-sdk
473
-
474
- # 2.4.0-alpha.18 (2022-05-13)
475
-
476
- ### Bug Fixes
477
-
478
- - **chains:** network name type to enum ([3edcb14](https://github.com/ava-labs/avalanche-sdks/commit/3edcb1462c08e5e2c30cd126124248520ef6632d))
479
-
480
- # 2.4.0-alpha.17 (2022-05-13)
481
-
482
- ### Bug Fixes
483
-
484
- - add missing export ([#109](https://github.com/ava-labs/avalanche-sdks/issues/109)) ([e31d2c7](https://github.com/ava-labs/avalanche-sdks/commit/e31d2c74f4e33987ccc75ae0367ef898c394ccf1))
485
-
486
- # 2.4.0-alpha.16 (2022-05-13)
487
-
488
- ### Features
489
-
490
- - wallets sdk changes ([#108](https://github.com/ava-labs/avalanche-sdks/issues/108)) ([f1f413e](https://github.com/ava-labs/avalanche-sdks/commit/f1f413eef2bd6868aac161819baca05504678d4c))
491
-
492
- # 2.4.0-alpha.15 (2022-05-13)
493
-
494
- **Note:** Version bump only for package @avalabs/utils-sdk
495
-
496
- # 2.4.0-alpha.14 (2022-05-12)
497
-
498
- ### Features
499
-
500
- - add custom LedgerSigner ([#107](https://github.com/ava-labs/avalanche-sdks/issues/107)) ([553d738](https://github.com/ava-labs/avalanche-sdks/commit/553d73806b0f1f757e52141eab11e3fb94baae85))
501
-
502
- # 2.4.0-alpha.13 (2022-05-10)
503
-
504
- **Note:** Version bump only for package @avalabs/utils-sdk
505
-
506
- # 2.4.0-alpha.12 (2022-05-10)
507
-
508
- ### Bug Fixes
509
-
510
- - **chains:** add coing gecko platform id to chains model ([05c1a55](https://github.com/ava-labs/avalanche-sdks/commit/05c1a5567a9cd9b9979676eecdad38fab61cc1ff))
511
-
512
- # 2.4.0-alpha.11 (2022-05-10)
513
-
514
- ### Features
515
-
516
- - **chains-sdk:** chains sdk added ([#106](https://github.com/ava-labs/avalanche-sdks/issues/106)) ([8b2f29d](https://github.com/ava-labs/avalanche-sdks/commit/8b2f29d734470e1b79a3d11453c08f00e92c57d4))
517
-
518
- # 2.4.0-alpha.10 (2022-05-09)
519
-
520
- ### Features
521
-
522
- - can create btc wallet from a given ethers wallet ([#105](https://github.com/ava-labs/avalanche-sdks/issues/105)) ([ddf37dc](https://github.com/ava-labs/avalanche-sdks/commit/ddf37dcd612b64e3025d03dfcd0df7f5f7e68b9f))
523
-
524
- # 2.4.0-alpha.9 (2022-05-09)
525
-
526
- **Note:** Version bump only for package @avalabs/utils-sdk
527
-
528
- # 2.4.0-alpha.8 (2022-05-09)
529
-
530
- **Note:** Version bump only for package @avalabs/utils-sdk
531
-
532
- # 2.4.0-alpha.7 (2022-05-06)
533
-
534
- ### Bug Fixes
535
-
536
- - remove null return type from createTransferTx ([b062e69](https://github.com/ava-labs/avalanche-sdks/commit/b062e699e7717b907b7a04d8b579ffe80d7c64cd))
537
-
538
- # 2.4.0-alpha.6 (2022-05-06)
539
-
540
- ### Bug Fixes
541
-
542
- - type correction ([#103](https://github.com/ava-labs/avalanche-sdks/issues/103)) ([cdd3d6e](https://github.com/ava-labs/avalanche-sdks/commit/cdd3d6e964cc442ae7ab91594f8562407fc4aefb))
543
-
544
- # 2.4.0-alpha.5 (2022-05-06)
545
-
546
- ### Bug Fixes
547
-
548
- - rename some methods ([#102](https://github.com/ava-labs/avalanche-sdks/issues/102)) ([4b99cf8](https://github.com/ava-labs/avalanche-sdks/commit/4b99cf8d3e227cf56d376ef25431356adf83af44))
549
-
550
- # 2.4.0-alpha.4 (2022-05-06)
551
-
552
- ### Bug Fixes
553
-
554
- - fix getFee return type for getblock provider ([0f55d97](https://github.com/ava-labs/avalanche-sdks/commit/0f55d97c2beb146faaaba5c1b2db801fed646a5d))
555
-
556
- # 2.4.0-alpha.3 (2022-05-05)
557
-
558
- ### Bug Fixes
559
-
560
- - build error ([#99](https://github.com/ava-labs/avalanche-sdks/issues/99)) ([0e3ddf5](https://github.com/ava-labs/avalanche-sdks/commit/0e3ddf5244d80db2fc266f29ba55ad35382e520e))
561
-
562
- # 2.4.0-alpha.2 (2022-05-03)
563
-
564
- ### Bug Fixes
565
-
566
- - use toFixed to prevent errors when converting ([#94](https://github.com/ava-labs/avalanche-sdks/issues/94)) ([8e1c7d2](https://github.com/ava-labs/avalanche-sdks/commit/8e1c7d2b9c3c35ecd6ce1d5d910d1bb83dca0311))
567
-
568
- # 2.4.0-alpha.1 (2022-05-02)
569
-
570
- ### Bug Fixes
571
-
572
- - Update isBech32Address logic ([#93](https://github.com/ava-labs/avalanche-sdks/issues/93)) ([e43bd4d](https://github.com/ava-labs/avalanche-sdks/commit/e43bd4db4d2340e3639feab2938b0b2a0c8629a1))
573
-
574
- # 2.4.0-alpha.0 (2022-04-29)
575
-
576
- ### Features
577
-
578
- - JSONRPCBatchProvider to support multicall contract ([#91](https://github.com/ava-labs/avalanche-sdks/issues/91)) ([32411b5](https://github.com/ava-labs/avalanche-sdks/commit/32411b5725000d83db5095eb6ffccd6a123afc90))
579
-
580
- # [2.3.0](https://github.com/ava-labs/avalanche-sdks/compare/v2.3.0-alpha.6...v2.3.0) (2022-04-27)
581
-
582
- **Note:** Version bump only for package @avalabs/utils-sdk
583
-
584
- # 2.3.0-alpha.6 (2022-04-27)
585
-
586
- ### Bug Fixes
587
-
588
- - **bridge-sdk:** also set sourceNetworkFee when updating confirmations ([907251b](https://github.com/ava-labs/avalanche-sdks/commit/907251b5008bb02b7ff62b22ea062699bbff4b55))
589
-
590
- # 2.3.0-alpha.5 (2022-04-27)
591
-
592
- **Note:** Version bump only for package @avalabs/utils-sdk
593
-
594
- # 2.3.0-alpha.4 (2022-04-27)
595
-
596
- ### Bug Fixes
597
-
598
- - rename file ([ef46864](https://github.com/ava-labs/avalanche-sdks/commit/ef4686473e365fc3c31f9370aafc4df1de7715e7))
599
-
600
- # 2.3.0-alpha.3 (2022-04-26)
601
-
602
- **Note:** Version bump only for package @avalabs/utils-sdk
603
-
604
- # 2.3.0-alpha.2 (2022-04-25)
605
-
606
- ### Features
607
-
608
- - **blockcypher:** Add support for GetAddressFull endpoint ([#86](https://github.com/ava-labs/avalanche-sdks/issues/86)) ([481ee07](https://github.com/ava-labs/avalanche-sdks/commit/481ee076cfc0c64bda2047ed098eeeda193516a4))
609
-
610
- # 2.3.0-alpha.1 (2022-04-25)
611
-
612
- ### Features
613
-
614
- - **polling:** adding polling solution ([#85](https://github.com/ava-labs/avalanche-sdks/issues/85)) ([0579ec6](https://github.com/ava-labs/avalanche-sdks/commit/0579ec60445c25fdaea33a030e4499849d6b6864))
615
-
616
- # 2.3.0-alpha.0 (2022-04-25)
617
-
618
- ### Features
619
-
620
- - **wallets sdk:** new wallet sdk (BTC/EVM) ([e5d9236](https://github.com/ava-labs/avalanche-sdks/commit/e5d92362f83c47344e5a9c9baefeb4d435815bb7)), closes [#82](https://github.com/ava-labs/avalanche-sdks/issues/82) [#83](https://github.com/ava-labs/avalanche-sdks/issues/83)
621
-
622
- ## 2.2.1-alpha.0 (2022-04-21)
623
-
624
- **Note:** Version bump only for package @avalabs/utils-sdk
625
-
626
- # [2.2.0](https://github.com/ava-labs/avalanche-sdks/compare/v2.2.0-alpha.4...v2.2.0) (2022-04-14)
627
-
628
- **Note:** Version bump only for package @avalabs/utils-sdk
629
-
630
- # 2.2.0-alpha.5 (2022-04-14)
631
-
632
- ### Features
633
-
634
- - **bridge:** BTC bridge ([#44](https://github.com/ava-labs/avalanche-sdks/issues/44)) ([5e5d279](https://github.com/ava-labs/avalanche-sdks/commit/5e5d279cd0eae299415f389c50166a3e14ec9b2b))
635
-
636
- # 2.2.0-alpha.4 (2022-04-13)
637
-
638
- ### Bug Fixes
639
-
640
- - **actions:** change from danny to github bot ([b5d1778](https://github.com/ava-labs/avalanche-sdks/commit/b5d177810551a722d85951a20106318ccc22ba6e))
641
-
642
- # 2.2.0-alpha.3 (2022-04-11)
643
-
644
- ### Bug Fixes
645
-
646
- - config no longer required for coingecko SDK ([5b63edc](https://github.com/ava-labs/avalanche-sdks/commit/5b63edcb389938e53dbeed2e4327308287886bbe))
647
-
648
- # 2.2.0-alpha.2 (2022-04-08)
649
-
650
- ### Features
651
-
652
- - **release:** push to get latest state released ([38db16f](https://github.com/ava-labs/avalanche-sdks/commit/38db16f7e64018c1112db2917d65ea65e7401cd8))
653
-
654
- # 2.2.0-alpha.1 (2022-04-07)
655
-
656
- ### Features
657
-
658
- - **coin-gecko:** added support for coin gecko pro api ([#68](https://github.com/ava-labs/avalanche-sdks/issues/68)) ([5c875ae](https://github.com/ava-labs/avalanche-sdks/commit/5c875ae79fb16f1fb874a5dc75e6e4f1a4cb8c0b))
659
-
660
- # 2.2.0-alpha.0 (2022-04-04)
661
-
662
- ### Features
663
-
664
- - **posthog:** add more flags for bridge ([#63](https://github.com/ava-labs/avalanche-sdks/issues/63)) ([f794244](https://github.com/ava-labs/avalanche-sdks/commit/f794244a5dd9fc8de04179a694e91baf9c3b64d6))
665
-
666
- ## 2.1.5-alpha.0 (2022-04-04)
667
-
668
- ### Bug Fixes
669
-
670
- - custom platform ID for simple token price ([f3deb88](https://github.com/ava-labs/avalanche-sdks/commit/f3deb889365792b7e9d14da304814b731e561121))
671
-
672
- ## [2.1.4](https://github.com/ava-labs/avalanche-sdks/compare/v2.1.4-alpha.0...v2.1.4) (2022-04-01)
673
-
674
- **Note:** Version bump only for package @avalabs/utils-sdk
675
-
676
- ## 2.1.4-alpha.0 (2022-04-01)
677
-
678
- **Note:** Version bump only for package @avalabs/utils-sdk
679
-
680
- ## [2.1.3](https://github.com/ava-labs/avalanche-sdks/compare/v2.1.3-alpha.0...v2.1.3) (2022-04-01)
681
-
682
- **Note:** Version bump only for package @avalabs/utils-sdk
683
-
684
- ## 2.1.3-alpha.0 (2022-04-01)
685
-
686
- ### Bug Fixes
687
-
688
- - Update return type for moonpay ([#60](https://github.com/ava-labs/avalanche-sdks/issues/60)) ([c7f616b](https://github.com/ava-labs/avalanche-sdks/commit/c7f616b0eed25d393cdaaacbb3a433ac8ccc84a5))
689
-
690
- ## [2.1.2](https://github.com/ava-labs/avalanche-sdks/compare/v2.1.2-alpha.0...v2.1.2) (2022-04-01)
691
-
692
- **Note:** Version bump only for package @avalabs/utils-sdk
693
-
694
- ## 2.1.2-alpha.0 (2022-03-31)
695
-
696
- **Note:** Version bump only for package @avalabs/utils-sdk
697
-
698
- ## [2.1.1](https://github.com/ava-labs/avalanche-sdks/compare/v2.1.1-alpha.8...v2.1.1) (2022-03-30)
699
-
700
- **Note:** Version bump only for package @avalabs/utils-sdk
701
-
702
- ## 2.1.1-alpha.8 (2022-03-30)
703
-
704
- **Note:** Version bump only for package @avalabs/utils-sdk
705
-
706
- ## 2.1.1-alpha.7 (2022-03-30)
707
-
708
- **Note:** Version bump only for package @avalabs/utils-sdk
709
-
710
- ## 2.1.1-alpha.6 (2022-03-30)
711
-
712
- **Note:** Version bump only for package @avalabs/utils-sdk
713
-
714
- ## 2.1.1-alpha.5 (2022-03-29)
715
-
716
- **Note:** Version bump only for package @avalabs/utils-sdk
717
-
718
- ## 2.1.1-alpha.4 (2022-03-29)
719
-
720
- **Note:** Version bump only for package @avalabs/utils-sdk
721
-
722
- ## 2.1.1-alpha.3 (2022-03-28)
723
-
724
- ### Bug Fixes
725
-
726
- - **posthog:** add debounce and fix value conversion ([34d7d4f](https://github.com/ava-labs/avalanche-sdks/commit/34d7d4f8a4e9dbbaaed6e658d0a54055bc41d106))
727
-
728
- ## 2.1.1-alpha.2 (2022-03-24)
729
-
730
- ### Bug Fixes
731
-
732
- - **posthog:** race condition between init and feature flags ([#55](https://github.com/ava-labs/avalanche-sdks/issues/55)) ([08b67ca](https://github.com/ava-labs/avalanche-sdks/commit/08b67ca23cb1879707314407792a0b5245a568d1))
733
-
734
- ## 2.1.1-alpha.1 (2022-03-22)
735
-
736
- **Note:** Version bump only for package @avalabs/utils-sdk
737
-
738
- ## 2.1.1-alpha.0 (2022-03-22)
739
-
740
- ### Bug Fixes
741
-
742
- - **posthog:** add dep to build ([dfa6df3](https://github.com/ava-labs/avalanche-sdks/commit/dfa6df3f0f5d247235b20547e8919c39f5420737))
743
-
744
- # [2.1.0](https://github.com/ava-labs/avalanche-sdks/compare/v2.1.0-alpha.0...v2.1.0) (2022-03-21)
745
-
746
- **Note:** Version bump only for package @avalabs/utils-sdk
747
-
748
- # 2.1.0-alpha.0 (2022-03-21)
749
-
750
- ### Features
751
-
752
- - remove axios dependency ([#49](https://github.com/ava-labs/avalanche-sdks/issues/49)) ([d659e64](https://github.com/ava-labs/avalanche-sdks/commit/d659e644652f7dd39dfc5d31c1852faa22d87515))
753
-
754
- # [2.0.0](https://github.com/ava-labs/avalanche-sdks/compare/v2.0.0-alpha.4...v2.0.0) (2022-03-11)
755
-
756
- **Note:** Version bump only for package @avalabs/utils-sdk
757
-
758
- # 2.0.0-alpha.4 (2022-03-11)
759
-
760
- ### Features
761
-
762
- - update nft types ([#45](https://github.com/ava-labs/avalanche-sdks/issues/45)) ([d386e5e](https://github.com/ava-labs/avalanche-sdks/commit/d386e5ef17894ad9d886ccc1b022e9cd0fbed3ca))
763
-
764
- # 2.0.0-alpha.3 (2022-03-10)
765
-
766
- ### Bug Fixes
767
-
768
- - export moonpay ([#43](https://github.com/ava-labs/avalanche-sdks/issues/43)) ([9a55bf0](https://github.com/ava-labs/avalanche-sdks/commit/9a55bf0131a73f2a55188b82a7ef33ef7454e6e2))
769
-
770
- # 2.0.0-alpha.2 (2022-03-10)
771
-
772
- ### Features
773
-
774
- - Add moonpay and nftBalances endpoints ([#42](https://github.com/ava-labs/avalanche-sdks/issues/42)) ([fe6178f](https://github.com/ava-labs/avalanche-sdks/commit/fe6178fdf9552f05d840c3c117a914ef7bc1a74f))
775
-
776
- # 2.0.0-alpha.1 (2022-03-08)
777
-
778
- ### Bug Fixes
779
-
780
- - export token price type ([6907bb1](https://github.com/ava-labs/avalanche-sdks/commit/6907bb17369f4e98c35e69e14b36eacebdd03782))
781
-
782
- # 2.0.0-alpha.0 (2022-03-08)
783
-
784
- ### Features
785
-
786
- - Subnet Explorer Updates . Multiple ids and vs currencies, param and response formatting improvements for typescript. ([667d7af](https://github.com/ava-labs/avalanche-sdks/commit/667d7af130a6ab235121116eb234ea03d5cd3580))
787
-
788
- ### BREAKING CHANGES
789
-
790
- - Params for all methods are now an object. This makes it easier to selectively pass params and rely on the set defaults.
791
-
792
- # 1.4.0-alpha.6 (2022-03-07)
793
-
794
- **Note:** Version bump only for package @avalabs/utils-sdk
795
-
796
- # 1.4.0-alpha.5 (2022-03-04)
797
-
798
- **Note:** Version bump only for package @avalabs/utils-sdk
799
-
800
- # 1.4.0-alpha.4 (2022-03-03)
801
-
802
- **Note:** Version bump only for package @avalabs/utils-sdk
803
-
804
- # 1.4.0-alpha.3 (2022-03-03)
805
-
806
- **Note:** Version bump only for package @avalabs/utils-sdk
807
-
808
- # 1.4.0-alpha.2 (2022-03-03)
809
-
810
- **Note:** Version bump only for package @avalabs/utils-sdk
811
-
812
- # 1.4.0-alpha.1 (2022-03-02)
813
-
814
- **Note:** Version bump only for package @avalabs/utils-sdk
815
-
816
- # 1.4.0-alpha.0 (2022-03-02)
817
-
818
- ### Features
819
-
820
- - update blizzard api ([#35](https://github.com/ava-labs/avalanche-sdks/issues/35)) ([d644ec7](https://github.com/ava-labs/avalanche-sdks/commit/d644ec739a20a24acb705ea056623d78317bb123))
821
-
822
- ## [1.3.1](https://github.com/ava-labs/avalanche-sdks/compare/v1.3.1-alpha.0...v1.3.1) (2022-03-01)
823
-
824
- **Note:** Version bump only for package @avalabs/utils-sdk
825
-
826
- ## 1.3.1-alpha.0 (2022-03-01)
827
-
828
- ### Bug Fixes
829
-
830
- - **bridge:** fix type error that snuck in the last release ([#33](https://github.com/ava-labs/avalanche-sdks/issues/33)) ([118b515](https://github.com/ava-labs/avalanche-sdks/commit/118b515cdae7e97912d1a141416f56b14b3183c8))
831
-
832
- ## [1.2.1](https://github.com/ava-labs/avalanche-sdks/compare/v1.2.0-alpha.3...v1.2.1) (2022-03-01)
833
-
834
- **Note:** Version bump only for package @avalabs/utils-sdk
835
-
836
- # 1.2.0-alpha.3 (2022-02-28)
837
-
838
- ### Bug Fixes
839
-
840
- - **bridge:** remove reference to document for ReactNative support ([#30](https://github.com/ava-labs/avalanche-sdks/issues/30)) ([976e60d](https://github.com/ava-labs/avalanche-sdks/commit/976e60d0ddac7e283f4adb2082a2245d17ef9b1c))
841
-
842
- # 1.2.0-alpha.2 (2022-02-25)
843
-
844
- ### Bug Fixes
845
-
846
- - **bridge:** fix fetch balance for native asset on target network ([#29](https://github.com/ava-labs/avalanche-sdks/issues/29)) ([27693af](https://github.com/ava-labs/avalanche-sdks/commit/27693af7c9dd331ec51f27aed372275e556d3036))
847
-
848
- # 1.2.0-alpha.1 (2022-02-23)
849
-
850
- **Note:** Version bump only for package @avalabs/utils-sdk
851
-
852
- # 1.1.0-alpha.12 (2022-02-23)
853
-
854
- **Note:** Version bump only for package @avalabs/utils-sdk
855
-
856
- # 1.1.0-alpha.11 (2022-02-23)
857
-
858
- **Note:** Version bump only for package @avalabs/utils-sdk
859
-
860
- # 1.1.0-alpha.10 (2022-02-22)
861
-
862
- **Note:** Version bump only for package @avalabs/utils-sdk
863
-
864
- # 1.1.0-alpha.9 (2022-02-22)
865
-
866
- **Note:** Version bump only for package @avalabs/utils-sdk
867
-
868
- # 1.1.0-alpha.8 (2022-02-22)
869
-
870
- ### Features
871
-
872
- - add get source for contract call ([#24](https://github.com/ava-labs/avalanche-sdks/issues/24)) ([5785747](https://github.com/ava-labs/avalanche-sdks/commit/5785747f76f2cf3af8079e77ae064966b8deabbb))
873
-
874
- # 1.1.0-alpha.7 (2022-02-21)
875
-
876
- ### Bug Fixes
877
-
878
- - coin gecko param id ([a2cd9a9](https://github.com/ava-labs/avalanche-sdks/commit/a2cd9a90bb0bb81b31eadffe81757ff43dc34f1b))
879
-
880
- # 1.1.0-alpha.6 (2022-02-19)
881
-
882
- ### Bug Fixes
883
-
884
- - export simplePrice file/functionality ([b0ab025](https://github.com/ava-labs/avalanche-sdks/commit/b0ab02594d9f7be744ce5ec3d985385788ad1328))
885
-
886
- # 1.1.0-alpha.5 (2022-02-18)
887
-
888
- ### Features
889
-
890
- - normalised simplePrice request added to coingecko sdk ([664061d](https://github.com/ava-labs/avalanche-sdks/commit/664061d3e224633178443888bbd581bfbb7d92c6))
891
-
892
- # 1.1.0 (2022-02-18)
893
-
894
- **Note:** Version bump only for package @avalabs/utils-sdk
895
-
896
- # 1.1.0-alpha.4 (2022-02-18)
897
-
898
- **Note:** Version bump only for package @avalabs/utils-sdk
899
-
900
- # 1.1.0-alpha.3 (2022-02-17)
901
-
902
- **Note:** Version bump only for package @avalabs/utils-sdk
903
-
904
- # 1.1.0-alpha.2 (2022-02-17)
905
-
906
- ### Bug Fixes
907
-
908
- - catch gas estimation errors & add missing exports ([#21](https://github.com/ava-labs/avalanche-sdks/issues/21)) ([d8a8759](https://github.com/ava-labs/avalanche-sdks/commit/d8a875994aeb7e7b33b968afebd75b27298da8e4))
909
-
910
- # 1.1.0-alpha.1 (2022-02-17)
911
-
912
- ### Bug Fixes
913
-
914
- - **blizzard-sdk:** update package name in blizzard sdk ([e19d478](https://github.com/ava-labs/avalanche-sdks/commit/e19d47857374743fcde4004dfd2519814ca7c781))
915
-
916
- # 1.1.0-alpha.0 (2022-02-17)
917
-
918
- ### Features
919
-
920
- - **blizzard:** add blizzard sdk ([#18](https://github.com/ava-labs/avalanche-sdks/issues/18)) ([6f4e1ce](https://github.com/ava-labs/avalanche-sdks/commit/6f4e1ce43cc84dcfa361b2690b17a3bf36e630e1))
921
-
922
- # 0.2.0-alpha.7 (2022-02-17)
923
-
924
- ### Bug Fixes
925
-
926
- - target timer should not start prematurely on reload ([7566e4b](https://github.com/ava-labs/avalanche-sdks/commit/7566e4bd3cfeedbb2942850473d67ebb19bbb263))
927
-
928
- # 0.2.0-alpha.6 (2022-02-17)
929
-
930
- ### Features
931
-
932
- - change useUSDPrice to usePrice ([#20](https://github.com/ava-labs/avalanche-sdks/issues/20)) ([8014778](https://github.com/ava-labs/avalanche-sdks/commit/801477856ea172d7fd70fd209d1f8da4202daca9))
933
-
934
- # 0.2.0-alpha.5 (2022-02-16)
935
-
936
- **Note:** Version bump only for package @avalabs/utils-sdk
937
-
938
- # 0.2.0-alpha.4 (2022-02-15)
939
-
940
- **Note:** Version bump only for package @avalabs/utils-sdk
941
-
942
- # 0.2.0-alpha.3 (2022-02-14)
943
-
944
- **Note:** Version bump only for package @avalabs/utils-sdk
945
-
946
- # 0.2.0-alpha.2 (2022-02-11)
947
-
948
- ### Bug Fixes
949
-
950
- - export useSwitchFromUnavailableAsset ([6438355](https://github.com/ava-labs/avalanche-sdks/commit/6438355e25ea2abd1819938b15d1c5367a049c09))
951
-
952
- # 0.2.0-alpha.1 (2022-02-10)
953
-
954
- ### Features
955
-
956
- - extract another hook from bridge ([095fc0e](https://github.com/ava-labs/avalanche-sdks/commit/095fc0e33b28657dbdcf46b60b94c95c6a1f2a84))
957
-
958
- # 0.2.0-alpha.0 (2022-02-10)
959
-
960
- ### Features
961
-
962
- - **types:** introduce Maybe<T> to simplify null | undefined checks ([#14](https://github.com/ava-labs/avalanche-sdks/issues/14)) ([6f9f14e](https://github.com/ava-labs/avalanche-sdks/commit/6f9f14e2484138f0687198e1796a9ff0da0fda94))
963
-
964
- ## 0.1.3-alpha.1 (2022-02-10)
965
-
966
- **Note:** Version bump only for package @avalabs/utils-sdk
967
-
968
- ## 0.1.3-alpha.0 (2022-02-10)
969
-
970
- ### Bug Fixes
971
-
972
- - **big_conversion:** Fix ethers big to big conversion ([7e8fa20](https://github.com/ava-labs/avalanche-sdks/commit/7e8fa20f87894f41fa09735e06e95724fd812960))
973
-
974
- ## [0.1.2](https://github.com/ava-labs/avalanche-sdks/compare/v0.1.2-alpha.0...v0.1.2) (2022-02-09)
975
-
976
- **Note:** Version bump only for package @avalabs/utils-sdk
977
-
978
- ## 0.1.2-alpha.0 (2022-02-09)
979
-
980
- **Note:** Version bump only for package @avalabs/utils-sdk
981
-
982
- ## 0.1.1 (2022-02-09)
983
-
984
- **Note:** Version bump only for package @avalabs/utils-sdk
985
-
986
- ## 0.1.1-alpha.0 (2022-02-09)
987
-
988
- ### Bug Fixes
989
-
990
- - **bn:** bn [@type](https://github.com/type) missing ([bbf47a3](https://github.com/ava-labs/avalanche-sdks/commit/bbf47a38451851bfdcb3ca97cc3dc7c501a89ac3))
991
-
992
- # 0.1.0 (2022-02-08)
993
-
994
- **Note:** Version bump only for package @avalabs/utils-sdk
995
-
996
- # 0.1.0-alpha.20 (2022-02-08)
997
-
998
- **Note:** Version bump only for package @avalabs/utils-sdk
999
-
1000
- # 0.1.0-alpha.19 (2022-02-08)
1001
-
1002
- **Note:** Version bump only for package @avalabs/utils-sdk
1003
-
1004
- # 0.1.0-alpha.18 (2022-02-08)
1005
-
1006
- **Note:** Version bump only for package @avalabs/utils-sdk
1007
-
1008
- # 0.1.0-alpha.17 (2022-02-07)
1009
-
1010
- ### Features
1011
-
1012
- - runtime config updates from avalanche-bridge ([#8](https://github.com/ava-labs/avalanche-sdks/issues/8)) ([6cc45c4](https://github.com/ava-labs/avalanche-sdks/commit/6cc45c451cadcf5e8834aa36c7f0df8ebe46e66c))
1013
-
1014
- # 0.1.0-alpha.16 (2022-02-07)
1015
-
1016
- ### Features
1017
-
1018
- - put tokenInfoData into a separate context for bridge web ([#6](https://github.com/ava-labs/avalanche-sdks/issues/6)) ([d152599](https://github.com/ava-labs/avalanche-sdks/commit/d152599a7d8e661bcbc009d4b00defc909e74852))
1019
-
1020
- # 0.1.0-alpha.15 (2022-02-07)
1021
-
1022
- **Note:** Version bump only for package @avalabs/utils-sdk
1023
-
1024
- # 0.1.0-alpha.14 (2022-02-01)
1025
-
1026
- ### Features
1027
-
1028
- - add the following hooks ([#4](https://github.com/ava-labs/avalanche-sdks/issues/4)) ([a43502e](https://github.com/ava-labs/avalanche-sdks/commit/a43502e9ac10df26ca7cc0da429f9ffb0c015636))
1029
-
1030
- # 0.1.0-alpha.13 (2022-02-01)
1031
-
1032
- **Note:** Version bump only for package @avalabs/utils-sdk
1033
-
1034
- # 0.1.0-alpha.12 (2022-01-28)
1035
-
1036
- **Note:** Version bump only for package @avalabs/utils-sdk
1037
-
1038
- # 0.1.0-alpha.11 (2022-01-28)
1039
-
1040
- **Note:** Version bump only for package @avalabs/utils-sdk
1041
-
1042
- # 0.1.0-alpha.10 (2022-01-28)
1043
-
1044
- **Note:** Version bump only for package @avalabs/utils-sdk
1045
-
1046
- # 0.1.0-alpha.9 (2022-01-28)
1047
-
1048
- **Note:** Version bump only for package @avalabs/utils-sdk
1049
-
1050
- # 0.1.0-alpha.8 (2022-01-28)
1051
-
1052
- **Note:** Version bump only for package @avalabs/utils-sdk
1053
-
1054
- # 0.1.0-alpha.7 (2022-01-28)
1055
-
1056
- **Note:** Version bump only for package @avalabs/utils-sdk
1057
-
1058
- # 0.1.0-alpha.6 (2022-01-28)
1059
-
1060
- **Note:** Version bump only for package @avalabs/utils-sdk
1061
-
1062
- # 0.1.0-alpha.5 (2022-01-28)
1063
-
1064
- **Note:** Version bump only for package @avalabs/utils-sdk
1065
-
1066
- # 0.1.0-alpha.4 (2022-01-27)
1067
-
1068
- ### Features
1069
-
1070
- - **utils:** adding utils lib ([be6c659](https://github.com/ava-labs/avalanche-sdks/commit/be6c6594218f05b540259f84a407c0597fc8076e))
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC"}
package/dist/index.js.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"contacts.d.ts","sourceRoot":"","sources":["../../src/contacts.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,OAAO;IACtB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,WAAW,aAAa;IAC5B,QAAQ,EAAE,OAAO,EAAE,CAAC;CACrB"}
package/index.ts DELETED
@@ -1 +0,0 @@
1
- export * from './src/contacts';
package/rollup.config.js DELETED
@@ -1,33 +0,0 @@
1
- import json from '@rollup/plugin-json';
2
- import commonjs from 'rollup-plugin-commonjs';
3
- import del from 'rollup-plugin-delete';
4
- import ttypescript from 'ttypescript';
5
- import typescript from 'rollup-plugin-typescript2';
6
-
7
- export default {
8
- input: './index.ts',
9
- output: {
10
- dir: 'dist',
11
- format: 'cjs',
12
- sourcemap: process.env.BUILD === 'production' ? false : true,
13
- },
14
- plugins: [
15
- del({ targets: 'dist/*' }),
16
- typescript({
17
- typescript: ttypescript,
18
- tsconfig: 'tsconfig.json',
19
- tsconfigOverride: {
20
- exclude: ['./test/**'],
21
- // index.ts is included here and not in tsconfig.ts so relative imports
22
- // are imported correctly by VS Code.
23
- include: ['src', 'index.ts'],
24
- compilerOptions: {
25
- rootDir: './',
26
- },
27
- },
28
- }),
29
- json(),
30
- commonjs(),
31
- ],
32
- external: ['ethers', 'big.js'],
33
- };
package/src/contacts.ts DELETED
@@ -1,11 +0,0 @@
1
- export interface Contact {
2
- id: string; // uuid
3
- name: string;
4
- address: string;
5
- isKnown?: boolean;
6
- addressBTC?: string;
7
- }
8
-
9
- export interface ContactsState {
10
- contacts: Contact[];
11
- }
package/tsconfig.json DELETED
@@ -1,8 +0,0 @@
1
- {
2
- "extends": "../../tsconfig.json",
3
- "compilerOptions": {
4
- "jsx": "react-jsx",
5
- "plugins": [{ "transform": "@zerollup/ts-transform-paths" }]
6
- },
7
- "include": ["src"]
8
- }