magic-sdk 22.0.1-canary.703.7755925479.0 → 22.1.0-canary.705.7752662124.0
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/CHANGELOG.md +914 -0
- package/README.md +0 -1
- package/dist/cjs/index.js +1 -1
- package/dist/cjs/index.js.map +2 -2
- package/dist/es/index.js +1 -1
- package/dist/es/index.js.map +2 -2
- package/dist/es/index.mjs +1 -1
- package/dist/es/index.mjs.map +2 -2
- package/dist/magic.js +1 -1
- package/package.json +5 -5
package/CHANGELOG.md
ADDED
@@ -0,0 +1,914 @@
|
|
1
|
+
# v21.4.1 (Fri Dec 15 2023)
|
2
|
+
|
3
|
+
#### 🐛 Bug Fix
|
4
|
+
|
5
|
+
- Merge branch 'master' into rominhalltari-sc-91530-investigate-and-provide-solution-for-issue ([@romin-halltari](https://github.com/romin-halltari))
|
6
|
+
|
7
|
+
#### Authors: 1
|
8
|
+
|
9
|
+
- [@romin-halltari](https://github.com/romin-halltari)
|
10
|
+
|
11
|
+
---
|
12
|
+
|
13
|
+
# v21.4.0 (Thu Dec 14 2023)
|
14
|
+
|
15
|
+
#### 🐛 Bug Fix
|
16
|
+
|
17
|
+
- use existing iv and ek to encrypt and decrypt other multichain keys ([@Dizigen](https://github.com/Dizigen))
|
18
|
+
- add more log lines to debug multichain error ([@Dizigen](https://github.com/Dizigen))
|
19
|
+
- remove log lines ([@Dizigen](https://github.com/Dizigen))
|
20
|
+
- debugging why deviceShare is not emitted in the payload ([@Dizigen](https://github.com/Dizigen))
|
21
|
+
- Merge branch 'master' into split-key-device-share ([@Dizigen](https://github.com/Dizigen))
|
22
|
+
|
23
|
+
#### Authors: 1
|
24
|
+
|
25
|
+
- David He ([@Dizigen](https://github.com/Dizigen))
|
26
|
+
|
27
|
+
---
|
28
|
+
|
29
|
+
# v21.2.1 (Tue Nov 14 2023)
|
30
|
+
|
31
|
+
#### 🐛 Bug Fix
|
32
|
+
|
33
|
+
- Merge branch 'master' into injectable-webcrypto-jwt-for-session-persistence ([@Dizigen](https://github.com/Dizigen))
|
34
|
+
|
35
|
+
#### Authors: 1
|
36
|
+
|
37
|
+
- David He ([@Dizigen](https://github.com/Dizigen))
|
38
|
+
|
39
|
+
---
|
40
|
+
|
41
|
+
# v21.2.0 (Tue Oct 24 2023)
|
42
|
+
|
43
|
+
#### 🐛 Bug Fix
|
44
|
+
|
45
|
+
- Merge branch 'master' into hcote-support-sepolia-natively ([@hcote](https://github.com/hcote))
|
46
|
+
|
47
|
+
#### Authors: 1
|
48
|
+
|
49
|
+
- Hunter Cote ([@hcote](https://github.com/hcote))
|
50
|
+
|
51
|
+
---
|
52
|
+
|
53
|
+
# v21.0.0 (Fri Oct 13 2023)
|
54
|
+
|
55
|
+
#### 🐛 Bug Fix
|
56
|
+
|
57
|
+
- Merge branch 'master' into force-ctor-preload-iframe ([@Dizigen](https://github.com/Dizigen))
|
58
|
+
|
59
|
+
#### Authors: 1
|
60
|
+
|
61
|
+
- David He ([@Dizigen](https://github.com/Dizigen))
|
62
|
+
|
63
|
+
---
|
64
|
+
|
65
|
+
# v20.1.1 (Mon Oct 02 2023)
|
66
|
+
|
67
|
+
#### 🐛 Bug Fix
|
68
|
+
|
69
|
+
- Merge branch 'master' into patjacobs-sc-83016-ux-optimization-expired-email-otps ([@patjacobs-magic](https://github.com/patjacobs-magic))
|
70
|
+
|
71
|
+
#### Authors: 1
|
72
|
+
|
73
|
+
- [@patjacobs-magic](https://github.com/patjacobs-magic)
|
74
|
+
|
75
|
+
---
|
76
|
+
|
77
|
+
# v20.1.0 (Fri Sep 29 2023)
|
78
|
+
|
79
|
+
#### 🐛 Bug Fix
|
80
|
+
|
81
|
+
- Merge remote-tracking branch 'origin/master' into jerryliu-sc-87830-optimize-webcrypto-implementation-to-generate ([@Ethella](https://github.com/Ethella))
|
82
|
+
|
83
|
+
#### Authors: 1
|
84
|
+
|
85
|
+
- Jerry Liu ([@Ethella](https://github.com/Ethella))
|
86
|
+
|
87
|
+
---
|
88
|
+
|
89
|
+
# v19.4.0 (Thu Sep 14 2023)
|
90
|
+
|
91
|
+
#### 🚀 Enhancement
|
92
|
+
|
93
|
+
- Jayhwang sc 86422 implement magic wallet sendgaslesstxn [#622](https://github.com/magiclabs/magic-js/pull/622) ([@octave08](https://github.com/octave08))
|
94
|
+
|
95
|
+
#### 🐛 Bug Fix
|
96
|
+
|
97
|
+
- Remove gasEndpoint and nftEndpoint ([@octave08](https://github.com/octave08))
|
98
|
+
- Add sendGaslessTransaction api ([@octave08](https://github.com/octave08))
|
99
|
+
|
100
|
+
#### Authors: 1
|
101
|
+
|
102
|
+
- Jay Hwang ([@octave08](https://github.com/octave08))
|
103
|
+
|
104
|
+
---
|
105
|
+
|
106
|
+
# v19.3.0 (Wed Aug 16 2023)
|
107
|
+
|
108
|
+
#### 🐛 Bug Fix
|
109
|
+
|
110
|
+
- Merge branch 'master' into josh-sc-75022-standalone-update-email-v2 ([@joshuascan](https://github.com/joshuascan))
|
111
|
+
|
112
|
+
#### Authors: 1
|
113
|
+
|
114
|
+
- Josh Scanlan ([@joshuascan](https://github.com/joshuascan))
|
115
|
+
|
116
|
+
---
|
117
|
+
|
118
|
+
# v19.1.0 (Tue Aug 08 2023)
|
119
|
+
|
120
|
+
#### 🐛 Bug Fix
|
121
|
+
|
122
|
+
- Merge remote-tracking branch 'origin/master' into jerryliu-sc-81984-update-loginwithemailotp-interface-with-new ([@Ethella](https://github.com/Ethella))
|
123
|
+
- Merge remote-tracking branch 'origin/master' ([@Ethella](https://github.com/Ethella))
|
124
|
+
|
125
|
+
#### Authors: 1
|
126
|
+
|
127
|
+
- Jerry Liu ([@Ethella](https://github.com/Ethella))
|
128
|
+
|
129
|
+
---
|
130
|
+
|
131
|
+
# v19.0.0 (Thu Jul 27 2023)
|
132
|
+
|
133
|
+
#### 💥 Breaking Change
|
134
|
+
|
135
|
+
- Magic SDK Node version bump [#538](https://github.com/magiclabs/magic-js/pull/538) ([@makrandgupta](https://github.com/makrandgupta))
|
136
|
+
|
137
|
+
#### 🐛 Bug Fix
|
138
|
+
|
139
|
+
- force canary build for all packages. ([@makrandgupta](https://github.com/makrandgupta))
|
140
|
+
- bump workflow node version ([@makrandgupta](https://github.com/makrandgupta))
|
141
|
+
|
142
|
+
#### Authors: 1
|
143
|
+
|
144
|
+
- Makrand Gupta ([@makrandgupta](https://github.com/makrandgupta))
|
145
|
+
|
146
|
+
---
|
147
|
+
|
148
|
+
# v18.5.0 (Mon Jul 24 2023)
|
149
|
+
|
150
|
+
#### 🚀 Enhancement
|
151
|
+
|
152
|
+
- Add optional nftEndpoint param [#586](https://github.com/magiclabs/magic-js/pull/586) ([@octave08](https://github.com/octave08))
|
153
|
+
|
154
|
+
#### 🐛 Bug Fix
|
155
|
+
|
156
|
+
- Merge branch 'master' into jayhwang-sc-81912-add-optional-nftendpoint-param ([@octave08](https://github.com/octave08))
|
157
|
+
- Add optional nftEndPoint param ([@octave08](https://github.com/octave08))
|
158
|
+
|
159
|
+
#### Authors: 1
|
160
|
+
|
161
|
+
- Jay Hwang ([@octave08](https://github.com/octave08))
|
162
|
+
|
163
|
+
---
|
164
|
+
|
165
|
+
# v18.3.0 (Fri Jul 07 2023)
|
166
|
+
|
167
|
+
#### ⚠️ Pushed to `master`
|
168
|
+
|
169
|
+
- Merge remote-tracking branch 'origin/master' ([@Ethella](https://github.com/Ethella))
|
170
|
+
|
171
|
+
#### Authors: 1
|
172
|
+
|
173
|
+
- Jerry Liu ([@Ethella](https://github.com/Ethella))
|
174
|
+
|
175
|
+
---
|
176
|
+
|
177
|
+
# v18.2.0 (Fri Jun 23 2023)
|
178
|
+
|
179
|
+
#### 🚀 Enhancement
|
180
|
+
|
181
|
+
- Auto version bumping [#557](https://github.com/magiclabs/magic-js/pull/557) ([@Ethella](https://github.com/Ethella) [@Ariflo](https://github.com/Ariflo))
|
182
|
+
- Updates License to Apache 2.0 [#551](https://github.com/magiclabs/magic-js/pull/551) ([@Ariflo](https://github.com/Ariflo))
|
183
|
+
|
184
|
+
#### 🐛 Bug Fix
|
185
|
+
|
186
|
+
- Match NPM Version ([@Ariflo](https://github.com/Ariflo))
|
187
|
+
- Update CHANGELOG.md \[skip ci\] ([@Ethella](https://github.com/Ethella))
|
188
|
+
- Replace `magic-sdk` w/ `@magic-sdk/commons` for `@magic-ext/oidc` Package [#550](https://github.com/magiclabs/magic-js/pull/550) ([@Ariflo](https://github.com/Ariflo))
|
189
|
+
- White space bump ([@Ariflo](https://github.com/Ariflo))
|
190
|
+
- Add typings to package.json export [#517](https://github.com/magiclabs/magic-js/pull/517) ([@octave08](https://github.com/octave08))
|
191
|
+
- Add typings to package.json export ([@octave08](https://github.com/octave08))
|
192
|
+
|
193
|
+
#### Authors: 3
|
194
|
+
|
195
|
+
- Arian Flores ([@Ariflo](https://github.com/Ariflo))
|
196
|
+
- Jay Hwang ([@octave08](https://github.com/octave08))
|
197
|
+
- Jerry Liu ([@Ethella](https://github.com/Ethella))
|
198
|
+
|
199
|
+
---
|
200
|
+
|
201
|
+
# v18.1.0 (Fri Jun 23 2023)
|
202
|
+
|
203
|
+
#### 🚀 Enhancement
|
204
|
+
|
205
|
+
- Updates License to Apache 2.0 [#551](https://github.com/magiclabs/magic-js/pull/551) ([@Ariflo](https://github.com/Ariflo))
|
206
|
+
|
207
|
+
#### 🐛 Bug Fix
|
208
|
+
|
209
|
+
- Replace `magic-sdk` w/ `@magic-sdk/commons` for `@magic-ext/oidc` Package [#550](https://github.com/magiclabs/magic-js/pull/550) ([@Ariflo](https://github.com/Ariflo))
|
210
|
+
- White space bump ([@Ariflo](https://github.com/Ariflo))
|
211
|
+
- Add typings to package.json export [#517](https://github.com/magiclabs/magic-js/pull/517) ([@octave08](https://github.com/octave08))
|
212
|
+
- Add typings to package.json export ([@octave08](https://github.com/octave08))
|
213
|
+
|
214
|
+
#### Authors: 2
|
215
|
+
|
216
|
+
- Arian Flores ([@Ariflo](https://github.com/Ariflo))
|
217
|
+
- Jay Hwang ([@octave08](https://github.com/octave08))
|
218
|
+
|
219
|
+
---
|
220
|
+
|
221
|
+
# v17.3.0 (Fri May 26 2023)
|
222
|
+
|
223
|
+
#### 🐛 Bug Fix
|
224
|
+
|
225
|
+
- Merge remote-tracking branch 'origin/master' into jerryliu_hotfix_gdkms ([@Ethella](https://github.com/Ethella))
|
226
|
+
|
227
|
+
#### Authors: 1
|
228
|
+
|
229
|
+
- Jerry Liu ([@Ethella](https://github.com/Ethella))
|
230
|
+
|
231
|
+
---
|
232
|
+
|
233
|
+
# v17.1.6 (Fri May 19 2023)
|
234
|
+
|
235
|
+
#### 🐛 Bug Fix
|
236
|
+
|
237
|
+
- Merge remote-tracking branch 'origin/master' into jerryliu-sc-77755-kresus-hotfix ([@Ethella](https://github.com/Ethella))
|
238
|
+
|
239
|
+
#### Authors: 1
|
240
|
+
|
241
|
+
- Jerry Liu ([@Ethella](https://github.com/Ethella))
|
242
|
+
|
243
|
+
---
|
244
|
+
|
245
|
+
# v17.1.3 (Tue Apr 25 2023)
|
246
|
+
|
247
|
+
#### 🐛 Bug Fix
|
248
|
+
|
249
|
+
- Update logo asset [#505](https://github.com/magiclabs/magic-js/pull/505) ([@Dizigen](https://github.com/Dizigen))
|
250
|
+
- Update logo asset [#504](https://github.com/magiclabs/magic-js/pull/504) ([@Dizigen](https://github.com/Dizigen))
|
251
|
+
|
252
|
+
#### Authors: 1
|
253
|
+
|
254
|
+
- David He ([@Dizigen](https://github.com/Dizigen))
|
255
|
+
|
256
|
+
---
|
257
|
+
|
258
|
+
# v17.1.2 (Tue Apr 25 2023)
|
259
|
+
|
260
|
+
#### 🐛 Bug Fix
|
261
|
+
|
262
|
+
- update MIT license to apache [#500](https://github.com/magiclabs/magic-js/pull/500) ([@Dizigen](https://github.com/Dizigen))
|
263
|
+
- Srinjoy/add logo to readme [#501](https://github.com/magiclabs/magic-js/pull/501) ([@srinjoyc](https://github.com/srinjoyc) [@hcote](https://github.com/hcote))
|
264
|
+
- fixed links from clicking on logo ([@srinjoyc](https://github.com/srinjoyc))
|
265
|
+
- fixed typo spacing ([@srinjoyc](https://github.com/srinjoyc))
|
266
|
+
- adds magic logo to our readme and npm readme - put logo as single svg in root folder of magic-sdk ([@srinjoyc](https://github.com/srinjoyc))
|
267
|
+
|
268
|
+
#### Authors: 3
|
269
|
+
|
270
|
+
- David He ([@Dizigen](https://github.com/Dizigen))
|
271
|
+
- Hunter Cote ([@hcote](https://github.com/hcote))
|
272
|
+
- Srinjoy ([@srinjoyc](https://github.com/srinjoyc))
|
273
|
+
|
274
|
+
---
|
275
|
+
|
276
|
+
# v17.1.1 (Fri Apr 21 2023)
|
277
|
+
|
278
|
+
#### 🐛 Bug Fix
|
279
|
+
|
280
|
+
- Merge remote-tracking branch 'origin/master' into jerryliu-sc-75641-lazer-request-showsettings-page-mfa ([@Ethella](https://github.com/Ethella))
|
281
|
+
|
282
|
+
#### Authors: 1
|
283
|
+
|
284
|
+
- Jerry Liu ([@Ethella](https://github.com/Ethella))
|
285
|
+
|
286
|
+
---
|
287
|
+
|
288
|
+
# v17.1.0 (Thu Apr 20 2023)
|
289
|
+
|
290
|
+
#### 🐛 Bug Fix
|
291
|
+
|
292
|
+
- Merge branch 'master' into jerryliu-sc-75641-lazer-request-showsettings-page-mfa ([@Ethella](https://github.com/Ethella))
|
293
|
+
|
294
|
+
#### Authors: 1
|
295
|
+
|
296
|
+
- Jerry Liu ([@Ethella](https://github.com/Ethella))
|
297
|
+
|
298
|
+
---
|
299
|
+
|
300
|
+
# v16.1.0 (Tue Apr 04 2023)
|
301
|
+
|
302
|
+
#### 🐛 Bug Fix
|
303
|
+
|
304
|
+
- Merge branch 'master' into briancleary7114-sc-73967-auto-publish-canary-version-for-magic-sdk ([@bcleary06](https://github.com/bcleary06))
|
305
|
+
|
306
|
+
#### Authors: 1
|
307
|
+
|
308
|
+
- Brian Cleary ([@bcleary06](https://github.com/bcleary06))
|
309
|
+
|
310
|
+
---
|
311
|
+
|
312
|
+
# v16.0.0 (Fri Mar 31 2023)
|
313
|
+
|
314
|
+
#### 🐛 Bug Fix
|
315
|
+
|
316
|
+
- Merge remote-tracking branch 'origin/master' into jerryliu-sc-74424-email-otp-login-invalid-email-otp-event ([@Ethella](https://github.com/Ethella))
|
317
|
+
|
318
|
+
#### Authors: 1
|
319
|
+
|
320
|
+
- Jerry Liu ([@Ethella](https://github.com/Ethella))
|
321
|
+
|
322
|
+
---
|
323
|
+
|
324
|
+
# v13.6.2 (Tue Mar 21 2023)
|
325
|
+
|
326
|
+
#### 🐛 Bug Fix
|
327
|
+
|
328
|
+
- Merge branch 'master' into briancleary7114-sc-71135-add-checkout-sdk-method ([@bcleary06](https://github.com/bcleary06))
|
329
|
+
|
330
|
+
#### Authors: 1
|
331
|
+
|
332
|
+
- Brian Cleary ([@bcleary06](https://github.com/bcleary06))
|
333
|
+
|
334
|
+
---
|
335
|
+
|
336
|
+
# v13.5.0 (Tue Feb 28 2023)
|
337
|
+
|
338
|
+
#### 🐛 Bug Fix
|
339
|
+
|
340
|
+
- Merge branch 'master' of github.com:magiclabs/magic-js into mushfichowdhury-login-with-email-otp-whitelabel ([@mushfichowdhury-magic](https://github.com/mushfichowdhury-magic))
|
341
|
+
|
342
|
+
#### Authors: 1
|
343
|
+
|
344
|
+
- Mushfi Chowdhury ([@mushfichowdhury-magic](https://github.com/mushfichowdhury-magic))
|
345
|
+
|
346
|
+
---
|
347
|
+
|
348
|
+
# v13.4.1 (Mon Feb 27 2023)
|
349
|
+
|
350
|
+
#### 🐛 Bug Fix
|
351
|
+
|
352
|
+
- removed 'authentication' from titles on readme [#464](https://github.com/magiclabs/magic-js/pull/464) ([@srinjoyc](https://github.com/srinjoyc))
|
353
|
+
- removed 'authentication' from titles on readme ([@srinjoyc](https://github.com/srinjoyc))
|
354
|
+
|
355
|
+
#### Authors: 1
|
356
|
+
|
357
|
+
- Srinjoy ([@srinjoyc](https://github.com/srinjoyc))
|
358
|
+
|
359
|
+
---
|
360
|
+
|
361
|
+
# v13.4.0 (Tue Feb 21 2023)
|
362
|
+
|
363
|
+
#### 🚀 Enhancement
|
364
|
+
|
365
|
+
- * Add recoverAccount api [#458](https://github.com/magiclabs/magic-js/pull/458) ([@Ethella](https://github.com/Ethella))
|
366
|
+
|
367
|
+
#### 🐛 Bug Fix
|
368
|
+
|
369
|
+
- Update LICENSE [#459](https://github.com/magiclabs/magic-js/pull/459) ([@srinjoyc](https://github.com/srinjoyc))
|
370
|
+
|
371
|
+
#### Authors: 2
|
372
|
+
|
373
|
+
- Jerry Liu ([@Ethella](https://github.com/Ethella))
|
374
|
+
- Srinjoy ([@srinjoyc](https://github.com/srinjoyc))
|
375
|
+
|
376
|
+
---
|
377
|
+
|
378
|
+
# v13.3.1 (Fri Feb 17 2023)
|
379
|
+
|
380
|
+
#### 🐛 Bug Fix
|
381
|
+
|
382
|
+
- updated readme with new description and quickstart code sample [#460](https://github.com/magiclabs/magic-js/pull/460) ([@srinjoyc](https://github.com/srinjoyc))
|
383
|
+
- keeping links to github from npm the same ([@srinjoyc](https://github.com/srinjoyc))
|
384
|
+
- updated npm readme to be same as github ([@srinjoyc](https://github.com/srinjoyc))
|
385
|
+
|
386
|
+
#### Authors: 1
|
387
|
+
|
388
|
+
- [@srinjoyc](https://github.com/srinjoyc)
|
389
|
+
|
390
|
+
---
|
391
|
+
|
392
|
+
# v8.1.0 (Mon Mar 07 2022)
|
393
|
+
|
394
|
+
#### 🐛 Bug Fix
|
395
|
+
|
396
|
+
- Update READMEs with outdated context/hyperlinks ([@smithki](https://github.com/smithki))
|
397
|
+
|
398
|
+
#### 🏠 Internal
|
399
|
+
|
400
|
+
- Internal documentation updates (`BUILD_SYSTEM.md`) [#283](https://github.com/magiclabs/magic-js/pull/283) ([@smithki](https://github.com/smithki))
|
401
|
+
|
402
|
+
#### Authors: 1
|
403
|
+
|
404
|
+
- Ian K Smith ([@smithki](https://github.com/smithki))
|
405
|
+
|
406
|
+
---
|
407
|
+
|
408
|
+
# v8.0.1 (Tue Jan 25 2022)
|
409
|
+
|
410
|
+
#### 🐛 Bug Fix
|
411
|
+
|
412
|
+
- Fix CDN build targets [#270](https://github.com/magiclabs/magic-js/pull/270) ([@smithki](https://github.com/smithki))
|
413
|
+
- Fix CDN issues related to ESBuild ([@smithki](https://github.com/smithki))
|
414
|
+
|
415
|
+
#### Authors: 1
|
416
|
+
|
417
|
+
- Ian K Smith ([@smithki](https://github.com/smithki))
|
418
|
+
|
419
|
+
---
|
420
|
+
|
421
|
+
# v8.0.0 (Tue Jan 25 2022)
|
422
|
+
|
423
|
+
#### 💥 Breaking Change
|
424
|
+
|
425
|
+
- Switch from `microbundle` to `esbuild` [#220](https://github.com/magiclabs/magic-js/pull/220) ([@smithki](https://github.com/smithki))
|
426
|
+
|
427
|
+
#### 🐛 Bug Fix
|
428
|
+
|
429
|
+
- Merge with master ([@smithki](https://github.com/smithki))
|
430
|
+
- Merge branch 'master' into feat/faster-builds ([@smithki](https://github.com/smithki))
|
431
|
+
- Modify CDN default exports ([@smithki](https://github.com/smithki))
|
432
|
+
- Remove comments from README files ([@smithki](https://github.com/smithki))
|
433
|
+
- Fix build errors related to isolatedModules ([@smithki](https://github.com/smithki))
|
434
|
+
- Replace microbundle with ESBuild ([@smithki](https://github.com/smithki))
|
435
|
+
|
436
|
+
#### Authors: 1
|
437
|
+
|
438
|
+
- Ian K Smith ([@smithki](https://github.com/smithki))
|
439
|
+
|
440
|
+
---
|
441
|
+
|
442
|
+
# v7.0.0 (Tue Dec 14 2021)
|
443
|
+
|
444
|
+
#### 💥 Breaking Change
|
445
|
+
|
446
|
+
- Deprecate test API key [#252](https://github.com/magiclabs/magic-js/pull/252) (harry [@harryEth](https://github.com/harryEth))
|
447
|
+
|
448
|
+
#### Authors: 2
|
449
|
+
|
450
|
+
- [@harryEth](https://github.com/harryEth)
|
451
|
+
- harry (harry)
|
452
|
+
|
453
|
+
---
|
454
|
+
|
455
|
+
# v6.1.4 (Thu Oct 21 2021)
|
456
|
+
|
457
|
+
#### 🐛 Bug Fix
|
458
|
+
|
459
|
+
- Revert to `.js` extension for ES module builds targeting webpack/CRA [#232](https://github.com/magiclabs/magic-js/pull/232) ([@smithki](https://github.com/smithki))
|
460
|
+
|
461
|
+
#### Authors: 1
|
462
|
+
|
463
|
+
- Ian K Smith ([@smithki](https://github.com/smithki))
|
464
|
+
|
465
|
+
---
|
466
|
+
|
467
|
+
# v6.1.3 (Wed Oct 20 2021)
|
468
|
+
|
469
|
+
#### ⚠️ Pushed to `master`
|
470
|
+
|
471
|
+
- Fix dist files glob in package.json ([@smithki](https://github.com/smithki))
|
472
|
+
- Merge branch 'master' of github.com:magiclabs/magic-js ([@smithki](https://github.com/smithki))
|
473
|
+
- Force re-publish ([@smithki](https://github.com/smithki))
|
474
|
+
|
475
|
+
#### Authors: 1
|
476
|
+
|
477
|
+
- Ian K Smith ([@smithki](https://github.com/smithki))
|
478
|
+
|
479
|
+
---
|
480
|
+
|
481
|
+
# v6.1.2 (Wed Oct 20 2021)
|
482
|
+
|
483
|
+
#### 🐛 Bug Fix
|
484
|
+
|
485
|
+
- Use '.mjs' extension for ESM build files [#230](https://github.com/magiclabs/magic-js/pull/230) ([@smithki](https://github.com/smithki))
|
486
|
+
|
487
|
+
#### Authors: 1
|
488
|
+
|
489
|
+
- Ian K Smith ([@smithki](https://github.com/smithki))
|
490
|
+
|
491
|
+
---
|
492
|
+
|
493
|
+
# v6.0.7 (Thu Sep 23 2021)
|
494
|
+
|
495
|
+
#### 🐛 Bug Fix
|
496
|
+
|
497
|
+
- Change 'externals' and 'global' condition in magic-sdk > CDN build [#219](https://github.com/magiclabs/magic-js/pull/219) ([@smithki](https://github.com/smithki))
|
498
|
+
|
499
|
+
#### Authors: 1
|
500
|
+
|
501
|
+
- Ian K Smith ([@smithki](https://github.com/smithki))
|
502
|
+
|
503
|
+
---
|
504
|
+
|
505
|
+
# v6.0.6 (Thu Sep 23 2021)
|
506
|
+
|
507
|
+
#### 🐛 Bug Fix
|
508
|
+
|
509
|
+
- Port `@magic-ext/oauth`, `@magic-ext/react-native-oauth`, `@magic-ext/webauthn` extensions to Magic SDK monorepo [#218](https://github.com/magiclabs/magic-js/pull/218) ([@smithki](https://github.com/smithki))
|
510
|
+
- Add `@magic-sdk/pnp` package for out-of-the-box login page UIs [#217](https://github.com/magiclabs/magic-js/pull/217) ([@smithki](https://github.com/smithki))
|
511
|
+
|
512
|
+
#### Authors: 1
|
513
|
+
|
514
|
+
- Ian K Smith ([@smithki](https://github.com/smithki))
|
515
|
+
|
516
|
+
---
|
517
|
+
|
518
|
+
# v6.0.5 (Fri Sep 17 2021)
|
519
|
+
|
520
|
+
#### 🐛 Bug Fix
|
521
|
+
|
522
|
+
- Fix `regeneratorRuntime` is not defined in `@magic-sdk/provider` [#215](https://github.com/magiclabs/magic-js/pull/215) ([@smithki](https://github.com/smithki))
|
523
|
+
|
524
|
+
#### Authors: 1
|
525
|
+
|
526
|
+
- Ian K Smith ([@smithki](https://github.com/smithki))
|
527
|
+
|
528
|
+
---
|
529
|
+
|
530
|
+
# v6.0.4 (Fri Sep 17 2021)
|
531
|
+
|
532
|
+
#### 🐛 Bug Fix
|
533
|
+
|
534
|
+
- Fix CJS-dependent entry-points using the 'exports' field in package.json [#214](https://github.com/magiclabs/magic-js/pull/214) ([@smithki](https://github.com/smithki))
|
535
|
+
|
536
|
+
#### Authors: 1
|
537
|
+
|
538
|
+
- Ian K Smith ([@smithki](https://github.com/smithki))
|
539
|
+
|
540
|
+
---
|
541
|
+
|
542
|
+
# v6.0.3 (Thu Sep 16 2021)
|
543
|
+
|
544
|
+
#### 🐛 Bug Fix
|
545
|
+
|
546
|
+
- Enable `skipLibCheck: false` to work with Magic SDK + TypeScript projects [#212](https://github.com/magiclabs/magic-js/pull/212) ([@smithki](https://github.com/smithki))
|
547
|
+
|
548
|
+
#### Authors: 1
|
549
|
+
|
550
|
+
- Ian K Smith ([@smithki](https://github.com/smithki))
|
551
|
+
|
552
|
+
---
|
553
|
+
|
554
|
+
# v6.0.2 (Tue Sep 14 2021)
|
555
|
+
|
556
|
+
#### 🐛 Bug Fix
|
557
|
+
|
558
|
+
- Import regeneratorRuntime in Magic JS (non-CDN version) [#210](https://github.com/magiclabs/magic-js/pull/210) ([@smithki](https://github.com/smithki))
|
559
|
+
|
560
|
+
#### Authors: 1
|
561
|
+
|
562
|
+
- Ian K Smith ([@smithki](https://github.com/smithki))
|
563
|
+
|
564
|
+
---
|
565
|
+
|
566
|
+
# v6.0.1 (Tue Sep 14 2021)
|
567
|
+
|
568
|
+
#### 🐛 Bug Fix
|
569
|
+
|
570
|
+
- Fix SemVer cyclic dependency issues with some hacks [#209](https://github.com/magiclabs/magic-js/pull/209) ([@smithki](https://github.com/smithki))
|
571
|
+
|
572
|
+
#### Authors: 1
|
573
|
+
|
574
|
+
- Ian K Smith ([@smithki](https://github.com/smithki))
|
575
|
+
|
576
|
+
---
|
577
|
+
|
578
|
+
# v6.0.0 (Tue Sep 14 2021)
|
579
|
+
|
580
|
+
#### 💥 Breaking Change
|
581
|
+
|
582
|
+
- v6.0.0 [#208](https://github.com/magiclabs/magic-js/pull/208) ([@smithki](https://github.com/smithki))
|
583
|
+
|
584
|
+
#### Authors: 1
|
585
|
+
|
586
|
+
- Ian K Smith ([@smithki](https://github.com/smithki))
|
587
|
+
|
588
|
+
---
|
589
|
+
|
590
|
+
# v4.4.2 (Mon Aug 16 2021)
|
591
|
+
|
592
|
+
#### 🐛 Bug Fix
|
593
|
+
|
594
|
+
- Migrate unit tests to Jest [#194](https://github.com/magiclabs/magic-js/pull/194) ([@smithki](https://github.com/smithki))
|
595
|
+
|
596
|
+
#### Authors: 1
|
597
|
+
|
598
|
+
- Ian K Smith ([@smithki](https://github.com/smithki))
|
599
|
+
|
600
|
+
---
|
601
|
+
|
602
|
+
# v4.4.0 (Wed Jul 28 2021)
|
603
|
+
|
604
|
+
#### 🚀 Enhancement
|
605
|
+
|
606
|
+
- Add explicit JSDelivr entry-point for `magic-sdk` [#191](https://github.com/magiclabs/magic-js/pull/191) ([@smithki](https://github.com/smithki))
|
607
|
+
|
608
|
+
#### Authors: 1
|
609
|
+
|
610
|
+
- Ian K Smith ([@smithki](https://github.com/smithki))
|
611
|
+
|
612
|
+
---
|
613
|
+
|
614
|
+
# v4.1.0 (Sat Jan 23 2021)
|
615
|
+
|
616
|
+
#### 🚀 Enhancement
|
617
|
+
|
618
|
+
- Iframe accessibility improvements: Add `title` attribute and auto-focus when UI is showing [#158](https://github.com/magiclabs/magic-js/pull/158) ([@smithki](https://github.com/smithki))
|
619
|
+
|
620
|
+
#### Authors: 1
|
621
|
+
|
622
|
+
- Ian K Smith ([@smithki](https://github.com/smithki))
|
623
|
+
|
624
|
+
---
|
625
|
+
|
626
|
+
# v4.0.1 (Tue Dec 01 2020)
|
627
|
+
|
628
|
+
#### 🐛 Bug Fix
|
629
|
+
|
630
|
+
- Add 'importHelpers: true' to base tsconfig.json [#152](https://github.com/magiclabs/magic-js/pull/152) ([@smithki](https://github.com/smithki))
|
631
|
+
|
632
|
+
#### 📝 Documentation
|
633
|
+
|
634
|
+
- Fix incorrect TypeScript project references and update READMEs with changelog links [#151](https://github.com/magiclabs/magic-js/pull/151) ([@smithki](https://github.com/smithki))
|
635
|
+
|
636
|
+
#### Authors: 1
|
637
|
+
|
638
|
+
- Ian K Smith ([@smithki](https://github.com/smithki))
|
639
|
+
|
640
|
+
---
|
641
|
+
|
642
|
+
# v4.0.0 (Tue Nov 17 2020)
|
643
|
+
|
644
|
+
#### 💥 Breaking Change
|
645
|
+
|
646
|
+
- [All packages] Internal API changes & Cleanups [#149](https://github.com/magiclabs/magic-js/pull/149) ([@smithki](https://github.com/smithki))
|
647
|
+
|
648
|
+
#### 🐛 Bug Fix
|
649
|
+
|
650
|
+
- Update CHANGELOGs and CONTRIBUTING guide [#146](https://github.com/magiclabs/magic-js/pull/146) ([@smithki](https://github.com/smithki))
|
651
|
+
|
652
|
+
#### 🏠 Internal
|
653
|
+
|
654
|
+
- Simplify scripts [#147](https://github.com/magiclabs/magic-js/pull/147) ([@smithki](https://github.com/smithki))
|
655
|
+
|
656
|
+
#### Authors: 1
|
657
|
+
|
658
|
+
- Ian K Smith ([@smithki](https://github.com/smithki))
|
659
|
+
|
660
|
+
---
|
661
|
+
|
662
|
+
## `3.0.1` - 10/21/2020
|
663
|
+
|
664
|
+
#### Changed
|
665
|
+
|
666
|
+
- Removed the following public methods and functions
|
667
|
+
- `BaseExtension.utils.encodeQueryParameters`
|
668
|
+
- `BaseExtension.utils.decodeQueryParameters`
|
669
|
+
|
670
|
+
## `2.7.0` - 09/24/2020
|
671
|
+
|
672
|
+
#### Added
|
673
|
+
|
674
|
+
- Adds a Magic SDK extensions runtime compatibility check, ensuring you're version of Magic SDK is designed for the extensions you have in use.
|
675
|
+
|
676
|
+
## `2.6.0` - 09/15/2020
|
677
|
+
|
678
|
+
#### Added
|
679
|
+
|
680
|
+
- New, optional `redirectURI` parameter for the `loginWithMagicLink` method
|
681
|
+
- New `loginWithCredential` method for completing a magic link login with redirect: `await magic.auth.loginWithCredential()`
|
682
|
+
|
683
|
+
## `2.5.0` - 08/24/2020
|
684
|
+
|
685
|
+
#### Added
|
686
|
+
|
687
|
+
- New optional `locale` parameter to SDK constructor
|
688
|
+
|
689
|
+
## `2.4.8` - 08/20/2020
|
690
|
+
|
691
|
+
#### Added
|
692
|
+
|
693
|
+
- New RPC error code for the `loginWithMagicLink` method: `-10005`
|
694
|
+
|
695
|
+
## `2.4.6` - 07/22/2020
|
696
|
+
|
697
|
+
#### Added
|
698
|
+
|
699
|
+
- Export `PromiEvent` type and `isPromiEvent` utility from SDK entry-points (`magic-sdk` and `@magic-sdk/react-native`).
|
700
|
+
|
701
|
+
## `2.4.1` through `2.4.5` - 07/13/2020
|
702
|
+
|
703
|
+
#### Fixed
|
704
|
+
|
705
|
+
- Bug preventing NPM tarball from containing `/dist` files.
|
706
|
+
|
707
|
+
## `2.4.0` - 07/13/2020
|
708
|
+
|
709
|
+
#### Changed
|
710
|
+
|
711
|
+
- Updated build system to use TypeScript project references instead of Microbundle.
|
712
|
+
- Pass `targetOrigin` parameter to `postMessage` calls.
|
713
|
+
|
714
|
+
## `2.3.1` - 07/08/2020
|
715
|
+
|
716
|
+
#### Fixed
|
717
|
+
|
718
|
+
- Bug affecting `localforage` type imports causing compilation failure in TypeScript.
|
719
|
+
|
720
|
+
## `2.3.0` - 07/08/2020
|
721
|
+
|
722
|
+
#### Added
|
723
|
+
|
724
|
+
- WebAuthn support.
|
725
|
+
- `localforage` APIs for Magic SDK Extensions.
|
726
|
+
|
727
|
+
## `2.1.0` - 06/25/2020
|
728
|
+
|
729
|
+
#### Changed
|
730
|
+
|
731
|
+
- Update dependencies.
|
732
|
+
|
733
|
+
#### Addded
|
734
|
+
|
735
|
+
- Add `ExtensionWarning` class.
|
736
|
+
|
737
|
+
## `2.0.7` - 06/23/2020
|
738
|
+
|
739
|
+
#### Changed
|
740
|
+
|
741
|
+
- Update dependencies.
|
742
|
+
|
743
|
+
## `2.0.6` - 06/23/2020
|
744
|
+
|
745
|
+
#### Changed
|
746
|
+
|
747
|
+
- Update dependencies.
|
748
|
+
|
749
|
+
## `2.0.5` - 06/23/2020
|
750
|
+
|
751
|
+
#### Changed
|
752
|
+
|
753
|
+
- Update dependencies.
|
754
|
+
|
755
|
+
## `2.0.4` - 06/22/2020
|
756
|
+
|
757
|
+
#### Changed
|
758
|
+
|
759
|
+
- Update dependencies.
|
760
|
+
|
761
|
+
## `2.0.3` - 06/16/2020
|
762
|
+
|
763
|
+
#### Added
|
764
|
+
|
765
|
+
- Introduce the `ExtensionError` type to ease handling of errors rising from Magic SDK Extensions.
|
766
|
+
|
767
|
+
## `2.0.2` - 06/12/2020
|
768
|
+
|
769
|
+
#### Changed
|
770
|
+
|
771
|
+
- Update dependencies.
|
772
|
+
- Circle CI tag in readme is broken after namechange from MagicHQ to MagicLabs
|
773
|
+
|
774
|
+
## `2.0.1` - 06/11/2020
|
775
|
+
|
776
|
+
#### Changed
|
777
|
+
|
778
|
+
- Update dependencies.
|
779
|
+
|
780
|
+
## `2.0.0` - 06/02/2020
|
781
|
+
|
782
|
+
#### Fixed
|
783
|
+
|
784
|
+
- Circle CI tag in readme is broken after namechange from MagicHQ to MagicLabs
|
785
|
+
|
786
|
+
#### Changed
|
787
|
+
|
788
|
+
- Removed the `magic-sdk/react-native` entry-point. To use React Native with Magic SDK, install `@magic-sdk/react-native` instead. There are no breaking API changes related to public SDK methods.
|
789
|
+
|
790
|
+
## `1.4.0` - 05/14/2020
|
791
|
+
|
792
|
+
#### Added
|
793
|
+
|
794
|
+
- `PromiEvent` interface for increasing the flexibility developers have when building 100% whitelabeled authentication flows using Magic SDK. This is a completely optional feature. Documentation is coming soon!
|
795
|
+
|
796
|
+
## `1.3.5` - 05/14/2020
|
797
|
+
|
798
|
+
#### Fixed
|
799
|
+
|
800
|
+
- Fixed a bug where React Native typings would pollute web environments not using Webpack.
|
801
|
+
|
802
|
+
## `1.3.4` - 05/14/2020
|
803
|
+
|
804
|
+
#### Fixed
|
805
|
+
|
806
|
+
- Alias the `Magic` constructor import to the SDK instance type. We have pretty complex extension typings which wrap the base SDK class, which was making typing a variable as `Magic` unnecessarily difficult! Now, you can use the constructor as the instance type as expected.
|
807
|
+
|
808
|
+
- Fixed a bug that would prevent typings from being available in a React Native environment.
|
809
|
+
|
810
|
+
## `1.3.3` - 05/14/2020
|
811
|
+
|
812
|
+
#### Fixed
|
813
|
+
|
814
|
+
- Fix a bug affecting Ethers JS V5 beta that would fail to attach the required ID parameter to JSON RPC 2.0 request payloads.
|
815
|
+
|
816
|
+
## `1.3.2` - 05/07/2020
|
817
|
+
|
818
|
+
#### Fixed
|
819
|
+
|
820
|
+
- The React Native entry point encountered an issue where `Buffer` is `undefined`. This is now resolved!
|
821
|
+
|
822
|
+
## `1.3.1` - 05/06/2020
|
823
|
+
|
824
|
+
#### Changed
|
825
|
+
|
826
|
+
- The React Native entry point now issues a warning if the `endpoint` parameter is used. This parameter should only be customized for web/browser targets. Existing implementations will continue to work with the warning.
|
827
|
+
|
828
|
+
- The default `endpoint` URL for React Native integrations is `https://box.magic.link`.
|
829
|
+
|
830
|
+
## `1.3.0` - 05/05/2020
|
831
|
+
|
832
|
+
#### Added
|
833
|
+
|
834
|
+
- Support for configuring [Harmony](https://www.harmony.one/) network as the Etherum chain type. Further documentation is coming soon.
|
835
|
+
|
836
|
+
## `1.2.1` - 04/30/2020
|
837
|
+
|
838
|
+
#### Fixed
|
839
|
+
|
840
|
+
- Removed the `pako` dependency as it was negatively impacting SDK bundle size.
|
841
|
+
|
842
|
+
## `1.2.0` - 04/29/2020
|
843
|
+
|
844
|
+
#### Added
|
845
|
+
|
846
|
+
- The new `Extension` interface will soon enable Magic SDK to support official
|
847
|
+
and third-party plugins!
|
848
|
+
|
849
|
+
## `1.1.4` - 04/28/2020
|
850
|
+
|
851
|
+
#### Changed
|
852
|
+
|
853
|
+
- Allow JSON RPC responses from the Magic `<iframe>` to be explicitly `null`.
|
854
|
+
|
855
|
+
## `1.1.3` - 04/28/2020
|
856
|
+
|
857
|
+
#### Fixed
|
858
|
+
|
859
|
+
- A bug on Safari that would lead to persistent `TypeError`s when using the CDN build of the library.
|
860
|
+
|
861
|
+
## `1.1.2` - 04/22/2020
|
862
|
+
|
863
|
+
#### Fixed
|
864
|
+
|
865
|
+
- Certain NodeJS globals/polyfills were not available in React Native environments. These polyfills are now bootstrapped automatically.
|
866
|
+
|
867
|
+
## `1.1.1` - 04/22/2020
|
868
|
+
|
869
|
+
#### Added
|
870
|
+
|
871
|
+
- Support for React Native:
|
872
|
+
|
873
|
+
```tsx
|
874
|
+
// Import the React Native bundle
|
875
|
+
// (Don't worry, the API is exactly the same!)
|
876
|
+
import { Magic } from 'magic-sdk/react-native';
|
877
|
+
|
878
|
+
const magic = new Magic('API_KEY');
|
879
|
+
|
880
|
+
function App() {
|
881
|
+
return (<div>
|
882
|
+
{/* Just render the `Modal` component to connect Magic SDK! 🚀 */}
|
883
|
+
<magic.Relayer />
|
884
|
+
</div>);
|
885
|
+
}
|
886
|
+
```
|
887
|
+
|
888
|
+
## `1.0.3` - 04/21/2020
|
889
|
+
|
890
|
+
#### Added
|
891
|
+
|
892
|
+
- `UpdateEmailFailed` RPCErrorCode for when update email fails.
|
893
|
+
|
894
|
+
## `1.0.2` - 04/15/2020
|
895
|
+
|
896
|
+
#### Added
|
897
|
+
|
898
|
+
- `preload` method for downloading the assets required to render the Magic `<iframe>`.
|
899
|
+
|
900
|
+
## `1.0.1` - 04/09/2020
|
901
|
+
|
902
|
+
This is the first release our changelog records. Future updates will be logged in the following format:
|
903
|
+
|
904
|
+
#### Fixed
|
905
|
+
|
906
|
+
- Bug fixes and patches will be described here.
|
907
|
+
|
908
|
+
#### Changed
|
909
|
+
|
910
|
+
- Changes (breaking or otherwise) to current APIs will be described here.
|
911
|
+
|
912
|
+
#### Added
|
913
|
+
|
914
|
+
- New features or APIs will be described here.
|