- Merge remote-tracking branch 'origin/master' into jerryliu_hotfix_gdkms (@Ethella)
- Jerry Liu (@Ethella)
- Merge remote-tracking branch 'origin/master' into jerryliu-sc-77755-kresus-hotfix (@Ethella)
- Jerry Liu (@Ethella)
- David He (@Dizigen)
- Merge remote-tracking branch 'origin/master' into jerryliu-sc-75641-lazer-request-showsettings-page-mfa (@Ethella)
- Jerry Liu (@Ethella)
- Merge branch 'master' into jerryliu-sc-75641-lazer-request-showsettings-page-mfa (@Ethella)
- Jerry Liu (@Ethella)
- Merge branch 'master' into briancleary7114-sc-73967-auto-publish-canary-version-for-magic-sdk (@bcleary06)
- Brian Cleary (@bcleary06)
- Merge remote-tracking branch 'origin/master' into jerryliu-sc-74424-email-otp-login-invalid-email-otp-event (@Ethella)
- Jerry Liu (@Ethella)
- Merge branch 'master' into briancleary7114-sc-71135-add-checkout-sdk-method (@bcleary06)
- Brian Cleary (@bcleary06)
- Merge branch 'master' of github.com:magiclabs/magic-js into mushfichowdhury-login-with-email-otp-whitelabel (@mushfichowdhury-magic)
- Mushfi Chowdhury (@mushfichowdhury-magic)
- Update READMEs with outdated context/hyperlinks (@smithki)
- Ian K Smith (@smithki)
- Merge with master (@smithki)
- Merge branch 'master' into feat/faster-builds (@smithki)
- Remove comments from README files (@smithki)
- Fix build errors related to isolatedModules (@smithki)
- Replace microbundle with ESBuild (@smithki)
- Ian K Smith (@smithki)
- Ian K Smith (@smithki)
- Ian K Smith (@smithki)
- Ian K Smith (@smithki)
- Ian K Smith (@smithki)
- Ian K Smith (@smithki)
- Ian K Smith (@smithki)
- Ian K Smith (@smithki)
- Ian K Smith (@smithki)
- Ian K Smith (@smithki)
- Ian K Smith (@smithki)
- Ian K Smith (@smithki)
- Ian K Smith (@smithki)
- Ian K Smith (@smithki)
- Iframe accessibility improvements: Add
title
attribute and auto-focus when UI is showing #158 (@smithki)
- Ian K Smith (@smithki)
- Ian K Smith (@smithki)
- Ian K Smith (@smithki)
- Removed the following public methods and functions
BaseExtension.utils.encodeQueryParameters
BaseExtension.utils.decodeQueryParameters
- Adds a Magic SDK extensions runtime compatibility check, ensuring you're version of Magic SDK is designed for the extensions you have in use.
- New, optional
redirectURI
parameter for theloginWithMagicLink
method - New
loginWithCredential
method for completing a magic link login with redirect:await magic.auth.loginWithCredential()
- New optional
locale
parameter to SDK constructor
- New RPC error code for the
loginWithMagicLink
method:-10005
- Export
PromiEvent
type andisPromiEvent
utility from SDK entry-points (magic-sdk
and@magic-sdk/react-native
).
- Bug preventing NPM tarball from containing
/dist
files.
- Updated build system to use TypeScript project references instead of Microbundle.
- Pass
targetOrigin
parameter topostMessage
calls.
- Bug affecting
localforage
type imports causing compilation failure in TypeScript.
- WebAuthn support.
localforage
APIs for Magic SDK Extensions.
- Update dependencies.
- Add
ExtensionWarning
class.
- Update dependencies.
- Update dependencies.
- Update dependencies.
- Update dependencies.
- Introduce the
ExtensionError
type to ease handling of errors rising from Magic SDK Extensions.
- Update dependencies.
- Circle CI tag in readme is broken after namechange from MagicHQ to MagicLabs
- Update dependencies.
- Circle CI tag in readme is broken after namechange from MagicHQ to MagicLabs
- 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.
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!
- Fixed a bug where React Native typings would pollute web environments not using Webpack.
-
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 asMagic
unnecessarily difficult! Now, you can use the constructor as the instance type as expected. -
Fixed a bug that would prevent typings from being available in a React Native environment.
- Fix a bug affecting Ethers JS V5 beta that would fail to attach the required ID parameter to JSON RPC 2.0 request payloads.
- The React Native entry point encountered an issue where
Buffer
isundefined
. This is now resolved!
-
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. -
The default
endpoint
URL for React Native integrations ishttps://box.magic.link
.
- Support for configuring Harmony network as the Etherum chain type. Further documentation is coming soon.
- Removed the
pako
dependency as it was negatively impacting SDK bundle size.
- The new
Extension
interface will soon enable Magic SDK to support official and third-party plugins!
- Allow JSON RPC responses from the Magic
<iframe>
to be explicitlynull
.
- A bug on Safari that would lead to persistent
TypeError
s when using the CDN build of the library.
- Certain NodeJS globals/polyfills were not available in React Native environments. These polyfills are now bootstrapped automatically.
- Support for React Native:
// Import the React Native bundle
// (Don't worry, the API is exactly the same!)
import { Magic } from 'magic-sdk/react-native';
const magic = new Magic('API_KEY');
function App() {
return (<div>
{/* Just render the `Modal` component to connect Magic SDK! 🚀 */}
<magic.Relayer />
</div>);
}
UpdateEmailFailed
RPCErrorCode for when update email fails.
preload
method for downloading the assets required to render the Magic<iframe>
.
This is the first release our changelog records. Future updates will be logged in the following format:
- Bug fixes and patches will be described here.
- Changes (breaking or otherwise) to current APIs will be described here.
- New features or APIs will be described here.