- 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)
- Fix dist files glob in package.json (@smithki)
- Merge branch 'master' of github.com:magiclabs/magic-js (@smithki)
- Force re-publish (@smithki)
- Ian K Smith (@smithki)
- Ian K Smith (@smithki)
- Fix bug with
d.generateKey is undefined
build bug #228 (@dgerrellsMagic)
- Enable SMS login #223 (@dgerrellsMagic)
- Port
@magic-ext/oauth
,@magic-ext/react-native-oauth
,@magic-ext/webauthn
extensions to Magic SDK monorepo #218 (@smithki) - Add
@magic-sdk/pnp
package for out-of-the-box login page UIs #217 (@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)
- [Feat]: Update type signature of
RpcProviderModule
to implement Web3'sAbstractProvider
#201 (@adenekan41 @smithki) - bypass webcrypto on non web platforms #200 (@dgerrellsMagic)
- @dgerrellsMagic
- Adenekan Wonderful (@adenekan41)
- Ian K Smith (@smithki)
- Custom session duration #199 (@dgerrellsMagic)
- 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)
- 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()
- Fix Modal doesn't show up
- New optional
locale
parameter to SDK constructor
- New RPC error code for the
loginWithMagicLink
method:-10005
- Add
process
andbuffer
to the dependencies
- 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.
- Marked
encodeQueryParameters
anddecodeQueryParameters
utility methods for deprecation inv3.0.0
.
- Add
MagicExtensionWarning
class. - Add
createWarning
andcreateDeprecationWarning
helper methods toBaseExtension
. - Add
encodeJSON
anddecodeJSON
helper methods toBaseExtension.utils
. These are direct aliases forencodeQueryParameters
anddecodeQueryParameters
(which will be deprecated in the next major version).
MagicRPCError.code
can now be typed as a plainnumber
for greater flexibility.
- The argument type given to the default
"error"
event ofPromiEvent
is nowany
(in line with native Promise typings).
- Add the
BaseExtension.createError
method. - You are now able to attach arbitrary, strongly-typed data to
MagicExtensionError
objects.
- The following utilities are now exposed on the
Extension
base class:createPromiEvent
,decodeQueryParameters
,encodeQueryParameters
.
- The
createJsonRpcRequestPayload
andstandardizeJsonRpcRequestPayload
utilities are now nested under theutils
field of theExtension
base class.
- Introduced
MagicExtensionError
type to create consistency for errors rising from Magic SDK Extensions. - Add the
BaseExtension.raiseError
method.
- Update dependencies.
- Circle CI tag in readme is broken after namechange from MagicHQ to MagicLabs
- Update dependencies.
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.