magic-sdk 13.0.0 → 13.2.0-167a9d1

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 DELETED
@@ -1,523 +0,0 @@
1
- # v8.1.0 (Mon Mar 07 2022)
2
-
3
- #### 🐛 Bug Fix
4
-
5
- - Update READMEs with outdated context/hyperlinks ([@smithki](https://github.com/smithki))
6
-
7
- #### 🏠 Internal
8
-
9
- - Internal documentation updates (`BUILD_SYSTEM.md`) [#283](https://github.com/magiclabs/magic-js/pull/283) ([@smithki](https://github.com/smithki))
10
-
11
- #### Authors: 1
12
-
13
- - Ian K Smith ([@smithki](https://github.com/smithki))
14
-
15
- ---
16
-
17
- # v8.0.1 (Tue Jan 25 2022)
18
-
19
- #### 🐛 Bug Fix
20
-
21
- - Fix CDN build targets [#270](https://github.com/magiclabs/magic-js/pull/270) ([@smithki](https://github.com/smithki))
22
- - Fix CDN issues related to ESBuild ([@smithki](https://github.com/smithki))
23
-
24
- #### Authors: 1
25
-
26
- - Ian K Smith ([@smithki](https://github.com/smithki))
27
-
28
- ---
29
-
30
- # v8.0.0 (Tue Jan 25 2022)
31
-
32
- #### 💥 Breaking Change
33
-
34
- - Switch from `microbundle` to `esbuild` [#220](https://github.com/magiclabs/magic-js/pull/220) ([@smithki](https://github.com/smithki))
35
-
36
- #### 🐛 Bug Fix
37
-
38
- - Merge with master ([@smithki](https://github.com/smithki))
39
- - Merge branch 'master' into feat/faster-builds ([@smithki](https://github.com/smithki))
40
- - Modify CDN default exports ([@smithki](https://github.com/smithki))
41
- - Remove comments from README files ([@smithki](https://github.com/smithki))
42
- - Fix build errors related to isolatedModules ([@smithki](https://github.com/smithki))
43
- - Replace microbundle with ESBuild ([@smithki](https://github.com/smithki))
44
-
45
- #### Authors: 1
46
-
47
- - Ian K Smith ([@smithki](https://github.com/smithki))
48
-
49
- ---
50
-
51
- # v7.0.0 (Tue Dec 14 2021)
52
-
53
- #### 💥 Breaking Change
54
-
55
- - Deprecate test API key [#252](https://github.com/magiclabs/magic-js/pull/252) (harry [@harryEth](https://github.com/harryEth))
56
-
57
- #### Authors: 2
58
-
59
- - [@harryEth](https://github.com/harryEth)
60
- - harry (harry)
61
-
62
- ---
63
-
64
- # v6.1.4 (Thu Oct 21 2021)
65
-
66
- #### 🐛 Bug Fix
67
-
68
- - 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))
69
-
70
- #### Authors: 1
71
-
72
- - Ian K Smith ([@smithki](https://github.com/smithki))
73
-
74
- ---
75
-
76
- # v6.1.3 (Wed Oct 20 2021)
77
-
78
- #### ⚠️ Pushed to `master`
79
-
80
- - Fix dist files glob in package.json ([@smithki](https://github.com/smithki))
81
- - Merge branch 'master' of github.com:magiclabs/magic-js ([@smithki](https://github.com/smithki))
82
- - Force re-publish ([@smithki](https://github.com/smithki))
83
-
84
- #### Authors: 1
85
-
86
- - Ian K Smith ([@smithki](https://github.com/smithki))
87
-
88
- ---
89
-
90
- # v6.1.2 (Wed Oct 20 2021)
91
-
92
- #### 🐛 Bug Fix
93
-
94
- - Use '.mjs' extension for ESM build files [#230](https://github.com/magiclabs/magic-js/pull/230) ([@smithki](https://github.com/smithki))
95
-
96
- #### Authors: 1
97
-
98
- - Ian K Smith ([@smithki](https://github.com/smithki))
99
-
100
- ---
101
-
102
- # v6.0.7 (Thu Sep 23 2021)
103
-
104
- #### 🐛 Bug Fix
105
-
106
- - Change 'externals' and 'global' condition in magic-sdk > CDN build [#219](https://github.com/magiclabs/magic-js/pull/219) ([@smithki](https://github.com/smithki))
107
-
108
- #### Authors: 1
109
-
110
- - Ian K Smith ([@smithki](https://github.com/smithki))
111
-
112
- ---
113
-
114
- # v6.0.6 (Thu Sep 23 2021)
115
-
116
- #### 🐛 Bug Fix
117
-
118
- - 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))
119
- - 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))
120
-
121
- #### Authors: 1
122
-
123
- - Ian K Smith ([@smithki](https://github.com/smithki))
124
-
125
- ---
126
-
127
- # v6.0.5 (Fri Sep 17 2021)
128
-
129
- #### 🐛 Bug Fix
130
-
131
- - Fix `regeneratorRuntime` is not defined in `@magic-sdk/provider` [#215](https://github.com/magiclabs/magic-js/pull/215) ([@smithki](https://github.com/smithki))
132
-
133
- #### Authors: 1
134
-
135
- - Ian K Smith ([@smithki](https://github.com/smithki))
136
-
137
- ---
138
-
139
- # v6.0.4 (Fri Sep 17 2021)
140
-
141
- #### 🐛 Bug Fix
142
-
143
- - 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))
144
-
145
- #### Authors: 1
146
-
147
- - Ian K Smith ([@smithki](https://github.com/smithki))
148
-
149
- ---
150
-
151
- # v6.0.3 (Thu Sep 16 2021)
152
-
153
- #### 🐛 Bug Fix
154
-
155
- - Enable `skipLibCheck: false` to work with Magic SDK + TypeScript projects [#212](https://github.com/magiclabs/magic-js/pull/212) ([@smithki](https://github.com/smithki))
156
-
157
- #### Authors: 1
158
-
159
- - Ian K Smith ([@smithki](https://github.com/smithki))
160
-
161
- ---
162
-
163
- # v6.0.2 (Tue Sep 14 2021)
164
-
165
- #### 🐛 Bug Fix
166
-
167
- - Import regeneratorRuntime in Magic JS (non-CDN version) [#210](https://github.com/magiclabs/magic-js/pull/210) ([@smithki](https://github.com/smithki))
168
-
169
- #### Authors: 1
170
-
171
- - Ian K Smith ([@smithki](https://github.com/smithki))
172
-
173
- ---
174
-
175
- # v6.0.1 (Tue Sep 14 2021)
176
-
177
- #### 🐛 Bug Fix
178
-
179
- - Fix SemVer cyclic dependency issues with some hacks [#209](https://github.com/magiclabs/magic-js/pull/209) ([@smithki](https://github.com/smithki))
180
-
181
- #### Authors: 1
182
-
183
- - Ian K Smith ([@smithki](https://github.com/smithki))
184
-
185
- ---
186
-
187
- # v6.0.0 (Tue Sep 14 2021)
188
-
189
- #### 💥 Breaking Change
190
-
191
- - v6.0.0 [#208](https://github.com/magiclabs/magic-js/pull/208) ([@smithki](https://github.com/smithki))
192
-
193
- #### Authors: 1
194
-
195
- - Ian K Smith ([@smithki](https://github.com/smithki))
196
-
197
- ---
198
-
199
- # v4.4.2 (Mon Aug 16 2021)
200
-
201
- #### 🐛 Bug Fix
202
-
203
- - Migrate unit tests to Jest [#194](https://github.com/magiclabs/magic-js/pull/194) ([@smithki](https://github.com/smithki))
204
-
205
- #### Authors: 1
206
-
207
- - Ian K Smith ([@smithki](https://github.com/smithki))
208
-
209
- ---
210
-
211
- # v4.4.0 (Wed Jul 28 2021)
212
-
213
- #### 🚀 Enhancement
214
-
215
- - Add explicit JSDelivr entry-point for `magic-sdk` [#191](https://github.com/magiclabs/magic-js/pull/191) ([@smithki](https://github.com/smithki))
216
-
217
- #### Authors: 1
218
-
219
- - Ian K Smith ([@smithki](https://github.com/smithki))
220
-
221
- ---
222
-
223
- # v4.1.0 (Sat Jan 23 2021)
224
-
225
- #### 🚀 Enhancement
226
-
227
- - 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))
228
-
229
- #### Authors: 1
230
-
231
- - Ian K Smith ([@smithki](https://github.com/smithki))
232
-
233
- ---
234
-
235
- # v4.0.1 (Tue Dec 01 2020)
236
-
237
- #### 🐛 Bug Fix
238
-
239
- - Add 'importHelpers: true' to base tsconfig.json [#152](https://github.com/magiclabs/magic-js/pull/152) ([@smithki](https://github.com/smithki))
240
-
241
- #### 📝 Documentation
242
-
243
- - 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))
244
-
245
- #### Authors: 1
246
-
247
- - Ian K Smith ([@smithki](https://github.com/smithki))
248
-
249
- ---
250
-
251
- # v4.0.0 (Tue Nov 17 2020)
252
-
253
- #### 💥 Breaking Change
254
-
255
- - [All packages] Internal API changes & Cleanups [#149](https://github.com/magiclabs/magic-js/pull/149) ([@smithki](https://github.com/smithki))
256
-
257
- #### 🐛 Bug Fix
258
-
259
- - Update CHANGELOGs and CONTRIBUTING guide [#146](https://github.com/magiclabs/magic-js/pull/146) ([@smithki](https://github.com/smithki))
260
-
261
- #### 🏠 Internal
262
-
263
- - Simplify scripts [#147](https://github.com/magiclabs/magic-js/pull/147) ([@smithki](https://github.com/smithki))
264
-
265
- #### Authors: 1
266
-
267
- - Ian K Smith ([@smithki](https://github.com/smithki))
268
-
269
- ---
270
-
271
- ## `3.0.1` - 10/21/2020
272
-
273
- #### Changed
274
-
275
- - Removed the following public methods and functions
276
- - `BaseExtension.utils.encodeQueryParameters`
277
- - `BaseExtension.utils.decodeQueryParameters`
278
-
279
- ## `2.7.0` - 09/24/2020
280
-
281
- #### Added
282
-
283
- - Adds a Magic SDK extensions runtime compatibility check, ensuring you're version of Magic SDK is designed for the extensions you have in use.
284
-
285
- ## `2.6.0` - 09/15/2020
286
-
287
- #### Added
288
-
289
- - New, optional `redirectURI` parameter for the `loginWithMagicLink` method
290
- - New `loginWithCredential` method for completing a magic link login with redirect: `await magic.auth.loginWithCredential()`
291
-
292
- ## `2.5.0` - 08/24/2020
293
-
294
- #### Added
295
-
296
- - New optional `locale` parameter to SDK constructor
297
-
298
- ## `2.4.8` - 08/20/2020
299
-
300
- #### Added
301
-
302
- - New RPC error code for the `loginWithMagicLink` method: `-10005`
303
-
304
- ## `2.4.6` - 07/22/2020
305
-
306
- #### Added
307
-
308
- - Export `PromiEvent` type and `isPromiEvent` utility from SDK entry-points (`magic-sdk` and `@magic-sdk/react-native`).
309
-
310
- ## `2.4.1` through `2.4.5` - 07/13/2020
311
-
312
- #### Fixed
313
-
314
- - Bug preventing NPM tarball from containing `/dist` files.
315
-
316
- ## `2.4.0` - 07/13/2020
317
-
318
- #### Changed
319
-
320
- - Updated build system to use TypeScript project references instead of Microbundle.
321
- - Pass `targetOrigin` parameter to `postMessage` calls.
322
-
323
- ## `2.3.1` - 07/08/2020
324
-
325
- #### Fixed
326
-
327
- - Bug affecting `localforage` type imports causing compilation failure in TypeScript.
328
-
329
- ## `2.3.0` - 07/08/2020
330
-
331
- #### Added
332
-
333
- - WebAuthn support.
334
- - `localforage` APIs for Magic SDK Extensions.
335
-
336
- ## `2.1.0` - 06/25/2020
337
-
338
- #### Changed
339
-
340
- - Update dependencies.
341
-
342
- #### Addded
343
-
344
- - Add `ExtensionWarning` class.
345
-
346
- ## `2.0.7` - 06/23/2020
347
-
348
- #### Changed
349
-
350
- - Update dependencies.
351
-
352
- ## `2.0.6` - 06/23/2020
353
-
354
- #### Changed
355
-
356
- - Update dependencies.
357
-
358
- ## `2.0.5` - 06/23/2020
359
-
360
- #### Changed
361
-
362
- - Update dependencies.
363
-
364
- ## `2.0.4` - 06/22/2020
365
-
366
- #### Changed
367
-
368
- - Update dependencies.
369
-
370
- ## `2.0.3` - 06/16/2020
371
-
372
- #### Added
373
-
374
- - Introduce the `ExtensionError` type to ease handling of errors rising from Magic SDK Extensions.
375
-
376
- ## `2.0.2` - 06/12/2020
377
-
378
- #### Changed
379
-
380
- - Update dependencies.
381
- - Circle CI tag in readme is broken after namechange from MagicHQ to MagicLabs
382
-
383
- ## `2.0.1` - 06/11/2020
384
-
385
- #### Changed
386
-
387
- - Update dependencies.
388
-
389
- ## `2.0.0` - 06/02/2020
390
-
391
- #### Fixed
392
-
393
- - Circle CI tag in readme is broken after namechange from MagicHQ to MagicLabs
394
-
395
- #### Changed
396
-
397
- - 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.
398
-
399
- ## `1.4.0` - 05/14/2020
400
-
401
- #### Added
402
-
403
- - `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!
404
-
405
- ## `1.3.5` - 05/14/2020
406
-
407
- #### Fixed
408
-
409
- - Fixed a bug where React Native typings would pollute web environments not using Webpack.
410
-
411
- ## `1.3.4` - 05/14/2020
412
-
413
- #### Fixed
414
-
415
- - 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.
416
-
417
- - Fixed a bug that would prevent typings from being available in a React Native environment.
418
-
419
- ## `1.3.3` - 05/14/2020
420
-
421
- #### Fixed
422
-
423
- - Fix a bug affecting Ethers JS V5 beta that would fail to attach the required ID parameter to JSON RPC 2.0 request payloads.
424
-
425
- ## `1.3.2` - 05/07/2020
426
-
427
- #### Fixed
428
-
429
- - The React Native entry point encountered an issue where `Buffer` is `undefined`. This is now resolved!
430
-
431
- ## `1.3.1` - 05/06/2020
432
-
433
- #### Changed
434
-
435
- - 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.
436
-
437
- - The default `endpoint` URL for React Native integrations is `https://box.magic.link`.
438
-
439
- ## `1.3.0` - 05/05/2020
440
-
441
- #### Added
442
-
443
- - Support for configuring [Harmony](https://www.harmony.one/) network as the Etherum chain type. Further documentation is coming soon.
444
-
445
- ## `1.2.1` - 04/30/2020
446
-
447
- #### Fixed
448
-
449
- - Removed the `pako` dependency as it was negatively impacting SDK bundle size.
450
-
451
- ## `1.2.0` - 04/29/2020
452
-
453
- #### Added
454
-
455
- - The new `Extension` interface will soon enable Magic SDK to support official
456
- and third-party plugins!
457
-
458
- ## `1.1.4` - 04/28/2020
459
-
460
- #### Changed
461
-
462
- - Allow JSON RPC responses from the Magic `<iframe>` to be explicitly `null`.
463
-
464
- ## `1.1.3` - 04/28/2020
465
-
466
- #### Fixed
467
-
468
- - A bug on Safari that would lead to persistent `TypeError`s when using the CDN build of the library.
469
-
470
- ## `1.1.2` - 04/22/2020
471
-
472
- #### Fixed
473
-
474
- - Certain NodeJS globals/polyfills were not available in React Native environments. These polyfills are now bootstrapped automatically.
475
-
476
- ## `1.1.1` - 04/22/2020
477
-
478
- #### Added
479
-
480
- - Support for React Native:
481
-
482
- ```tsx
483
- // Import the React Native bundle
484
- // (Don't worry, the API is exactly the same!)
485
- import { Magic } from 'magic-sdk/react-native';
486
-
487
- const magic = new Magic('API_KEY');
488
-
489
- function App() {
490
- return (<div>
491
- {/* Just render the `Modal` component to connect Magic SDK! 🚀 */}
492
- <magic.Relayer />
493
- </div>);
494
- }
495
- ```
496
-
497
- ## `1.0.3` - 04/21/2020
498
-
499
- #### Added
500
-
501
- - `UpdateEmailFailed` RPCErrorCode for when update email fails.
502
-
503
- ## `1.0.2` - 04/15/2020
504
-
505
- #### Added
506
-
507
- - `preload` method for downloading the assets required to render the Magic `<iframe>`.
508
-
509
- ## `1.0.1` - 04/09/2020
510
-
511
- This is the first release our changelog records. Future updates will be logged in the following format:
512
-
513
- #### Fixed
514
-
515
- - Bug fixes and patches will be described here.
516
-
517
- #### Changed
518
-
519
- - Changes (breaking or otherwise) to current APIs will be described here.
520
-
521
- #### Added
522
-
523
- - New features or APIs will be described here.