- Merge remote-tracking branch 'origin/master' into PDEEXP-530-wallet-connect-login-with-redirect (@Ethella)
- resolve conflict (@Ethella)
-
- resolve conflict (@Ethella)
- Merge branch 'master' into PDEEXP-530-wallet-connect-login-with-redirect (@mattupham)
- Jerry Liu (@Ethella)
- Matt Upham (@mattupham)
- fix: typos #830 (@omahs @Ethella)
- chore: bump eslint version #834 (@otabek-magic @Ethella)
- Merge branch 'master' into PDEEXP-1985-bump-magic-sdk-eslint-version-to-9 (@otabek-magic)
- chore: update eslint config (@otabek-magic)
- chore: update to eslint 9 in magic-sdk magic-ext (@otabek-magic)
- Merge branch 'PDEEXP-1985-bump-magic-sdk-eslint-version-to-9' of github.com:magiclabs/magic-js into PDEEXP-1985-bump-magic-sdk-eslint-version-to-9 (@otabek-magic)
- chore: bump all eslint related libs, update config files (@otabek-magic)
- Merge branch 'master' into patch-1 (@Ethella)
- @otabek-magic
- Jerry Liu (@Ethella)
- omahs (@omahs)
- Merge branch 'master' into PDEEXP-1954-OAuth-popup-flow-consolidation (@sherzod-bakhodirov)
- Merge branch 'master' into PDEEXP-1951-Lost-Device-Event-Does-Not-Emit-Whitelabel-MFA-provider (@Ethella)
- Jerry Liu (@Ethella)
- Merge branch 'master' into cancel-event-for-recovery-flow (@sukhrobbekodilov)
- feat: add iframe heartbeat implementation. #816 (@khamdam-magic)
- Merge branch 'master' of https://github.com/magiclabs/magic-js into khamdam-sc-PDEEXP-1908-Iframe-heartbeat (@khamdam-magic)
- Merge branch 'master' into khamdam-sc-PDEEXP-1908-Iframe-heartbeat (@khamdam-magic)
- chore: update test coverage for magic-sdk (@khamdam-magic)
- fix: fix test issues (@khamdam-magic)
- fix: update iframe controller (@khamdam-magic)
- fix: use Magic message enums (@khamdam-magic)
- fix: add heartbeat to iframecontroller (@khamdam-magic)
- test: add new tests (@khamdam-magic)
- fix: fix deep source error (@khamdam-magic)
- feat: add iframe heartbeat (@khamdam-magic)
- Merge branch 'master' into missed_type_for_recovery_factor (@sukhrobbekodilov)
- Update .deepsource.toml #804 (@Magic-Brandan)
- Merge branch 'master' into sherzod-PDEEXP-1711-Support-MFA-setup-whitelabel-support (@sherzod-bakhodirov)
- Merge branch 'master' into sherzod-PDEEXP-1711-Support-MFA-setup-whitelabel-support (@sherzod-bakhodirov)
- Merge branch 'master' into hcote-cosmos-options (@hcote)
- @sherzod-bakhodirov
- Hunter Cote (@hcote)
- fix: on iOS Safari it shows a white screen when using display: 'block', visibility: 'hidden' #788 (@romin-halltari)
- fix: test (@romin-halltari)
- fix: on iOS Safari it shows a white screen when using display: 'block', visibility: 'hidden' (@romin-halltari)
- Merge branch 'master' of https://github.com/magiclabs/magic-js into khamdam-sc-PDEEXP-54-whitelabel-sms-login (@khamdam-magic)
- fix: update branch (@khamdam-magic)
- fix(): resolve conflicts (@khamdam-magic)
- add test environment check to avoid setTimeout (@Ethella)
- add useFakeTimers (@Ethella)
- Merge branch 'master' into Add-two-more-mfa-flags (@Ethella)
- Merge remote-tracking branch 'refs/remotes/origin/master' into Add-two-more-mfa-flags (@Ethella)
- silent console.warn and error in tests (@Ethella)
- Jerry Liu (@Ethella)
- change display css to visibility #772 (@hcote)
- Merge branch 'master' into hcote-visibility-update (@hcote)
- fix tests (@hcote)
- change display css to visibility (@hcote)
- Hunter Cote (@hcote)
- Merge remote-tracking branch 'refs/remotes/origin/master' into PDEEXP-1279-done-event-not-firing-in-whitelabel-email-login-flow (@Ethella)
- Jerry Liu (@Ethella)
- allow clipboard access for the iframe #704 (@Dizigen @bcleary06)
- Merge branch 'master' into dh-allow-clipboard (@bcleary06)
- Merge branch 'master' into deepsource-config-f9a2fc0d (@bcleary06)
- allow clipboard access for the iframe (@Dizigen)
- Brian Cleary (@bcleary06)
- David He (@Dizigen)
- Add private key reveal method #699 (@joshuascan)
- "Bump independent versions [skip ci]" ([email protected])
- Update CHANGELOG.md [skip ci] ([email protected])
- Merge branch 'master' into patjacobs-oauth-v2-apple (@patjacobs-magic)
- Merge branch 'master' into joshscanlan-pk-reveal-method (@joshuascan)
- @patjacobs-magic
- Josh Scanlan (@joshuascan)
- Magic Labs ([email protected])
- "Bump independent versions [skip ci]" ([email protected])
- Update CHANGELOG.md [skip ci] ([email protected])
- Merge branch 'master' into patjacobs-oauth-v2-apple (@patjacobs-magic)
- @patjacobs-magic
- Magic Labs ([email protected])
- "Bump independent versions [skip ci]" ([email protected])
- Update CHANGELOG.md [skip ci] ([email protected])
- Merge branch 'master' into patjacobs-oauth-v2-apple (@patjacobs-magic)
- @patjacobs-magic
- Magic Labs ([email protected])
- Merge branch 'master' into patjacobs-oauth-v2-apple (@patjacobs-magic)
- "Bump independent versions [skip ci]" ([email protected])
- Update CHANGELOG.md [skip ci] ([email protected])
- @patjacobs-magic
- Magic Labs ([email protected])
- "Bump independent versions [skip ci]" ([email protected])
- Magic Labs ([email protected])
- Merge branch 'master' into PDEEXP-253-whitelabel-update-email-with-ui-missing-event-when-email-address-already-in-use (@joshuascan)
- Josh Scanlan (@joshuascan)
- Jerry Liu (@Ethella)
- Merge branch 'master' into rominhalltari-sc-91530-investigate-and-provide-solution-for-issue (@romin-halltari)
- use existing iv and ek to encrypt and decrypt other multichain keys (@Dizigen)
- add more log lines to debug multichain error (@Dizigen)
- remove log lines (@Dizigen)
- debugging why deviceShare is not emitted in the payload (@Dizigen)
- Merge branch 'master' into split-key-device-share (@Dizigen)
- David He (@Dizigen)
- Merge branch 'master' into injectable-webcrypto-jwt-for-session-persistence (@Dizigen)
- David He (@Dizigen)
- Merge branch 'master' into hcote-support-sepolia-natively (@hcote)
- Hunter Cote (@hcote)
- Merge branch 'master' into force-ctor-preload-iframe (@Dizigen)
- David He (@Dizigen)
- Merge branch 'master' into patjacobs-sc-83016-ux-optimization-expired-email-otps (@patjacobs-magic)
- Merge remote-tracking branch 'origin/master' into jerryliu-sc-87830-optimize-webcrypto-implementation-to-generate (@Ethella)
- Jerry Liu (@Ethella)
- Jay Hwang (@octave08)
- Merge branch 'master' into josh-sc-75022-standalone-update-email-v2 (@joshuascan)
- Josh Scanlan (@joshuascan)
- Merge remote-tracking branch 'origin/master' into jerryliu-sc-81984-update-loginwithemailotp-interface-with-new (@Ethella)
- Merge remote-tracking branch 'origin/master' (@Ethella)
- Jerry Liu (@Ethella)
- Magic SDK Node version bump #538 (@makrandgupta)
- force canary build for all packages. (@makrandgupta)
- bump workflow node version (@makrandgupta)
- Makrand Gupta (@makrandgupta)
- Merge branch 'master' into jayhwang-sc-81912-add-optional-nftendpoint-param (@octave08)
- Add optional nftEndPoint param (@octave08)
- Jay Hwang (@octave08)
- Merge remote-tracking branch 'origin/master' (@Ethella)
- Jerry Liu (@Ethella)
- Match NPM Version (@Ariflo)
- Update CHANGELOG.md [skip ci] (@Ethella)
- Replace
magic-sdk
w/@magic-sdk/commons
for@magic-ext/oidc
Package #550 (@Ariflo) - White space bump (@Ariflo)
- Add typings to package.json export #517 (@octave08)
- Add typings to package.json export (@octave08)
- Replace
magic-sdk
w/@magic-sdk/commons
for@magic-ext/oidc
Package #550 (@Ariflo) - White space bump (@Ariflo)
- Add typings to package.json export #517 (@octave08)
- Add typings to package.json export (@octave08)
- 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)
- update MIT license to apache #500 (@Dizigen)
- Srinjoy/add logo to readme #501 (@srinjoyc @hcote)
- fixed links from clicking on logo (@srinjoyc)
- fixed typo spacing (@srinjoyc)
- adds magic logo to our readme and npm readme - put logo as single svg in root folder of magic-sdk (@srinjoyc)
- 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)
- removed 'authentication' from titles on readme #464 (@srinjoyc)
- removed 'authentication' from titles on readme (@srinjoyc)
- Srinjoy (@srinjoyc)
- updated readme with new description and quickstart code sample #460 (@srinjoyc)
- keeping links to github from npm the same (@srinjoyc)
- updated npm readme to be same as github (@srinjoyc)
- Update READMEs with outdated context/hyperlinks (@smithki)
- Ian K Smith (@smithki)
- Ian K Smith (@smithki)
- Merge with master (@smithki)
- Merge branch 'master' into feat/faster-builds (@smithki)
- Modify CDN default exports (@smithki)
- Remove comments from README files (@smithki)
- Fix build errors related to isolatedModules (@smithki)
- Replace microbundle with ESBuild (@smithki)
- Ian K Smith (@smithki)
- @harryEth
- harry (harry)
- 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)
- Ian K Smith (@smithki)
- 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)
- 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.