diff --git a/packages/@magic-ext/algorand/.lintstagedrc.yml b/packages/@magic-ext/algorand/.lintstagedrc.yml deleted file mode 100644 index 1c250ad65..000000000 --- a/packages/@magic-ext/algorand/.lintstagedrc.yml +++ /dev/null @@ -1,2 +0,0 @@ -'*.{ts,tsx}': - - eslint --fix diff --git a/packages/@magic-ext/algorand/.prettierrc.js b/packages/@magic-ext/algorand/.prettierrc.js deleted file mode 100644 index 6177cac66..000000000 --- a/packages/@magic-ext/algorand/.prettierrc.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('../../../.prettierrc.js'); diff --git a/packages/@magic-ext/algorand/CHANGELOG.md b/packages/@magic-ext/algorand/CHANGELOG.md deleted file mode 100644 index 64aadbdb1..000000000 --- a/packages/@magic-ext/algorand/CHANGELOG.md +++ /dev/null @@ -1,758 +0,0 @@ -# v28.2.2 (Thu Feb 05 2026) - -#### ⚠️ Pushed to `master` - -- Merge branch 'master' of github.com:magiclabs/magic-js ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v28.2.0 (Thu Jan 29 2026) - -#### 🚀 Enhancement - -- feat: Magic Widget extension [#979](https://github.com/magiclabs/magic-js/pull/979) ([@joshuascan](https://github.com/joshuascan) [@sherzod-bakhodirov](https://github.com/sherzod-bakhodirov)) - -#### Authors: 2 - -- [@sherzod-bakhodirov](https://github.com/sherzod-bakhodirov) -- Josh Scanlan ([@joshuascan](https://github.com/joshuascan)) - ---- - -# v28.1.0 (Thu Jan 29 2026) - -#### ⚠️ Pushed to `master` - -- Merge branch 'master' of github.com:magiclabs/magic-js ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v28.0.0 (Tue Jan 13 2026) - -#### 🐛 Bug Fix - -- heal Auto package versioning [#997](https://github.com/magiclabs/magic-js/pull/997) ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v26.0.0 (Fri Oct 03 2025) - -#### 💥 Breaking Change - -- EVM Extension and new extension methods [#915](https://github.com/magiclabs/magic-js/pull/915) ([@joshuascan](https://github.com/joshuascan)) - -#### Authors: 1 - -- Josh Scanlan ([@joshuascan](https://github.com/joshuascan)) - ---- - -# v24.3.0 (Thu Jul 24 2025) - -#### 🚀 Enhancement - -- add skipDIDToken [#898](https://github.com/magiclabs/magic-js/pull/898) ([@Ethella](https://github.com/Ethella) [@joshuascan](https://github.com/joshuascan)) - -#### Authors: 2 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) -- Josh Scanlan ([@joshuascan](https://github.com/joshuascan)) - ---- - -# v24.0.6 (Tue Apr 29 2025) - -#### 🐛 Bug Fix - -- Revert "Remove Extension class and rename InternalExtension to MagicExtension" [#882](https://github.com/magiclabs/magic-js/pull/882) ([@Ethella](https://github.com/Ethella)) -- Remove Extension class and rename InternalExtension to MagicExtension [#881](https://github.com/magiclabs/magic-js/pull/881) ([@devin-ai-integration[bot]](https://github.com/devin-ai-integration[bot]) [@Ethella](https://github.com/Ethella)) - -#### Authors: 2 - -- [@devin-ai-integration[bot]](https://github.com/devin-ai-integration[bot]) -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v24.0.4 (Tue Apr 01 2025) - -#### 🐛 Bug Fix - -- Merge remote-tracking branch 'origin/master' into PDEEXP-2318-imx-dont-throw-error-if-the-iframe-is-failing ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v23.20.0 (Wed Jan 08 2025) - -#### 🐛 Bug Fix - -- Merge branch 'master' into hcote-web3modal ([@hcote](https://github.com/hcote)) - -#### Authors: 1 - -- Hunter Cote ([@hcote](https://github.com/hcote)) - ---- - -# v23.19.0 (Wed Dec 25 2024) - -#### 🐛 Bug Fix - -- Merge remote-tracking branch 'origin/master' into PDEEXP-530-wallet-connect-login-with-redirect ([@Ethella](https://github.com/Ethella)) -- resolve conflict ([@Ethella](https://github.com/Ethella)) -- * resolve conflict ([@Ethella](https://github.com/Ethella)) -- Merge branch 'master' into PDEEXP-530-wallet-connect-login-with-redirect ([@mattupham](https://github.com/mattupham)) - -#### Authors: 2 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) -- Matt Upham ([@mattupham](https://github.com/mattupham)) - ---- - -# v23.18.1 (Thu Dec 05 2024) - -#### 🐛 Bug Fix - -- fix: typos [#830](https://github.com/magiclabs/magic-js/pull/830) ([@omahs](https://github.com/omahs) [@Ethella](https://github.com/Ethella)) -- chore: bump eslint version [#834](https://github.com/magiclabs/magic-js/pull/834) ([@otabek-magic](https://github.com/otabek-magic) [@Ethella](https://github.com/Ethella)) -- Merge branch 'master' into PDEEXP-1985-bump-magic-sdk-eslint-version-to-9 ([@otabek-magic](https://github.com/otabek-magic)) -- chore: update eslint config ([@otabek-magic](https://github.com/otabek-magic)) -- chore: update to eslint 9 in magic-sdk magic-ext ([@otabek-magic](https://github.com/otabek-magic)) -- Merge branch 'master' into patch-1 ([@Ethella](https://github.com/Ethella)) - -#### Authors: 3 - -- [@otabek-magic](https://github.com/otabek-magic) -- Jerry Liu ([@Ethella](https://github.com/Ethella)) -- omahs ([@omahs](https://github.com/omahs)) - ---- - -# v23.18.0 (Mon Nov 25 2024) - -#### 🐛 Bug Fix - -- Merge branch 'master' into PDEEXP-1954-OAuth-popup-flow-consolidation ([@sherzod-bakhodirov](https://github.com/sherzod-bakhodirov)) - -#### Authors: 1 - -- [@sherzod-bakhodirov](https://github.com/sherzod-bakhodirov) - ---- - -# v23.16.0 (Fri Oct 25 2024) - -#### 🐛 Bug Fix - -- Merge branch 'master' into PDEEXP-1951-Lost-Device-Event-Does-Not-Emit-Whitelabel-MFA-provider ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v23.15.0 (Fri Oct 25 2024) - -#### 🐛 Bug Fix - -- Merge branch 'master' into cancel-event-for-recovery-flow ([@sukhrobbekodilov](https://github.com/sukhrobbekodilov)) - -#### Authors: 1 - -- [@sukhrobbekodilov](https://github.com/sukhrobbekodilov) - ---- - -# v23.14.0 (Fri Oct 18 2024) - -#### 🐛 Bug Fix - -- Merge branch 'master' into missed_type_for_recovery_factor ([@sukhrobbekodilov](https://github.com/sukhrobbekodilov)) - -#### Authors: 1 - -- [@sukhrobbekodilov](https://github.com/sukhrobbekodilov) - ---- - -# v23.13.0 (Fri Oct 18 2024) - -#### 🐛 Bug Fix - -- Update .deepsource.toml [#804](https://github.com/magiclabs/magic-js/pull/804) ([@Magic-Brandan](https://github.com/Magic-Brandan)) - -#### Authors: 1 - -- [@Magic-Brandan](https://github.com/Magic-Brandan) - ---- - -# v23.11.0 (Wed Sep 25 2024) - -#### 🐛 Bug Fix - -- Merge branch 'master' into sherzod-PDEEXP-1711-Support-MFA-setup-whitelabel-support ([@sherzod-bakhodirov](https://github.com/sherzod-bakhodirov)) - -#### Authors: 1 - -- [@sherzod-bakhodirov](https://github.com/sherzod-bakhodirov) - ---- - -# v23.9.0 (Wed Sep 11 2024) - -#### 🐛 Bug Fix - -- Merge branch 'master' into sherzod-PDEEXP-1711-Support-MFA-setup-whitelabel-support ([@sherzod-bakhodirov](https://github.com/sherzod-bakhodirov)) -- Merge branch 'master' into hcote-cosmos-options ([@hcote](https://github.com/hcote)) - -#### Authors: 2 - -- [@sherzod-bakhodirov](https://github.com/sherzod-bakhodirov) -- Hunter Cote ([@hcote](https://github.com/hcote)) - ---- - -# v23.6.0 (Tue Sep 03 2024) - -#### 🐛 Bug Fix - -- Merge branch 'master' of https://github.com/magiclabs/magic-js into khamdam-sc-PDEEXP-54-whitelabel-sms-login ([@khamdam-magic](https://github.com/khamdam-magic)) -- fix: update branch ([@khamdam-magic](https://github.com/khamdam-magic)) -- fix(): resolve conflicts ([@khamdam-magic](https://github.com/khamdam-magic)) - -#### Authors: 1 - -- [@khamdam-magic](https://github.com/khamdam-magic) - ---- - -# v23.4.0 (Tue Aug 13 2024) - -#### 🐛 Bug Fix - -- Merge remote-tracking branch 'refs/remotes/origin/master' into Add-two-more-mfa-flags ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v23.0.4 (Thu Jun 06 2024) - -#### 🐛 Bug Fix - -- Merge remote-tracking branch 'refs/remotes/origin/master' into PDEEXP-1279-done-event-not-firing-in-whitelabel-email-login-flow ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v23.0.0 (Fri Mar 22 2024) - -#### 🚀 Enhancement - -- Add private key reveal method [#699](https://github.com/magiclabs/magic-js/pull/699) ([@joshuascan](https://github.com/joshuascan)) - -#### 🐛 Bug Fix - -- "Bump independent versions \[skip ci\]" (team@magic.link) -- Update CHANGELOG.md \[skip ci\] (team@magic.link) -- Merge branch 'master' into patjacobs-oauth-v2-apple ([@patjacobs-magic](https://github.com/patjacobs-magic)) -- Merge branch 'master' into joshscanlan-pk-reveal-method ([@joshuascan](https://github.com/joshuascan)) - -#### Authors: 3 - -- [@patjacobs-magic](https://github.com/patjacobs-magic) -- Josh Scanlan ([@joshuascan](https://github.com/joshuascan)) -- Magic Labs (team@magic.link) - ---- - -# v22.0.0 (Fri Mar 15 2024) - -#### 🐛 Bug Fix - -- "Bump independent versions \[skip ci\]" (team@magic.link) -- Update CHANGELOG.md \[skip ci\] (team@magic.link) -- Merge branch 'master' into patjacobs-oauth-v2-apple ([@patjacobs-magic](https://github.com/patjacobs-magic)) - -#### Authors: 2 - -- [@patjacobs-magic](https://github.com/patjacobs-magic) -- Magic Labs (team@magic.link) - ---- - -# v21.0.0 (Sat Mar 09 2024) - -#### 🐛 Bug Fix - -- "Bump independent versions \[skip ci\]" (team@magic.link) -- Update CHANGELOG.md \[skip ci\] (team@magic.link) -- Merge branch 'master' into patjacobs-oauth-v2-apple ([@patjacobs-magic](https://github.com/patjacobs-magic)) - -#### Authors: 2 - -- [@patjacobs-magic](https://github.com/patjacobs-magic) -- Magic Labs (team@magic.link) - ---- - -# v20.0.0 (Thu Feb 29 2024) - -#### 🐛 Bug Fix - -- Merge branch 'master' into patjacobs-oauth-v2-apple ([@patjacobs-magic](https://github.com/patjacobs-magic)) -- "Bump independent versions \[skip ci\]" (team@magic.link) -- Update CHANGELOG.md \[skip ci\] (team@magic.link) - -#### Authors: 2 - -- [@patjacobs-magic](https://github.com/patjacobs-magic) -- Magic Labs (team@magic.link) - ---- - -# v19.0.0 (Tue Feb 27 2024) - -#### 🐛 Bug Fix - -- "Bump independent versions \[skip ci\]" (team@magic.link) - -#### Authors: 1 - -- Magic Labs (team@magic.link) - ---- - -# v17.1.1 (Sat Feb 10 2024) - -#### 🐛 Bug Fix - -- Merge branch 'master' into PDEEXP-253-whitelabel-update-email-with-ui-missing-event-when-email-address-already-in-use ([@joshuascan](https://github.com/joshuascan)) - -#### Authors: 1 - -- Josh Scanlan ([@joshuascan](https://github.com/joshuascan)) - ---- - -# v16.4.1 (Fri Dec 15 2023) - -#### 🐛 Bug Fix - -- Merge branch 'master' into rominhalltari-sc-91530-investigate-and-provide-solution-for-issue ([@romin-halltari](https://github.com/romin-halltari)) - -#### Authors: 1 - -- [@romin-halltari](https://github.com/romin-halltari) - ---- - -# v16.4.0 (Thu Dec 14 2023) - -#### 🐛 Bug Fix - -- Merge branch 'master' into split-key-device-share ([@Dizigen](https://github.com/Dizigen)) - -#### Authors: 1 - -- David He ([@Dizigen](https://github.com/Dizigen)) - ---- - -# v16.3.2 (Tue Nov 28 2023) - -#### 🐛 Bug Fix - -- Merge branch 'master' into josh-sc-90794-add-types-export-to-scaffolding ([@joshuascan](https://github.com/joshuascan)) - -#### Authors: 1 - -- Josh Scanlan ([@joshuascan](https://github.com/joshuascan)) - ---- - -# v16.3.1 (Tue Nov 21 2023) - -#### 🐛 Bug Fix - -- Fix TypeScript resolution for @magic-ext/* packages when using modern module resolution (node16 etc) [#670](https://github.com/magiclabs/magic-js/pull/670) ([@rjwebb](https://github.com/rjwebb) [@joshuascan](https://github.com/joshuascan)) -- Merge branch 'master' into rjwebb/669-fix-node16-magic-ext-imports ([@joshuascan](https://github.com/joshuascan)) -- Update package.json exports to expose types when using node16 typescript, for algorand, auth, avalanche, bitcoin, conflux, cosmos, ed25519, flow, gdkms, harmony, hedera, icon, near, oauth, oidc, polkadot, react-native-bare-oauth, react-native-expo-oauth, taquito, terra, tezos, webauthn and zilliqa ([@rjwebb](https://github.com/rjwebb)) - -#### Authors: 2 - -- Bob Webb ([@rjwebb](https://github.com/rjwebb)) -- Josh Scanlan ([@joshuascan](https://github.com/joshuascan)) - ---- - -# v16.2.1 (Tue Nov 14 2023) - -#### 🐛 Bug Fix - -- Merge branch 'master' into injectable-webcrypto-jwt-for-session-persistence ([@Dizigen](https://github.com/Dizigen)) - -#### Authors: 1 - -- David He ([@Dizigen](https://github.com/Dizigen)) - ---- - -# v16.2.0 (Tue Oct 24 2023) - -#### 🐛 Bug Fix - -- Merge branch 'master' into hcote-support-sepolia-natively ([@hcote](https://github.com/hcote)) - -#### Authors: 1 - -- Hunter Cote ([@hcote](https://github.com/hcote)) - ---- - -# v16.0.0 (Fri Oct 13 2023) - -#### 🐛 Bug Fix - -- Merge branch 'master' into force-ctor-preload-iframe ([@Dizigen](https://github.com/Dizigen)) - -#### Authors: 1 - -- David He ([@Dizigen](https://github.com/Dizigen)) - ---- - -# v15.1.2 (Wed Oct 11 2023) - -#### 🐛 Bug Fix - -- Removes React Native entrypoint from all extension's package.json [#644](https://github.com/magiclabs/magic-js/pull/644) ([@Ariflo](https://github.com/Ariflo)) -- Removes React Native entrypoint from all extensions package.json ([@Ariflo](https://github.com/Ariflo)) - -#### Authors: 1 - -- Arian Flores ([@Ariflo](https://github.com/Ariflo)) - ---- - -# v15.1.1 (Mon Oct 02 2023) - -#### 🐛 Bug Fix - -- Merge branch 'master' into patjacobs-sc-83016-ux-optimization-expired-email-otps ([@patjacobs-magic](https://github.com/patjacobs-magic)) - -#### Authors: 1 - -- [@patjacobs-magic](https://github.com/patjacobs-magic) - ---- - -# v15.1.0 (Fri Sep 29 2023) - -#### 🐛 Bug Fix - -- Merge remote-tracking branch 'origin/master' into jerryliu-sc-87830-optimize-webcrypto-implementation-to-generate ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v14.3.0 (Wed Aug 16 2023) - -#### 🐛 Bug Fix - -- Merge branch 'master' into josh-sc-75022-standalone-update-email-v2 ([@joshuascan](https://github.com/joshuascan)) - -#### Authors: 1 - -- Josh Scanlan ([@joshuascan](https://github.com/joshuascan)) - ---- - -# v14.1.0 (Tue Aug 08 2023) - -#### 🐛 Bug Fix - -- Merge remote-tracking branch 'origin/master' into jerryliu-sc-81984-update-loginwithemailotp-interface-with-new ([@Ethella](https://github.com/Ethella)) -- Merge remote-tracking branch 'origin/master' ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v14.0.0 (Thu Jul 27 2023) - -#### 💥 Breaking Change - -- Magic SDK Node version bump [#538](https://github.com/magiclabs/magic-js/pull/538) ([@makrandgupta](https://github.com/makrandgupta)) - -#### 🐛 Bug Fix - -- whitespace change ([@makrandgupta](https://github.com/makrandgupta)) - -#### Authors: 1 - -- Makrand Gupta ([@makrandgupta](https://github.com/makrandgupta)) - ---- - -# v13.3.0 (Fri Jul 07 2023) - -#### ⚠️ Pushed to `master` - -- Merge remote-tracking branch 'origin/master' ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v13.2.0 (Fri Jun 23 2023) - -#### 🚀 Enhancement - -- Auto version bumping [#557](https://github.com/magiclabs/magic-js/pull/557) ([@Ethella](https://github.com/Ethella) [@Ariflo](https://github.com/Ariflo)) -- Updates License to Apache 2.0 [#551](https://github.com/magiclabs/magic-js/pull/551) ([@Ariflo](https://github.com/Ariflo)) - -#### 🐛 Bug Fix - -- Update CHANGELOG.md \[skip ci\] ([@Ethella](https://github.com/Ethella)) -- 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)) -- Update Algorand version ([@Ariflo](https://github.com/Ariflo)) -- Updates License to Apache 2.0 ([@Ariflo](https://github.com/Ariflo)) - -#### Authors: 2 - -- Arian Flores ([@Ariflo](https://github.com/Ariflo)) -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v13.2.0 (Fri Jun 23 2023) - -#### 🚀 Enhancement - -- Updates License to Apache 2.0 [#551](https://github.com/magiclabs/magic-js/pull/551) ([@Ariflo](https://github.com/Ariflo)) - -#### 🐛 Bug Fix - -- 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)) -- Update Algorand version ([@Ariflo](https://github.com/Ariflo)) -- Updates License to Apache 2.0 ([@Ariflo](https://github.com/Ariflo)) - -#### Authors: 1 - -- Arian Flores ([@Ariflo](https://github.com/Ariflo)) - ---- - -# v12.3.0 (Fri May 26 2023) - -#### 🐛 Bug Fix - -- Merge remote-tracking branch 'origin/master' into jerryliu_hotfix_gdkms ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v12.1.5 (Fri May 19 2023) - -#### 🐛 Bug Fix - -- Merge remote-tracking branch 'origin/master' into jerryliu-sc-77755-kresus-hotfix ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v12.1.1 (Fri Apr 21 2023) - -#### 🐛 Bug Fix - -- Merge remote-tracking branch 'origin/master' into jerryliu-sc-75641-lazer-request-showsettings-page-mfa ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v12.1.0 (Thu Apr 20 2023) - -#### 🐛 Bug Fix - -- Merge branch 'master' into jerryliu-sc-75641-lazer-request-showsettings-page-mfa ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v11.1.0 (Tue Apr 04 2023) - -#### 🐛 Bug Fix - -- Merge branch 'master' into briancleary7114-sc-73967-auto-publish-canary-version-for-magic-sdk ([@bcleary06](https://github.com/bcleary06)) - -#### Authors: 1 - -- Brian Cleary ([@bcleary06](https://github.com/bcleary06)) - ---- - -# v11.0.0 (Fri Mar 31 2023) - -#### 🐛 Bug Fix - -- Merge remote-tracking branch 'origin/master' into jerryliu-sc-74424-email-otp-login-invalid-email-otp-event ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v8.6.2 (Tue Mar 21 2023) - -#### 🐛 Bug Fix - -- Merge branch 'master' into briancleary7114-sc-71135-add-checkout-sdk-method ([@bcleary06](https://github.com/bcleary06)) - -#### Authors: 1 - -- Brian Cleary ([@bcleary06](https://github.com/bcleary06)) - ---- - -# v8.5.0 (Tue Feb 28 2023) - -#### 🐛 Bug Fix - -- Merge branch 'master' of github.com:magiclabs/magic-js into mushfichowdhury-login-with-email-otp-whitelabel ([@mushfichowdhury-magic](https://github.com/mushfichowdhury-magic)) - -#### Authors: 1 - -- Mushfi Chowdhury ([@mushfichowdhury-magic](https://github.com/mushfichowdhury-magic)) - ---- - -# v7.0.0 (Thu Jan 05 2023) - -#### 🐛 Bug Fix - -- [CHORE] Add gh_token env var to auto version step [#416](https://github.com/magiclabs/magic-js/pull/416) ([@kgrubb](https://github.com/kgrubb)) - -#### Authors: 1 - -- Keli (Madison) Grubb ([@kgrubb](https://github.com/kgrubb)) - ---- - -# v6.0.1 (Wed Jan 04 2023) - -#### 🐛 Bug Fix - -- add github actions for testing and publishing packages [#409](https://github.com/magiclabs/magic-js/pull/409) ([@kgrubb](https://github.com/kgrubb)) -- clean up eslint outputs and run build before running lint stage ([@kgrubb](https://github.com/kgrubb)) - -#### Authors: 1 - -- Keli (Madison) Grubb ([@kgrubb](https://github.com/kgrubb)) - ---- - -# v3.1.0 (Mon Mar 07 2022) - -#### 🐛 Bug Fix - -- Update READMEs with outdated context/hyperlinks ([@smithki](https://github.com/smithki)) - -#### 🏠 Internal - -- Internal documentation updates (`BUILD_SYSTEM.md`) [#283](https://github.com/magiclabs/magic-js/pull/283) ([@smithki](https://github.com/smithki)) - -#### Authors: 1 - -- Ian K Smith ([@smithki](https://github.com/smithki)) - ---- - -# v3.0.1 (Tue Jan 25 2022) - -#### 🐛 Bug Fix - -- Fix CDN build targets [#270](https://github.com/magiclabs/magic-js/pull/270) ([@smithki](https://github.com/smithki)) -- Fix CDN issues related to ESBuild ([@smithki](https://github.com/smithki)) - -#### Authors: 1 - -- Ian K Smith ([@smithki](https://github.com/smithki)) - ---- - -# v3.0.0 (Tue Jan 25 2022) - -#### 💥 Breaking Change - -- Switch from `microbundle` to `esbuild` [#220](https://github.com/magiclabs/magic-js/pull/220) ([@smithki](https://github.com/smithki)) - -#### 🐛 Bug Fix - -- Merge with master ([@smithki](https://github.com/smithki)) -- Merge branch 'master' into feat/faster-builds ([@smithki](https://github.com/smithki)) -- Modify CDN default exports ([@smithki](https://github.com/smithki)) -- Support newly added Magic JS extensions in ESBuild ([@smithki](https://github.com/smithki)) - -#### Authors: 1 - -- Ian K Smith ([@smithki](https://github.com/smithki)) - ---- - -# v1.0.0 (Fri Dec 10 2021) - -#### 💥 Breaking Change - -- Jerryliu sc 44386 migrate web3 related magic ext repos to magic part 2 [#251](https://github.com/magiclabs/magic-js/pull/251) ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - diff --git a/packages/@magic-ext/algorand/LICENSE b/packages/@magic-ext/algorand/LICENSE deleted file mode 100644 index d9a10c0d8..000000000 --- a/packages/@magic-ext/algorand/LICENSE +++ /dev/null @@ -1,176 +0,0 @@ - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS diff --git a/packages/@magic-ext/algorand/README.md b/packages/@magic-ext/algorand/README.md deleted file mode 100644 index c1ade3e74..000000000 --- a/packages/@magic-ext/algorand/README.md +++ /dev/null @@ -1,85 +0,0 @@ -# Magic Extension Algorand Blockchain - -## Installation -```bash -npm i magic-sdk @magic-ext/algorand -``` -## Setup -Setup AlgorandExtension with magic-sdk -```js - -import { Magic } from 'magic-sdk'; -import { AlgorandExtension } from '@magic-ext/algorand'; - -const magic = new Magic('YOUR_API_KEY', { - extensions: [ - new AlgorandExtension({ - rpcUrl: 'algorand rpc url' - }) - ] -}); - -// or - -const magic = new Magic('YOUR_API_KEY', { - extensions: { - algorand: new AlgorandExtension({ - rpcUrl: 'algorand rpc url' - }) - } -}); - -``` - -## Magic SDK -See the [developer documentation](https://magic.link/docs) to learn how you can master the Magic SDK in a matter of minutes. - - -## Usage - -### Get Wallet -Using getWallet function to get Algorand public address for current user. - -```js -const publicAddress = await magic.algorand.getWallet(); -console.log('algorand public address', publicAddress); -``` - -### Sign Transaction -By passing txnObj instance to `magic.algorand.signTransaction()` method, it will automatically sign the transaction with current user and -generate transaction object including signature. -```js - const txn = { - "to": "7ZUECA7HFLZTXENRV24SHLU4AVPUTMTTDUFUBNBD64C73F3UHRTHAIOF6Q", - "fee": 10, - "amount": 50, - "firstRound": 51, - "lastRound": 61, - "genesisID": "devnet-v33.0", - "genesisHash": "JgsgCaCTqIaLeVhyL6XlRu3n7Rfk2FxMeK+wRSaQ7dI=", - "closeRemainderTo": "IDUTJEUIEVSMXTU4LGTJWZ2UE2E6TIODUKU6UW3FU3UKIQQ77RLUBBBFLA", - "note": new Uint8Array(Buffer.from("6gAVR0Nsv5Y=", "base64")) - }; - - const tx = await magic.algorand.signTransaction(txn); - - console.log('signed transaction', tx) -``` - -### Sign Bid -By passing txnObj instance to `magic.algorand.signBid()` method, it will automatically sign the bid with current user and -generate transaction object including signature. - ```js - const bid = { - "bidderKey": "IB3NJALXLDX5JLYCD4TMTMLVCKDRZNS4JONHMIWD6XM7DSKYR7MWHI6I7U", - "auctionKey": "7ZUECA7HFLZTXENRV24SHLU4AVPUTMTTDUFUBNBD64C73F3UHRTHAIOF6Q", - "bidAmount": 1000, - "maxPrice": 10, - "bidID": 2, - "auctionID": 56 - }; - - const tx = await magic.algorand.signBid(bid); - - console.log('send bid', tx) - ``` diff --git a/packages/@magic-ext/algorand/eslint.config.mjs b/packages/@magic-ext/algorand/eslint.config.mjs deleted file mode 100644 index a94768e85..000000000 --- a/packages/@magic-ext/algorand/eslint.config.mjs +++ /dev/null @@ -1,21 +0,0 @@ -import path from 'node:path'; -import { fileURLToPath } from 'node:url'; -import rootEslintConfig from '../../../eslint.config.mjs'; - -const __filename = fileURLToPath(import.meta.url); -const __dirname = path.dirname(__filename); - -export default [ - ...rootEslintConfig, - { - ignores: ['node_modules', 'coverage', 'dist', 'eslint.config.mjs', 'jest.config.ts'], - }, - { - languageOptions: { - parserOptions: { - project: ['./tsconfig.json'], - tsconfigRootDir: __dirname, - }, - }, - }, -]; diff --git a/packages/@magic-ext/algorand/package.json b/packages/@magic-ext/algorand/package.json deleted file mode 100644 index 5c12c2766..000000000 --- a/packages/@magic-ext/algorand/package.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "name": "@magic-ext/algorand", - "version": "28.8.0", - "description": "magic algorand extension", - "author": "Magic (https://magic.link/)", - "license": "MIT", - "repository": { - "type": "git", - "url": "https://github.com/magiclabs/magic-js" - }, - "files": [ - "dist" - ], - "target": "neutral", - "cdnGlobalName": "MagicAlgorandExtension", - "main": "./dist/cjs/index.js", - "module": "./dist/es/index.js", - "types": "./dist/types/index.d.ts", - "jsdelivr": "./dist/extension.js", - "exports": { - "import": "./dist/es/index.mjs", - "types": "./dist/types/index.d.ts", - "require": "./dist/cjs/index.js" - }, - "externals": { - "include": [ - "@magic-sdk/provider" - ] - }, - "devDependencies": { - "@magic-sdk/provider": "^33.9.0" - } -} diff --git a/packages/@magic-ext/algorand/src/index.cdn.ts b/packages/@magic-ext/algorand/src/index.cdn.ts deleted file mode 100644 index 29f80bebb..000000000 --- a/packages/@magic-ext/algorand/src/index.cdn.ts +++ /dev/null @@ -1,3 +0,0 @@ -import { AlgorandExtension } from './index'; - -export default AlgorandExtension; diff --git a/packages/@magic-ext/algorand/src/index.native.ts b/packages/@magic-ext/algorand/src/index.native.ts deleted file mode 100644 index ea465c2a3..000000000 --- a/packages/@magic-ext/algorand/src/index.native.ts +++ /dev/null @@ -1 +0,0 @@ -export * from './index'; diff --git a/packages/@magic-ext/algorand/src/index.ts b/packages/@magic-ext/algorand/src/index.ts deleted file mode 100644 index 3a60a50f9..000000000 --- a/packages/@magic-ext/algorand/src/index.ts +++ /dev/null @@ -1,37 +0,0 @@ -import { MultichainExtension } from '@magic-sdk/provider'; -import { AlgorandConfig, AlgorandPayloadMethod } from './types'; - -export class AlgorandExtension extends MultichainExtension<'algod'> { - name = 'algod' as const; - - constructor(public algorandConfig: AlgorandConfig) { - super({ - rpcUrl: algorandConfig.rpcUrl, - chainType: 'ALGOD', - }); - } - - public async signTransaction(txn: any) { - return this.request(this.utils.createJsonRpcRequestPayload(AlgorandPayloadMethod.AlgorandSignTransaction, txn)); - } - - public async signBid(txn: any) { - return this.request(this.utils.createJsonRpcRequestPayload(AlgorandPayloadMethod.AlgorandSignBid, txn)); - } - - public async getWallet() { - return this.request(this.utils.createJsonRpcRequestPayload(AlgorandPayloadMethod.AlgorandGetWallet, [])); - } - - public async signGroupTransaction(txns: any[]) { - return this.request( - this.utils.createJsonRpcRequestPayload(AlgorandPayloadMethod.AlgorandSignGroupTransaction, txns), - ); - } - - public async signGroupTransactionV2(txns: any) { - return this.request( - this.utils.createJsonRpcRequestPayload(AlgorandPayloadMethod.AlgorandSignGroupTransactionV2, txns), - ); - } -} diff --git a/packages/@magic-ext/algorand/src/types.ts b/packages/@magic-ext/algorand/src/types.ts deleted file mode 100644 index b7ee18417..000000000 --- a/packages/@magic-ext/algorand/src/types.ts +++ /dev/null @@ -1,16 +0,0 @@ -export interface AlgorandConfig { - rpcUrl: string; -} - -export interface ConfigType { - rpcUrl: string; - chainType: string; -} - -export enum AlgorandPayloadMethod { - AlgorandSignTransaction = 'algod_signTransaction', - AlgorandSignBid = 'algod_signBid', - AlgorandGetWallet = 'algod_getWallet', - AlgorandSignGroupTransaction = 'algod_signGroupTransaction', - AlgorandSignGroupTransactionV2 = 'algod_signGroupTransactionV2', -} diff --git a/packages/@magic-ext/algorand/tsconfig.json b/packages/@magic-ext/algorand/tsconfig.json deleted file mode 100644 index c268bce54..000000000 --- a/packages/@magic-ext/algorand/tsconfig.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "extends": "../../../tsconfig.settings.json", -} - diff --git a/packages/@magic-ext/aptos/.lintstagedrc.yml b/packages/@magic-ext/aptos/.lintstagedrc.yml deleted file mode 100644 index 1c250ad65..000000000 --- a/packages/@magic-ext/aptos/.lintstagedrc.yml +++ /dev/null @@ -1,2 +0,0 @@ -'*.{ts,tsx}': - - eslint --fix diff --git a/packages/@magic-ext/aptos/.prettierrc.js b/packages/@magic-ext/aptos/.prettierrc.js deleted file mode 100644 index 6177cac66..000000000 --- a/packages/@magic-ext/aptos/.prettierrc.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('../../../.prettierrc.js'); diff --git a/packages/@magic-ext/aptos/CHANGELOG.md b/packages/@magic-ext/aptos/CHANGELOG.md deleted file mode 100644 index fd554d1fe..000000000 --- a/packages/@magic-ext/aptos/CHANGELOG.md +++ /dev/null @@ -1,709 +0,0 @@ -# v16.2.2 (Thu Feb 05 2026) - -#### ⚠️ Pushed to `master` - -- Merge branch 'master' of github.com:magiclabs/magic-js ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v16.2.0 (Thu Jan 29 2026) - -#### 🚀 Enhancement - -- feat: Magic Widget extension [#979](https://github.com/magiclabs/magic-js/pull/979) ([@joshuascan](https://github.com/joshuascan) [@sherzod-bakhodirov](https://github.com/sherzod-bakhodirov)) - -#### Authors: 2 - -- [@sherzod-bakhodirov](https://github.com/sherzod-bakhodirov) -- Josh Scanlan ([@joshuascan](https://github.com/joshuascan)) - ---- - -# v16.1.0 (Thu Jan 29 2026) - -#### 🐛 Bug Fix - -- bump versions [#985](https://github.com/magiclabs/magic-js/pull/985) ([@Ethella](https://github.com/Ethella) [@sherzod-bakhodirov](https://github.com/sherzod-bakhodirov)) - -#### ⚠️ Pushed to `master` - -- Merge branch 'master' of github.com:magiclabs/magic-js ([@Ethella](https://github.com/Ethella)) - -#### Authors: 2 - -- [@sherzod-bakhodirov](https://github.com/sherzod-bakhodirov) -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v16.0.0 (Tue Jan 13 2026) - -#### 🐛 Bug Fix - -- heal Auto package versioning [#997](https://github.com/magiclabs/magic-js/pull/997) ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v14.0.0 (Fri Oct 03 2025) - -#### 💥 Breaking Change - -- EVM Extension and new extension methods [#915](https://github.com/magiclabs/magic-js/pull/915) ([@joshuascan](https://github.com/joshuascan)) - -#### Authors: 1 - -- Josh Scanlan ([@joshuascan](https://github.com/joshuascan)) - ---- - -# v12.4.1 (Fri Aug 01 2025) - -#### 🐛 Bug Fix - -- chore: fix typos in function name [#910](https://github.com/magiclabs/magic-js/pull/910) ([@VolodymyrBg](https://github.com/VolodymyrBg)) - -#### Authors: 1 - -- VolodymyrBg ([@VolodymyrBg](https://github.com/VolodymyrBg)) - ---- - -# v12.2.0 (Tue Jul 15 2025) - -#### 🐛 Bug Fix - -- fix: typos [#896](https://github.com/magiclabs/magic-js/pull/896) ([@DeVikingMark](https://github.com/DeVikingMark)) -- fix: typos in function name [#892](https://github.com/magiclabs/magic-js/pull/892) ([@crStiv](https://github.com/crStiv)) - -#### Authors: 2 - -- [@crStiv](https://github.com/crStiv) -- Ragnar ([@DeVikingMark](https://github.com/DeVikingMark)) - ---- - -# v12.0.6 (Tue Apr 29 2025) - -#### 🐛 Bug Fix - -- Revert "Remove Extension class and rename InternalExtension to MagicExtension" [#882](https://github.com/magiclabs/magic-js/pull/882) ([@Ethella](https://github.com/Ethella)) -- Remove Extension class and rename InternalExtension to MagicExtension [#881](https://github.com/magiclabs/magic-js/pull/881) ([@devin-ai-integration[bot]](https://github.com/devin-ai-integration[bot]) [@Ethella](https://github.com/Ethella)) -- chore: remove @ikscodes/browser-env [#842](https://github.com/magiclabs/magic-js/pull/842) ([@otabek-magic](https://github.com/otabek-magic) [@sherzod-bakhodirov](https://github.com/sherzod-bakhodirov) [@Ethella](https://github.com/Ethella)) - -#### Authors: 4 - -- [@devin-ai-integration[bot]](https://github.com/devin-ai-integration[bot]) -- [@otabek-magic](https://github.com/otabek-magic) -- [@sherzod-bakhodirov](https://github.com/sherzod-bakhodirov) -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v12.0.4 (Tue Apr 01 2025) - -#### 🐛 Bug Fix - -- Merge remote-tracking branch 'origin/master' into PDEEXP-2318-imx-dont-throw-error-if-the-iframe-is-failing ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v12.0.3 (Thu Mar 27 2025) - -#### 🐛 Bug Fix - -- Auto checks if iframe exists without outputing any error [#865](https://github.com/magiclabs/magic-js/pull/865) ([@Ethella](https://github.com/Ethella)) -- Fix Extension typing ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v11.20.0 (Wed Jan 08 2025) - -#### 🐛 Bug Fix - -- Merge branch 'master' into hcote-web3modal ([@hcote](https://github.com/hcote)) - -#### Authors: 1 - -- Hunter Cote ([@hcote](https://github.com/hcote)) - ---- - -# v11.19.0 (Wed Dec 25 2024) - -#### 🐛 Bug Fix - -- Merge remote-tracking branch 'origin/master' into PDEEXP-530-wallet-connect-login-with-redirect ([@Ethella](https://github.com/Ethella)) -- resolve conflict ([@Ethella](https://github.com/Ethella)) -- * resolve conflict ([@Ethella](https://github.com/Ethella)) -- Merge branch 'master' into PDEEXP-530-wallet-connect-login-with-redirect ([@mattupham](https://github.com/mattupham)) - -#### Authors: 2 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) -- Matt Upham ([@mattupham](https://github.com/mattupham)) - ---- - -# v11.18.1 (Thu Dec 05 2024) - -#### 🐛 Bug Fix - -- fix: typos [#830](https://github.com/magiclabs/magic-js/pull/830) ([@omahs](https://github.com/omahs) [@Ethella](https://github.com/Ethella)) -- chore: bump eslint version [#834](https://github.com/magiclabs/magic-js/pull/834) ([@otabek-magic](https://github.com/otabek-magic) [@Ethella](https://github.com/Ethella)) -- Merge branch 'master' into PDEEXP-1985-bump-magic-sdk-eslint-version-to-9 ([@otabek-magic](https://github.com/otabek-magic)) -- chore: update eslint config ([@otabek-magic](https://github.com/otabek-magic)) -- chore: update to eslint 9 in magic-sdk magic-ext ([@otabek-magic](https://github.com/otabek-magic)) -- Merge branch 'master' into patch-1 ([@Ethella](https://github.com/Ethella)) - -#### Authors: 3 - -- [@otabek-magic](https://github.com/otabek-magic) -- Jerry Liu ([@Ethella](https://github.com/Ethella)) -- omahs ([@omahs](https://github.com/omahs)) - ---- - -# v11.18.0 (Mon Nov 25 2024) - -#### 🐛 Bug Fix - -- Merge branch 'master' into PDEEXP-1954-OAuth-popup-flow-consolidation ([@sherzod-bakhodirov](https://github.com/sherzod-bakhodirov)) - -#### Authors: 1 - -- [@sherzod-bakhodirov](https://github.com/sherzod-bakhodirov) - ---- - -# v11.16.0 (Fri Oct 25 2024) - -#### 🐛 Bug Fix - -- Merge branch 'master' into PDEEXP-1951-Lost-Device-Event-Does-Not-Emit-Whitelabel-MFA-provider ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v11.15.0 (Fri Oct 25 2024) - -#### 🐛 Bug Fix - -- Merge branch 'master' into cancel-event-for-recovery-flow ([@sukhrobbekodilov](https://github.com/sukhrobbekodilov)) - -#### Authors: 1 - -- [@sukhrobbekodilov](https://github.com/sukhrobbekodilov) - ---- - -# v11.14.0 (Fri Oct 18 2024) - -#### 🐛 Bug Fix - -- Merge branch 'master' into missed_type_for_recovery_factor ([@sukhrobbekodilov](https://github.com/sukhrobbekodilov)) - -#### Authors: 1 - -- [@sukhrobbekodilov](https://github.com/sukhrobbekodilov) - ---- - -# v11.13.0 (Fri Oct 18 2024) - -#### 🐛 Bug Fix - -- Update .deepsource.toml [#804](https://github.com/magiclabs/magic-js/pull/804) ([@Magic-Brandan](https://github.com/Magic-Brandan)) - -#### Authors: 1 - -- [@Magic-Brandan](https://github.com/Magic-Brandan) - ---- - -# v11.11.0 (Wed Sep 25 2024) - -#### 🐛 Bug Fix - -- Merge branch 'master' into sherzod-PDEEXP-1711-Support-MFA-setup-whitelabel-support ([@sherzod-bakhodirov](https://github.com/sherzod-bakhodirov)) - -#### Authors: 1 - -- [@sherzod-bakhodirov](https://github.com/sherzod-bakhodirov) - ---- - -# v11.9.0 (Wed Sep 11 2024) - -#### 🐛 Bug Fix - -- Merge branch 'master' into sherzod-PDEEXP-1711-Support-MFA-setup-whitelabel-support ([@sherzod-bakhodirov](https://github.com/sherzod-bakhodirov)) -- Merge branch 'master' into hcote-cosmos-options ([@hcote](https://github.com/hcote)) - -#### Authors: 2 - -- [@sherzod-bakhodirov](https://github.com/sherzod-bakhodirov) -- Hunter Cote ([@hcote](https://github.com/hcote)) - ---- - -# v11.6.0 (Tue Sep 03 2024) - -#### 🐛 Bug Fix - -- Merge branch 'master' of https://github.com/magiclabs/magic-js into khamdam-sc-PDEEXP-54-whitelabel-sms-login ([@khamdam-magic](https://github.com/khamdam-magic)) -- fix: update branch ([@khamdam-magic](https://github.com/khamdam-magic)) -- fix(): resolve conflicts ([@khamdam-magic](https://github.com/khamdam-magic)) - -#### Authors: 1 - -- [@khamdam-magic](https://github.com/khamdam-magic) - ---- - -# v11.4.0 (Tue Aug 13 2024) - -#### 🐛 Bug Fix - -- add test environment check to avoid setTimeout ([@Ethella](https://github.com/Ethella)) -- add useFakeTimers ([@Ethella](https://github.com/Ethella)) -- Merge branch 'master' into Add-two-more-mfa-flags ([@Ethella](https://github.com/Ethella)) -- Merge remote-tracking branch 'refs/remotes/origin/master' into Add-two-more-mfa-flags ([@Ethella](https://github.com/Ethella)) - -#### ⚠️ Pushed to `master` - -- silent console.warn and error in tests ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v11.0.4 (Thu Jun 06 2024) - -#### 🐛 Bug Fix - -- Merge remote-tracking branch 'refs/remotes/origin/master' into PDEEXP-1279-done-event-not-firing-in-whitelabel-email-login-flow ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v11.0.0 (Fri Mar 22 2024) - -#### 🚀 Enhancement - -- Add private key reveal method [#699](https://github.com/magiclabs/magic-js/pull/699) ([@joshuascan](https://github.com/joshuascan)) - -#### 🐛 Bug Fix - -- "Bump independent versions \[skip ci\]" (team@magic.link) -- Update CHANGELOG.md \[skip ci\] (team@magic.link) -- Merge branch 'master' into patjacobs-oauth-v2-apple ([@patjacobs-magic](https://github.com/patjacobs-magic)) -- Merge branch 'master' into joshscanlan-pk-reveal-method ([@joshuascan](https://github.com/joshuascan)) - -#### Authors: 3 - -- [@patjacobs-magic](https://github.com/patjacobs-magic) -- Josh Scanlan ([@joshuascan](https://github.com/joshuascan)) -- Magic Labs (team@magic.link) - ---- - -# v10.0.0 (Fri Mar 15 2024) - -#### 🐛 Bug Fix - -- "Bump independent versions \[skip ci\]" (team@magic.link) -- Update CHANGELOG.md \[skip ci\] (team@magic.link) -- Merge branch 'master' into patjacobs-oauth-v2-apple ([@patjacobs-magic](https://github.com/patjacobs-magic)) - -#### Authors: 2 - -- [@patjacobs-magic](https://github.com/patjacobs-magic) -- Magic Labs (team@magic.link) - ---- - -# v9.0.0 (Sat Mar 09 2024) - -#### 🐛 Bug Fix - -- "Bump independent versions \[skip ci\]" (team@magic.link) -- Update CHANGELOG.md \[skip ci\] (team@magic.link) -- Merge branch 'master' into patjacobs-oauth-v2-apple ([@patjacobs-magic](https://github.com/patjacobs-magic)) - -#### Authors: 2 - -- [@patjacobs-magic](https://github.com/patjacobs-magic) -- Magic Labs (team@magic.link) - ---- - -# v8.0.0 (Thu Feb 29 2024) - -#### 🐛 Bug Fix - -- Merge branch 'master' into patjacobs-oauth-v2-apple ([@patjacobs-magic](https://github.com/patjacobs-magic)) -- "Bump independent versions \[skip ci\]" (team@magic.link) -- Update CHANGELOG.md \[skip ci\] (team@magic.link) - -#### Authors: 2 - -- [@patjacobs-magic](https://github.com/patjacobs-magic) -- Magic Labs (team@magic.link) - ---- - -# v7.0.0 (Tue Feb 27 2024) - -#### 🐛 Bug Fix - -- "Bump independent versions \[skip ci\]" (team@magic.link) - -#### Authors: 1 - -- Magic Labs (team@magic.link) - ---- - -# v5.1.1 (Sat Feb 10 2024) - -#### 🐛 Bug Fix - -- Merge branch 'master' into PDEEXP-253-whitelabel-update-email-with-ui-missing-event-when-email-address-already-in-use ([@joshuascan](https://github.com/joshuascan)) - -#### Authors: 1 - -- Josh Scanlan ([@joshuascan](https://github.com/joshuascan)) - ---- - -# v4.4.1 (Fri Dec 15 2023) - -#### 🐛 Bug Fix - -- Merge branch 'master' into rominhalltari-sc-91530-investigate-and-provide-solution-for-issue ([@romin-halltari](https://github.com/romin-halltari)) - -#### Authors: 1 - -- [@romin-halltari](https://github.com/romin-halltari) - ---- - -# v4.4.0 (Thu Dec 14 2023) - -#### 🐛 Bug Fix - -- Merge branch 'master' into split-key-device-share ([@Dizigen](https://github.com/Dizigen)) - -#### Authors: 1 - -- David He ([@Dizigen](https://github.com/Dizigen)) - ---- - -# v4.2.1 (Tue Nov 14 2023) - -#### 🐛 Bug Fix - -- Merge branch 'master' into injectable-webcrypto-jwt-for-session-persistence ([@Dizigen](https://github.com/Dizigen)) - -#### Authors: 1 - -- David He ([@Dizigen](https://github.com/Dizigen)) - ---- - -# v4.2.0 (Tue Oct 24 2023) - -#### 🐛 Bug Fix - -- Merge branch 'master' into hcote-support-sepolia-natively ([@hcote](https://github.com/hcote)) - -#### Authors: 1 - -- Hunter Cote ([@hcote](https://github.com/hcote)) - ---- - -# v4.0.0 (Fri Oct 13 2023) - -#### 🐛 Bug Fix - -- Merge branch 'master' into force-ctor-preload-iframe ([@Dizigen](https://github.com/Dizigen)) - -#### Authors: 1 - -- David He ([@Dizigen](https://github.com/Dizigen)) - ---- - -# v3.1.1 (Mon Oct 02 2023) - -#### 🐛 Bug Fix - -- Merge branch 'master' into patjacobs-sc-83016-ux-optimization-expired-email-otps ([@patjacobs-magic](https://github.com/patjacobs-magic)) - -#### Authors: 1 - -- [@patjacobs-magic](https://github.com/patjacobs-magic) - ---- - -# v3.1.0 (Fri Sep 29 2023) - -#### 🐛 Bug Fix - -- Merge remote-tracking branch 'origin/master' into jerryliu-sc-87830-optimize-webcrypto-implementation-to-generate ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v2.3.0 (Wed Aug 16 2023) - -#### 🐛 Bug Fix - -- Merge branch 'master' into josh-sc-75022-standalone-update-email-v2 ([@joshuascan](https://github.com/joshuascan)) - -#### Authors: 1 - -- Josh Scanlan ([@joshuascan](https://github.com/joshuascan)) - ---- - -# v2.1.0 (Tue Aug 08 2023) - -#### 🐛 Bug Fix - -- Merge remote-tracking branch 'origin/master' into jerryliu-sc-81984-update-loginwithemailotp-interface-with-new ([@Ethella](https://github.com/Ethella)) -- Merge remote-tracking branch 'origin/master' ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v2.0.0 (Thu Jul 27 2023) - -#### 💥 Breaking Change - -- Magic SDK Node version bump [#538](https://github.com/magiclabs/magic-js/pull/538) ([@makrandgupta](https://github.com/makrandgupta)) - -#### 🐛 Bug Fix - -- fix aptos test imports ([@makrandgupta](https://github.com/makrandgupta)) -- force canary build for all packages. ([@makrandgupta](https://github.com/makrandgupta)) - -#### Authors: 1 - -- Makrand Gupta ([@makrandgupta](https://github.com/makrandgupta)) - ---- - -# v1.3.0 (Fri Jul 07 2023) - -#### ⚠️ Pushed to `master` - -- Merge remote-tracking branch 'origin/master' ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v1.2.0 (Fri Jun 23 2023) - -#### 🚀 Enhancement - -- Auto version bumping [#557](https://github.com/magiclabs/magic-js/pull/557) ([@Ethella](https://github.com/Ethella) [@Ariflo](https://github.com/Ariflo)) - -#### 🐛 Bug Fix - -- Match NPM Version ([@Ariflo](https://github.com/Ariflo)) -- Update CHANGELOG.md \[skip ci\] ([@Ethella](https://github.com/Ethella)) -- 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)) -- Add typings to package.json export [#517](https://github.com/magiclabs/magic-js/pull/517) ([@octave08](https://github.com/octave08)) -- Add typings to package.json export ([@octave08](https://github.com/octave08)) - -#### Authors: 3 - -- Arian Flores ([@Ariflo](https://github.com/Ariflo)) -- Jay Hwang ([@octave08](https://github.com/octave08)) -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v1.1.0 (Fri Jun 23 2023) - -#### 🐛 Bug Fix - -- 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)) -- Add typings to package.json export [#517](https://github.com/magiclabs/magic-js/pull/517) ([@octave08](https://github.com/octave08)) -- Add typings to package.json export ([@octave08](https://github.com/octave08)) - -#### Authors: 2 - -- Arian Flores ([@Ariflo](https://github.com/Ariflo)) -- Jay Hwang ([@octave08](https://github.com/octave08)) - ---- - -# v0.7.0 (Wed Jun 14 2023) - -#### 🚀 Enhancement - -- [FEAT]: adding types for nft checkout [#539](https://github.com/magiclabs/magic-js/pull/539) ([@bengriffin1](https://github.com/bengriffin1) [@octave08](https://github.com/octave08)) - -#### 🐛 Bug Fix - -- Minor changes for AptosExtension [#540](https://github.com/magiclabs/magic-js/pull/540) ([@octave08](https://github.com/octave08)) -- Update test cases for Aptos ([@octave08](https://github.com/octave08)) -- Remove chainId for aptos devnet ([@octave08](https://github.com/octave08)) -- Add error handling for typed payload ([@octave08](https://github.com/octave08)) - -#### Authors: 2 - -- Ben Griffin ([@bengriffin1](https://github.com/bengriffin1)) -- Jay Hwang ([@octave08](https://github.com/octave08)) - ---- - -# v0.6.0 (Tue Jun 13 2023) - -#### 🚀 Enhancement - -- Replace magic-sdk to @magic-sdk/provider for rn support [#536](https://github.com/magiclabs/magic-js/pull/536) ([@octave08](https://github.com/octave08)) - -#### 🐛 Bug Fix - -- Minor changes for aptos testing [#534](https://github.com/magiclabs/magic-js/pull/534) ([@octave08](https://github.com/octave08)) -- Remove react-native option ([@octave08](https://github.com/octave08)) -- Replace magic-sdk to @magic-sdk/provider for rn support ([@octave08](https://github.com/octave08)) -- Refactor duplicate variables ([@octave08](https://github.com/octave08)) -- Fix node url for testing ([@octave08](https://github.com/octave08)) - -#### Authors: 1 - -- Jay Hwang ([@octave08](https://github.com/octave08)) - ---- - -# v0.5.0 (Tue Jun 06 2023) - -#### 🚀 Enhancement - -- Change MagicAptosWallet design and fix type mismatch issue [#531](https://github.com/magiclabs/magic-js/pull/531) ([@octave08](https://github.com/octave08)) -- Implement MagicAptosWallet [#529](https://github.com/magiclabs/magic-js/pull/529) ([@octave08](https://github.com/octave08)) -- Refactor aptos config [#524](https://github.com/magiclabs/magic-js/pull/524) ([@octave08](https://github.com/octave08)) - -#### 🐛 Bug Fix - -- Add test suites for Aptos and fix minor bugs [#533](https://github.com/magiclabs/magic-js/pull/533) ([@octave08](https://github.com/octave08)) -- Add test cases for 99% coverage ([@octave08](https://github.com/octave08)) -- Fix minor changes ([@octave08](https://github.com/octave08)) -- Add MagicWallet test suite ([@octave08](https://github.com/octave08)) -- Fix typo ([@octave08](https://github.com/octave08)) -- Add AptosExtension test suite ([@octave08](https://github.com/octave08)) -- Scaffold aptos extension test ([@octave08](https://github.com/octave08)) -- Fix method mismatch ([@octave08](https://github.com/octave08)) -- Change connect param optionally ([@octave08](https://github.com/octave08)) -- Change MagicAptosWallet design ([@octave08](https://github.com/octave08)) -- enable auto connect mode ([@octave08](https://github.com/octave08)) -- Clean code ([@octave08](https://github.com/octave08)) -- Add support for aptos-adapter-react ([@octave08](https://github.com/octave08)) -- Support SSR ([@octave08](https://github.com/octave08)) -- Refactor connect with iframe ([@octave08](https://github.com/octave08)) -- apply review comments ([@octave08](https://github.com/octave08)) -- Add signTransaction on MagicAptosWallet ([@octave08](https://github.com/octave08)) -- manage dependencies ([@octave08](https://github.com/octave08)) -- Remove unused code ([@octave08](https://github.com/octave08)) -- Revert version ([@octave08](https://github.com/octave08)) -- Clean code 2 ([@octave08](https://github.com/octave08)) -- Get address with account method ([@octave08](https://github.com/octave08)) -- Export MagicAptosWallet ([@octave08](https://github.com/octave08)) -- Cache aptos account info ([@octave08](https://github.com/octave08)) -- Add magic-sdk dependency ([@octave08](https://github.com/octave08)) -- Implement MagicAptosWallet ([@octave08](https://github.com/octave08)) -- Add MagicAptosWallet ([@octave08](https://github.com/octave08)) - -#### Authors: 1 - -- Jay Hwang ([@octave08](https://github.com/octave08)) - ---- - -# v0.4.0 (Fri May 26 2023) - -#### 🐛 Bug Fix - -- Merge remote-tracking branch 'origin/master' into jerryliu_hotfix_gdkms ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v0.2.2 (Fri May 19 2023) - -#### 🐛 Bug Fix - -- Merge remote-tracking branch 'origin/master' into jerryliu-sc-77755-kresus-hotfix ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v0.2.0 (Thu May 18 2023) - -#### 🚀 Enhancement - -- Add @magic-ext/aptos package [#515](https://github.com/magiclabs/magic-js/pull/515) ([@octave08](https://github.com/octave08)) - -#### 🐛 Bug Fix - -- Update years of LICENSE ([@octave08](https://github.com/octave08)) -- Simplify error handling ([@octave08](https://github.com/octave08)) -- Refactor signTransation with safe-call ([@octave08](https://github.com/octave08)) -- Remove CHANGELOG.md ([@octave08](https://github.com/octave08)) -- Update error message ([@octave08](https://github.com/octave08)) -- Reset version for @magic-ext/aptos ([@octave08](https://github.com/octave08)) -- Serialize transaction ([@octave08](https://github.com/octave08)) -- Add signTransaction method ([@octave08](https://github.com/octave08)) -- Add chainId to AptosConfig ([@octave08](https://github.com/octave08)) -- clean code ([@octave08](https://github.com/octave08)) -- feat: add more configs ([@octave08](https://github.com/octave08)) -- Init @magic-ext/aptos package ([@octave08](https://github.com/octave08)) - -#### Authors: 1 - -- Jay Hwang ([@octave08](https://github.com/octave08)) diff --git a/packages/@magic-ext/aptos/LICENSE b/packages/@magic-ext/aptos/LICENSE deleted file mode 100644 index 6c2aefa21..000000000 --- a/packages/@magic-ext/aptos/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -MIT License - -Copyright (c) 2023-present Magic Labs, Inc. - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/packages/@magic-ext/aptos/babel.config.json b/packages/@magic-ext/aptos/babel.config.json deleted file mode 100644 index 7521eb073..000000000 --- a/packages/@magic-ext/aptos/babel.config.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "env": { - "test": { - "plugins": ["@babel/plugin-transform-modules-commonjs"] - } - } -} diff --git a/packages/@magic-ext/aptos/eslint.config.mjs b/packages/@magic-ext/aptos/eslint.config.mjs deleted file mode 100644 index c68f8e69b..000000000 --- a/packages/@magic-ext/aptos/eslint.config.mjs +++ /dev/null @@ -1,21 +0,0 @@ -import path from 'node:path'; -import { fileURLToPath } from 'node:url'; -import rootEslintConfig from '../../../eslint.config.mjs'; - -const __filename = fileURLToPath(import.meta.url); -const __dirname = path.dirname(__filename); - -export default [ - ...rootEslintConfig, - { - ignores: ['node_modules', 'coverage', 'dist', 'eslint.config.mjs', 'jest.config.ts'], - }, - { - languageOptions: { - parserOptions: { - project: ['./tsconfig.json', './test/tsconfig.json'], - tsconfigRootDir: __dirname, - }, - }, - }, -]; diff --git a/packages/@magic-ext/aptos/jest.config.ts b/packages/@magic-ext/aptos/jest.config.ts deleted file mode 100644 index 2bff5a3e6..000000000 --- a/packages/@magic-ext/aptos/jest.config.ts +++ /dev/null @@ -1,17 +0,0 @@ -import baseJestConfig from '../../../jest.config'; -import type { Config } from '@jest/types'; - -const config: Config.InitialOptions = { - ...baseJestConfig, - transform: { - '^.+\\.(js|jsx)$': 'babel-jest', - '\\.(ts|tsx)$': 'ts-jest', - }, - coveragePathIgnorePatterns: ['index.cdn.ts', 'index.native.ts'], - moduleNameMapper: { - '^@aptos-labs/wallet-adapter-core$': '/test/__mocks__/@aptos-labs/wallet-adapter-core.ts', - '^@aptos-labs/wallet-standard$': '/test/__mocks__/@aptos-labs/wallet-standard.ts', - }, -}; - -export default config; diff --git a/packages/@magic-ext/aptos/package.json b/packages/@magic-ext/aptos/package.json deleted file mode 100644 index 026fe80ea..000000000 --- a/packages/@magic-ext/aptos/package.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "name": "@magic-ext/aptos", - "version": "16.8.0", - "description": "magic aptos extension", - "author": "Magic (https://magic.link/)", - "license": "MIT", - "repository": { - "type": "git", - "url": "https://github.com/magiclabs/magic-js" - }, - "files": [ - "dist" - ], - "target": "neutral", - "main": "./dist/cjs/index.js", - "module": "./dist/es/index.js", - "types": "./dist/types/index.d.ts", - "jsdelivr": "./dist/extension.js", - "exports": { - "types": "./dist/types/index.d.ts", - "import": "./dist/es/index.mjs", - "require": "./dist/cjs/index.js" - }, - "externals": { - "include": [ - "@magic-sdk/provider" - ] - }, - "devDependencies": { - "@aptos-labs/wallet-adapter-core": "^7.10.1", - "@magic-sdk/provider": "^33.9.0", - "aptos": "^1.22.1" - }, - "peerDependencies": { - "@aptos-labs/wallet-adapter-core": "^7.10.1", - "aptos": "^1.22.1" - } -} diff --git a/packages/@magic-ext/aptos/src/MagicAptosWallet.ts b/packages/@magic-ext/aptos/src/MagicAptosWallet.ts deleted file mode 100644 index a6ca8b21b..000000000 --- a/packages/@magic-ext/aptos/src/MagicAptosWallet.ts +++ /dev/null @@ -1,166 +0,0 @@ -import { - AccountInfo, - NetworkInfo, - WalletInfo, - WalletReadyState, -} from '@aptos-labs/wallet-adapter-core'; -import { AptosSignMessageInput, AptosSignMessageOutput, AptosWallet } from '@aptos-labs/wallet-standard'; -import { TxnBuilderTypes, Types } from 'aptos'; -import { InstanceWithExtensions, SDKBase } from '@magic-sdk/provider'; -import { AptosExtension } from '.'; -import { APTOS_NETWORKS, APTOS_NODE_URLS, APTOS_WALLET_NAME, ICON_BASE64 } from './constants'; -import { MagicAptosWalletConfig } from './type'; - -export class MagicAptosWallet implements Partial { - readonly name = APTOS_WALLET_NAME; - readonly url = 'https://magic.link/'; - readonly icon = ICON_BASE64; - - readonly providerName = 'magicWalletMA'; - - provider: InstanceWithExtensions | undefined; - config?: MagicAptosWalletConfig; - - readyState?: WalletReadyState = WalletReadyState.Installed; - - private accountInfo: AccountInfo | null; - - constructor( - magic: InstanceWithExtensions | undefined, - magicAptosWalletConfig?: MagicAptosWalletConfig, - ) { - this.provider = magic; - this.accountInfo = null; - this.config = magicAptosWalletConfig; - } - - async connect(): Promise { - if (!this.provider) { - throw new Error('Provider is not defined'); - } - - const isLoggedIn = await this.provider.user.isLoggedIn(); - if (isLoggedIn) { - const accountInfo = await this.account(); - return accountInfo; - } - - if (!this.config) { - throw new Error('Please set connect config first'); - } - - return this.config.connect(); - } - - async account(): Promise { - if (!this.provider) { - throw new Error('Provider is not defined'); - } - - if (!this.accountInfo) { - const accountInfo = await this.provider.aptos.getAccountInfo(); - this.accountInfo = accountInfo; - } - - return this.accountInfo; - } - - async disconnect(): Promise { - if (!this.provider) { - throw new Error('Provider is not defined'); - } - - this.accountInfo = null; - await this.provider.user.logout(); - } - - async signTransaction(transaction: Types.TransactionPayload): Promise { - if (!this.provider) { - throw new Error('Provider is not defined'); - } - - const accountInfo = await this.account(); - return this.provider.aptos.signTransaction(accountInfo.address, transaction); - } - - async signAndSubmitTransaction( - transaction: Types.TransactionPayload, - options?: any, - ): Promise<{ hash: Types.HexEncodedBytes }> { - if (!this.provider) { - throw new Error('Provider is not defined'); - } - - const accountInfo = await this.account(); - return this.provider.aptos.signAndSubmitTransaction(accountInfo.address, transaction, options); - } - - async signAndSubmitBCSTransaction(transaction: TxnBuilderTypes.TransactionPayload): Promise { - if (!this.provider) { - throw new Error('Provider is not defined'); - } - - const accountInfo = await this.account(); - return this.provider.aptos.signAndSubmitBCSTransaction(accountInfo.address, transaction); - } - - async signMessage(message: AptosSignMessageInput): Promise { - if (!this.provider) { - throw new Error('Provider is not defined'); - } - - const accountInfo = await this.account(); - return this.provider.aptos.signMessage(accountInfo.address, message); - } - - async signMessageAndVerify(message: AptosSignMessageInput): Promise { - if (!this.provider) { - throw new Error('Provider is not defined'); - } - - const accountInfo = await this.account(); - return this.provider.aptos.signMessageAndVerify(accountInfo.address, message); - } - - async network(): Promise { - if (!this.provider) { - throw new Error('Provider is not defined'); - } - - const { nodeUrl } = this.provider.aptos.aptosConfig; - - if (nodeUrl.includes(APTOS_NODE_URLS.MAINNET)) { - return APTOS_NETWORKS[APTOS_NODE_URLS.MAINNET]; - } - - if (nodeUrl.includes(APTOS_NODE_URLS.TESTNET)) { - return APTOS_NETWORKS[APTOS_NODE_URLS.TESTNET]; - } - - if (nodeUrl.includes(APTOS_NODE_URLS.DEVNET)) { - return APTOS_NETWORKS[APTOS_NODE_URLS.DEVNET]; - } - - throw new Error('Invalid node url'); - } - - wallet(): WalletInfo { - return { - name: this.name, - url: this.url, - icon: this.icon, - }; - } - - async onNetworkChange(callback: any): Promise { - console.warn('onNetworkChange is not supported'); - callback(); - return Promise.resolve(); - } - - async onAccountChange(callback: any): Promise { - console.warn('onAccountChange is not supported'); - callback(); - return Promise.resolve(); - } -} diff --git a/packages/@magic-ext/aptos/src/constants/index.ts b/packages/@magic-ext/aptos/src/constants/index.ts deleted file mode 100644 index 2d77c4efd..000000000 --- a/packages/@magic-ext/aptos/src/constants/index.ts +++ /dev/null @@ -1,37 +0,0 @@ -import { NetworkName } from '@aptos-labs/wallet-adapter-core'; - -export const APTOS_WALLET_NAME = 'Magic' as const; - -export const APTOS_NODE_URLS = { - MAINNET: 'https://fullnode.mainnet.aptoslabs.com', - TESTNET: 'https://fullnode.testnet.aptoslabs.com', - DEVNET: 'https://fullnode.devnet.aptoslabs.com', -}; - -export const APTOS_NETWORKS = { - [APTOS_NODE_URLS.MAINNET]: { - name: NetworkName.Mainnet, - chainId: 1, - url: APTOS_NODE_URLS.MAINNET, - }, - [APTOS_NODE_URLS.TESTNET]: { - name: NetworkName.Testnet, - chainId: 2, - url: APTOS_NODE_URLS.TESTNET, - }, - [APTOS_NODE_URLS.DEVNET]: { - name: NetworkName.Devnet, - chainId: 34, - url: APTOS_NODE_URLS.DEVNET, - }, -}; - -export const ICON_BASE64 = - 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAIAAAAiOjnJAAALQ0lEQVR4nOydMWwbyRWGn4NrKKYyc0wRCZACnBoL0DWRrVJupXR2WMUB1ESFXfiaCwKfC8cIzkXOQNyoUuFUjN2FKmOVci7NGZAbCYgESCmO9LqKyFLBegjKpihy9/G9ebOc/4MKGRZ3dsmP8968nZn97OzsjACQ5ifWJwAmE4gFVIBYQAWIBVSAWEAFiAVUgFhABYgFVIBYQAWIBVSAWEAFiAVUgFhABYgFVIBYQAWIBVSAWEAFiAVUgFhABYgFVIBYQAWIBVSAWEAFiAVUgFhABYgFVIBYQAWIBVSAWEAFiJWVRp2269YnURw+sz6BYrC707XqapWWV6zPpgigxxrNySG93Or+/mKLjo+Mz6cQQKwRJC3afELt0+4/O6f09BtKmsZnFT4QaxhJa4BGqVsP4dYIINalDLSq+19NuDUCiDWYIVZ1/wBuDQViDaDdps1vR0uTNNP0q9P2dFbFAmL1026nfdXJYaY/Pjmk776BWwOAWJ+QyyoH3BoIxDqHYZUDbl3kCh4g4EhaaV7FsKrH9BxtfE2VquRZFReIRVnGgBmpVOn+I7hFCIUkaBVqEB8Tu1iCVnUPCLc+EHUoPDlMJejdBxSkUqXf/4FmZuWPXBTiFWt3h15uqVjlKJXp9nq8c2wiFetVg15s+WhorUarNR8NhUaME/18zgVtfGgoQrfi6rHabfrbX+mH7323u3idfnePSlO+2zUkLrEebJiN1ypVerxp07QJcZUbKp/bNR1Z1TQusRav2zW9ZNa0CZGJZffpQqxJplK1CUlW7RoSl1hWPYdhCLYCYnlp9FcGjdoSnVgzczRV9t3o/ILvFs2JTqxSmab93huO0KoYxfKf8cQ2HnTEKNYXfruQL655bS4Qii1W0qL9vdyvmpn1l2aVymlWl5f9t4WfKlhgsV416M9f0esdzmu99SLzrIZev6KnD2mXdWmBUEixklb6vr/4ME1v/y3nCN4Sal5Drsd6/qzAs5wLJla7Tdv1tKPqRcCkyVnQ521gyGgoaZ3LtL9HDzYKuZNgkcQ62EuVatT75xO/+VfuQ3mrZjF6rItrGxv1VK833qeRjUMxZpAmrTQuXJanHx/RjZwHLJXpapXaYyxPzQIzDg66zKRJm9/S8gqt1opx2zF0sdpt2vlHmqcPWfXAW748f22sdc9ZmM4/Hhx+Obs76c9ajW7+OvT5qEGL9Xqnm6EP55jlB6MKkBfekPBk1B6njXqq12ot6CVAgYp1sEeNv2etUXVO00iRN0B4qDhczT9h9fgo04o0N2bcroerV3Bi5VLq/FVvc4tVqab5u966Ql6n+D5PccHp9XqH7twNLvEKSCyeUg5G/u42bdfL3wUz95EvebARXF4fhFjjKOVIfuS8amZWMX/nJdfs83F5fTh6GYs1vlKOkQnvQNJRm9ptE16P1R5v97Zw9DITS0oph6u/5+0kVN96Rs29cyrTgzq95hdo9Tdms8EMxOqc0uYTMaV6vPsxd7KsemOnlL+yz6ubXMb+XvpjtRecwS2dUlkls/lv/mjoBoZKMIaESruYmsREm3uFGpMqebMAGP1KFnjVV43vG69IOz42YmkEfp5YStGQURoVD4UOz9Nle0xOj8UbGCqFicrPOa/qKFRr4+qxSmXmDdoh8GroWmKxeqykJXwaM3NmRQez+Vji3yReKNQSi3VY8cmiVnHQUiyNyQWMD+aqjliMsrvGFGSrOGgplsbkAsZnM6Uzq4nRY2mIxRtDiGAmlkYN6X3+HCWcUChexOKtPJPCcs67+FA/kPw9kATL0CprsaSvnDdcF6+R8npi8VqD+NubC0uxxL9SvC+9eJrFM1W8xzLccNVYrF+YfqV6iIdC3kws8bmsnjfV6cNSLPGuQrzAyCOQUGg7H8tSLPEr5302gSTv4sQrlvjFq66M0Ea2uzWX21os0wSzew7iOZb3rSgvEr1YotcfyMYsvBxL9uTN10kXaVMQkB3/G/j2MVE9Fg/xyIVQaC9WCIhHDfMwFAKTJpbSegRtNOaO2jJpobD9P+ED+kG8UGIejietxwKO2JN3MKkYi1XoWjkYgrFY4knr1E+FD+gH8chlXiuetFBY0KG+ea4tzqSJxUC8QlHQkocsxmKZ99ga4TiEopT5G4vkHagwUck7r9waiNzCEz2sJ9Nah0Lr69eIXOZhKIRzsBZL9PrNb+mPg+zAMGqxzC/eIX4agaxCs317J0qsQNZd8ZC/H296XZZi8bZKG0Ig665CSBx5m7IKMlE9FnNUKF4gDWMV2nG0Yonv5crLf8V7LF4MEr+ro/3QvOFMVCgMZJsXZvIuLZbGVrnZMRMr4/PTchHIPnrMvQWll1i6p+1ZYSZWruenZSSQffR40VCjCHfAesS/CGZiMZ4QPpIQ9tFzBLK3oGH+bhkKZQkkwRrnsOJuHUg/sCg7NmIlLfkxS1hisUpZ4gPD40OzyWE2Yml8k3hldy2xuA/mFEcj5ciCjVjiz5RjbzypVCUP5/krGm91FozEUhit8PZyVaoiBrJ/MxH98L38MbNgIJZSJ8EIhXqDJl4NSWNT1pk5mzTL4Amrlc/p8WbaRW/XJbuumV/mfklHcz3+yVHuHuhnojXS6B7d65hfSH+SZqrX7thP/J6Z4/RY4veUPobRY5XKqYvjjydslXIYP8W+UqU792i1Nq5evIG6amLLy96mZ8cSKwSlHMZiOcbXi5e5q67T8jwwDEcpRxBiOXp6PX+WO/fiPT9NY3Da4x2r42EUTUJTyhGQWI5Kle7/Ke23tus5ggJjaoD2fTQ3MMzbA+V62l6YSjmCE8uxvJL+ZNSL9/w0jekVfRy8zS2We9reyDLYVJluradvUbAEKpZjeYW+XKJ/NlK9hsCruXsoSR8f0Y38r5qeHRajp8q0skY31+y3VhtO0GK53mitlho2JK8Pqub+MbxbotNzl4o1v0B37hZj+WToYjlcXr94nV5sDYiMAWbujndN6rRzF9gGdsDpO3A30HRqIMUQy7G4lP406v2RkfH8ND+3ZjundPyf3DYsLn3yz6LEvj6Ktz/WWo0eb573UpUqJzSo1tzHbMjV3x3zC/THv6SXXCyrCilWryRx5176CzMO+ppMwmto/lpq0u11uv+oGBnVRYoUCvtYXkk/AN5cCW+rDHiZ3I2btForqlKOAovFjoMaK88uI02zDnMXRHjdcFAUMhSOieclBoZrsAyJUSzP08DfGM3htCVGsTxUsD7GcKmMIdGJ5X9xgatmxUZ0YpkEpjf/NmjUFojlpVGjxX2GxCVW0rLZgCVphrLhqjfiEsuw54htbAixfDUNsSYYw21nYwuFV87OzqzPwR+dU3r+zGDV+ZdL9Nt7xZuhMA5xieW4OKNLlbUardb8NRcIxb4JzWPtw8fsx63b63RzzUdDoRFjj+XY3aGXW4rTHMJfSKNKvGK59RSbT1TS6qky3X/EXOUxGUQtlhusPX0o/xCy4s78lCKucsNFxCWAVY7YxZJVAVb1iD0U9kiaab41zirW6Tna+BpWdYFY53RO6buH3H2t5tK+KqoS6HAQCs8plekr1lAOVl0EYn0Cwy1YNRCI1U8ut2DVZUCsAZTKmdLwSjX9M1g1EIg1mJGFA1QWhgOxLmWIOrBqJBBrGE6gvmAHq7IAsUbQ59ZUtvQLQKzRTM/RrfXu77fWo56zkJ0YJ/oxWF6hpElXKN75VXnBLR2gAkIhUAFiARUgFlABYgEVIBZQAWIBFSAWUAFiARUgFlABYgEVIBZQAWIBFSAWUAFiARUgFlABYgEVIBZQAWIBFSAWUAFiARUgFlABYgEVIBZQAWIBFSAWUAFiARUgFlABYgEVIBZQ4f8BAAD//0nip8/t43RIAAAAAElFTkSuQmCC'; - -export const APTOS_PAYLOAD_TYPE = { - ENTRY_FUNCTION_PAYLOAD: 'entry_function_payload', - SCRIPT_PAYLOAD: 'script_payload', - MODULE_BUNDLE_PAYLOAD: 'module_bundle_payload', - MULTISIG_PAYLOAD: 'multisig_payload', -} as const; diff --git a/packages/@magic-ext/aptos/src/index.cdn.ts b/packages/@magic-ext/aptos/src/index.cdn.ts deleted file mode 100644 index 51f509a32..000000000 --- a/packages/@magic-ext/aptos/src/index.cdn.ts +++ /dev/null @@ -1,3 +0,0 @@ -import { AptosExtension } from './index'; - -export default AptosExtension; diff --git a/packages/@magic-ext/aptos/src/index.ts b/packages/@magic-ext/aptos/src/index.ts deleted file mode 100644 index c0c25c720..000000000 --- a/packages/@magic-ext/aptos/src/index.ts +++ /dev/null @@ -1,130 +0,0 @@ -import { MultichainExtension } from '@magic-sdk/provider'; - -import { AptosClient, BCS, TxnBuilderTypes, Types, getAddressFromAccountOrAddress } from 'aptos'; -import { AccountInfo } from '@aptos-labs/wallet-adapter-core'; -import { AptosSignMessageInput, AptosSignMessageOutput } from '@aptos-labs/wallet-standard'; -import { AptosConfig, AptosPayloadMethod } from './type'; -import { APTOS_PAYLOAD_TYPE } from './constants'; - -export { MagicAptosWallet } from './MagicAptosWallet'; -export class AptosExtension extends MultichainExtension<'aptos'> { - name = 'aptos' as const; - - constructor(public aptosConfig: AptosConfig) { - super({ - rpcUrl: aptosConfig.nodeUrl, - chainType: 'APTOS', - options: { nodeUrl: aptosConfig.nodeUrl }, - }); - } - - private serializeRawTransaction = (rawTransaction: TxnBuilderTypes.RawTransaction) => { - const s = new BCS.Serializer(); - rawTransaction.serialize(s); - return s.getBytes(); - }; - - private generateRawTransactionWithTypedPayload = async ( - address: string, - transaction: Types.TransactionPayload, - options?: any, - ) => { - const client = new AptosClient(this.config.options.nodeUrl); - - if (transaction.type === APTOS_PAYLOAD_TYPE.ENTRY_FUNCTION_PAYLOAD) { - const rawTransaction = await client.generateTransaction( - address, - transaction as Types.EntryFunctionPayload, - options, - ); - return rawTransaction; - } - - throw new Error(`[${transaction.type}] is not supported`); - }; - - getAccount = () => { - return this.request(this.utils.createJsonRpcRequestPayload(AptosPayloadMethod.AptosGetAccount, [])); - }; - - signTransaction = async (address: string, transaction: Types.TransactionPayload) => { - const rawTransaction = await this.generateRawTransactionWithTypedPayload(address, transaction); - const transactionBytes = this.serializeRawTransaction(rawTransaction); - - return this.request( - this.utils.createJsonRpcRequestPayload(AptosPayloadMethod.AptosSignTransaction, [ - { - address, - transactionBytes, - }, - ]), - ); - }; - - getAccountInfo = async (): Promise => { - const address = await this.request( - this.utils.createJsonRpcRequestPayload(AptosPayloadMethod.AptosGetAccount, []), - ); - - return this.request( - this.utils.createJsonRpcRequestPayload(AptosPayloadMethod.AptosGetAccountInfo, [{ address }]), - ); - }; - - signAndSubmitTransaction = async ( - address: string, - transaction: Types.TransactionPayload, - options?: any, - ): Promise<{ hash: Types.HexEncodedBytes }> => { - const rawTransaction = await this.generateRawTransactionWithTypedPayload(address, transaction, options); - const transactionBytes = this.serializeRawTransaction(rawTransaction); - - return this.request<{ hash: Types.HexEncodedBytes }>( - this.utils.createJsonRpcRequestPayload(AptosPayloadMethod.AptosSignAndSubmitTransaction, [ - { - address, - transactionBytes, - }, - ]), - ); - }; - - signAndSubmitBCSTransaction = async (address: string, transaction: TxnBuilderTypes.TransactionPayload) => { - const client = new AptosClient(this.config.options.nodeUrl); - const addressHex = getAddressFromAccountOrAddress(address); - - const rawTransaction = await client.generateRawTransaction(addressHex, transaction); - const transactionBytes = this.serializeRawTransaction(rawTransaction); - - return this.request<{ hash: Types.HexEncodedBytes }>( - this.utils.createJsonRpcRequestPayload(AptosPayloadMethod.AptosSignAndSubmitBCSTransaction, [ - { - address, - transactionBytes, - }, - ]), - ); - }; - - signMessage = async (address: string, message: AptosSignMessageInput): Promise => { - return this.request( - this.utils.createJsonRpcRequestPayload(AptosPayloadMethod.AptosSignMessage, [ - { - address, - message, - }, - ]), - ); - }; - - signMessageAndVerify = async (address: string, message: AptosSignMessageInput): Promise => { - return this.request( - this.utils.createJsonRpcRequestPayload(AptosPayloadMethod.AptosSignMessageAndVerify, [ - { - address, - message, - }, - ]), - ); - }; -} diff --git a/packages/@magic-ext/aptos/src/type.ts b/packages/@magic-ext/aptos/src/type.ts deleted file mode 100644 index 5bfe3bb03..000000000 --- a/packages/@magic-ext/aptos/src/type.ts +++ /dev/null @@ -1,20 +0,0 @@ -import { AccountInfo } from '@aptos-labs/wallet-adapter-core'; -import { AptosAccount } from 'aptos'; - -export interface AptosConfig { - nodeUrl: string; -} - -export enum AptosPayloadMethod { - AptosGetAccount = 'aptos_getAccount', - AptosSignTransaction = 'aptos_signTransaction', - AptosGetAccountInfo = 'aptos_getAccountInfo', - AptosSignAndSubmitTransaction = 'aptos_signAndSubmitTransaction', - AptosSignAndSubmitBCSTransaction = 'aptos_signAndSubmitBCSTransaction', - AptosSignMessage = 'aptos_signMessage', - AptosSignMessageAndVerify = 'aptos_signMessageAndVerify', -} - -export interface MagicAptosWalletConfig { - connect: () => Promise; -} diff --git a/packages/@magic-ext/aptos/test/__mocks__/@aptos-labs/wallet-adapter-core.ts b/packages/@magic-ext/aptos/test/__mocks__/@aptos-labs/wallet-adapter-core.ts deleted file mode 100644 index 446943817..000000000 --- a/packages/@magic-ext/aptos/test/__mocks__/@aptos-labs/wallet-adapter-core.ts +++ /dev/null @@ -1,32 +0,0 @@ -// Mock for @aptos-labs/wallet-adapter-core -export enum NetworkName { - Mainnet = 'mainnet', - Testnet = 'testnet', - Devnet = 'devnet', -} - -export enum WalletReadyState { - Installed = 'Installed', - NotDetected = 'NotDetected', - Loadable = 'Loadable', - Unsupported = 'Unsupported', -} - -export interface AccountInfo { - address: string; - publicKey: string | string[]; - minKeysRequired?: number; - ansName?: string | null; -} - -export interface NetworkInfo { - name: NetworkName; - chainId?: number; - url?: string; -} - -export interface WalletInfo { - name: string; - icon: string; - url: string; -} diff --git a/packages/@magic-ext/aptos/test/__mocks__/@aptos-labs/wallet-standard.ts b/packages/@magic-ext/aptos/test/__mocks__/@aptos-labs/wallet-standard.ts deleted file mode 100644 index 080434c36..000000000 --- a/packages/@magic-ext/aptos/test/__mocks__/@aptos-labs/wallet-standard.ts +++ /dev/null @@ -1,26 +0,0 @@ -// Mock for @aptos-labs/wallet-standard -export interface AptosSignMessageInput { - address?: boolean; - application?: boolean; - chainId?: boolean; - message: string; - nonce: string; -} - -export interface AptosSignMessageOutput { - address?: string; - application?: string; - chainId?: number; - fullMessage: string; - message: string; - nonce: string; - prefix: string; - signature: string; - bitmap?: Uint8Array; -} - -export interface AptosWallet { - readonly name: string; - readonly url: string; - readonly icon: string; -} diff --git a/packages/@magic-ext/aptos/test/setup.ts b/packages/@magic-ext/aptos/test/setup.ts deleted file mode 100644 index 35ae08a6d..000000000 --- a/packages/@magic-ext/aptos/test/setup.ts +++ /dev/null @@ -1,40 +0,0 @@ -// NOTE: This module is automatically included at the top of each test file. -import { mockConsole } from '../../../../scripts/utils/mock-console'; -import { TextEncoder, TextDecoder } from 'util'; - -// Polyfill TextEncoder/TextDecoder for @aptos-labs/ts-sdk -global.TextEncoder = TextEncoder; -global.TextDecoder = TextDecoder as typeof global.TextDecoder; - -// Mock Aptos API responses -const mockAptosApiResponse = (url: string) => { - // Mock account response - if (url.includes('/accounts/')) { - return { - sequence_number: '0', - authentication_key: '0x8293d5e05544c6e53c47fc19ae071c26a60e0ccbd8a12eb5b2c9d348c85227b6', - }; - } - // Mock modules response - if (url.includes('/modules')) { - return []; - } - // Default response - return {}; -}; - -// Polyfill fetch for jsdom environment -global.fetch = jest.fn((url: string) => - Promise.resolve({ - ok: true, - status: 200, - headers: new Headers({ 'content-type': 'application/json' }), - json: () => Promise.resolve(mockAptosApiResponse(url)), - text: () => Promise.resolve(JSON.stringify(mockAptosApiResponse(url))), - } as Response), -); - -beforeEach(() => { - mockConsole(); - jest.clearAllMocks(); -}); diff --git a/packages/@magic-ext/aptos/test/spec/aptos-extension.spec.ts b/packages/@magic-ext/aptos/test/spec/aptos-extension.spec.ts deleted file mode 100644 index 54687c612..000000000 --- a/packages/@magic-ext/aptos/test/spec/aptos-extension.spec.ts +++ /dev/null @@ -1,253 +0,0 @@ -import { BCS, TxnBuilderTypes } from 'aptos'; -import { createMagicSDKWithExtension } from '../../../../@magic-sdk/provider/test/factories'; -import { AptosExtension } from '../../src'; -import { AptosPayloadMethod } from '../../src/type'; -import { TextEncoder, TextDecoder } from 'util'; - -// Mock AptosClient to avoid network calls -const mockRawTransaction = new TxnBuilderTypes.RawTransaction( - TxnBuilderTypes.AccountAddress.fromHex('0x8293d5e05544c6e53c47fc19ae071c26a60e0ccbd8a12eb5b2c9d348c85227b6'), - BigInt(0), - new TxnBuilderTypes.TransactionPayloadEntryFunction( - TxnBuilderTypes.EntryFunction.natural( - '0x1::coin', - 'transfer', - [TxnBuilderTypes.StructTag.fromString('0x1::aptos_coin::AptosCoin')], - [], - ), - ), - BigInt(2000), - BigInt(1), - BigInt(Math.floor(Date.now() / 1000) + 600), - new TxnBuilderTypes.ChainId(2), -); - -jest.mock('aptos', () => { - const actual = jest.requireActual('aptos'); - return { - ...actual, - AptosClient: jest.fn().mockImplementation(() => ({ - generateTransaction: jest.fn().mockResolvedValue(mockRawTransaction), - generateRawTransaction: jest.fn().mockResolvedValue(mockRawTransaction), - })), - }; -}); - -const APTOS_NODE_URL = 'https://fullnode.testnet.aptoslabs.com'; - -const SAMPLE_ADDRESS = '0x8293d5e05544c6e53c47fc19ae071c26a60e0ccbd8a12eb5b2c9d348c85227b6'; -const SAMPLE_TRANSACTION = { - type: 'entry_function_payload', - function: '0x1::coin::transfer', - type_arguments: ['0x1::aptos_coin::AptosCoin'], - arguments: ['0x8293d5e05544c6e53c47fc19ae071c26a60e0ccbd8a12eb5b2c9d348c85227b6', 1000], -}; -const SAMPLE_BCS_TRANSACTION = new TxnBuilderTypes.TransactionPayloadEntryFunction( - TxnBuilderTypes.EntryFunction.natural( - '0x1::coin', - 'transfer', - [TxnBuilderTypes.StructTag.fromString('0x1::aptos_coin::AptosCoin')], - [ - BCS.bcsToBytes( - TxnBuilderTypes.AccountAddress.fromHex('0x8293d5e05544c6e53c47fc19ae071c26a60e0ccbd8a12eb5b2c9d348c85227b6'), - ), - BCS.bcsSerializeUint64(1000), - ], - ), -); -const MESSAGE_PAYLOAD = { - message: 'Hello Aptos Extension!', - nonce: 'random-nonce', -}; - -beforeAll(() => { - Object.assign(global, { TextEncoder, TextDecoder }); -}) - -beforeEach(() => { - jest.clearAllMocks(); -}); - -test('Construct GetAccount request with `aptos_getAccount`', async () => { - const magic = createMagicSDKWithExtension({}, [ - new AptosExtension({ - nodeUrl: APTOS_NODE_URL, - }), - ]); - magic.aptos.request = jest.fn(); - - // Target method - await magic.aptos.getAccount(); - - // Assert - expect(magic.aptos.request).toBeCalledTimes(1); - - const requestPayload = magic.aptos.request.mock.calls[0][0]; - expect(requestPayload.method).toBe(AptosPayloadMethod.AptosGetAccount); - expect(requestPayload.params).toEqual([]); -}); - -test('Construct GetAccountInfo request with `aptos_getAccountInfo`', async () => { - const magic = createMagicSDKWithExtension({}, [ - new AptosExtension({ - nodeUrl: APTOS_NODE_URL, - }), - ]); - magic.aptos.request = jest.fn().mockReturnValueOnce(SAMPLE_ADDRESS); - - // Target method - await magic.aptos.getAccountInfo(); - - // Assert - expect(magic.aptos.request).toBeCalledTimes(2); - - const requestPayload = magic.aptos.request.mock.calls[1][0]; - expect(requestPayload.method).toBe(AptosPayloadMethod.AptosGetAccountInfo); - expect(requestPayload.params).toEqual([ - { - address: SAMPLE_ADDRESS, - }, - ]); -}); - -test('Construct SignTransaction request with `aptos_signTransaction`', async () => { - const magic = createMagicSDKWithExtension({}, [ - new AptosExtension({ - nodeUrl: APTOS_NODE_URL, - }), - ]); - magic.aptos.request = jest.fn(); - - // Target method - await magic.aptos.signTransaction(SAMPLE_ADDRESS, SAMPLE_TRANSACTION); - - // Assert - expect(magic.aptos.request).toBeCalledTimes(1); - - const requestPayload = magic.aptos.request.mock.calls[0][0]; - expect(requestPayload.method).toBe(AptosPayloadMethod.AptosSignTransaction); - expect(requestPayload.params).toHaveLength(1); - expect(requestPayload.params[0]).toEqual( - expect.objectContaining({ - address: SAMPLE_ADDRESS, - }), - ); - expect(requestPayload.params[0].transactionBytes).toBeInstanceOf(Uint8Array); -}); - -test('Construct SignTransaction request with invalid payload type`', async () => { - const magic = createMagicSDKWithExtension({}, [ - new AptosExtension({ - nodeUrl: APTOS_NODE_URL, - }), - ]); - magic.aptos.request = jest.fn(); - - // Assert - expect(() => - magic.aptos.signTransaction(SAMPLE_ADDRESS, { - ...SAMPLE_TRANSACTION, - type: 'test', - }), - ).rejects.toThrowError(); -}); - -test('Construct SignAndSubmitTransaction request with `aptos_signAndSubmitTransaction`', async () => { - const magic = createMagicSDKWithExtension({}, [ - new AptosExtension({ - nodeUrl: APTOS_NODE_URL, - }), - ]); - magic.aptos.request = jest.fn(); - - // Target method - await magic.aptos.signAndSubmitTransaction(SAMPLE_ADDRESS, SAMPLE_TRANSACTION); - - // Assert - expect(magic.aptos.request).toBeCalledTimes(1); - - const requestPayload = magic.aptos.request.mock.calls[0][0]; - expect(requestPayload.method).toBe(AptosPayloadMethod.AptosSignAndSubmitTransaction); - expect(requestPayload.params).toHaveLength(1); - expect(requestPayload.params[0]).toEqual( - expect.objectContaining({ - address: SAMPLE_ADDRESS, - }), - ); - expect(requestPayload.params[0].transactionBytes).toBeInstanceOf(Uint8Array); -}); - -test('Construct SignAndSubmitBCSTransaction request with `aptos_signAndSubmitBCSTransaction`', async () => { - const magic = createMagicSDKWithExtension({}, [ - new AptosExtension({ - nodeUrl: APTOS_NODE_URL, - }), - ]); - magic.aptos.request = jest.fn(); - - // Target method - await magic.aptos.signAndSubmitBCSTransaction(SAMPLE_ADDRESS, SAMPLE_BCS_TRANSACTION); - - // Assert - expect(magic.aptos.request).toBeCalledTimes(1); - - const requestPayload = magic.aptos.request.mock.calls[0][0]; - expect(requestPayload.method).toBe(AptosPayloadMethod.AptosSignAndSubmitBCSTransaction); - expect(requestPayload.params).toHaveLength(1); - expect(requestPayload.params[0]).toEqual( - expect.objectContaining({ - address: SAMPLE_ADDRESS, - }), - ); - expect(requestPayload.params[0].transactionBytes).toBeInstanceOf(Uint8Array); -}); - -test('Construct SignMessage request with `aptos_signMessage`', async () => { - const magic = createMagicSDKWithExtension({}, [ - new AptosExtension({ - nodeUrl: APTOS_NODE_URL, - }), - ]); - magic.aptos.request = jest.fn(); - - // Target method - await magic.aptos.signMessage(SAMPLE_ADDRESS, MESSAGE_PAYLOAD); - - // Assert - expect(magic.aptos.request).toBeCalledTimes(1); - - const requestPayload = magic.aptos.request.mock.calls[0][0]; - expect(requestPayload.method).toBe(AptosPayloadMethod.AptosSignMessage); - expect(requestPayload.params).toHaveLength(1); - expect(requestPayload.params).toEqual([ - { - address: SAMPLE_ADDRESS, - message: MESSAGE_PAYLOAD, - }, - ]); -}); - -test('Construct SignMessageAndVerify request with `aptos_signMessageAndVerify`', async () => { - const magic = createMagicSDKWithExtension({}, [ - new AptosExtension({ - nodeUrl: APTOS_NODE_URL, - }), - ]); - magic.aptos.request = jest.fn(); - - // Target method - await magic.aptos.signMessageAndVerify(SAMPLE_ADDRESS, MESSAGE_PAYLOAD); - - // Assert - expect(magic.aptos.request).toBeCalledTimes(1); - - const requestPayload = magic.aptos.request.mock.calls[0][0]; - expect(requestPayload.method).toBe(AptosPayloadMethod.AptosSignMessageAndVerify); - expect(requestPayload.params).toHaveLength(1); - expect(requestPayload.params).toEqual([ - { - address: SAMPLE_ADDRESS, - message: MESSAGE_PAYLOAD, - }, - ]); -}); diff --git a/packages/@magic-ext/aptos/test/spec/magic-aptos-wallet.spec.ts b/packages/@magic-ext/aptos/test/spec/magic-aptos-wallet.spec.ts deleted file mode 100644 index 70c73db94..000000000 --- a/packages/@magic-ext/aptos/test/spec/magic-aptos-wallet.spec.ts +++ /dev/null @@ -1,485 +0,0 @@ -import { BCS, TxnBuilderTypes } from 'aptos'; -import { createMagicSDKWithExtension } from '../../../../@magic-sdk/provider/test/factories'; -import { AptosExtension, MagicAptosWallet } from '../../src'; -import { APTOS_WALLET_NAME, ICON_BASE64 } from '../../src/constants'; - -const APTOS_NODE_URL = 'https://fullnode.testnet.aptoslabs.com'; - -const SAMPLE_ADDRESS = '0x8293d5e05544c6e53c47fc19ae071c26a60e0ccbd8a12eb5b2c9d348c85227b6'; -const SAMPLE_TRANSACTION = { - type: 'entry_function_payload', - function: '0x1::coin::transfer', - type_arguments: ['0x1::aptos_coin::AptosCoin'], - arguments: ['0x8293d5e05544c6e53c47fc19ae071c26a60e0ccbd8a12eb5b2c9d348c85227b6', 1000], -}; -const SAMPLE_BCS_TRANSACTION = new TxnBuilderTypes.TransactionPayloadEntryFunction( - TxnBuilderTypes.EntryFunction.natural( - '0x1::coin', - 'transfer', - [TxnBuilderTypes.StructTag.fromString('0x1::aptos_coin::AptosCoin')], - [ - BCS.bcsToBytes( - TxnBuilderTypes.AccountAddress.fromHex('0x8293d5e05544c6e53c47fc19ae071c26a60e0ccbd8a12eb5b2c9d348c85227b6'), - ), - BCS.bcsSerializeUint64(1000), - ], - ), -); - -const MOCK_ACCOUNT_INFO = { - address: SAMPLE_ADDRESS, - publicKey: 'test-public-key', -}; - -beforeEach(() => { - jest.resetAllMocks(); -}); - -test('Call connect()', async () => { - const magic = createMagicSDKWithExtension({}, [ - new AptosExtension({ - nodeUrl: APTOS_NODE_URL, - }), - ]); - magic.user.isLoggedIn = jest.fn().mockReturnValue(Promise.resolve(false)); - - const mockAccountInfo = { - address: SAMPLE_ADDRESS, - publicKey: 'test-public-key', - }; - - const aptosWallet = new MagicAptosWallet(magic, { - connect: () => { - return Promise.resolve(mockAccountInfo); - }, - }); - - // Target method - const accountInfo = await aptosWallet.connect(); - - // Assert - expect(magic.user.isLoggedIn).toBeCalledTimes(1); - expect(accountInfo).toEqual(mockAccountInfo); -}); - -test('Call connect() without magic', async () => { - const aptosWallet = new MagicAptosWallet(undefined); - - // Target method and assert - expect(() => aptosWallet.connect()).rejects.toThrowError(); -}); - -test('Call connect() without config.connect()', async () => { - const magic = createMagicSDKWithExtension({}, [ - new AptosExtension({ - nodeUrl: APTOS_NODE_URL, - }), - ]); - magic.user.isLoggedIn = jest.fn().mockReturnValue(Promise.resolve(false)); - magic.aptos.getAccountInfo = jest.fn().mockReturnValue(Promise.resolve(MOCK_ACCOUNT_INFO)); - - const aptosWallet = new MagicAptosWallet(magic); - - // Target method and assert - expect(() => aptosWallet.connect()).rejects.toThrowError(); -}); - -test('Call connect() when a user has already logged in', async () => { - const magic = createMagicSDKWithExtension({}, [ - new AptosExtension({ - nodeUrl: APTOS_NODE_URL, - }), - ]); - magic.user.isLoggedIn = jest.fn().mockReturnValue(Promise.resolve(true)); - magic.aptos.getAccountInfo = jest.fn().mockReturnValue(Promise.resolve(MOCK_ACCOUNT_INFO)); - - const aptosWallet = new MagicAptosWallet(magic); - - // Target method - const accountInfo = await aptosWallet.connect(); - - // Assert - expect(accountInfo).toEqual(MOCK_ACCOUNT_INFO); -}); - -test('Call disconnect()', async () => { - const magic = createMagicSDKWithExtension({}, [ - new AptosExtension({ - nodeUrl: APTOS_NODE_URL, - }), - ]); - magic.user.logout = jest.fn().mockReturnValue(Promise.resolve(true)); - - const aptosWallet = new MagicAptosWallet(magic); - - // Target method - await aptosWallet.disconnect(); - - // Assert - expect(magic.user.logout).toBeCalledTimes(1); -}); - -test('Call disconnect() without magic', async () => { - const aptosWallet = new MagicAptosWallet(undefined); - - // Target method and assert - expect(() => aptosWallet.disconnect()).rejects.toThrowError(); -}); - -test('Call account()', async () => { - const magic = createMagicSDKWithExtension({}, [ - new AptosExtension({ - nodeUrl: APTOS_NODE_URL, - }), - ]); - magic.aptos.getAccountInfo = jest.fn().mockReturnValue(Promise.resolve(MOCK_ACCOUNT_INFO)); - - const aptosWallet = new MagicAptosWallet(magic); - - // Target method - const accountInfo = await aptosWallet.account(); - - // Assert - expect(magic.aptos.getAccountInfo).toBeCalledTimes(1); - expect(accountInfo).toEqual(MOCK_ACCOUNT_INFO); -}); - -test('Call account() when a user has already logged in ', async () => { - const magic = createMagicSDKWithExtension({}, [ - new AptosExtension({ - nodeUrl: APTOS_NODE_URL, - }), - ]); - magic.user.isLoggedIn = jest.fn().mockReturnValue(Promise.resolve(true)); - magic.aptos.getAccountInfo = jest.fn().mockReturnValue(Promise.resolve(MOCK_ACCOUNT_INFO)); - - const aptosWallet = new MagicAptosWallet(magic); - - // Target method - await aptosWallet.connect(); - const accountInfo = await aptosWallet.account(); - - // Assert - expect(magic.aptos.getAccountInfo).toBeCalledTimes(1); - expect(accountInfo).toEqual(MOCK_ACCOUNT_INFO); -}); - -test('Call account() without magic', async () => { - const aptosWallet = new MagicAptosWallet(undefined); - - // Target method and assert - expect(() => aptosWallet.account()).rejects.toThrowError(); -}); - -test('Call signTransaction()', async () => { - const magic = createMagicSDKWithExtension({}, [ - new AptosExtension({ - nodeUrl: APTOS_NODE_URL, - }), - ]); - - const mockResult = Uint8Array.from([1, 2, 3]); - - magic.aptos.getAccountInfo = jest.fn().mockReturnValue(Promise.resolve(MOCK_ACCOUNT_INFO)); - magic.aptos.signTransaction = jest.fn().mockReturnValue(Promise.resolve(mockResult)); - - const aptosWallet = new MagicAptosWallet(magic); - - // Target method - const result = await aptosWallet.signTransaction(SAMPLE_TRANSACTION); - - // Assert - expect(magic.aptos.getAccountInfo).toBeCalledTimes(1); - expect(magic.aptos.signTransaction).toBeCalledTimes(1); - expect(result).toEqual(mockResult); -}); - -test('Call signTransaction() without magic', async () => { - const aptosWallet = new MagicAptosWallet(undefined); - - // Target method and assert - expect(() => aptosWallet.signTransaction(SAMPLE_TRANSACTION)).rejects.toThrowError(); -}); - -test('Call signAndSubmitTransaction()', async () => { - const magic = createMagicSDKWithExtension({}, [ - new AptosExtension({ - nodeUrl: APTOS_NODE_URL, - }), - ]); - - const mockResult = { hash: 'test-hash' }; - - magic.aptos.getAccountInfo = jest.fn().mockReturnValue(Promise.resolve(MOCK_ACCOUNT_INFO)); - magic.aptos.signAndSubmitTransaction = jest.fn().mockReturnValue(Promise.resolve(mockResult)); - - const aptosWallet = new MagicAptosWallet(magic); - - // Target method - const result = await aptosWallet.signAndSubmitTransaction(SAMPLE_TRANSACTION); - - // Assert - expect(magic.aptos.getAccountInfo).toBeCalledTimes(1); - expect(magic.aptos.signAndSubmitTransaction).toBeCalledTimes(1); - expect(result).toEqual(mockResult); -}); - -test('Call signAndSubmitTransaction() without magic', async () => { - const aptosWallet = new MagicAptosWallet(undefined); - - // Target method and assert - expect(() => aptosWallet.signAndSubmitTransaction(SAMPLE_TRANSACTION)).rejects.toThrowError(); -}); - -test('Call signAndSubmitBCSTransaction()', async () => { - const magic = createMagicSDKWithExtension({}, [ - new AptosExtension({ - nodeUrl: APTOS_NODE_URL, - }), - ]); - - const mockResult = { hash: 'test-hash' }; - - magic.aptos.getAccountInfo = jest.fn().mockReturnValue(Promise.resolve(MOCK_ACCOUNT_INFO)); - magic.aptos.signAndSubmitBCSTransaction = jest.fn().mockReturnValue(Promise.resolve(mockResult)); - - const aptosWallet = new MagicAptosWallet(magic); - - // Target method - const result = await aptosWallet.signAndSubmitBCSTransaction(SAMPLE_BCS_TRANSACTION); - - // Assert - expect(magic.aptos.getAccountInfo).toBeCalledTimes(1); - expect(magic.aptos.signAndSubmitBCSTransaction).toBeCalledTimes(1); - expect(result).toEqual(mockResult); -}); - -test('Call signAndSubmitBCSTransaction() without magic', async () => { - const aptosWallet = new MagicAptosWallet(undefined); - - // Target method and assert - expect(() => aptosWallet.signAndSubmitBCSTransaction(SAMPLE_BCS_TRANSACTION)).rejects.toThrowError(); -}); - -test('Call signMessage()', async () => { - const magic = createMagicSDKWithExtension({}, [ - new AptosExtension({ - nodeUrl: APTOS_NODE_URL, - }), - ]); - - const mockResult = { - address: SAMPLE_ADDRESS, - signature: 'test-signature', - message: 'test-message', - fullMessage: 'test-message', - nonce: 'random-nonce', - prefix: 'APTOS', - }; - - magic.aptos.getAccountInfo = jest.fn().mockReturnValue(Promise.resolve(MOCK_ACCOUNT_INFO)); - magic.aptos.signMessage = jest.fn().mockReturnValue(Promise.resolve(mockResult)); - - const aptosWallet = new MagicAptosWallet(magic); - - // Target method - const result = await aptosWallet.signMessage({ - message: 'test-message', - nonce: 'random-nonce', - }); - - // Assert - expect(magic.aptos.getAccountInfo).toBeCalledTimes(1); - expect(magic.aptos.signMessage).toBeCalledTimes(1); - expect(result).toEqual(mockResult); -}); - -test('Call signMessage() without magic', async () => { - const aptosWallet = new MagicAptosWallet(undefined); - - // Target method and assert - expect(() => - aptosWallet.signMessage({ - message: 'test-message', - nonce: 'random-nonce', - }), - ).rejects.toThrowError(); -}); - -test('Call signMessageAndVerify()', async () => { - const magic = createMagicSDKWithExtension({}, [ - new AptosExtension({ - nodeUrl: APTOS_NODE_URL, - }), - ]); - - const mockResult = true; - - magic.aptos.getAccountInfo = jest.fn().mockReturnValue(Promise.resolve(MOCK_ACCOUNT_INFO)); - magic.aptos.signMessageAndVerify = jest.fn().mockReturnValue(Promise.resolve(mockResult)); - - const aptosWallet = new MagicAptosWallet(magic); - - // Target method - const result = await aptosWallet.signMessageAndVerify({ - message: 'test-message', - nonce: 'random-nonce', - }); - - // Assert - expect(magic.aptos.getAccountInfo).toBeCalledTimes(1); - expect(magic.aptos.signMessageAndVerify).toBeCalledTimes(1); - expect(result).toEqual(mockResult); -}); - -test('Call signMessageAndVerify() without magic', async () => { - const aptosWallet = new MagicAptosWallet(undefined); - - // Target method and assert - expect(() => - aptosWallet.signMessageAndVerify({ - message: 'test-message', - nonce: 'random-nonce', - }), - ).rejects.toThrowError(); -}); - -test('Set up with mainnet and call network()', async () => { - const NODE_URL = 'https://fullnode.mainnet.aptoslabs.com'; - const magic = createMagicSDKWithExtension({}, [ - new AptosExtension({ - nodeUrl: NODE_URL, - }), - ]); - - const aptosWallet = new MagicAptosWallet(magic); - - // Target method - const result = await aptosWallet.network(); - - // Assert - expect(result).toEqual({ - name: 'mainnet', - chainId: 1, - url: NODE_URL, - }); -}); - -test('Set up with testnet and call network()', async () => { - const NODE_URL = 'https://fullnode.testnet.aptoslabs.com'; - const magic = createMagicSDKWithExtension({}, [ - new AptosExtension({ - nodeUrl: NODE_URL, - }), - ]); - - const aptosWallet = new MagicAptosWallet(magic); - - // Target method - const result = await aptosWallet.network(); - - // Assert - expect(result).toEqual({ - name: 'testnet', - chainId: 2, - url: NODE_URL, - }); -}); - -test('Set up with devnet and call network()', async () => { - const NODE_URL = 'https://fullnode.devnet.aptoslabs.com'; - const magic = createMagicSDKWithExtension({}, [ - new AptosExtension({ - nodeUrl: NODE_URL, - }), - ]); - - const aptosWallet = new MagicAptosWallet(magic); - - // Target method - const result = await aptosWallet.network(); - - // Assert - expect(result).toEqual({ - name: 'devnet', - chainId: 34, - url: NODE_URL, - }); -}); - -test('Set up with an invalid network and call network()', async () => { - const NODE_URL = 'https://fullnode.invalid.aptoslabs.com'; - const magic = createMagicSDKWithExtension({}, [ - new AptosExtension({ - nodeUrl: NODE_URL, - }), - ]); - - const aptosWallet = new MagicAptosWallet(magic); - - // Target method and assert - expect(() => aptosWallet.network()).rejects.toThrowError(); -}); - -test('Call network() without magic', async () => { - const aptosWallet = new MagicAptosWallet(undefined); - - // Target method and assert - expect(() => aptosWallet.network()).rejects.toThrowError(); -}); - -test('Call wallet()', async () => { - const magic = createMagicSDKWithExtension({}, [ - new AptosExtension({ - nodeUrl: APTOS_NODE_URL, - }), - ]); - - const aptosWallet = new MagicAptosWallet(magic); - - // Target method - const result = await aptosWallet.wallet(); - - // Assert - expect(result).toEqual({ - name: APTOS_WALLET_NAME, - url: 'https://magic.link/', - icon: ICON_BASE64, - }); -}); - -test('Call onNetworkChange', async () => { - const magic = createMagicSDKWithExtension({}, [ - new AptosExtension({ - nodeUrl: APTOS_NODE_URL, - }), - ]); - - const aptosWallet = new MagicAptosWallet(magic); - - const callback = jest.fn(); - - // Target method - await aptosWallet.onNetworkChange(callback); - - // Assert - expect(callback).toBeCalledTimes(1); -}); - -test('Call onAccountChange', async () => { - const magic = createMagicSDKWithExtension({}, [ - new AptosExtension({ - nodeUrl: APTOS_NODE_URL, - }), - ]); - - const aptosWallet = new MagicAptosWallet(magic); - - const callback = jest.fn(); - - // Target method - await aptosWallet.onAccountChange(callback); - - // Assert - expect(callback).toBeCalledTimes(1); -}); diff --git a/packages/@magic-ext/aptos/test/tsconfig.json b/packages/@magic-ext/aptos/test/tsconfig.json deleted file mode 100644 index 967dc1a17..000000000 --- a/packages/@magic-ext/aptos/test/tsconfig.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "../../../../tsconfig.settings.test.json" -} diff --git a/packages/@magic-ext/aptos/tsconfig.json b/packages/@magic-ext/aptos/tsconfig.json deleted file mode 100644 index c268bce54..000000000 --- a/packages/@magic-ext/aptos/tsconfig.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "extends": "../../../tsconfig.settings.json", -} - diff --git a/packages/@magic-ext/avalanche/.lintstagedrc.yml b/packages/@magic-ext/avalanche/.lintstagedrc.yml deleted file mode 100644 index 1c250ad65..000000000 --- a/packages/@magic-ext/avalanche/.lintstagedrc.yml +++ /dev/null @@ -1,2 +0,0 @@ -'*.{ts,tsx}': - - eslint --fix diff --git a/packages/@magic-ext/avalanche/.prettierrc.js b/packages/@magic-ext/avalanche/.prettierrc.js deleted file mode 100644 index 6177cac66..000000000 --- a/packages/@magic-ext/avalanche/.prettierrc.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('../../../.prettierrc.js'); diff --git a/packages/@magic-ext/avalanche/CHANGELOG.md b/packages/@magic-ext/avalanche/CHANGELOG.md deleted file mode 100644 index 87d7d0473..000000000 --- a/packages/@magic-ext/avalanche/CHANGELOG.md +++ /dev/null @@ -1,687 +0,0 @@ -# v28.2.2 (Thu Feb 05 2026) - -#### ⚠️ Pushed to `master` - -- Merge branch 'master' of github.com:magiclabs/magic-js ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v28.2.0 (Thu Jan 29 2026) - -#### 🚀 Enhancement - -- feat: Magic Widget extension [#979](https://github.com/magiclabs/magic-js/pull/979) ([@joshuascan](https://github.com/joshuascan) [@sherzod-bakhodirov](https://github.com/sherzod-bakhodirov)) - -#### Authors: 2 - -- [@sherzod-bakhodirov](https://github.com/sherzod-bakhodirov) -- Josh Scanlan ([@joshuascan](https://github.com/joshuascan)) - ---- - -# v28.1.0 (Thu Jan 29 2026) - -#### ⚠️ Pushed to `master` - -- Merge branch 'master' of github.com:magiclabs/magic-js ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v28.0.0 (Tue Jan 13 2026) - -#### 🐛 Bug Fix - -- heal Auto package versioning [#997](https://github.com/magiclabs/magic-js/pull/997) ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v26.0.0 (Fri Oct 03 2025) - -#### 💥 Breaking Change - -- EVM Extension and new extension methods [#915](https://github.com/magiclabs/magic-js/pull/915) ([@joshuascan](https://github.com/joshuascan)) - -#### Authors: 1 - -- Josh Scanlan ([@joshuascan](https://github.com/joshuascan)) - ---- - -# v24.0.6 (Tue Apr 29 2025) - -#### 🐛 Bug Fix - -- Revert "Remove Extension class and rename InternalExtension to MagicExtension" [#882](https://github.com/magiclabs/magic-js/pull/882) ([@Ethella](https://github.com/Ethella)) -- Remove Extension class and rename InternalExtension to MagicExtension [#881](https://github.com/magiclabs/magic-js/pull/881) ([@devin-ai-integration[bot]](https://github.com/devin-ai-integration[bot]) [@Ethella](https://github.com/Ethella)) - -#### Authors: 2 - -- [@devin-ai-integration[bot]](https://github.com/devin-ai-integration[bot]) -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v24.0.4 (Tue Apr 01 2025) - -#### 🐛 Bug Fix - -- Merge remote-tracking branch 'origin/master' into PDEEXP-2318-imx-dont-throw-error-if-the-iframe-is-failing ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v23.20.0 (Wed Jan 08 2025) - -#### 🐛 Bug Fix - -- Merge branch 'master' into hcote-web3modal ([@hcote](https://github.com/hcote)) - -#### Authors: 1 - -- Hunter Cote ([@hcote](https://github.com/hcote)) - ---- - -# v23.19.0 (Wed Dec 25 2024) - -#### 🐛 Bug Fix - -- Merge remote-tracking branch 'origin/master' into PDEEXP-530-wallet-connect-login-with-redirect ([@Ethella](https://github.com/Ethella)) -- resolve conflict ([@Ethella](https://github.com/Ethella)) -- * resolve conflict ([@Ethella](https://github.com/Ethella)) -- Merge branch 'master' into PDEEXP-530-wallet-connect-login-with-redirect ([@mattupham](https://github.com/mattupham)) - -#### Authors: 2 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) -- Matt Upham ([@mattupham](https://github.com/mattupham)) - ---- - -# v23.18.1 (Thu Dec 05 2024) - -#### 🐛 Bug Fix - -- fix: typos [#830](https://github.com/magiclabs/magic-js/pull/830) ([@omahs](https://github.com/omahs) [@Ethella](https://github.com/Ethella)) -- chore: bump eslint version [#834](https://github.com/magiclabs/magic-js/pull/834) ([@otabek-magic](https://github.com/otabek-magic) [@Ethella](https://github.com/Ethella)) -- Merge branch 'master' into PDEEXP-1985-bump-magic-sdk-eslint-version-to-9 ([@otabek-magic](https://github.com/otabek-magic)) -- chore: update eslint config ([@otabek-magic](https://github.com/otabek-magic)) -- chore: update to eslint 9 in magic-sdk magic-ext ([@otabek-magic](https://github.com/otabek-magic)) -- Merge branch 'master' into patch-1 ([@Ethella](https://github.com/Ethella)) - -#### Authors: 3 - -- [@otabek-magic](https://github.com/otabek-magic) -- Jerry Liu ([@Ethella](https://github.com/Ethella)) -- omahs ([@omahs](https://github.com/omahs)) - ---- - -# v23.18.0 (Mon Nov 25 2024) - -#### 🐛 Bug Fix - -- Merge branch 'master' into PDEEXP-1954-OAuth-popup-flow-consolidation ([@sherzod-bakhodirov](https://github.com/sherzod-bakhodirov)) - -#### Authors: 1 - -- [@sherzod-bakhodirov](https://github.com/sherzod-bakhodirov) - ---- - -# v23.16.0 (Fri Oct 25 2024) - -#### 🐛 Bug Fix - -- Merge branch 'master' into PDEEXP-1951-Lost-Device-Event-Does-Not-Emit-Whitelabel-MFA-provider ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v23.15.0 (Fri Oct 25 2024) - -#### 🐛 Bug Fix - -- Merge branch 'master' into cancel-event-for-recovery-flow ([@sukhrobbekodilov](https://github.com/sukhrobbekodilov)) - -#### Authors: 1 - -- [@sukhrobbekodilov](https://github.com/sukhrobbekodilov) - ---- - -# v23.14.0 (Fri Oct 18 2024) - -#### 🐛 Bug Fix - -- Merge branch 'master' into missed_type_for_recovery_factor ([@sukhrobbekodilov](https://github.com/sukhrobbekodilov)) - -#### Authors: 1 - -- [@sukhrobbekodilov](https://github.com/sukhrobbekodilov) - ---- - -# v23.13.0 (Fri Oct 18 2024) - -#### 🐛 Bug Fix - -- Update .deepsource.toml [#804](https://github.com/magiclabs/magic-js/pull/804) ([@Magic-Brandan](https://github.com/Magic-Brandan)) - -#### Authors: 1 - -- [@Magic-Brandan](https://github.com/Magic-Brandan) - ---- - -# v23.11.0 (Wed Sep 25 2024) - -#### 🐛 Bug Fix - -- Merge branch 'master' into sherzod-PDEEXP-1711-Support-MFA-setup-whitelabel-support ([@sherzod-bakhodirov](https://github.com/sherzod-bakhodirov)) - -#### Authors: 1 - -- [@sherzod-bakhodirov](https://github.com/sherzod-bakhodirov) - ---- - -# v23.9.0 (Wed Sep 11 2024) - -#### 🐛 Bug Fix - -- Merge branch 'master' into sherzod-PDEEXP-1711-Support-MFA-setup-whitelabel-support ([@sherzod-bakhodirov](https://github.com/sherzod-bakhodirov)) -- Merge branch 'master' into hcote-cosmos-options ([@hcote](https://github.com/hcote)) - -#### Authors: 2 - -- [@sherzod-bakhodirov](https://github.com/sherzod-bakhodirov) -- Hunter Cote ([@hcote](https://github.com/hcote)) - ---- - -# v23.6.0 (Tue Sep 03 2024) - -#### 🐛 Bug Fix - -- Merge branch 'master' of https://github.com/magiclabs/magic-js into khamdam-sc-PDEEXP-54-whitelabel-sms-login ([@khamdam-magic](https://github.com/khamdam-magic)) -- fix: update branch ([@khamdam-magic](https://github.com/khamdam-magic)) -- fix(): resolve conflicts ([@khamdam-magic](https://github.com/khamdam-magic)) - -#### Authors: 1 - -- [@khamdam-magic](https://github.com/khamdam-magic) - ---- - -# v23.4.0 (Tue Aug 13 2024) - -#### 🐛 Bug Fix - -- Merge remote-tracking branch 'refs/remotes/origin/master' into Add-two-more-mfa-flags ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v23.0.4 (Thu Jun 06 2024) - -#### 🐛 Bug Fix - -- Merge remote-tracking branch 'refs/remotes/origin/master' into PDEEXP-1279-done-event-not-firing-in-whitelabel-email-login-flow ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v23.0.0 (Fri Mar 22 2024) - -#### 🚀 Enhancement - -- Add private key reveal method [#699](https://github.com/magiclabs/magic-js/pull/699) ([@joshuascan](https://github.com/joshuascan)) - -#### 🐛 Bug Fix - -- "Bump independent versions \[skip ci\]" (team@magic.link) -- Update CHANGELOG.md \[skip ci\] (team@magic.link) -- Merge branch 'master' into patjacobs-oauth-v2-apple ([@patjacobs-magic](https://github.com/patjacobs-magic)) -- Merge branch 'master' into joshscanlan-pk-reveal-method ([@joshuascan](https://github.com/joshuascan)) - -#### Authors: 3 - -- [@patjacobs-magic](https://github.com/patjacobs-magic) -- Josh Scanlan ([@joshuascan](https://github.com/joshuascan)) -- Magic Labs (team@magic.link) - ---- - -# v22.0.0 (Fri Mar 15 2024) - -#### 🐛 Bug Fix - -- "Bump independent versions \[skip ci\]" (team@magic.link) -- Update CHANGELOG.md \[skip ci\] (team@magic.link) -- Merge branch 'master' into patjacobs-oauth-v2-apple ([@patjacobs-magic](https://github.com/patjacobs-magic)) - -#### Authors: 2 - -- [@patjacobs-magic](https://github.com/patjacobs-magic) -- Magic Labs (team@magic.link) - ---- - -# v21.0.0 (Sat Mar 09 2024) - -#### 🐛 Bug Fix - -- "Bump independent versions \[skip ci\]" (team@magic.link) -- Update CHANGELOG.md \[skip ci\] (team@magic.link) -- Merge branch 'master' into patjacobs-oauth-v2-apple ([@patjacobs-magic](https://github.com/patjacobs-magic)) - -#### Authors: 2 - -- [@patjacobs-magic](https://github.com/patjacobs-magic) -- Magic Labs (team@magic.link) - ---- - -# v20.0.0 (Thu Feb 29 2024) - -#### 🐛 Bug Fix - -- Merge branch 'master' into patjacobs-oauth-v2-apple ([@patjacobs-magic](https://github.com/patjacobs-magic)) -- "Bump independent versions \[skip ci\]" (team@magic.link) -- Update CHANGELOG.md \[skip ci\] (team@magic.link) - -#### Authors: 2 - -- [@patjacobs-magic](https://github.com/patjacobs-magic) -- Magic Labs (team@magic.link) - ---- - -# v19.0.0 (Tue Feb 27 2024) - -#### 🐛 Bug Fix - -- "Bump independent versions \[skip ci\]" (team@magic.link) - -#### Authors: 1 - -- Magic Labs (team@magic.link) - ---- - -# v17.1.1 (Sat Feb 10 2024) - -#### 🐛 Bug Fix - -- Merge branch 'master' into PDEEXP-253-whitelabel-update-email-with-ui-missing-event-when-email-address-already-in-use ([@joshuascan](https://github.com/joshuascan)) - -#### Authors: 1 - -- Josh Scanlan ([@joshuascan](https://github.com/joshuascan)) - ---- - -# v16.4.1 (Fri Dec 15 2023) - -#### 🐛 Bug Fix - -- Merge branch 'master' into rominhalltari-sc-91530-investigate-and-provide-solution-for-issue ([@romin-halltari](https://github.com/romin-halltari)) - -#### Authors: 1 - -- [@romin-halltari](https://github.com/romin-halltari) - ---- - -# v16.4.0 (Thu Dec 14 2023) - -#### 🐛 Bug Fix - -- Merge branch 'master' into split-key-device-share ([@Dizigen](https://github.com/Dizigen)) - -#### Authors: 1 - -- David He ([@Dizigen](https://github.com/Dizigen)) - ---- - -# v16.3.2 (Tue Nov 28 2023) - -#### 🐛 Bug Fix - -- Merge branch 'master' into josh-sc-90794-add-types-export-to-scaffolding ([@joshuascan](https://github.com/joshuascan)) - -#### Authors: 1 - -- Josh Scanlan ([@joshuascan](https://github.com/joshuascan)) - ---- - -# v16.3.1 (Tue Nov 21 2023) - -#### 🐛 Bug Fix - -- Fix TypeScript resolution for @magic-ext/* packages when using modern module resolution (node16 etc) [#670](https://github.com/magiclabs/magic-js/pull/670) ([@rjwebb](https://github.com/rjwebb) [@joshuascan](https://github.com/joshuascan)) -- Merge branch 'master' into rjwebb/669-fix-node16-magic-ext-imports ([@joshuascan](https://github.com/joshuascan)) -- Update package.json exports to expose types when using node16 typescript, for algorand, auth, avalanche, bitcoin, conflux, cosmos, ed25519, flow, gdkms, harmony, hedera, icon, near, oauth, oidc, polkadot, react-native-bare-oauth, react-native-expo-oauth, taquito, terra, tezos, webauthn and zilliqa ([@rjwebb](https://github.com/rjwebb)) - -#### Authors: 2 - -- Bob Webb ([@rjwebb](https://github.com/rjwebb)) -- Josh Scanlan ([@joshuascan](https://github.com/joshuascan)) - ---- - -# v16.2.1 (Tue Nov 14 2023) - -#### 🐛 Bug Fix - -- Merge branch 'master' into injectable-webcrypto-jwt-for-session-persistence ([@Dizigen](https://github.com/Dizigen)) - -#### Authors: 1 - -- David He ([@Dizigen](https://github.com/Dizigen)) - ---- - -# v16.2.0 (Tue Oct 24 2023) - -#### 🐛 Bug Fix - -- Merge branch 'master' into hcote-support-sepolia-natively ([@hcote](https://github.com/hcote)) - -#### Authors: 1 - -- Hunter Cote ([@hcote](https://github.com/hcote)) - ---- - -# v16.0.0 (Fri Oct 13 2023) - -#### 🐛 Bug Fix - -- Merge branch 'master' into force-ctor-preload-iframe ([@Dizigen](https://github.com/Dizigen)) - -#### Authors: 1 - -- David He ([@Dizigen](https://github.com/Dizigen)) - ---- - -# v15.1.2 (Wed Oct 11 2023) - -#### 🐛 Bug Fix - -- Removes React Native entrypoint from all extension's package.json [#644](https://github.com/magiclabs/magic-js/pull/644) ([@Ariflo](https://github.com/Ariflo)) -- Removes React Native entrypoint from all extensions package.json ([@Ariflo](https://github.com/Ariflo)) - -#### Authors: 1 - -- Arian Flores ([@Ariflo](https://github.com/Ariflo)) - ---- - -# v15.1.1 (Mon Oct 02 2023) - -#### 🐛 Bug Fix - -- Merge branch 'master' into patjacobs-sc-83016-ux-optimization-expired-email-otps ([@patjacobs-magic](https://github.com/patjacobs-magic)) - -#### Authors: 1 - -- [@patjacobs-magic](https://github.com/patjacobs-magic) - ---- - -# v15.1.0 (Fri Sep 29 2023) - -#### 🐛 Bug Fix - -- Merge remote-tracking branch 'origin/master' into jerryliu-sc-87830-optimize-webcrypto-implementation-to-generate ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v14.3.0 (Wed Aug 16 2023) - -#### 🐛 Bug Fix - -- Merge branch 'master' into josh-sc-75022-standalone-update-email-v2 ([@joshuascan](https://github.com/joshuascan)) - -#### Authors: 1 - -- Josh Scanlan ([@joshuascan](https://github.com/joshuascan)) - ---- - -# v14.1.0 (Tue Aug 08 2023) - -#### 🐛 Bug Fix - -- Merge remote-tracking branch 'origin/master' into jerryliu-sc-81984-update-loginwithemailotp-interface-with-new ([@Ethella](https://github.com/Ethella)) -- Merge remote-tracking branch 'origin/master' ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v13.3.0 (Fri Jul 07 2023) - -#### ⚠️ Pushed to `master` - -- Merge remote-tracking branch 'origin/master' ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v13.2.0 (Fri Jun 23 2023) - -#### 🚀 Enhancement - -- Auto version bumping [#557](https://github.com/magiclabs/magic-js/pull/557) ([@Ethella](https://github.com/Ethella) [@Ariflo](https://github.com/Ariflo)) -- Updates License to Apache 2.0 [#551](https://github.com/magiclabs/magic-js/pull/551) ([@Ariflo](https://github.com/Ariflo)) - -#### 🐛 Bug Fix - -- Match NPM Version ([@Ariflo](https://github.com/Ariflo)) -- Update CHANGELOG.md \[skip ci\] ([@Ethella](https://github.com/Ethella)) -- 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)) -- Updates License to Apache 2.0 ([@Ariflo](https://github.com/Ariflo)) - -#### Authors: 2 - -- Arian Flores ([@Ariflo](https://github.com/Ariflo)) -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v13.1.0 (Fri Jun 23 2023) - -#### 🚀 Enhancement - -- Updates License to Apache 2.0 [#551](https://github.com/magiclabs/magic-js/pull/551) ([@Ariflo](https://github.com/Ariflo)) - -#### 🐛 Bug Fix - -- 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)) -- Updates License to Apache 2.0 ([@Ariflo](https://github.com/Ariflo)) - -#### Authors: 1 - -- Arian Flores ([@Ariflo](https://github.com/Ariflo)) - ---- - -# v12.3.0 (Fri May 26 2023) - -#### 🐛 Bug Fix - -- Merge remote-tracking branch 'origin/master' into jerryliu_hotfix_gdkms ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v12.1.5 (Fri May 19 2023) - -#### 🐛 Bug Fix - -- Merge remote-tracking branch 'origin/master' into jerryliu-sc-77755-kresus-hotfix ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v12.1.1 (Fri Apr 21 2023) - -#### 🐛 Bug Fix - -- Merge remote-tracking branch 'origin/master' into jerryliu-sc-75641-lazer-request-showsettings-page-mfa ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v12.1.0 (Thu Apr 20 2023) - -#### 🐛 Bug Fix - -- Merge branch 'master' into jerryliu-sc-75641-lazer-request-showsettings-page-mfa ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v11.1.0 (Tue Apr 04 2023) - -#### 🐛 Bug Fix - -- Merge branch 'master' into briancleary7114-sc-73967-auto-publish-canary-version-for-magic-sdk ([@bcleary06](https://github.com/bcleary06)) - -#### Authors: 1 - -- Brian Cleary ([@bcleary06](https://github.com/bcleary06)) - ---- - -# v11.0.0 (Fri Mar 31 2023) - -#### 🐛 Bug Fix - -- Merge remote-tracking branch 'origin/master' into jerryliu-sc-74424-email-otp-login-invalid-email-otp-event ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v8.6.2 (Tue Mar 21 2023) - -#### 🐛 Bug Fix - -- Merge branch 'master' into briancleary7114-sc-71135-add-checkout-sdk-method ([@bcleary06](https://github.com/bcleary06)) - -#### Authors: 1 - -- Brian Cleary ([@bcleary06](https://github.com/bcleary06)) - ---- - -# v8.5.0 (Tue Feb 28 2023) - -#### 🐛 Bug Fix - -- Merge branch 'master' of github.com:magiclabs/magic-js into mushfichowdhury-login-with-email-otp-whitelabel ([@mushfichowdhury-magic](https://github.com/mushfichowdhury-magic)) - -#### Authors: 1 - -- Mushfi Chowdhury ([@mushfichowdhury-magic](https://github.com/mushfichowdhury-magic)) - ---- - -# v3.0.1 (Tue Jan 25 2022) - -#### 🐛 Bug Fix - -- Fix CDN build targets [#270](https://github.com/magiclabs/magic-js/pull/270) ([@smithki](https://github.com/smithki)) -- Fix CDN issues related to ESBuild ([@smithki](https://github.com/smithki)) - -#### Authors: 1 - -- Ian K Smith ([@smithki](https://github.com/smithki)) - ---- - -# v3.0.0 (Tue Jan 25 2022) - -#### 💥 Breaking Change - -- Switch from `microbundle` to `esbuild` [#220](https://github.com/magiclabs/magic-js/pull/220) ([@smithki](https://github.com/smithki)) - -#### 🐛 Bug Fix - -- Merge with master ([@smithki](https://github.com/smithki)) -- Merge branch 'master' into feat/faster-builds ([@smithki](https://github.com/smithki)) -- Modify CDN default exports ([@smithki](https://github.com/smithki)) -- Support newly added Magic JS extensions in ESBuild ([@smithki](https://github.com/smithki)) - -#### Authors: 1 - -- Ian K Smith ([@smithki](https://github.com/smithki)) - ---- - -# v1.0.0 (Thu Dec 09 2021) - -#### 💥 Breaking Change - -- Jerryliu sc 44386 migrate web3 related magic ext repos to magic (PART 1) [#248](https://github.com/magiclabs/magic-js/pull/248) ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - diff --git a/packages/@magic-ext/avalanche/LICENSE b/packages/@magic-ext/avalanche/LICENSE deleted file mode 100644 index d9a10c0d8..000000000 --- a/packages/@magic-ext/avalanche/LICENSE +++ /dev/null @@ -1,176 +0,0 @@ - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS diff --git a/packages/@magic-ext/avalanche/eslint.config.mjs b/packages/@magic-ext/avalanche/eslint.config.mjs deleted file mode 100644 index a94768e85..000000000 --- a/packages/@magic-ext/avalanche/eslint.config.mjs +++ /dev/null @@ -1,21 +0,0 @@ -import path from 'node:path'; -import { fileURLToPath } from 'node:url'; -import rootEslintConfig from '../../../eslint.config.mjs'; - -const __filename = fileURLToPath(import.meta.url); -const __dirname = path.dirname(__filename); - -export default [ - ...rootEslintConfig, - { - ignores: ['node_modules', 'coverage', 'dist', 'eslint.config.mjs', 'jest.config.ts'], - }, - { - languageOptions: { - parserOptions: { - project: ['./tsconfig.json'], - tsconfigRootDir: __dirname, - }, - }, - }, -]; diff --git a/packages/@magic-ext/avalanche/package.json b/packages/@magic-ext/avalanche/package.json deleted file mode 100644 index 13090d26f..000000000 --- a/packages/@magic-ext/avalanche/package.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "name": "@magic-ext/avalanche", - "version": "28.8.0", - "description": "magic avalanche extension", - "author": "Magic (https://magic.link/)", - "license": "MIT", - "repository": { - "type": "git", - "url": "https://github.com/magiclabs/magic-js" - }, - "files": [ - "dist" - ], - "target": "neutral", - "cdnGlobalName": "MagicAvalancheExtension", - "main": "./dist/cjs/index.js", - "module": "./dist/es/index.js", - "types": "./dist/types/index.d.ts", - "jsdelivr": "./dist/extension.js", - "exports": { - "import": "./dist/es/index.mjs", - "types": "./dist/types/index.d.ts", - "require": "./dist/cjs/index.js" - }, - "externals": { - "include": [ - "@magic-sdk/provider" - ] - }, - "devDependencies": { - "@magic-sdk/provider": "^33.9.0" - } -} diff --git a/packages/@magic-ext/avalanche/src/index.cdn.ts b/packages/@magic-ext/avalanche/src/index.cdn.ts deleted file mode 100644 index 709493ea9..000000000 --- a/packages/@magic-ext/avalanche/src/index.cdn.ts +++ /dev/null @@ -1,3 +0,0 @@ -import { AvalancheExtension } from './index'; - -export default AvalancheExtension; diff --git a/packages/@magic-ext/avalanche/src/index.native.ts b/packages/@magic-ext/avalanche/src/index.native.ts deleted file mode 100644 index ea465c2a3..000000000 --- a/packages/@magic-ext/avalanche/src/index.native.ts +++ /dev/null @@ -1 +0,0 @@ -export * from './index'; diff --git a/packages/@magic-ext/avalanche/src/index.ts b/packages/@magic-ext/avalanche/src/index.ts deleted file mode 100644 index 8e21bd8ad..000000000 --- a/packages/@magic-ext/avalanche/src/index.ts +++ /dev/null @@ -1,38 +0,0 @@ -import { MultichainExtension } from '@magic-sdk/provider'; -import { AvaxConfig } from './types'; - -export class AvalancheExtension extends MultichainExtension<'avax'> { - name = 'avax' as const; - - constructor(public avalancheConfig: AvaxConfig) { - super({ - rpcUrl: avalancheConfig.rpcUrl, - chainType: 'AVAX', - options: { - chainId: avalancheConfig.chainId, - networkId: avalancheConfig.networkId, - }, - }); - } - - public signTransaction = ( - sendAmount: number, - assetId: string, - toAddresses: Array, - fromAddresses: Array, - changeAddresses: Array, - ) => { - return this.request({ - id: 42, - jsonrpc: '2.0', - method: 'ava_signTransaction', - params: { - sendAmount, - assetId, - toAddresses, - fromAddresses, - changeAddresses, - }, - }); - }; -} diff --git a/packages/@magic-ext/avalanche/src/types.ts b/packages/@magic-ext/avalanche/src/types.ts deleted file mode 100644 index a02e33053..000000000 --- a/packages/@magic-ext/avalanche/src/types.ts +++ /dev/null @@ -1,5 +0,0 @@ -export interface AvaxConfig { - rpcUrl: string; - chainId: string; - networkId: number; -} diff --git a/packages/@magic-ext/avalanche/tsconfig.json b/packages/@magic-ext/avalanche/tsconfig.json deleted file mode 100644 index c268bce54..000000000 --- a/packages/@magic-ext/avalanche/tsconfig.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "extends": "../../../tsconfig.settings.json", -} - diff --git a/packages/@magic-ext/conflux/.lintstagedrc.yml b/packages/@magic-ext/conflux/.lintstagedrc.yml deleted file mode 100644 index 1c250ad65..000000000 --- a/packages/@magic-ext/conflux/.lintstagedrc.yml +++ /dev/null @@ -1,2 +0,0 @@ -'*.{ts,tsx}': - - eslint --fix diff --git a/packages/@magic-ext/conflux/.prettierrc.js b/packages/@magic-ext/conflux/.prettierrc.js deleted file mode 100644 index 6177cac66..000000000 --- a/packages/@magic-ext/conflux/.prettierrc.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('../../../.prettierrc.js'); diff --git a/packages/@magic-ext/conflux/CHANGELOG.md b/packages/@magic-ext/conflux/CHANGELOG.md deleted file mode 100644 index a6cddcd9c..000000000 --- a/packages/@magic-ext/conflux/CHANGELOG.md +++ /dev/null @@ -1,695 +0,0 @@ -# v26.2.2 (Thu Feb 05 2026) - -#### ⚠️ Pushed to `master` - -- Merge branch 'master' of github.com:magiclabs/magic-js ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v26.2.0 (Thu Jan 29 2026) - -#### 🚀 Enhancement - -- feat: Magic Widget extension [#979](https://github.com/magiclabs/magic-js/pull/979) ([@joshuascan](https://github.com/joshuascan) [@sherzod-bakhodirov](https://github.com/sherzod-bakhodirov)) - -#### Authors: 2 - -- [@sherzod-bakhodirov](https://github.com/sherzod-bakhodirov) -- Josh Scanlan ([@joshuascan](https://github.com/joshuascan)) - ---- - -# v26.1.0 (Thu Jan 29 2026) - -#### ⚠️ Pushed to `master` - -- Merge branch 'master' of github.com:magiclabs/magic-js ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v26.0.0 (Tue Jan 13 2026) - -#### 🐛 Bug Fix - -- heal Auto package versioning [#997](https://github.com/magiclabs/magic-js/pull/997) ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v24.0.0 (Fri Oct 03 2025) - -#### 💥 Breaking Change - -- EVM Extension and new extension methods [#915](https://github.com/magiclabs/magic-js/pull/915) ([@joshuascan](https://github.com/joshuascan)) - -#### Authors: 1 - -- Josh Scanlan ([@joshuascan](https://github.com/joshuascan)) - ---- - -# v22.0.6 (Tue Apr 29 2025) - -#### 🐛 Bug Fix - -- Revert "Remove Extension class and rename InternalExtension to MagicExtension" [#882](https://github.com/magiclabs/magic-js/pull/882) ([@Ethella](https://github.com/Ethella)) -- Remove Extension class and rename InternalExtension to MagicExtension [#881](https://github.com/magiclabs/magic-js/pull/881) ([@devin-ai-integration[bot]](https://github.com/devin-ai-integration[bot]) [@Ethella](https://github.com/Ethella)) - -#### Authors: 2 - -- [@devin-ai-integration[bot]](https://github.com/devin-ai-integration[bot]) -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v22.0.4 (Tue Apr 01 2025) - -#### 🐛 Bug Fix - -- Merge remote-tracking branch 'origin/master' into PDEEXP-2318-imx-dont-throw-error-if-the-iframe-is-failing ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v21.20.0 (Wed Jan 08 2025) - -#### 🐛 Bug Fix - -- Merge branch 'master' into hcote-web3modal ([@hcote](https://github.com/hcote)) - -#### Authors: 1 - -- Hunter Cote ([@hcote](https://github.com/hcote)) - ---- - -# v21.19.0 (Wed Dec 25 2024) - -#### 🐛 Bug Fix - -- Merge remote-tracking branch 'origin/master' into PDEEXP-530-wallet-connect-login-with-redirect ([@Ethella](https://github.com/Ethella)) -- resolve conflict ([@Ethella](https://github.com/Ethella)) -- * resolve conflict ([@Ethella](https://github.com/Ethella)) -- Merge branch 'master' into PDEEXP-530-wallet-connect-login-with-redirect ([@mattupham](https://github.com/mattupham)) - -#### Authors: 2 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) -- Matt Upham ([@mattupham](https://github.com/mattupham)) - ---- - -# v21.18.1 (Thu Dec 05 2024) - -#### 🐛 Bug Fix - -- fix: typos [#830](https://github.com/magiclabs/magic-js/pull/830) ([@omahs](https://github.com/omahs) [@Ethella](https://github.com/Ethella)) -- chore: bump eslint version [#834](https://github.com/magiclabs/magic-js/pull/834) ([@otabek-magic](https://github.com/otabek-magic) [@Ethella](https://github.com/Ethella)) -- Merge branch 'master' into PDEEXP-1985-bump-magic-sdk-eslint-version-to-9 ([@otabek-magic](https://github.com/otabek-magic)) -- chore: update eslint config ([@otabek-magic](https://github.com/otabek-magic)) -- chore: update to eslint 9 in magic-sdk magic-ext ([@otabek-magic](https://github.com/otabek-magic)) -- Merge branch 'master' into patch-1 ([@Ethella](https://github.com/Ethella)) - -#### Authors: 3 - -- [@otabek-magic](https://github.com/otabek-magic) -- Jerry Liu ([@Ethella](https://github.com/Ethella)) -- omahs ([@omahs](https://github.com/omahs)) - ---- - -# v21.18.0 (Mon Nov 25 2024) - -#### 🐛 Bug Fix - -- Merge branch 'master' into PDEEXP-1954-OAuth-popup-flow-consolidation ([@sherzod-bakhodirov](https://github.com/sherzod-bakhodirov)) - -#### Authors: 1 - -- [@sherzod-bakhodirov](https://github.com/sherzod-bakhodirov) - ---- - -# v21.16.0 (Fri Oct 25 2024) - -#### 🐛 Bug Fix - -- Merge branch 'master' into PDEEXP-1951-Lost-Device-Event-Does-Not-Emit-Whitelabel-MFA-provider ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v21.15.0 (Fri Oct 25 2024) - -#### 🐛 Bug Fix - -- Merge branch 'master' into cancel-event-for-recovery-flow ([@sukhrobbekodilov](https://github.com/sukhrobbekodilov)) - -#### Authors: 1 - -- [@sukhrobbekodilov](https://github.com/sukhrobbekodilov) - ---- - -# v21.14.0 (Fri Oct 18 2024) - -#### 🐛 Bug Fix - -- Merge branch 'master' into missed_type_for_recovery_factor ([@sukhrobbekodilov](https://github.com/sukhrobbekodilov)) - -#### Authors: 1 - -- [@sukhrobbekodilov](https://github.com/sukhrobbekodilov) - ---- - -# v21.13.0 (Fri Oct 18 2024) - -#### 🐛 Bug Fix - -- Update .deepsource.toml [#804](https://github.com/magiclabs/magic-js/pull/804) ([@Magic-Brandan](https://github.com/Magic-Brandan)) - -#### Authors: 1 - -- [@Magic-Brandan](https://github.com/Magic-Brandan) - ---- - -# v21.11.0 (Wed Sep 25 2024) - -#### 🐛 Bug Fix - -- Merge branch 'master' into sherzod-PDEEXP-1711-Support-MFA-setup-whitelabel-support ([@sherzod-bakhodirov](https://github.com/sherzod-bakhodirov)) - -#### Authors: 1 - -- [@sherzod-bakhodirov](https://github.com/sherzod-bakhodirov) - ---- - -# v21.9.0 (Wed Sep 11 2024) - -#### 🐛 Bug Fix - -- Merge branch 'master' into sherzod-PDEEXP-1711-Support-MFA-setup-whitelabel-support ([@sherzod-bakhodirov](https://github.com/sherzod-bakhodirov)) -- Merge branch 'master' into hcote-cosmos-options ([@hcote](https://github.com/hcote)) - -#### Authors: 2 - -- [@sherzod-bakhodirov](https://github.com/sherzod-bakhodirov) -- Hunter Cote ([@hcote](https://github.com/hcote)) - ---- - -# v21.6.0 (Tue Sep 03 2024) - -#### 🐛 Bug Fix - -- Merge branch 'master' of https://github.com/magiclabs/magic-js into khamdam-sc-PDEEXP-54-whitelabel-sms-login ([@khamdam-magic](https://github.com/khamdam-magic)) -- fix: update branch ([@khamdam-magic](https://github.com/khamdam-magic)) -- fix(): resolve conflicts ([@khamdam-magic](https://github.com/khamdam-magic)) - -#### Authors: 1 - -- [@khamdam-magic](https://github.com/khamdam-magic) - ---- - -# v21.4.0 (Tue Aug 13 2024) - -#### 🐛 Bug Fix - -- Merge remote-tracking branch 'refs/remotes/origin/master' into Add-two-more-mfa-flags ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v21.0.4 (Thu Jun 06 2024) - -#### 🐛 Bug Fix - -- Merge remote-tracking branch 'refs/remotes/origin/master' into PDEEXP-1279-done-event-not-firing-in-whitelabel-email-login-flow ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v21.0.0 (Fri Mar 22 2024) - -#### 🚀 Enhancement - -- Add private key reveal method [#699](https://github.com/magiclabs/magic-js/pull/699) ([@joshuascan](https://github.com/joshuascan)) - -#### 🐛 Bug Fix - -- "Bump independent versions \[skip ci\]" (team@magic.link) -- Update CHANGELOG.md \[skip ci\] (team@magic.link) -- Merge branch 'master' into patjacobs-oauth-v2-apple ([@patjacobs-magic](https://github.com/patjacobs-magic)) -- Merge branch 'master' into joshscanlan-pk-reveal-method ([@joshuascan](https://github.com/joshuascan)) - -#### Authors: 3 - -- [@patjacobs-magic](https://github.com/patjacobs-magic) -- Josh Scanlan ([@joshuascan](https://github.com/joshuascan)) -- Magic Labs (team@magic.link) - ---- - -# v20.0.0 (Fri Mar 15 2024) - -#### 🐛 Bug Fix - -- "Bump independent versions \[skip ci\]" (team@magic.link) -- Update CHANGELOG.md \[skip ci\] (team@magic.link) -- Merge branch 'master' into patjacobs-oauth-v2-apple ([@patjacobs-magic](https://github.com/patjacobs-magic)) - -#### Authors: 2 - -- [@patjacobs-magic](https://github.com/patjacobs-magic) -- Magic Labs (team@magic.link) - ---- - -# v19.0.0 (Sat Mar 09 2024) - -#### 🐛 Bug Fix - -- "Bump independent versions \[skip ci\]" (team@magic.link) -- Update CHANGELOG.md \[skip ci\] (team@magic.link) -- Merge branch 'master' into patjacobs-oauth-v2-apple ([@patjacobs-magic](https://github.com/patjacobs-magic)) - -#### Authors: 2 - -- [@patjacobs-magic](https://github.com/patjacobs-magic) -- Magic Labs (team@magic.link) - ---- - -# v18.0.0 (Thu Feb 29 2024) - -#### 🐛 Bug Fix - -- Merge branch 'master' into patjacobs-oauth-v2-apple ([@patjacobs-magic](https://github.com/patjacobs-magic)) -- "Bump independent versions \[skip ci\]" (team@magic.link) -- Update CHANGELOG.md \[skip ci\] (team@magic.link) - -#### Authors: 2 - -- [@patjacobs-magic](https://github.com/patjacobs-magic) -- Magic Labs (team@magic.link) - ---- - -# v17.0.0 (Tue Feb 27 2024) - -#### 🐛 Bug Fix - -- "Bump independent versions \[skip ci\]" (team@magic.link) - -#### Authors: 1 - -- Magic Labs (team@magic.link) - ---- - -# v15.1.1 (Sat Feb 10 2024) - -#### 🐛 Bug Fix - -- Merge branch 'master' into PDEEXP-253-whitelabel-update-email-with-ui-missing-event-when-email-address-already-in-use ([@joshuascan](https://github.com/joshuascan)) - -#### Authors: 1 - -- Josh Scanlan ([@joshuascan](https://github.com/joshuascan)) - ---- - -# v14.4.1 (Fri Dec 15 2023) - -#### 🐛 Bug Fix - -- Merge branch 'master' into rominhalltari-sc-91530-investigate-and-provide-solution-for-issue ([@romin-halltari](https://github.com/romin-halltari)) - -#### Authors: 1 - -- [@romin-halltari](https://github.com/romin-halltari) - ---- - -# v14.4.0 (Thu Dec 14 2023) - -#### 🐛 Bug Fix - -- Merge branch 'master' into split-key-device-share ([@Dizigen](https://github.com/Dizigen)) - -#### Authors: 1 - -- David He ([@Dizigen](https://github.com/Dizigen)) - ---- - -# v14.3.2 (Tue Nov 28 2023) - -#### 🐛 Bug Fix - -- Merge branch 'master' into josh-sc-90794-add-types-export-to-scaffolding ([@joshuascan](https://github.com/joshuascan)) - -#### Authors: 1 - -- Josh Scanlan ([@joshuascan](https://github.com/joshuascan)) - ---- - -# v14.3.1 (Tue Nov 21 2023) - -#### 🐛 Bug Fix - -- Fix TypeScript resolution for @magic-ext/* packages when using modern module resolution (node16 etc) [#670](https://github.com/magiclabs/magic-js/pull/670) ([@rjwebb](https://github.com/rjwebb) [@joshuascan](https://github.com/joshuascan)) -- Merge branch 'master' into rjwebb/669-fix-node16-magic-ext-imports ([@joshuascan](https://github.com/joshuascan)) -- Update package.json exports to expose types when using node16 typescript, for algorand, auth, avalanche, bitcoin, conflux, cosmos, ed25519, flow, gdkms, harmony, hedera, icon, near, oauth, oidc, polkadot, react-native-bare-oauth, react-native-expo-oauth, taquito, terra, tezos, webauthn and zilliqa ([@rjwebb](https://github.com/rjwebb)) - -#### Authors: 2 - -- Bob Webb ([@rjwebb](https://github.com/rjwebb)) -- Josh Scanlan ([@joshuascan](https://github.com/joshuascan)) - ---- - -# v14.2.1 (Tue Nov 14 2023) - -#### 🐛 Bug Fix - -- Merge branch 'master' into injectable-webcrypto-jwt-for-session-persistence ([@Dizigen](https://github.com/Dizigen)) - -#### Authors: 1 - -- David He ([@Dizigen](https://github.com/Dizigen)) - ---- - -# v14.2.0 (Tue Oct 24 2023) - -#### 🐛 Bug Fix - -- Merge branch 'master' into hcote-support-sepolia-natively ([@hcote](https://github.com/hcote)) - -#### Authors: 1 - -- Hunter Cote ([@hcote](https://github.com/hcote)) - ---- - -# v14.0.0 (Fri Oct 13 2023) - -#### 🐛 Bug Fix - -- Merge branch 'master' into force-ctor-preload-iframe ([@Dizigen](https://github.com/Dizigen)) - -#### Authors: 1 - -- David He ([@Dizigen](https://github.com/Dizigen)) - ---- - -# v13.1.2 (Wed Oct 11 2023) - -#### 🐛 Bug Fix - -- Removes React Native entrypoint from all extension's package.json [#644](https://github.com/magiclabs/magic-js/pull/644) ([@Ariflo](https://github.com/Ariflo)) -- Removes React Native entrypoint from all extensions package.json ([@Ariflo](https://github.com/Ariflo)) - -#### Authors: 1 - -- Arian Flores ([@Ariflo](https://github.com/Ariflo)) - ---- - -# v13.1.1 (Mon Oct 02 2023) - -#### 🐛 Bug Fix - -- Merge branch 'master' into patjacobs-sc-83016-ux-optimization-expired-email-otps ([@patjacobs-magic](https://github.com/patjacobs-magic)) - -#### Authors: 1 - -- [@patjacobs-magic](https://github.com/patjacobs-magic) - ---- - -# v13.1.0 (Fri Sep 29 2023) - -#### 🐛 Bug Fix - -- Merge remote-tracking branch 'origin/master' into jerryliu-sc-87830-optimize-webcrypto-implementation-to-generate ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v12.3.0 (Wed Aug 16 2023) - -#### 🐛 Bug Fix - -- Merge branch 'master' into josh-sc-75022-standalone-update-email-v2 ([@joshuascan](https://github.com/joshuascan)) - -#### Authors: 1 - -- Josh Scanlan ([@joshuascan](https://github.com/joshuascan)) - ---- - -# v12.1.0 (Tue Aug 08 2023) - -#### 🐛 Bug Fix - -- Merge remote-tracking branch 'origin/master' into jerryliu-sc-81984-update-loginwithemailotp-interface-with-new ([@Ethella](https://github.com/Ethella)) -- Merge remote-tracking branch 'origin/master' ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v11.3.0 (Fri Jul 07 2023) - -#### ⚠️ Pushed to `master` - -- Merge remote-tracking branch 'origin/master' ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v11.2.0 (Fri Jun 23 2023) - -#### 🚀 Enhancement - -- Auto version bumping [#557](https://github.com/magiclabs/magic-js/pull/557) ([@Ethella](https://github.com/Ethella) [@Ariflo](https://github.com/Ariflo)) -- Updates License to Apache 2.0 [#551](https://github.com/magiclabs/magic-js/pull/551) ([@Ariflo](https://github.com/Ariflo)) - -#### 🐛 Bug Fix - -- Match NPM Version ([@Ariflo](https://github.com/Ariflo)) -- Update CHANGELOG.md \[skip ci\] ([@Ethella](https://github.com/Ethella)) -- 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)) -- Updates License to Apache 2.0 ([@Ariflo](https://github.com/Ariflo)) - -#### Authors: 2 - -- Arian Flores ([@Ariflo](https://github.com/Ariflo)) -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v11.1.0 (Fri Jun 23 2023) - -#### 🚀 Enhancement - -- Updates License to Apache 2.0 [#551](https://github.com/magiclabs/magic-js/pull/551) ([@Ariflo](https://github.com/Ariflo)) - -#### 🐛 Bug Fix - -- 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)) -- Updates License to Apache 2.0 ([@Ariflo](https://github.com/Ariflo)) - -#### Authors: 1 - -- Arian Flores ([@Ariflo](https://github.com/Ariflo)) - ---- - -# v10.3.0 (Fri May 26 2023) - -#### 🐛 Bug Fix - -- Merge remote-tracking branch 'origin/master' into jerryliu_hotfix_gdkms ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v10.1.5 (Fri May 19 2023) - -#### 🐛 Bug Fix - -- Merge remote-tracking branch 'origin/master' into jerryliu-sc-77755-kresus-hotfix ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v10.1.1 (Fri Apr 21 2023) - -#### 🐛 Bug Fix - -- Merge remote-tracking branch 'origin/master' into jerryliu-sc-75641-lazer-request-showsettings-page-mfa ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v10.1.0 (Thu Apr 20 2023) - -#### 🐛 Bug Fix - -- Merge branch 'master' into jerryliu-sc-75641-lazer-request-showsettings-page-mfa ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v9.1.0 (Tue Apr 04 2023) - -#### 🐛 Bug Fix - -- Merge branch 'master' into briancleary7114-sc-73967-auto-publish-canary-version-for-magic-sdk ([@bcleary06](https://github.com/bcleary06)) - -#### Authors: 1 - -- Brian Cleary ([@bcleary06](https://github.com/bcleary06)) - ---- - -# v9.0.0 (Fri Mar 31 2023) - -#### 🐛 Bug Fix - -- Merge remote-tracking branch 'origin/master' into jerryliu-sc-74424-email-otp-login-invalid-email-otp-event ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v6.6.2 (Tue Mar 21 2023) - -#### 🐛 Bug Fix - -- Merge branch 'master' into briancleary7114-sc-71135-add-checkout-sdk-method ([@bcleary06](https://github.com/bcleary06)) - -#### Authors: 1 - -- Brian Cleary ([@bcleary06](https://github.com/bcleary06)) - ---- - -# v6.5.0 (Tue Feb 28 2023) - -#### 🐛 Bug Fix - -- Merge branch 'master' of github.com:magiclabs/magic-js into mushfichowdhury-login-with-email-otp-whitelabel ([@mushfichowdhury-magic](https://github.com/mushfichowdhury-magic)) - -#### Authors: 1 - -- Mushfi Chowdhury ([@mushfichowdhury-magic](https://github.com/mushfichowdhury-magic)) - ---- - -# v2.0.0 (Fri Aug 05 2022) - -#### 🐛 Bug Fix - -- Merge branch 'master' into early-access ([@bcleary06](https://github.com/bcleary06)) - -#### Authors: 1 - -- Brian Cleary ([@bcleary06](https://github.com/bcleary06)) - ---- - -# v1.1.2 (Wed Jun 29 2022) - -#### 🐛 Bug Fix - -- update conflux constructor [#328](https://github.com/magiclabs/magic-js/pull/328) ([@hcote](https://github.com/hcote)) - -#### Authors: 1 - -- Hunter Cote ([@hcote](https://github.com/hcote)) - ---- - -# v1.0.0 (Tue Jan 25 2022) - -#### 💥 Breaking Change - -- Switch from `microbundle` to `esbuild` [#220](https://github.com/magiclabs/magic-js/pull/220) ([@smithki](https://github.com/smithki)) - -#### 🐛 Bug Fix - -- Merge with master ([@smithki](https://github.com/smithki)) - -#### Authors: 1 - -- Ian K Smith ([@smithki](https://github.com/smithki)) - ---- - -# v0.1.1 (Mon Jan 24 2022) - -#### 🐛 Bug Fix - -- magic-conflux extension [#263](https://github.com/magiclabs/magic-js/pull/263) ([@hcote](https://github.com/hcote)) - -#### Authors: 1 - -- Hunter Cote ([@hcote](https://github.com/hcote)) - ---- - diff --git a/packages/@magic-ext/conflux/LICENSE b/packages/@magic-ext/conflux/LICENSE deleted file mode 100644 index d9a10c0d8..000000000 --- a/packages/@magic-ext/conflux/LICENSE +++ /dev/null @@ -1,176 +0,0 @@ - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS diff --git a/packages/@magic-ext/conflux/eslint.config.mjs b/packages/@magic-ext/conflux/eslint.config.mjs deleted file mode 100644 index a94768e85..000000000 --- a/packages/@magic-ext/conflux/eslint.config.mjs +++ /dev/null @@ -1,21 +0,0 @@ -import path from 'node:path'; -import { fileURLToPath } from 'node:url'; -import rootEslintConfig from '../../../eslint.config.mjs'; - -const __filename = fileURLToPath(import.meta.url); -const __dirname = path.dirname(__filename); - -export default [ - ...rootEslintConfig, - { - ignores: ['node_modules', 'coverage', 'dist', 'eslint.config.mjs', 'jest.config.ts'], - }, - { - languageOptions: { - parserOptions: { - project: ['./tsconfig.json'], - tsconfigRootDir: __dirname, - }, - }, - }, -]; diff --git a/packages/@magic-ext/conflux/package.json b/packages/@magic-ext/conflux/package.json deleted file mode 100644 index d34c3931b..000000000 --- a/packages/@magic-ext/conflux/package.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "name": "@magic-ext/conflux", - "version": "26.8.0", - "description": "magic conflux extension", - "author": "Magic (https://magic.link/)", - "license": "MIT", - "repository": { - "type": "git", - "url": "https://github.com/magiclabs/magic-js" - }, - "files": [ - "dist" - ], - "target": "neutral", - "cdnGlobalName": "MagicConfluxExtension", - "main": "./dist/cjs/index.js", - "module": "./dist/es/index.js", - "types": "./dist/types/index.d.ts", - "jsdelivr": "./dist/extension.js", - "exports": { - "import": "./dist/es/index.mjs", - "types": "./dist/types/index.d.ts", - "require": "./dist/cjs/index.js" - }, - "externals": { - "include": [ - "@magic-sdk/provider" - ] - }, - "devDependencies": { - "@magic-sdk/provider": "^33.9.0" - } -} diff --git a/packages/@magic-ext/conflux/src/index.cdn.ts b/packages/@magic-ext/conflux/src/index.cdn.ts deleted file mode 100644 index 98eece30c..000000000 --- a/packages/@magic-ext/conflux/src/index.cdn.ts +++ /dev/null @@ -1,3 +0,0 @@ -import { ConfluxExtension } from './index'; - -export { ConfluxExtension as default }; diff --git a/packages/@magic-ext/conflux/src/index.native.ts b/packages/@magic-ext/conflux/src/index.native.ts deleted file mode 100644 index ea465c2a3..000000000 --- a/packages/@magic-ext/conflux/src/index.native.ts +++ /dev/null @@ -1 +0,0 @@ -export * from './index'; diff --git a/packages/@magic-ext/conflux/src/index.ts b/packages/@magic-ext/conflux/src/index.ts deleted file mode 100644 index 988f3d843..000000000 --- a/packages/@magic-ext/conflux/src/index.ts +++ /dev/null @@ -1,20 +0,0 @@ -import { MultichainExtension } from '@magic-sdk/provider'; -import { ConfluxPayloadMethod, ConfluxConfig } from './types'; - -export class ConfluxExtension extends MultichainExtension<'conflux'> { - name = 'conflux' as const; - - constructor(public confluxConfig: ConfluxConfig) { - super({ - chainType: 'CONFLUX', - options: { - rpcUrl: confluxConfig.rpcUrl, - networkId: confluxConfig.networkId, - }, - }); - } - - public async sendTransaction(txObject: any) { - return this.request(this.utils.createJsonRpcRequestPayload(ConfluxPayloadMethod.ConfluxSendTransaction, txObject)); - } -} diff --git a/packages/@magic-ext/conflux/src/types.ts b/packages/@magic-ext/conflux/src/types.ts deleted file mode 100644 index 0a43b6173..000000000 --- a/packages/@magic-ext/conflux/src/types.ts +++ /dev/null @@ -1,8 +0,0 @@ -export interface ConfluxConfig { - rpcUrl: string; - networkId?: number; -} - -export enum ConfluxPayloadMethod { - ConfluxSendTransaction = 'cfx_sendTransaction', -} diff --git a/packages/@magic-ext/conflux/tsconfig.json b/packages/@magic-ext/conflux/tsconfig.json deleted file mode 100644 index c268bce54..000000000 --- a/packages/@magic-ext/conflux/tsconfig.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "extends": "../../../tsconfig.settings.json", -} - diff --git a/packages/@magic-ext/ed25519/.lintstagedrc.yml b/packages/@magic-ext/ed25519/.lintstagedrc.yml deleted file mode 100644 index 1c250ad65..000000000 --- a/packages/@magic-ext/ed25519/.lintstagedrc.yml +++ /dev/null @@ -1,2 +0,0 @@ -'*.{ts,tsx}': - - eslint --fix diff --git a/packages/@magic-ext/ed25519/.prettierrc.js b/packages/@magic-ext/ed25519/.prettierrc.js deleted file mode 100644 index 6177cac66..000000000 --- a/packages/@magic-ext/ed25519/.prettierrc.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('../../../.prettierrc.js'); diff --git a/packages/@magic-ext/ed25519/CHANGELOG.md b/packages/@magic-ext/ed25519/CHANGELOG.md deleted file mode 100644 index 675ffcb6a..000000000 --- a/packages/@magic-ext/ed25519/CHANGELOG.md +++ /dev/null @@ -1,657 +0,0 @@ -# v24.2.2 (Thu Feb 05 2026) - -#### ⚠️ Pushed to `master` - -- Merge branch 'master' of github.com:magiclabs/magic-js ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v24.2.0 (Thu Jan 29 2026) - -#### 🚀 Enhancement - -- feat: Magic Widget extension [#979](https://github.com/magiclabs/magic-js/pull/979) ([@joshuascan](https://github.com/joshuascan) [@sherzod-bakhodirov](https://github.com/sherzod-bakhodirov)) - -#### Authors: 2 - -- [@sherzod-bakhodirov](https://github.com/sherzod-bakhodirov) -- Josh Scanlan ([@joshuascan](https://github.com/joshuascan)) - ---- - -# v24.1.0 (Thu Jan 29 2026) - -#### ⚠️ Pushed to `master` - -- Merge branch 'master' of github.com:magiclabs/magic-js ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v24.0.0 (Tue Jan 13 2026) - -#### 🐛 Bug Fix - -- heal Auto package versioning [#997](https://github.com/magiclabs/magic-js/pull/997) ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v22.0.0 (Fri Oct 03 2025) - -#### 💥 Breaking Change - -- EVM Extension and new extension methods [#915](https://github.com/magiclabs/magic-js/pull/915) ([@joshuascan](https://github.com/joshuascan)) - -#### Authors: 1 - -- Josh Scanlan ([@joshuascan](https://github.com/joshuascan)) - ---- - -# v20.0.6 (Tue Apr 29 2025) - -#### 🐛 Bug Fix - -- Revert "Remove Extension class and rename InternalExtension to MagicExtension" [#882](https://github.com/magiclabs/magic-js/pull/882) ([@Ethella](https://github.com/Ethella)) -- Remove Extension class and rename InternalExtension to MagicExtension [#881](https://github.com/magiclabs/magic-js/pull/881) ([@devin-ai-integration[bot]](https://github.com/devin-ai-integration[bot]) [@Ethella](https://github.com/Ethella)) - -#### Authors: 2 - -- [@devin-ai-integration[bot]](https://github.com/devin-ai-integration[bot]) -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v20.0.4 (Tue Apr 01 2025) - -#### 🐛 Bug Fix - -- Merge remote-tracking branch 'origin/master' into PDEEXP-2318-imx-dont-throw-error-if-the-iframe-is-failing ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v19.20.0 (Wed Jan 08 2025) - -#### 🐛 Bug Fix - -- Merge branch 'master' into hcote-web3modal ([@hcote](https://github.com/hcote)) - -#### Authors: 1 - -- Hunter Cote ([@hcote](https://github.com/hcote)) - ---- - -# v19.19.0 (Wed Dec 25 2024) - -#### 🐛 Bug Fix - -- Merge remote-tracking branch 'origin/master' into PDEEXP-530-wallet-connect-login-with-redirect ([@Ethella](https://github.com/Ethella)) -- resolve conflict ([@Ethella](https://github.com/Ethella)) -- * resolve conflict ([@Ethella](https://github.com/Ethella)) -- Merge branch 'master' into PDEEXP-530-wallet-connect-login-with-redirect ([@mattupham](https://github.com/mattupham)) - -#### Authors: 2 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) -- Matt Upham ([@mattupham](https://github.com/mattupham)) - ---- - -# v19.18.1 (Thu Dec 05 2024) - -#### 🐛 Bug Fix - -- fix: typos [#830](https://github.com/magiclabs/magic-js/pull/830) ([@omahs](https://github.com/omahs) [@Ethella](https://github.com/Ethella)) -- chore: bump eslint version [#834](https://github.com/magiclabs/magic-js/pull/834) ([@otabek-magic](https://github.com/otabek-magic) [@Ethella](https://github.com/Ethella)) -- Merge branch 'master' into PDEEXP-1985-bump-magic-sdk-eslint-version-to-9 ([@otabek-magic](https://github.com/otabek-magic)) -- chore: update eslint config ([@otabek-magic](https://github.com/otabek-magic)) -- chore: update to eslint 9 in magic-sdk magic-ext ([@otabek-magic](https://github.com/otabek-magic)) -- Merge branch 'master' into patch-1 ([@Ethella](https://github.com/Ethella)) - -#### Authors: 3 - -- [@otabek-magic](https://github.com/otabek-magic) -- Jerry Liu ([@Ethella](https://github.com/Ethella)) -- omahs ([@omahs](https://github.com/omahs)) - ---- - -# v19.18.0 (Mon Nov 25 2024) - -#### 🐛 Bug Fix - -- Merge branch 'master' into PDEEXP-1954-OAuth-popup-flow-consolidation ([@sherzod-bakhodirov](https://github.com/sherzod-bakhodirov)) - -#### Authors: 1 - -- [@sherzod-bakhodirov](https://github.com/sherzod-bakhodirov) - ---- - -# v19.16.0 (Fri Oct 25 2024) - -#### 🐛 Bug Fix - -- Merge branch 'master' into PDEEXP-1951-Lost-Device-Event-Does-Not-Emit-Whitelabel-MFA-provider ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v19.15.0 (Fri Oct 25 2024) - -#### 🐛 Bug Fix - -- Merge branch 'master' into cancel-event-for-recovery-flow ([@sukhrobbekodilov](https://github.com/sukhrobbekodilov)) - -#### Authors: 1 - -- [@sukhrobbekodilov](https://github.com/sukhrobbekodilov) - ---- - -# v19.14.0 (Fri Oct 18 2024) - -#### 🐛 Bug Fix - -- Merge branch 'master' into missed_type_for_recovery_factor ([@sukhrobbekodilov](https://github.com/sukhrobbekodilov)) - -#### Authors: 1 - -- [@sukhrobbekodilov](https://github.com/sukhrobbekodilov) - ---- - -# v19.13.0 (Fri Oct 18 2024) - -#### 🐛 Bug Fix - -- Update .deepsource.toml [#804](https://github.com/magiclabs/magic-js/pull/804) ([@Magic-Brandan](https://github.com/Magic-Brandan)) - -#### Authors: 1 - -- [@Magic-Brandan](https://github.com/Magic-Brandan) - ---- - -# v19.11.0 (Wed Sep 25 2024) - -#### 🐛 Bug Fix - -- Merge branch 'master' into sherzod-PDEEXP-1711-Support-MFA-setup-whitelabel-support ([@sherzod-bakhodirov](https://github.com/sherzod-bakhodirov)) - -#### Authors: 1 - -- [@sherzod-bakhodirov](https://github.com/sherzod-bakhodirov) - ---- - -# v19.9.0 (Wed Sep 11 2024) - -#### 🐛 Bug Fix - -- Merge branch 'master' into sherzod-PDEEXP-1711-Support-MFA-setup-whitelabel-support ([@sherzod-bakhodirov](https://github.com/sherzod-bakhodirov)) -- Merge branch 'master' into hcote-cosmos-options ([@hcote](https://github.com/hcote)) - -#### Authors: 2 - -- [@sherzod-bakhodirov](https://github.com/sherzod-bakhodirov) -- Hunter Cote ([@hcote](https://github.com/hcote)) - ---- - -# v19.6.0 (Tue Sep 03 2024) - -#### 🐛 Bug Fix - -- Merge branch 'master' of https://github.com/magiclabs/magic-js into khamdam-sc-PDEEXP-54-whitelabel-sms-login ([@khamdam-magic](https://github.com/khamdam-magic)) -- fix: update branch ([@khamdam-magic](https://github.com/khamdam-magic)) -- fix(): resolve conflicts ([@khamdam-magic](https://github.com/khamdam-magic)) - -#### Authors: 1 - -- [@khamdam-magic](https://github.com/khamdam-magic) - ---- - -# v19.4.0 (Tue Aug 13 2024) - -#### 🐛 Bug Fix - -- Merge remote-tracking branch 'refs/remotes/origin/master' into Add-two-more-mfa-flags ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v19.0.4 (Thu Jun 06 2024) - -#### 🐛 Bug Fix - -- Merge remote-tracking branch 'refs/remotes/origin/master' into PDEEXP-1279-done-event-not-firing-in-whitelabel-email-login-flow ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v19.0.0 (Fri Mar 22 2024) - -#### 🚀 Enhancement - -- Add private key reveal method [#699](https://github.com/magiclabs/magic-js/pull/699) ([@joshuascan](https://github.com/joshuascan)) - -#### 🐛 Bug Fix - -- "Bump independent versions \[skip ci\]" (team@magic.link) -- Update CHANGELOG.md \[skip ci\] (team@magic.link) -- Merge branch 'master' into patjacobs-oauth-v2-apple ([@patjacobs-magic](https://github.com/patjacobs-magic)) -- Merge branch 'master' into joshscanlan-pk-reveal-method ([@joshuascan](https://github.com/joshuascan)) - -#### Authors: 3 - -- [@patjacobs-magic](https://github.com/patjacobs-magic) -- Josh Scanlan ([@joshuascan](https://github.com/joshuascan)) -- Magic Labs (team@magic.link) - ---- - -# v18.0.0 (Fri Mar 15 2024) - -#### 🐛 Bug Fix - -- "Bump independent versions \[skip ci\]" (team@magic.link) -- Update CHANGELOG.md \[skip ci\] (team@magic.link) -- Merge branch 'master' into patjacobs-oauth-v2-apple ([@patjacobs-magic](https://github.com/patjacobs-magic)) - -#### Authors: 2 - -- [@patjacobs-magic](https://github.com/patjacobs-magic) -- Magic Labs (team@magic.link) - ---- - -# v17.0.0 (Sat Mar 09 2024) - -#### 🐛 Bug Fix - -- "Bump independent versions \[skip ci\]" (team@magic.link) -- Update CHANGELOG.md \[skip ci\] (team@magic.link) -- Merge branch 'master' into patjacobs-oauth-v2-apple ([@patjacobs-magic](https://github.com/patjacobs-magic)) - -#### Authors: 2 - -- [@patjacobs-magic](https://github.com/patjacobs-magic) -- Magic Labs (team@magic.link) - ---- - -# v16.0.0 (Thu Feb 29 2024) - -#### 🐛 Bug Fix - -- Merge branch 'master' into patjacobs-oauth-v2-apple ([@patjacobs-magic](https://github.com/patjacobs-magic)) -- "Bump independent versions \[skip ci\]" (team@magic.link) -- Update CHANGELOG.md \[skip ci\] (team@magic.link) - -#### Authors: 2 - -- [@patjacobs-magic](https://github.com/patjacobs-magic) -- Magic Labs (team@magic.link) - ---- - -# v15.0.0 (Tue Feb 27 2024) - -#### 🐛 Bug Fix - -- "Bump independent versions \[skip ci\]" (team@magic.link) - -#### Authors: 1 - -- Magic Labs (team@magic.link) - ---- - -# v13.1.1 (Sat Feb 10 2024) - -#### 🐛 Bug Fix - -- Merge branch 'master' into PDEEXP-253-whitelabel-update-email-with-ui-missing-event-when-email-address-already-in-use ([@joshuascan](https://github.com/joshuascan)) - -#### Authors: 1 - -- Josh Scanlan ([@joshuascan](https://github.com/joshuascan)) - ---- - -# v12.4.1 (Fri Dec 15 2023) - -#### 🐛 Bug Fix - -- Merge branch 'master' into rominhalltari-sc-91530-investigate-and-provide-solution-for-issue ([@romin-halltari](https://github.com/romin-halltari)) - -#### Authors: 1 - -- [@romin-halltari](https://github.com/romin-halltari) - ---- - -# v12.4.0 (Thu Dec 14 2023) - -#### 🐛 Bug Fix - -- Merge branch 'master' into split-key-device-share ([@Dizigen](https://github.com/Dizigen)) - -#### Authors: 1 - -- David He ([@Dizigen](https://github.com/Dizigen)) - ---- - -# v12.3.2 (Tue Nov 28 2023) - -#### 🐛 Bug Fix - -- Merge branch 'master' into josh-sc-90794-add-types-export-to-scaffolding ([@joshuascan](https://github.com/joshuascan)) - -#### Authors: 1 - -- Josh Scanlan ([@joshuascan](https://github.com/joshuascan)) - ---- - -# v12.3.1 (Tue Nov 21 2023) - -#### 🐛 Bug Fix - -- Fix TypeScript resolution for @magic-ext/* packages when using modern module resolution (node16 etc) [#670](https://github.com/magiclabs/magic-js/pull/670) ([@rjwebb](https://github.com/rjwebb) [@joshuascan](https://github.com/joshuascan)) -- Merge branch 'master' into rjwebb/669-fix-node16-magic-ext-imports ([@joshuascan](https://github.com/joshuascan)) -- Update package.json exports to expose types when using node16 typescript, for algorand, auth, avalanche, bitcoin, conflux, cosmos, ed25519, flow, gdkms, harmony, hedera, icon, near, oauth, oidc, polkadot, react-native-bare-oauth, react-native-expo-oauth, taquito, terra, tezos, webauthn and zilliqa ([@rjwebb](https://github.com/rjwebb)) - -#### Authors: 2 - -- Bob Webb ([@rjwebb](https://github.com/rjwebb)) -- Josh Scanlan ([@joshuascan](https://github.com/joshuascan)) - ---- - -# v12.2.1 (Tue Nov 14 2023) - -#### 🐛 Bug Fix - -- Merge branch 'master' into injectable-webcrypto-jwt-for-session-persistence ([@Dizigen](https://github.com/Dizigen)) - -#### Authors: 1 - -- David He ([@Dizigen](https://github.com/Dizigen)) - ---- - -# v12.2.0 (Tue Oct 24 2023) - -#### 🐛 Bug Fix - -- Merge branch 'master' into hcote-support-sepolia-natively ([@hcote](https://github.com/hcote)) - -#### Authors: 1 - -- Hunter Cote ([@hcote](https://github.com/hcote)) - ---- - -# v12.0.0 (Fri Oct 13 2023) - -#### 🐛 Bug Fix - -- Merge branch 'master' into force-ctor-preload-iframe ([@Dizigen](https://github.com/Dizigen)) - -#### Authors: 1 - -- David He ([@Dizigen](https://github.com/Dizigen)) - ---- - -# v11.1.2 (Wed Oct 11 2023) - -#### 🐛 Bug Fix - -- Removes React Native entrypoint from all extension's package.json [#644](https://github.com/magiclabs/magic-js/pull/644) ([@Ariflo](https://github.com/Ariflo)) -- Removes React Native entrypoint from all extensions package.json ([@Ariflo](https://github.com/Ariflo)) - -#### Authors: 1 - -- Arian Flores ([@Ariflo](https://github.com/Ariflo)) - ---- - -# v11.1.1 (Mon Oct 02 2023) - -#### 🐛 Bug Fix - -- Merge branch 'master' into patjacobs-sc-83016-ux-optimization-expired-email-otps ([@patjacobs-magic](https://github.com/patjacobs-magic)) - -#### Authors: 1 - -- [@patjacobs-magic](https://github.com/patjacobs-magic) - ---- - -# v11.1.0 (Fri Sep 29 2023) - -#### 🐛 Bug Fix - -- Merge remote-tracking branch 'origin/master' into jerryliu-sc-87830-optimize-webcrypto-implementation-to-generate ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v10.3.0 (Wed Aug 16 2023) - -#### 🐛 Bug Fix - -- Merge branch 'master' into josh-sc-75022-standalone-update-email-v2 ([@joshuascan](https://github.com/joshuascan)) - -#### Authors: 1 - -- Josh Scanlan ([@joshuascan](https://github.com/joshuascan)) - ---- - -# v10.1.0 (Tue Aug 08 2023) - -#### 🐛 Bug Fix - -- Merge remote-tracking branch 'origin/master' into jerryliu-sc-81984-update-loginwithemailotp-interface-with-new ([@Ethella](https://github.com/Ethella)) -- Merge remote-tracking branch 'origin/master' ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v9.3.0 (Fri Jul 07 2023) - -#### ⚠️ Pushed to `master` - -- Merge remote-tracking branch 'origin/master' ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v9.2.0 (Fri Jun 23 2023) - -#### 🚀 Enhancement - -- Auto version bumping [#557](https://github.com/magiclabs/magic-js/pull/557) ([@Ethella](https://github.com/Ethella) [@Ariflo](https://github.com/Ariflo)) -- Updates License to Apache 2.0 [#551](https://github.com/magiclabs/magic-js/pull/551) ([@Ariflo](https://github.com/Ariflo)) - -#### 🐛 Bug Fix - -- Match NPM Version ([@Ariflo](https://github.com/Ariflo)) -- Update CHANGELOG.md \[skip ci\] ([@Ethella](https://github.com/Ethella)) -- 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)) -- Updates License to Apache 2.0 ([@Ariflo](https://github.com/Ariflo)) - -#### Authors: 2 - -- Arian Flores ([@Ariflo](https://github.com/Ariflo)) -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v9.1.0 (Fri Jun 23 2023) - -#### 🚀 Enhancement - -- Updates License to Apache 2.0 [#551](https://github.com/magiclabs/magic-js/pull/551) ([@Ariflo](https://github.com/Ariflo)) - -#### 🐛 Bug Fix - -- 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)) -- Updates License to Apache 2.0 ([@Ariflo](https://github.com/Ariflo)) - -#### Authors: 1 - -- Arian Flores ([@Ariflo](https://github.com/Ariflo)) - ---- - -# v8.3.0 (Fri May 26 2023) - -#### 🐛 Bug Fix - -- Merge remote-tracking branch 'origin/master' into jerryliu_hotfix_gdkms ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v8.1.5 (Fri May 19 2023) - -#### 🐛 Bug Fix - -- Merge remote-tracking branch 'origin/master' into jerryliu-sc-77755-kresus-hotfix ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v8.1.1 (Fri Apr 21 2023) - -#### 🐛 Bug Fix - -- Merge remote-tracking branch 'origin/master' into jerryliu-sc-75641-lazer-request-showsettings-page-mfa ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v8.1.0 (Thu Apr 20 2023) - -#### 🐛 Bug Fix - -- Merge branch 'master' into jerryliu-sc-75641-lazer-request-showsettings-page-mfa ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v7.1.0 (Tue Apr 04 2023) - -#### 🐛 Bug Fix - -- Merge branch 'master' into briancleary7114-sc-73967-auto-publish-canary-version-for-magic-sdk ([@bcleary06](https://github.com/bcleary06)) - -#### Authors: 1 - -- Brian Cleary ([@bcleary06](https://github.com/bcleary06)) - ---- - -# v7.0.0 (Fri Mar 31 2023) - -#### 🐛 Bug Fix - -- Merge remote-tracking branch 'origin/master' into jerryliu-sc-74424-email-otp-login-invalid-email-otp-event ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v4.6.2 (Tue Mar 21 2023) - -#### 🐛 Bug Fix - -- Merge branch 'master' into briancleary7114-sc-71135-add-checkout-sdk-method ([@bcleary06](https://github.com/bcleary06)) - -#### Authors: 1 - -- Brian Cleary ([@bcleary06](https://github.com/bcleary06)) - ---- - -# v4.5.0 (Tue Feb 28 2023) - -#### 🐛 Bug Fix - -- Merge branch 'master' of github.com:magiclabs/magic-js into mushfichowdhury-login-with-email-otp-whitelabel ([@mushfichowdhury-magic](https://github.com/mushfichowdhury-magic)) - -#### Authors: 1 - -- Mushfi Chowdhury ([@mushfichowdhury-magic](https://github.com/mushfichowdhury-magic)) - ---- - -# v0.0.2 (Thu Sep 01 2022) - -#### 🐛 Bug Fix - -- Merge branch 'master' into bc-sc-54489-add-required-flag-to-request-user-info ([@bcleary06](https://github.com/bcleary06)) -- add @magic-ext/ed25519 [#346](https://github.com/magiclabs/magic-js/pull/346) ([@hcote](https://github.com/hcote) [@bcleary06](https://github.com/bcleary06)) - -#### Authors: 2 - -- Brian Cleary ([@bcleary06](https://github.com/bcleary06)) -- Hunter Cote ([@hcote](https://github.com/hcote)) - ---- - diff --git a/packages/@magic-ext/ed25519/LICENSE b/packages/@magic-ext/ed25519/LICENSE deleted file mode 100644 index d9a10c0d8..000000000 --- a/packages/@magic-ext/ed25519/LICENSE +++ /dev/null @@ -1,176 +0,0 @@ - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS diff --git a/packages/@magic-ext/ed25519/eslint.config.mjs b/packages/@magic-ext/ed25519/eslint.config.mjs deleted file mode 100644 index a94768e85..000000000 --- a/packages/@magic-ext/ed25519/eslint.config.mjs +++ /dev/null @@ -1,21 +0,0 @@ -import path from 'node:path'; -import { fileURLToPath } from 'node:url'; -import rootEslintConfig from '../../../eslint.config.mjs'; - -const __filename = fileURLToPath(import.meta.url); -const __dirname = path.dirname(__filename); - -export default [ - ...rootEslintConfig, - { - ignores: ['node_modules', 'coverage', 'dist', 'eslint.config.mjs', 'jest.config.ts'], - }, - { - languageOptions: { - parserOptions: { - project: ['./tsconfig.json'], - tsconfigRootDir: __dirname, - }, - }, - }, -]; diff --git a/packages/@magic-ext/ed25519/package.json b/packages/@magic-ext/ed25519/package.json deleted file mode 100644 index dd5d0121c..000000000 --- a/packages/@magic-ext/ed25519/package.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "name": "@magic-ext/ed25519", - "version": "24.8.0", - "description": "magic ed25519 extension", - "author": "Magic (https://magic.link/)", - "license": "MIT", - "repository": { - "type": "git", - "url": "https://github.com/magiclabs/magic-js" - }, - "files": [ - "dist" - ], - "target": "neutral", - "cdnGlobalName": "MagicEdExtension", - "main": "./dist/cjs/index.js", - "module": "./dist/es/index.js", - "types": "./dist/types/index.d.ts", - "jsdelivr": "./dist/extension.js", - "exports": { - "import": "./dist/es/index.mjs", - "types": "./dist/types/index.d.ts", - "require": "./dist/cjs/index.js" - }, - "externals": { - "include": [ - "@magic-sdk/provider" - ] - }, - "devDependencies": { - "@magic-sdk/provider": "^33.9.0" - } -} diff --git a/packages/@magic-ext/ed25519/src/index.cdn.ts b/packages/@magic-ext/ed25519/src/index.cdn.ts deleted file mode 100644 index a5e375391..000000000 --- a/packages/@magic-ext/ed25519/src/index.cdn.ts +++ /dev/null @@ -1,3 +0,0 @@ -import { Ed25519Extension } from './index'; - -export default Ed25519Extension; diff --git a/packages/@magic-ext/ed25519/src/index.native.ts b/packages/@magic-ext/ed25519/src/index.native.ts deleted file mode 100644 index ea465c2a3..000000000 --- a/packages/@magic-ext/ed25519/src/index.native.ts +++ /dev/null @@ -1 +0,0 @@ -export * from './index'; diff --git a/packages/@magic-ext/ed25519/src/index.ts b/packages/@magic-ext/ed25519/src/index.ts deleted file mode 100644 index ff575670e..000000000 --- a/packages/@magic-ext/ed25519/src/index.ts +++ /dev/null @@ -1,33 +0,0 @@ -import { Extension } from '@magic-sdk/provider'; -import { Ed25519PayloadMethod } from './types'; - -export class Ed25519Extension extends Extension.Internal<'ed', any> { - name = 'ed' as const; - config: any = {}; - - constructor() { - super(); - - this.config = { - chainType: 'ED', - }; - } - - public getPublicKey = (): Promise => { - return this.request({ - id: 42, - jsonrpc: '2.0', - method: Ed25519PayloadMethod.GetPublicKey, - params: [], - }); - }; - - public sign = (payload: Uint8Array): Promise => { - return this.request({ - id: 42, - jsonrpc: '2.0', - method: Ed25519PayloadMethod.Sign, - params: payload, - }); - }; -} diff --git a/packages/@magic-ext/ed25519/src/types.ts b/packages/@magic-ext/ed25519/src/types.ts deleted file mode 100644 index 0de4c7770..000000000 --- a/packages/@magic-ext/ed25519/src/types.ts +++ /dev/null @@ -1,4 +0,0 @@ -export enum Ed25519PayloadMethod { - GetPublicKey = 'ed_getPublicKey', - Sign = 'ed_sign', -} diff --git a/packages/@magic-ext/ed25519/tsconfig.json b/packages/@magic-ext/ed25519/tsconfig.json deleted file mode 100644 index c268bce54..000000000 --- a/packages/@magic-ext/ed25519/tsconfig.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "extends": "../../../tsconfig.settings.json", -} - diff --git a/packages/@magic-ext/flow/.lintstagedrc.yml b/packages/@magic-ext/flow/.lintstagedrc.yml deleted file mode 100644 index 1c250ad65..000000000 --- a/packages/@magic-ext/flow/.lintstagedrc.yml +++ /dev/null @@ -1,2 +0,0 @@ -'*.{ts,tsx}': - - eslint --fix diff --git a/packages/@magic-ext/flow/.prettierrc.js b/packages/@magic-ext/flow/.prettierrc.js deleted file mode 100644 index 6177cac66..000000000 --- a/packages/@magic-ext/flow/.prettierrc.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('../../../.prettierrc.js'); diff --git a/packages/@magic-ext/flow/CHANGELOG.md b/packages/@magic-ext/flow/CHANGELOG.md deleted file mode 100644 index e022c5101..000000000 --- a/packages/@magic-ext/flow/CHANGELOG.md +++ /dev/null @@ -1,775 +0,0 @@ -# v28.2.2 (Thu Feb 05 2026) - -#### ⚠️ Pushed to `master` - -- Merge branch 'master' of github.com:magiclabs/magic-js ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v28.2.0 (Thu Jan 29 2026) - -#### 🚀 Enhancement - -- feat: Magic Widget extension [#979](https://github.com/magiclabs/magic-js/pull/979) ([@joshuascan](https://github.com/joshuascan) [@sherzod-bakhodirov](https://github.com/sherzod-bakhodirov)) - -#### Authors: 2 - -- [@sherzod-bakhodirov](https://github.com/sherzod-bakhodirov) -- Josh Scanlan ([@joshuascan](https://github.com/joshuascan)) - ---- - -# v28.1.0 (Thu Jan 29 2026) - -#### ⚠️ Pushed to `master` - -- Merge branch 'master' of github.com:magiclabs/magic-js ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v28.0.0 (Tue Jan 13 2026) - -#### 🐛 Bug Fix - -- heal Auto package versioning [#997](https://github.com/magiclabs/magic-js/pull/997) ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v26.0.0 (Fri Oct 03 2025) - -#### 💥 Breaking Change - -- EVM Extension and new extension methods [#915](https://github.com/magiclabs/magic-js/pull/915) ([@joshuascan](https://github.com/joshuascan)) - -#### Authors: 1 - -- Josh Scanlan ([@joshuascan](https://github.com/joshuascan)) - ---- - -# v24.0.6 (Tue Apr 29 2025) - -#### 🐛 Bug Fix - -- Revert "Remove Extension class and rename InternalExtension to MagicExtension" [#882](https://github.com/magiclabs/magic-js/pull/882) ([@Ethella](https://github.com/Ethella)) -- Remove Extension class and rename InternalExtension to MagicExtension [#881](https://github.com/magiclabs/magic-js/pull/881) ([@devin-ai-integration[bot]](https://github.com/devin-ai-integration[bot]) [@Ethella](https://github.com/Ethella)) - -#### Authors: 2 - -- [@devin-ai-integration[bot]](https://github.com/devin-ai-integration[bot]) -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v24.0.4 (Tue Apr 01 2025) - -#### 🐛 Bug Fix - -- Merge remote-tracking branch 'origin/master' into PDEEXP-2318-imx-dont-throw-error-if-the-iframe-is-failing ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v23.20.0 (Wed Jan 08 2025) - -#### 🐛 Bug Fix - -- Merge branch 'master' into hcote-web3modal ([@hcote](https://github.com/hcote)) - -#### Authors: 1 - -- Hunter Cote ([@hcote](https://github.com/hcote)) - ---- - -# v23.19.0 (Wed Dec 25 2024) - -#### 🐛 Bug Fix - -- Merge remote-tracking branch 'origin/master' into PDEEXP-530-wallet-connect-login-with-redirect ([@Ethella](https://github.com/Ethella)) -- resolve conflict ([@Ethella](https://github.com/Ethella)) -- * resolve conflict ([@Ethella](https://github.com/Ethella)) -- Merge branch 'master' into PDEEXP-530-wallet-connect-login-with-redirect ([@mattupham](https://github.com/mattupham)) - -#### Authors: 2 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) -- Matt Upham ([@mattupham](https://github.com/mattupham)) - ---- - -# v23.18.1 (Thu Dec 05 2024) - -#### 🐛 Bug Fix - -- fix: typos [#830](https://github.com/magiclabs/magic-js/pull/830) ([@omahs](https://github.com/omahs) [@Ethella](https://github.com/Ethella)) -- chore: bump eslint version [#834](https://github.com/magiclabs/magic-js/pull/834) ([@otabek-magic](https://github.com/otabek-magic) [@Ethella](https://github.com/Ethella)) -- Merge branch 'master' into PDEEXP-1985-bump-magic-sdk-eslint-version-to-9 ([@otabek-magic](https://github.com/otabek-magic)) -- chore: override eslint dependency of @onflow/config ([@otabek-magic](https://github.com/otabek-magic)) -- Merge branch 'master' into patch-1 ([@Ethella](https://github.com/Ethella)) - -#### Authors: 3 - -- [@otabek-magic](https://github.com/otabek-magic) -- Jerry Liu ([@Ethella](https://github.com/Ethella)) -- omahs ([@omahs](https://github.com/omahs)) - ---- - -# v23.18.0 (Mon Nov 25 2024) - -#### 🐛 Bug Fix - -- Merge branch 'master' into PDEEXP-1954-OAuth-popup-flow-consolidation ([@sherzod-bakhodirov](https://github.com/sherzod-bakhodirov)) - -#### Authors: 1 - -- [@sherzod-bakhodirov](https://github.com/sherzod-bakhodirov) - ---- - -# v23.16.0 (Fri Oct 25 2024) - -#### 🐛 Bug Fix - -- Merge branch 'master' into PDEEXP-1951-Lost-Device-Event-Does-Not-Emit-Whitelabel-MFA-provider ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v23.15.0 (Fri Oct 25 2024) - -#### 🐛 Bug Fix - -- Merge branch 'master' into cancel-event-for-recovery-flow ([@sukhrobbekodilov](https://github.com/sukhrobbekodilov)) - -#### Authors: 1 - -- [@sukhrobbekodilov](https://github.com/sukhrobbekodilov) - ---- - -# v23.14.0 (Fri Oct 18 2024) - -#### 🐛 Bug Fix - -- Merge branch 'master' into missed_type_for_recovery_factor ([@sukhrobbekodilov](https://github.com/sukhrobbekodilov)) - -#### Authors: 1 - -- [@sukhrobbekodilov](https://github.com/sukhrobbekodilov) - ---- - -# v23.13.0 (Fri Oct 18 2024) - -#### 🐛 Bug Fix - -- Update .deepsource.toml [#804](https://github.com/magiclabs/magic-js/pull/804) ([@Magic-Brandan](https://github.com/Magic-Brandan)) - -#### Authors: 1 - -- [@Magic-Brandan](https://github.com/Magic-Brandan) - ---- - -# v23.11.0 (Wed Sep 25 2024) - -#### 🐛 Bug Fix - -- Merge branch 'master' into sherzod-PDEEXP-1711-Support-MFA-setup-whitelabel-support ([@sherzod-bakhodirov](https://github.com/sherzod-bakhodirov)) - -#### Authors: 1 - -- [@sherzod-bakhodirov](https://github.com/sherzod-bakhodirov) - ---- - -# v23.9.0 (Wed Sep 11 2024) - -#### 🐛 Bug Fix - -- Merge branch 'master' into sherzod-PDEEXP-1711-Support-MFA-setup-whitelabel-support ([@sherzod-bakhodirov](https://github.com/sherzod-bakhodirov)) -- Merge branch 'master' into hcote-cosmos-options ([@hcote](https://github.com/hcote)) - -#### Authors: 2 - -- [@sherzod-bakhodirov](https://github.com/sherzod-bakhodirov) -- Hunter Cote ([@hcote](https://github.com/hcote)) - ---- - -# v23.6.0 (Tue Sep 03 2024) - -#### 🐛 Bug Fix - -- Merge branch 'master' of https://github.com/magiclabs/magic-js into khamdam-sc-PDEEXP-54-whitelabel-sms-login ([@khamdam-magic](https://github.com/khamdam-magic)) -- fix: update branch ([@khamdam-magic](https://github.com/khamdam-magic)) -- fix(): resolve conflicts ([@khamdam-magic](https://github.com/khamdam-magic)) - -#### Authors: 1 - -- [@khamdam-magic](https://github.com/khamdam-magic) - ---- - -# v23.4.0 (Tue Aug 13 2024) - -#### 🐛 Bug Fix - -- Merge remote-tracking branch 'refs/remotes/origin/master' into Add-two-more-mfa-flags ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v23.0.4 (Thu Jun 06 2024) - -#### 🐛 Bug Fix - -- Merge remote-tracking branch 'refs/remotes/origin/master' into PDEEXP-1279-done-event-not-firing-in-whitelabel-email-login-flow ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v23.0.0 (Fri Mar 22 2024) - -#### 🚀 Enhancement - -- Add private key reveal method [#699](https://github.com/magiclabs/magic-js/pull/699) ([@joshuascan](https://github.com/joshuascan)) - -#### 🐛 Bug Fix - -- "Bump independent versions \[skip ci\]" (team@magic.link) -- Update CHANGELOG.md \[skip ci\] (team@magic.link) -- Merge branch 'master' into patjacobs-oauth-v2-apple ([@patjacobs-magic](https://github.com/patjacobs-magic)) -- Merge branch 'master' into joshscanlan-pk-reveal-method ([@joshuascan](https://github.com/joshuascan)) - -#### Authors: 3 - -- [@patjacobs-magic](https://github.com/patjacobs-magic) -- Josh Scanlan ([@joshuascan](https://github.com/joshuascan)) -- Magic Labs (team@magic.link) - ---- - -# v22.0.0 (Fri Mar 15 2024) - -#### 🐛 Bug Fix - -- "Bump independent versions \[skip ci\]" (team@magic.link) -- Update CHANGELOG.md \[skip ci\] (team@magic.link) -- Merge branch 'master' into patjacobs-oauth-v2-apple ([@patjacobs-magic](https://github.com/patjacobs-magic)) - -#### Authors: 2 - -- [@patjacobs-magic](https://github.com/patjacobs-magic) -- Magic Labs (team@magic.link) - ---- - -# v21.0.0 (Sat Mar 09 2024) - -#### 🐛 Bug Fix - -- "Bump independent versions \[skip ci\]" (team@magic.link) -- Update CHANGELOG.md \[skip ci\] (team@magic.link) -- Merge branch 'master' into patjacobs-oauth-v2-apple ([@patjacobs-magic](https://github.com/patjacobs-magic)) - -#### Authors: 2 - -- [@patjacobs-magic](https://github.com/patjacobs-magic) -- Magic Labs (team@magic.link) - ---- - -# v20.0.0 (Thu Feb 29 2024) - -#### 🐛 Bug Fix - -- Merge branch 'master' into patjacobs-oauth-v2-apple ([@patjacobs-magic](https://github.com/patjacobs-magic)) -- "Bump independent versions \[skip ci\]" (team@magic.link) -- Update CHANGELOG.md \[skip ci\] (team@magic.link) - -#### Authors: 2 - -- [@patjacobs-magic](https://github.com/patjacobs-magic) -- Magic Labs (team@magic.link) - ---- - -# v19.0.0 (Tue Feb 27 2024) - -#### 🐛 Bug Fix - -- "Bump independent versions \[skip ci\]" (team@magic.link) - -#### Authors: 1 - -- Magic Labs (team@magic.link) - ---- - -# v17.1.1 (Sat Feb 10 2024) - -#### 🐛 Bug Fix - -- Merge branch 'master' into PDEEXP-253-whitelabel-update-email-with-ui-missing-event-when-email-address-already-in-use ([@joshuascan](https://github.com/joshuascan)) - -#### Authors: 1 - -- Josh Scanlan ([@joshuascan](https://github.com/joshuascan)) - ---- - -# v16.4.1 (Fri Dec 15 2023) - -#### 🐛 Bug Fix - -- Merge branch 'master' into rominhalltari-sc-91530-investigate-and-provide-solution-for-issue ([@romin-halltari](https://github.com/romin-halltari)) - -#### Authors: 1 - -- [@romin-halltari](https://github.com/romin-halltari) - ---- - -# v16.4.0 (Thu Dec 14 2023) - -#### 🐛 Bug Fix - -- Merge branch 'master' into split-key-device-share ([@Dizigen](https://github.com/Dizigen)) - -#### Authors: 1 - -- David He ([@Dizigen](https://github.com/Dizigen)) - ---- - -# v16.3.2 (Tue Nov 28 2023) - -#### 🐛 Bug Fix - -- Merge branch 'master' into josh-sc-90794-add-types-export-to-scaffolding ([@joshuascan](https://github.com/joshuascan)) - -#### Authors: 1 - -- Josh Scanlan ([@joshuascan](https://github.com/joshuascan)) - ---- - -# v16.3.1 (Tue Nov 21 2023) - -#### 🐛 Bug Fix - -- Fix TypeScript resolution for @magic-ext/* packages when using modern module resolution (node16 etc) [#670](https://github.com/magiclabs/magic-js/pull/670) ([@rjwebb](https://github.com/rjwebb) [@joshuascan](https://github.com/joshuascan)) -- Merge branch 'master' into rjwebb/669-fix-node16-magic-ext-imports ([@joshuascan](https://github.com/joshuascan)) -- Update package.json exports to expose types when using node16 typescript, for algorand, auth, avalanche, bitcoin, conflux, cosmos, ed25519, flow, gdkms, harmony, hedera, icon, near, oauth, oidc, polkadot, react-native-bare-oauth, react-native-expo-oauth, taquito, terra, tezos, webauthn and zilliqa ([@rjwebb](https://github.com/rjwebb)) - -#### Authors: 2 - -- Bob Webb ([@rjwebb](https://github.com/rjwebb)) -- Josh Scanlan ([@joshuascan](https://github.com/joshuascan)) - ---- - -# v16.2.1 (Tue Nov 14 2023) - -#### 🐛 Bug Fix - -- Merge branch 'master' into injectable-webcrypto-jwt-for-session-persistence ([@Dizigen](https://github.com/Dizigen)) - -#### Authors: 1 - -- David He ([@Dizigen](https://github.com/Dizigen)) - ---- - -# v16.2.0 (Tue Oct 24 2023) - -#### 🐛 Bug Fix - -- Merge branch 'master' into hcote-support-sepolia-natively ([@hcote](https://github.com/hcote)) - -#### Authors: 1 - -- Hunter Cote ([@hcote](https://github.com/hcote)) - ---- - -# v16.0.0 (Fri Oct 13 2023) - -#### 🐛 Bug Fix - -- Merge branch 'master' into force-ctor-preload-iframe ([@Dizigen](https://github.com/Dizigen)) - -#### Authors: 1 - -- David He ([@Dizigen](https://github.com/Dizigen)) - ---- - -# v15.1.2 (Wed Oct 11 2023) - -#### 🐛 Bug Fix - -- Removes React Native entrypoint from all extension's package.json [#644](https://github.com/magiclabs/magic-js/pull/644) ([@Ariflo](https://github.com/Ariflo)) -- Removes React Native entrypoint from all extensions package.json ([@Ariflo](https://github.com/Ariflo)) - -#### Authors: 1 - -- Arian Flores ([@Ariflo](https://github.com/Ariflo)) - ---- - -# v15.1.1 (Mon Oct 02 2023) - -#### 🐛 Bug Fix - -- Merge branch 'master' into patjacobs-sc-83016-ux-optimization-expired-email-otps ([@patjacobs-magic](https://github.com/patjacobs-magic)) - -#### Authors: 1 - -- [@patjacobs-magic](https://github.com/patjacobs-magic) - ---- - -# v15.1.0 (Fri Sep 29 2023) - -#### 🐛 Bug Fix - -- Merge remote-tracking branch 'origin/master' into jerryliu-sc-87830-optimize-webcrypto-implementation-to-generate ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v15.0.3 (Fri Sep 22 2023) - -#### 🐛 Bug Fix - -- adds cdnGlobalName to flow package.json [#630](https://github.com/magiclabs/magic-js/pull/630) ([@joshuascan](https://github.com/joshuascan)) -- adds cdnGlobalName to flow package.json ([@joshuascan](https://github.com/joshuascan)) - -#### Authors: 1 - -- Josh Scanlan ([@joshuascan](https://github.com/joshuascan)) - ---- - -# v14.3.0 (Wed Aug 16 2023) - -#### 🐛 Bug Fix - -- Merge branch 'master' into josh-sc-75022-standalone-update-email-v2 ([@joshuascan](https://github.com/joshuascan)) - -#### Authors: 1 - -- Josh Scanlan ([@joshuascan](https://github.com/joshuascan)) - ---- - -# v14.1.0 (Tue Aug 08 2023) - -#### 🐛 Bug Fix - -- Merge remote-tracking branch 'origin/master' into jerryliu-sc-81984-update-loginwithemailotp-interface-with-new ([@Ethella](https://github.com/Ethella)) -- Merge remote-tracking branch 'origin/master' ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v13.5.0 (Fri Jul 14 2023) - -#### 🚀 Enhancement - -- Update flow dependencies [#581](https://github.com/magiclabs/magic-js/pull/581) ([@octave08](https://github.com/octave08)) - -#### 🐛 Bug Fix - -- Update flow packages ([@octave08](https://github.com/octave08)) - -#### Authors: 1 - -- Jay Hwang ([@octave08](https://github.com/octave08)) - ---- - -# v13.3.0 (Fri Jul 07 2023) - -#### 🚀 Enhancement - -- Upgrade @onflow/fcl [#563](https://github.com/magiclabs/magic-js/pull/563) ([@octave08](https://github.com/octave08)) - -#### 🐛 Bug Fix - -- migration ([@octave08](https://github.com/octave08)) -- Upgrade @onflow/fcl ([@octave08](https://github.com/octave08)) - -#### ⚠️ Pushed to `master` - -- Merge remote-tracking branch 'origin/master' ([@Ethella](https://github.com/Ethella)) - -#### Authors: 2 - -- Jay Hwang ([@octave08](https://github.com/octave08)) -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v13.2.0 (Fri Jun 23 2023) - -#### 🚀 Enhancement - -- Auto version bumping [#557](https://github.com/magiclabs/magic-js/pull/557) ([@Ethella](https://github.com/Ethella) [@Ariflo](https://github.com/Ariflo)) -- Updates License to Apache 2.0 [#551](https://github.com/magiclabs/magic-js/pull/551) ([@Ariflo](https://github.com/Ariflo)) - -#### 🐛 Bug Fix - -- Match NPM Version ([@Ariflo](https://github.com/Ariflo)) -- Update CHANGELOG.md \[skip ci\] ([@Ethella](https://github.com/Ethella)) -- 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)) -- Updates License to Apache 2.0 ([@Ariflo](https://github.com/Ariflo)) - -#### Authors: 2 - -- Arian Flores ([@Ariflo](https://github.com/Ariflo)) -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v13.1.0 (Fri Jun 23 2023) - -#### 🚀 Enhancement - -- Updates License to Apache 2.0 [#551](https://github.com/magiclabs/magic-js/pull/551) ([@Ariflo](https://github.com/Ariflo)) - -#### 🐛 Bug Fix - -- 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)) -- Updates License to Apache 2.0 ([@Ariflo](https://github.com/Ariflo)) - -#### Authors: 1 - -- Arian Flores ([@Ariflo](https://github.com/Ariflo)) - ---- - -# v12.3.0 (Fri May 26 2023) - -#### 🐛 Bug Fix - -- Merge remote-tracking branch 'origin/master' into jerryliu_hotfix_gdkms ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v12.1.5 (Fri May 19 2023) - -#### 🐛 Bug Fix - -- Merge remote-tracking branch 'origin/master' into jerryliu-sc-77755-kresus-hotfix ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v12.1.1 (Fri Apr 21 2023) - -#### 🐛 Bug Fix - -- Merge remote-tracking branch 'origin/master' into jerryliu-sc-75641-lazer-request-showsettings-page-mfa ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v12.1.0 (Thu Apr 20 2023) - -#### 🐛 Bug Fix - -- Merge branch 'master' into jerryliu-sc-75641-lazer-request-showsettings-page-mfa ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v11.1.0 (Tue Apr 04 2023) - -#### 🐛 Bug Fix - -- feat: [sc-73967] Auto publish canary version for Magic SDK [#478](https://github.com/magiclabs/magic-js/pull/478) ([@bcleary06](https://github.com/bcleary06)) -- Merge branch 'master' into briancleary7114-sc-73967-auto-publish-canary-version-for-magic-sdk ([@bcleary06](https://github.com/bcleary06)) - -#### Authors: 1 - -- Brian Cleary ([@bcleary06](https://github.com/bcleary06)) - ---- - -# v11.0.2 (Mon Apr 03 2023) - -#### 🐛 Bug Fix - -- Calling magic flow authorization throws error [sc-74792] [#489](https://github.com/magiclabs/magic-js/pull/489) ([@bcleary06](https://github.com/bcleary06)) -- Calling magic flow authorization throws error [sc-74792] ([@bcleary06](https://github.com/bcleary06)) - -#### Authors: 1 - -- Brian Cleary ([@bcleary06](https://github.com/bcleary06)) - ---- - -# v11.0.0 (Fri Mar 31 2023) - -#### 🐛 Bug Fix - -- Merge remote-tracking branch 'origin/master' into jerryliu-sc-74424-email-otp-login-invalid-email-otp-event ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v8.7.2 (Tue Mar 21 2023) - -#### 🐛 Bug Fix - -- Merge branch 'master' into briancleary7114-sc-71135-add-checkout-sdk-method ([@bcleary06](https://github.com/bcleary06)) - -#### Authors: 1 - -- Brian Cleary ([@bcleary06](https://github.com/bcleary06)) - ---- - -# v8.7.0 (Tue Mar 07 2023) - -#### 🚀 Enhancement - -- Updated events to properly send otp [#469](https://github.com/magiclabs/magic-js/pull/469) ([@mushfichowdhury-magic](https://github.com/mushfichowdhury-magic)) - -#### Authors: 1 - -- Mushfi Chowdhury ([@mushfichowdhury-magic](https://github.com/mushfichowdhury-magic)) - ---- - -# v8.6.0 (Mon Mar 06 2023) - -#### 🚀 Enhancement - -- flow getAccount and pass cadence in [#466](https://github.com/magiclabs/magic-js/pull/466) ([@harryEth](https://github.com/harryEth)) - -#### Authors: 1 - -- [@harryEth](https://github.com/harryEth) - ---- - -# v8.5.0 (Tue Feb 28 2023) - -#### 🐛 Bug Fix - -- Merge branch 'master' of github.com:magiclabs/magic-js into mushfichowdhury-login-with-email-otp-whitelabel ([@mushfichowdhury-magic](https://github.com/mushfichowdhury-magic)) - -#### Authors: 1 - -- Mushfi Chowdhury ([@mushfichowdhury-magic](https://github.com/mushfichowdhury-magic)) - ---- - -# v3.1.0 (Mon Mar 07 2022) - -#### 🚀 Enhancement - -- Add flow domain tag feature support [#293](https://github.com/magiclabs/magic-js/pull/293) ([@harryEth](https://github.com/harryEth)) - -#### Authors: 1 - -- [@harryEth](https://github.com/harryEth) - ---- - -# v3.0.1 (Tue Jan 25 2022) - -#### 🐛 Bug Fix - -- Fix CDN build targets [#270](https://github.com/magiclabs/magic-js/pull/270) ([@smithki](https://github.com/smithki)) -- Fix CDN issues related to ESBuild ([@smithki](https://github.com/smithki)) - -#### Authors: 1 - -- Ian K Smith ([@smithki](https://github.com/smithki)) - ---- - -# v3.0.0 (Tue Jan 25 2022) - -#### 💥 Breaking Change - -- Switch from `microbundle` to `esbuild` [#220](https://github.com/magiclabs/magic-js/pull/220) ([@smithki](https://github.com/smithki)) - -#### 🐛 Bug Fix - -- Merge with master ([@smithki](https://github.com/smithki)) -- Merge branch 'master' into feat/faster-builds ([@smithki](https://github.com/smithki)) -- Modify CDN default exports ([@smithki](https://github.com/smithki)) -- Support newly added Magic JS extensions in ESBuild ([@smithki](https://github.com/smithki)) - -#### Authors: 1 - -- Ian K Smith ([@smithki](https://github.com/smithki)) - ---- - -# v1.0.0 (Fri Dec 10 2021) - -#### 💥 Breaking Change - -- Jerryliu sc 44386 migrate web3 related magic ext repos to magic part 2 [#251](https://github.com/magiclabs/magic-js/pull/251) ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - diff --git a/packages/@magic-ext/flow/LICENSE b/packages/@magic-ext/flow/LICENSE deleted file mode 100644 index d9a10c0d8..000000000 --- a/packages/@magic-ext/flow/LICENSE +++ /dev/null @@ -1,176 +0,0 @@ - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS diff --git a/packages/@magic-ext/flow/eslint.config.mjs b/packages/@magic-ext/flow/eslint.config.mjs deleted file mode 100644 index a94768e85..000000000 --- a/packages/@magic-ext/flow/eslint.config.mjs +++ /dev/null @@ -1,21 +0,0 @@ -import path from 'node:path'; -import { fileURLToPath } from 'node:url'; -import rootEslintConfig from '../../../eslint.config.mjs'; - -const __filename = fileURLToPath(import.meta.url); -const __dirname = path.dirname(__filename); - -export default [ - ...rootEslintConfig, - { - ignores: ['node_modules', 'coverage', 'dist', 'eslint.config.mjs', 'jest.config.ts'], - }, - { - languageOptions: { - parserOptions: { - project: ['./tsconfig.json'], - tsconfigRootDir: __dirname, - }, - }, - }, -]; diff --git a/packages/@magic-ext/flow/package.json b/packages/@magic-ext/flow/package.json deleted file mode 100644 index 6198c9505..000000000 --- a/packages/@magic-ext/flow/package.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "name": "@magic-ext/flow", - "version": "28.8.0", - "description": "magic flow extension", - "author": "Magic (https://magic.link/)", - "license": "MIT", - "repository": { - "type": "git", - "url": "https://github.com/magiclabs/magic-js" - }, - "files": [ - "dist" - ], - "target": "neutral", - "cdnGlobalName": "MagicFlowExtension", - "main": "./dist/cjs/index.js", - "module": "./dist/es/index.js", - "types": "./dist/types/index.d.ts", - "jsdelivr": "./dist/extension.js", - "exports": { - "import": "./dist/es/index.mjs", - "types": "./dist/types/index.d.ts", - "require": "./dist/cjs/index.js" - }, - "externals": { - "include": [ - "@magic-sdk/provider" - ] - }, - "devDependencies": { - "@magic-sdk/provider": "^33.9.0", - "@onflow/fcl": "^1.4.1", - "@onflow/types": "^1.1.0" - }, - "peerDependencies": { - "@onflow/fcl": "^1.4.1", - "@onflow/types": "^1.1.0" - } -} diff --git a/packages/@magic-ext/flow/src/index.cdn.ts b/packages/@magic-ext/flow/src/index.cdn.ts deleted file mode 100644 index e24793431..000000000 --- a/packages/@magic-ext/flow/src/index.cdn.ts +++ /dev/null @@ -1,3 +0,0 @@ -import { FlowExtension } from './index'; - -export default FlowExtension; diff --git a/packages/@magic-ext/flow/src/index.native.ts b/packages/@magic-ext/flow/src/index.native.ts deleted file mode 100644 index ea465c2a3..000000000 --- a/packages/@magic-ext/flow/src/index.native.ts +++ /dev/null @@ -1 +0,0 @@ -export * from './index'; diff --git a/packages/@magic-ext/flow/src/index.ts b/packages/@magic-ext/flow/src/index.ts deleted file mode 100644 index 087ffa827..000000000 --- a/packages/@magic-ext/flow/src/index.ts +++ /dev/null @@ -1,58 +0,0 @@ -import { MultichainExtension } from '@magic-sdk/provider'; - -// @ts-ignore -import * as fcl from '@onflow/fcl'; -import { FlowConfig, FlowPayloadMethod } from './type'; - -export class FlowExtension extends MultichainExtension<'flow'> { - name = 'flow' as const; - - constructor(public flowConfig: FlowConfig) { - super({ - rpcUrl: flowConfig.rpcUrl, - chainType: 'FLOW', - network: flowConfig.network, - }); - } - - getAccount = () => { - return this.request(this.utils.createJsonRpcRequestPayload(FlowPayloadMethod.FlowGetAccount, [])); - }; - - authorization = async (account: any = {}) => { - fcl.config().put('accessNode.api', this.config.rpcUrl); - const addr = await this.request(this.utils.createJsonRpcRequestPayload(FlowPayloadMethod.FlowGetAccount, [])); - const keyId = 0; - let sequenceNum; - if (account?.role?.proposer) { - const response = await fcl.account(addr); - sequenceNum = response.keys[keyId].sequenceNumber; - } - - const signingFunction = async (data: any) => { - const signature = await this.request({ - id: 42, - jsonrpc: '2.0', - method: 'flow_signTransaction', - params: { - message: data.message, - cadence: data.cadence, - }, - }); - - return { - addr, - keyId, - signature, - }; - }; - - return { - ...account, - addr, - keyId, - signingFunction, - sequenceNum, - }; - }; -} diff --git a/packages/@magic-ext/flow/src/type.ts b/packages/@magic-ext/flow/src/type.ts deleted file mode 100644 index c01477b45..000000000 --- a/packages/@magic-ext/flow/src/type.ts +++ /dev/null @@ -1,13 +0,0 @@ -export interface FlowConfig { - rpcUrl: string; - network: string; -} - -export interface ConfigType { - rpcUrl: string; - chainType: string; -} - -export enum FlowPayloadMethod { - FlowGetAccount = 'flow_getAccount', -} diff --git a/packages/@magic-ext/flow/tsconfig.json b/packages/@magic-ext/flow/tsconfig.json deleted file mode 100644 index c268bce54..000000000 --- a/packages/@magic-ext/flow/tsconfig.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "extends": "../../../tsconfig.settings.json", -} - diff --git a/packages/@magic-ext/harmony/.lintstagedrc.yml b/packages/@magic-ext/harmony/.lintstagedrc.yml deleted file mode 100644 index 1c250ad65..000000000 --- a/packages/@magic-ext/harmony/.lintstagedrc.yml +++ /dev/null @@ -1,2 +0,0 @@ -'*.{ts,tsx}': - - eslint --fix diff --git a/packages/@magic-ext/harmony/.prettierrc.js b/packages/@magic-ext/harmony/.prettierrc.js deleted file mode 100644 index 6177cac66..000000000 --- a/packages/@magic-ext/harmony/.prettierrc.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('../../../.prettierrc.js'); diff --git a/packages/@magic-ext/harmony/CHANGELOG.md b/packages/@magic-ext/harmony/CHANGELOG.md deleted file mode 100644 index d0b1e4bc4..000000000 --- a/packages/@magic-ext/harmony/CHANGELOG.md +++ /dev/null @@ -1,731 +0,0 @@ -# v28.2.2 (Thu Feb 05 2026) - -#### ⚠️ Pushed to `master` - -- Merge branch 'master' of github.com:magiclabs/magic-js ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v28.2.0 (Thu Jan 29 2026) - -#### 🚀 Enhancement - -- feat: Magic Widget extension [#979](https://github.com/magiclabs/magic-js/pull/979) ([@joshuascan](https://github.com/joshuascan) [@sherzod-bakhodirov](https://github.com/sherzod-bakhodirov)) - -#### Authors: 2 - -- [@sherzod-bakhodirov](https://github.com/sherzod-bakhodirov) -- Josh Scanlan ([@joshuascan](https://github.com/joshuascan)) - ---- - -# v28.1.0 (Thu Jan 29 2026) - -#### ⚠️ Pushed to `master` - -- Merge branch 'master' of github.com:magiclabs/magic-js ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v28.0.0 (Tue Jan 13 2026) - -#### 🐛 Bug Fix - -- heal Auto package versioning [#997](https://github.com/magiclabs/magic-js/pull/997) ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v26.0.0 (Fri Oct 03 2025) - -#### 💥 Breaking Change - -- EVM Extension and new extension methods [#915](https://github.com/magiclabs/magic-js/pull/915) ([@joshuascan](https://github.com/joshuascan)) - -#### Authors: 1 - -- Josh Scanlan ([@joshuascan](https://github.com/joshuascan)) - ---- - -# v24.4.3 (Thu Aug 14 2025) - -#### 🐛 Bug Fix - -- removes chainType from harmony config [#927](https://github.com/magiclabs/magic-js/pull/927) ([@joshuascan](https://github.com/joshuascan)) - -#### Authors: 1 - -- Josh Scanlan ([@joshuascan](https://github.com/joshuascan)) - ---- - -# v24.0.6 (Tue Apr 29 2025) - -#### 🐛 Bug Fix - -- Revert "Remove Extension class and rename InternalExtension to MagicExtension" [#882](https://github.com/magiclabs/magic-js/pull/882) ([@Ethella](https://github.com/Ethella)) -- Remove Extension class and rename InternalExtension to MagicExtension [#881](https://github.com/magiclabs/magic-js/pull/881) ([@devin-ai-integration[bot]](https://github.com/devin-ai-integration[bot]) [@Ethella](https://github.com/Ethella)) -- chore: remove @ikscodes/browser-env [#842](https://github.com/magiclabs/magic-js/pull/842) ([@otabek-magic](https://github.com/otabek-magic) [@sherzod-bakhodirov](https://github.com/sherzod-bakhodirov) [@Ethella](https://github.com/Ethella)) - -#### Authors: 4 - -- [@devin-ai-integration[bot]](https://github.com/devin-ai-integration[bot]) -- [@otabek-magic](https://github.com/otabek-magic) -- [@sherzod-bakhodirov](https://github.com/sherzod-bakhodirov) -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v24.0.4 (Tue Apr 01 2025) - -#### 🐛 Bug Fix - -- Merge remote-tracking branch 'origin/master' into PDEEXP-2318-imx-dont-throw-error-if-the-iframe-is-failing ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v23.20.0 (Wed Jan 08 2025) - -#### 🐛 Bug Fix - -- Merge branch 'master' into hcote-web3modal ([@hcote](https://github.com/hcote)) - -#### Authors: 1 - -- Hunter Cote ([@hcote](https://github.com/hcote)) - ---- - -# v23.19.0 (Wed Dec 25 2024) - -#### 🐛 Bug Fix - -- Merge remote-tracking branch 'origin/master' into PDEEXP-530-wallet-connect-login-with-redirect ([@Ethella](https://github.com/Ethella)) -- resolve conflict ([@Ethella](https://github.com/Ethella)) -- * resolve conflict ([@Ethella](https://github.com/Ethella)) -- Merge branch 'master' into PDEEXP-530-wallet-connect-login-with-redirect ([@mattupham](https://github.com/mattupham)) - -#### Authors: 2 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) -- Matt Upham ([@mattupham](https://github.com/mattupham)) - ---- - -# v23.18.1 (Thu Dec 05 2024) - -#### 🐛 Bug Fix - -- fix: typos [#830](https://github.com/magiclabs/magic-js/pull/830) ([@omahs](https://github.com/omahs) [@Ethella](https://github.com/Ethella)) -- chore: bump eslint version [#834](https://github.com/magiclabs/magic-js/pull/834) ([@otabek-magic](https://github.com/otabek-magic) [@Ethella](https://github.com/Ethella)) -- Merge branch 'master' into PDEEXP-1985-bump-magic-sdk-eslint-version-to-9 ([@otabek-magic](https://github.com/otabek-magic)) -- chore: update eslint config ([@otabek-magic](https://github.com/otabek-magic)) -- chore: update to eslint 9 in magic-sdk magic-ext ([@otabek-magic](https://github.com/otabek-magic)) -- Merge branch 'master' into patch-1 ([@Ethella](https://github.com/Ethella)) - -#### Authors: 3 - -- [@otabek-magic](https://github.com/otabek-magic) -- Jerry Liu ([@Ethella](https://github.com/Ethella)) -- omahs ([@omahs](https://github.com/omahs)) - ---- - -# v23.18.0 (Mon Nov 25 2024) - -#### 🐛 Bug Fix - -- Merge branch 'master' into PDEEXP-1954-OAuth-popup-flow-consolidation ([@sherzod-bakhodirov](https://github.com/sherzod-bakhodirov)) - -#### Authors: 1 - -- [@sherzod-bakhodirov](https://github.com/sherzod-bakhodirov) - ---- - -# v23.16.0 (Fri Oct 25 2024) - -#### 🐛 Bug Fix - -- Merge branch 'master' into PDEEXP-1951-Lost-Device-Event-Does-Not-Emit-Whitelabel-MFA-provider ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v23.15.0 (Fri Oct 25 2024) - -#### 🐛 Bug Fix - -- Merge branch 'master' into cancel-event-for-recovery-flow ([@sukhrobbekodilov](https://github.com/sukhrobbekodilov)) - -#### Authors: 1 - -- [@sukhrobbekodilov](https://github.com/sukhrobbekodilov) - ---- - -# v23.14.0 (Fri Oct 18 2024) - -#### 🐛 Bug Fix - -- Merge branch 'master' into missed_type_for_recovery_factor ([@sukhrobbekodilov](https://github.com/sukhrobbekodilov)) - -#### Authors: 1 - -- [@sukhrobbekodilov](https://github.com/sukhrobbekodilov) - ---- - -# v23.13.0 (Fri Oct 18 2024) - -#### 🐛 Bug Fix - -- Update .deepsource.toml [#804](https://github.com/magiclabs/magic-js/pull/804) ([@Magic-Brandan](https://github.com/Magic-Brandan)) - -#### Authors: 1 - -- [@Magic-Brandan](https://github.com/Magic-Brandan) - ---- - -# v23.11.0 (Wed Sep 25 2024) - -#### 🐛 Bug Fix - -- Merge branch 'master' into sherzod-PDEEXP-1711-Support-MFA-setup-whitelabel-support ([@sherzod-bakhodirov](https://github.com/sherzod-bakhodirov)) - -#### Authors: 1 - -- [@sherzod-bakhodirov](https://github.com/sherzod-bakhodirov) - ---- - -# v23.9.0 (Wed Sep 11 2024) - -#### 🐛 Bug Fix - -- Merge branch 'master' into sherzod-PDEEXP-1711-Support-MFA-setup-whitelabel-support ([@sherzod-bakhodirov](https://github.com/sherzod-bakhodirov)) -- Merge branch 'master' into hcote-cosmos-options ([@hcote](https://github.com/hcote)) - -#### Authors: 2 - -- [@sherzod-bakhodirov](https://github.com/sherzod-bakhodirov) -- Hunter Cote ([@hcote](https://github.com/hcote)) - ---- - -# v23.6.0 (Tue Sep 03 2024) - -#### 🐛 Bug Fix - -- Merge branch 'master' of https://github.com/magiclabs/magic-js into khamdam-sc-PDEEXP-54-whitelabel-sms-login ([@khamdam-magic](https://github.com/khamdam-magic)) -- fix: update branch ([@khamdam-magic](https://github.com/khamdam-magic)) -- fix(): resolve conflicts ([@khamdam-magic](https://github.com/khamdam-magic)) - -#### Authors: 1 - -- [@khamdam-magic](https://github.com/khamdam-magic) - ---- - -# v23.4.0 (Tue Aug 13 2024) - -#### 🐛 Bug Fix - -- add test environment check to avoid setTimeout ([@Ethella](https://github.com/Ethella)) -- add useFakeTimers ([@Ethella](https://github.com/Ethella)) -- Merge branch 'master' into Add-two-more-mfa-flags ([@Ethella](https://github.com/Ethella)) -- Merge remote-tracking branch 'refs/remotes/origin/master' into Add-two-more-mfa-flags ([@Ethella](https://github.com/Ethella)) - -#### ⚠️ Pushed to `master` - -- silent console.warn and error in tests ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v23.0.4 (Thu Jun 06 2024) - -#### 🐛 Bug Fix - -- Merge remote-tracking branch 'refs/remotes/origin/master' into PDEEXP-1279-done-event-not-firing-in-whitelabel-email-login-flow ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v23.0.0 (Fri Mar 22 2024) - -#### 🚀 Enhancement - -- Add private key reveal method [#699](https://github.com/magiclabs/magic-js/pull/699) ([@joshuascan](https://github.com/joshuascan)) - -#### 🐛 Bug Fix - -- "Bump independent versions \[skip ci\]" (team@magic.link) -- Update CHANGELOG.md \[skip ci\] (team@magic.link) -- Merge branch 'master' into patjacobs-oauth-v2-apple ([@patjacobs-magic](https://github.com/patjacobs-magic)) -- Merge branch 'master' into joshscanlan-pk-reveal-method ([@joshuascan](https://github.com/joshuascan)) - -#### Authors: 3 - -- [@patjacobs-magic](https://github.com/patjacobs-magic) -- Josh Scanlan ([@joshuascan](https://github.com/joshuascan)) -- Magic Labs (team@magic.link) - ---- - -# v22.0.0 (Fri Mar 15 2024) - -#### 🐛 Bug Fix - -- "Bump independent versions \[skip ci\]" (team@magic.link) -- Update CHANGELOG.md \[skip ci\] (team@magic.link) -- Merge branch 'master' into patjacobs-oauth-v2-apple ([@patjacobs-magic](https://github.com/patjacobs-magic)) - -#### Authors: 2 - -- [@patjacobs-magic](https://github.com/patjacobs-magic) -- Magic Labs (team@magic.link) - ---- - -# v21.0.0 (Sat Mar 09 2024) - -#### 🐛 Bug Fix - -- "Bump independent versions \[skip ci\]" (team@magic.link) -- Update CHANGELOG.md \[skip ci\] (team@magic.link) -- Merge branch 'master' into patjacobs-oauth-v2-apple ([@patjacobs-magic](https://github.com/patjacobs-magic)) - -#### Authors: 2 - -- [@patjacobs-magic](https://github.com/patjacobs-magic) -- Magic Labs (team@magic.link) - ---- - -# v20.0.0 (Thu Feb 29 2024) - -#### 🐛 Bug Fix - -- Merge branch 'master' into patjacobs-oauth-v2-apple ([@patjacobs-magic](https://github.com/patjacobs-magic)) -- "Bump independent versions \[skip ci\]" (team@magic.link) -- Update CHANGELOG.md \[skip ci\] (team@magic.link) - -#### Authors: 2 - -- [@patjacobs-magic](https://github.com/patjacobs-magic) -- Magic Labs (team@magic.link) - ---- - -# v19.0.0 (Tue Feb 27 2024) - -#### 🐛 Bug Fix - -- "Bump independent versions \[skip ci\]" (team@magic.link) - -#### Authors: 1 - -- Magic Labs (team@magic.link) - ---- - -# v17.1.1 (Sat Feb 10 2024) - -#### 🐛 Bug Fix - -- Merge branch 'master' into PDEEXP-253-whitelabel-update-email-with-ui-missing-event-when-email-address-already-in-use ([@joshuascan](https://github.com/joshuascan)) - -#### Authors: 1 - -- Josh Scanlan ([@joshuascan](https://github.com/joshuascan)) - ---- - -# v16.4.1 (Fri Dec 15 2023) - -#### 🐛 Bug Fix - -- Merge branch 'master' into rominhalltari-sc-91530-investigate-and-provide-solution-for-issue ([@romin-halltari](https://github.com/romin-halltari)) - -#### Authors: 1 - -- [@romin-halltari](https://github.com/romin-halltari) - ---- - -# v16.4.0 (Thu Dec 14 2023) - -#### 🐛 Bug Fix - -- Merge branch 'master' into split-key-device-share ([@Dizigen](https://github.com/Dizigen)) - -#### Authors: 1 - -- David He ([@Dizigen](https://github.com/Dizigen)) - ---- - -# v16.3.2 (Tue Nov 28 2023) - -#### 🐛 Bug Fix - -- Merge branch 'master' into josh-sc-90794-add-types-export-to-scaffolding ([@joshuascan](https://github.com/joshuascan)) - -#### Authors: 1 - -- Josh Scanlan ([@joshuascan](https://github.com/joshuascan)) - ---- - -# v16.3.1 (Tue Nov 21 2023) - -#### 🐛 Bug Fix - -- Fix TypeScript resolution for @magic-ext/* packages when using modern module resolution (node16 etc) [#670](https://github.com/magiclabs/magic-js/pull/670) ([@rjwebb](https://github.com/rjwebb) [@joshuascan](https://github.com/joshuascan)) -- Merge branch 'master' into rjwebb/669-fix-node16-magic-ext-imports ([@joshuascan](https://github.com/joshuascan)) -- Update package.json exports to expose types when using node16 typescript, for algorand, auth, avalanche, bitcoin, conflux, cosmos, ed25519, flow, gdkms, harmony, hedera, icon, near, oauth, oidc, polkadot, react-native-bare-oauth, react-native-expo-oauth, taquito, terra, tezos, webauthn and zilliqa ([@rjwebb](https://github.com/rjwebb)) - -#### Authors: 2 - -- Bob Webb ([@rjwebb](https://github.com/rjwebb)) -- Josh Scanlan ([@joshuascan](https://github.com/joshuascan)) - ---- - -# v16.2.1 (Tue Nov 14 2023) - -#### 🐛 Bug Fix - -- Merge branch 'master' into injectable-webcrypto-jwt-for-session-persistence ([@Dizigen](https://github.com/Dizigen)) - -#### Authors: 1 - -- David He ([@Dizigen](https://github.com/Dizigen)) - ---- - -# v16.2.0 (Tue Oct 24 2023) - -#### 🐛 Bug Fix - -- Merge branch 'master' into hcote-support-sepolia-natively ([@hcote](https://github.com/hcote)) - -#### Authors: 1 - -- Hunter Cote ([@hcote](https://github.com/hcote)) - ---- - -# v16.0.0 (Fri Oct 13 2023) - -#### 🐛 Bug Fix - -- Merge branch 'master' into force-ctor-preload-iframe ([@Dizigen](https://github.com/Dizigen)) - -#### Authors: 1 - -- David He ([@Dizigen](https://github.com/Dizigen)) - ---- - -# v15.1.1 (Mon Oct 02 2023) - -#### 🐛 Bug Fix - -- Merge branch 'master' into patjacobs-sc-83016-ux-optimization-expired-email-otps ([@patjacobs-magic](https://github.com/patjacobs-magic)) - -#### Authors: 1 - -- [@patjacobs-magic](https://github.com/patjacobs-magic) - ---- - -# v15.1.0 (Fri Sep 29 2023) - -#### 🐛 Bug Fix - -- Merge remote-tracking branch 'origin/master' into jerryliu-sc-87830-optimize-webcrypto-implementation-to-generate ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v14.4.0 (Wed Aug 16 2023) - -#### 🐛 Bug Fix - -- Merge branch 'master' into josh-sc-75022-standalone-update-email-v2 ([@joshuascan](https://github.com/joshuascan)) - -#### Authors: 1 - -- Josh Scanlan ([@joshuascan](https://github.com/joshuascan)) - ---- - -# v14.2.0 (Wed Aug 09 2023) - -#### 🚀 Enhancement - -- republish harmony ext [#603](https://github.com/magiclabs/magic-js/pull/603) ([@hcote](https://github.com/hcote)) - -#### 🐛 Bug Fix - -- remove RN path ([@hcote](https://github.com/hcote)) -- add test ([@hcote](https://github.com/hcote)) -- restore RN path in package.json ([@hcote](https://github.com/hcote)) -- restore changelog ([@hcote](https://github.com/hcote)) -- republish harmony ext ([@hcote](https://github.com/hcote)) - -#### Authors: 1 - -- Hunter Cote ([@hcote](https://github.com/hcote)) - ---- - -# v14.1.0 (Tue Aug 08 2023) - -#### 🐛 Bug Fix - -- Merge remote-tracking branch 'origin/master' into jerryliu-sc-81984-update-loginwithemailotp-interface-with-new ([@Ethella](https://github.com/Ethella)) -- Merge remote-tracking branch 'origin/master' ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v13.3.0 (Fri Jul 07 2023) - -#### ⚠️ Pushed to `master` - -- Merge remote-tracking branch 'origin/master' ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v13.2.0 (Fri Jun 23 2023) - -#### 🚀 Enhancement - -- Auto version bumping [#557](https://github.com/magiclabs/magic-js/pull/557) ([@Ethella](https://github.com/Ethella) [@Ariflo](https://github.com/Ariflo)) -- Updates License to Apache 2.0 [#551](https://github.com/magiclabs/magic-js/pull/551) ([@Ariflo](https://github.com/Ariflo)) - -#### 🐛 Bug Fix - -- Match NPM Version ([@Ariflo](https://github.com/Ariflo)) -- Update CHANGELOG.md \[skip ci\] ([@Ethella](https://github.com/Ethella)) -- 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)) -- Updates License to Apache 2.0 ([@Ariflo](https://github.com/Ariflo)) - -#### Authors: 2 - -- Arian Flores ([@Ariflo](https://github.com/Ariflo)) -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v13.1.0 (Fri Jun 23 2023) - -#### 🚀 Enhancement - -- Updates License to Apache 2.0 [#551](https://github.com/magiclabs/magic-js/pull/551) ([@Ariflo](https://github.com/Ariflo)) - -#### 🐛 Bug Fix - -- 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)) -- Updates License to Apache 2.0 ([@Ariflo](https://github.com/Ariflo)) - -#### Authors: 1 - -- Arian Flores ([@Ariflo](https://github.com/Ariflo)) - ---- - -# v12.3.0 (Fri May 26 2023) - -#### 🐛 Bug Fix - -- Merge remote-tracking branch 'origin/master' into jerryliu_hotfix_gdkms ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v12.1.5 (Fri May 19 2023) - -#### 🐛 Bug Fix - -- Merge remote-tracking branch 'origin/master' into jerryliu-sc-77755-kresus-hotfix ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v12.1.1 (Fri Apr 21 2023) - -#### 🐛 Bug Fix - -- Merge remote-tracking branch 'origin/master' into jerryliu-sc-75641-lazer-request-showsettings-page-mfa ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v12.1.0 (Thu Apr 20 2023) - -#### 🐛 Bug Fix - -- Merge branch 'master' into jerryliu-sc-75641-lazer-request-showsettings-page-mfa ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v11.1.0 (Tue Apr 04 2023) - -#### 🐛 Bug Fix - -- Merge branch 'master' into briancleary7114-sc-73967-auto-publish-canary-version-for-magic-sdk ([@bcleary06](https://github.com/bcleary06)) - -#### Authors: 1 - -- Brian Cleary ([@bcleary06](https://github.com/bcleary06)) - ---- - -# v11.0.0 (Fri Mar 31 2023) - -#### 🐛 Bug Fix - -- Merge remote-tracking branch 'origin/master' into jerryliu-sc-74424-email-otp-login-invalid-email-otp-event ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v8.6.2 (Tue Mar 21 2023) - -#### 🐛 Bug Fix - -- Merge branch 'master' into briancleary7114-sc-71135-add-checkout-sdk-method ([@bcleary06](https://github.com/bcleary06)) - -#### Authors: 1 - -- Brian Cleary ([@bcleary06](https://github.com/bcleary06)) - ---- - -# v8.5.0 (Tue Feb 28 2023) - -#### 🐛 Bug Fix - -- Merge branch 'master' of github.com:magiclabs/magic-js into mushfichowdhury-login-with-email-otp-whitelabel ([@mushfichowdhury-magic](https://github.com/mushfichowdhury-magic)) - -#### Authors: 1 - -- Mushfi Chowdhury ([@mushfichowdhury-magic](https://github.com/mushfichowdhury-magic)) - ---- - -# v3.1.0 (Mon Mar 07 2022) - -#### 🐛 Bug Fix - -- Update READMEs with outdated context/hyperlinks ([@smithki](https://github.com/smithki)) - -#### 🏠 Internal - -- Internal documentation updates (`BUILD_SYSTEM.md`) [#283](https://github.com/magiclabs/magic-js/pull/283) ([@smithki](https://github.com/smithki)) - -#### Authors: 1 - -- Ian K Smith ([@smithki](https://github.com/smithki)) - ---- - -# v3.0.1 (Tue Jan 25 2022) - -#### 🐛 Bug Fix - -- Fix CDN build targets [#270](https://github.com/magiclabs/magic-js/pull/270) ([@smithki](https://github.com/smithki)) -- Fix CDN issues related to ESBuild ([@smithki](https://github.com/smithki)) - -#### Authors: 1 - -- Ian K Smith ([@smithki](https://github.com/smithki)) - ---- - -# v3.0.0 (Tue Jan 25 2022) - -#### 💥 Breaking Change - -- Switch from `microbundle` to `esbuild` [#220](https://github.com/magiclabs/magic-js/pull/220) ([@smithki](https://github.com/smithki)) - -#### 🐛 Bug Fix - -- Merge with master ([@smithki](https://github.com/smithki)) -- Merge branch 'master' into feat/faster-builds ([@smithki](https://github.com/smithki)) -- Modify CDN default exports ([@smithki](https://github.com/smithki)) -- Support newly added Magic JS extensions in ESBuild ([@smithki](https://github.com/smithki)) - -#### Authors: 1 - -- Ian K Smith ([@smithki](https://github.com/smithki)) - ---- - -# v1.0.0 (Thu Dec 09 2021) - -#### 💥 Breaking Change - -- Jerryliu sc 44386 migrate web3 related magic ext repos to magic (PART 1) [#248](https://github.com/magiclabs/magic-js/pull/248) ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- diff --git a/packages/@magic-ext/harmony/LICENSE b/packages/@magic-ext/harmony/LICENSE deleted file mode 100644 index 7335bc897..000000000 --- a/packages/@magic-ext/harmony/LICENSE +++ /dev/null @@ -1,177 +0,0 @@ - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - diff --git a/packages/@magic-ext/harmony/babel.config.json b/packages/@magic-ext/harmony/babel.config.json deleted file mode 100644 index 7521eb073..000000000 --- a/packages/@magic-ext/harmony/babel.config.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "env": { - "test": { - "plugins": ["@babel/plugin-transform-modules-commonjs"] - } - } -} diff --git a/packages/@magic-ext/harmony/eslint.config.mjs b/packages/@magic-ext/harmony/eslint.config.mjs deleted file mode 100644 index c68f8e69b..000000000 --- a/packages/@magic-ext/harmony/eslint.config.mjs +++ /dev/null @@ -1,21 +0,0 @@ -import path from 'node:path'; -import { fileURLToPath } from 'node:url'; -import rootEslintConfig from '../../../eslint.config.mjs'; - -const __filename = fileURLToPath(import.meta.url); -const __dirname = path.dirname(__filename); - -export default [ - ...rootEslintConfig, - { - ignores: ['node_modules', 'coverage', 'dist', 'eslint.config.mjs', 'jest.config.ts'], - }, - { - languageOptions: { - parserOptions: { - project: ['./tsconfig.json', './test/tsconfig.json'], - tsconfigRootDir: __dirname, - }, - }, - }, -]; diff --git a/packages/@magic-ext/harmony/jest.config.ts b/packages/@magic-ext/harmony/jest.config.ts deleted file mode 100644 index 433182c4b..000000000 --- a/packages/@magic-ext/harmony/jest.config.ts +++ /dev/null @@ -1,13 +0,0 @@ -import baseJestConfig from '../../../jest.config'; -import type { Config } from '@jest/types'; - -const config: Config.InitialOptions = { - ...baseJestConfig, - transform: { - '^.+\\.(js|jsx)$': 'babel-jest', - '\\.(ts|tsx)$': 'ts-jest', - }, - coveragePathIgnorePatterns: ['index.cdn.ts', 'index.native.ts'], -}; - -export default config; diff --git a/packages/@magic-ext/harmony/package.json b/packages/@magic-ext/harmony/package.json deleted file mode 100644 index f732d95ee..000000000 --- a/packages/@magic-ext/harmony/package.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "name": "@magic-ext/harmony", - "version": "28.8.0", - "description": "magic harmony extension", - "author": "Magic (https://magic.link/)", - "license": "MIT", - "repository": { - "type": "git", - "url": "https://github.com/magiclabs/magic-js" - }, - "files": [ - "dist" - ], - "target": "neutral", - "cdnGlobalName": "MagicHarmonyExtension", - "main": "./dist/cjs/index.js", - "module": "./dist/es/index.js", - "types": "./dist/types/index.d.ts", - "jsdelivr": "./dist/extension.js", - "exports": { - "import": "./dist/es/index.mjs", - "types": "./dist/types/index.d.ts", - "require": "./dist/cjs/index.js" - }, - "externals": { - "include": [ - "@magic-sdk/provider" - ] - }, - "devDependencies": { - "@magic-sdk/provider": "^33.9.0" - } -} diff --git a/packages/@magic-ext/harmony/src/index.cdn.ts b/packages/@magic-ext/harmony/src/index.cdn.ts deleted file mode 100644 index e7b8c38c1..000000000 --- a/packages/@magic-ext/harmony/src/index.cdn.ts +++ /dev/null @@ -1,3 +0,0 @@ -import { HarmonyExtension } from './index'; - -export default HarmonyExtension; diff --git a/packages/@magic-ext/harmony/src/index.native.ts b/packages/@magic-ext/harmony/src/index.native.ts deleted file mode 100644 index ea465c2a3..000000000 --- a/packages/@magic-ext/harmony/src/index.native.ts +++ /dev/null @@ -1 +0,0 @@ -export * from './index'; diff --git a/packages/@magic-ext/harmony/src/index.ts b/packages/@magic-ext/harmony/src/index.ts deleted file mode 100644 index 70bccfee5..000000000 --- a/packages/@magic-ext/harmony/src/index.ts +++ /dev/null @@ -1,20 +0,0 @@ -import { MultichainExtension } from '@magic-sdk/provider'; -import { HarmonyPayloadMethod, HarmonyConfig } from './types'; - -export class HarmonyExtension extends MultichainExtension<'harmony'> { - name = 'harmony' as const; - - constructor(public harmonyConfig: HarmonyConfig) { - super({ - rpcUrl: harmonyConfig.rpcUrl, - chainType: 'HARMONY', - options: { - chainId: harmonyConfig.chainId, - }, - }); - } - - public async sendTransaction(params: any) { - return this.request(this.utils.createJsonRpcRequestPayload(HarmonyPayloadMethod.HarmonySignTransaction, params)); - } -} diff --git a/packages/@magic-ext/harmony/src/types.ts b/packages/@magic-ext/harmony/src/types.ts deleted file mode 100644 index 4066e5d2d..000000000 --- a/packages/@magic-ext/harmony/src/types.ts +++ /dev/null @@ -1,8 +0,0 @@ -export enum HarmonyPayloadMethod { - HarmonySignTransaction = 'hmy_sendTransaction', -} - -export interface HarmonyConfig { - rpcUrl: string; - chainId: string; -} diff --git a/packages/@magic-ext/harmony/test/setup.ts b/packages/@magic-ext/harmony/test/setup.ts deleted file mode 100644 index 6430bda21..000000000 --- a/packages/@magic-ext/harmony/test/setup.ts +++ /dev/null @@ -1,6 +0,0 @@ -// NOTE: This module is automatically included at the top of each test file. -import { mockConsole } from '../../../../scripts/utils/mock-console'; - -beforeEach(() => { - mockConsole(); -}); diff --git a/packages/@magic-ext/harmony/test/spec/harmony.spec.ts b/packages/@magic-ext/harmony/test/spec/harmony.spec.ts deleted file mode 100644 index abf741b19..000000000 --- a/packages/@magic-ext/harmony/test/spec/harmony.spec.ts +++ /dev/null @@ -1,25 +0,0 @@ -import { HarmonyPayloadMethod } from '../../src/types'; -import { createMagicSDKWithExtension } from '../../../../@magic-sdk/provider/test/factories'; -import { HarmonyExtension } from '../../src'; - -beforeEach(() => { - jest.resetAllMocks(); -}); - -test('Sends params as payload', async () => { - const magic = createMagicSDKWithExtension({}, [ - new HarmonyExtension({ - rpcUrl: 'https://api.s0.b.hmny.io', - chainId: '2', - } as any), - ]); - magic.harmony.request = jest.fn(); - - const params = 'hello world'; - - magic.harmony.sendTransaction(params); - - const requestPayload = magic.harmony.request.mock.calls[0][0]; - expect(requestPayload.method).toBe(HarmonyPayloadMethod.HarmonySignTransaction); - expect(requestPayload.params).toEqual(params); -}); diff --git a/packages/@magic-ext/harmony/test/tsconfig.json b/packages/@magic-ext/harmony/test/tsconfig.json deleted file mode 100644 index ef2de78d3..000000000 --- a/packages/@magic-ext/harmony/test/tsconfig.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "../../../../tsconfig.settings.test.json", -} diff --git a/packages/@magic-ext/harmony/tsconfig.json b/packages/@magic-ext/harmony/tsconfig.json deleted file mode 100644 index c268bce54..000000000 --- a/packages/@magic-ext/harmony/tsconfig.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "extends": "../../../tsconfig.settings.json", -} - diff --git a/packages/@magic-ext/icon/.lintstagedrc.yml b/packages/@magic-ext/icon/.lintstagedrc.yml deleted file mode 100644 index 1c250ad65..000000000 --- a/packages/@magic-ext/icon/.lintstagedrc.yml +++ /dev/null @@ -1,2 +0,0 @@ -'*.{ts,tsx}': - - eslint --fix diff --git a/packages/@magic-ext/icon/.prettierrc.js b/packages/@magic-ext/icon/.prettierrc.js deleted file mode 100644 index 6177cac66..000000000 --- a/packages/@magic-ext/icon/.prettierrc.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('../../../.prettierrc.js'); diff --git a/packages/@magic-ext/icon/CHANGELOG.md b/packages/@magic-ext/icon/CHANGELOG.md deleted file mode 100644 index e98b8fc0c..000000000 --- a/packages/@magic-ext/icon/CHANGELOG.md +++ /dev/null @@ -1,687 +0,0 @@ -# v28.2.2 (Thu Feb 05 2026) - -#### ⚠️ Pushed to `master` - -- Merge branch 'master' of github.com:magiclabs/magic-js ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v28.2.0 (Thu Jan 29 2026) - -#### 🚀 Enhancement - -- feat: Magic Widget extension [#979](https://github.com/magiclabs/magic-js/pull/979) ([@joshuascan](https://github.com/joshuascan) [@sherzod-bakhodirov](https://github.com/sherzod-bakhodirov)) - -#### Authors: 2 - -- [@sherzod-bakhodirov](https://github.com/sherzod-bakhodirov) -- Josh Scanlan ([@joshuascan](https://github.com/joshuascan)) - ---- - -# v28.1.0 (Thu Jan 29 2026) - -#### ⚠️ Pushed to `master` - -- Merge branch 'master' of github.com:magiclabs/magic-js ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v28.0.0 (Tue Jan 13 2026) - -#### 🐛 Bug Fix - -- heal Auto package versioning [#997](https://github.com/magiclabs/magic-js/pull/997) ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v26.0.0 (Fri Oct 03 2025) - -#### 💥 Breaking Change - -- EVM Extension and new extension methods [#915](https://github.com/magiclabs/magic-js/pull/915) ([@joshuascan](https://github.com/joshuascan)) - -#### Authors: 1 - -- Josh Scanlan ([@joshuascan](https://github.com/joshuascan)) - ---- - -# v24.0.6 (Tue Apr 29 2025) - -#### 🐛 Bug Fix - -- Revert "Remove Extension class and rename InternalExtension to MagicExtension" [#882](https://github.com/magiclabs/magic-js/pull/882) ([@Ethella](https://github.com/Ethella)) -- Remove Extension class and rename InternalExtension to MagicExtension [#881](https://github.com/magiclabs/magic-js/pull/881) ([@devin-ai-integration[bot]](https://github.com/devin-ai-integration[bot]) [@Ethella](https://github.com/Ethella)) - -#### Authors: 2 - -- [@devin-ai-integration[bot]](https://github.com/devin-ai-integration[bot]) -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v24.0.4 (Tue Apr 01 2025) - -#### 🐛 Bug Fix - -- Merge remote-tracking branch 'origin/master' into PDEEXP-2318-imx-dont-throw-error-if-the-iframe-is-failing ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v23.20.0 (Wed Jan 08 2025) - -#### 🐛 Bug Fix - -- Merge branch 'master' into hcote-web3modal ([@hcote](https://github.com/hcote)) - -#### Authors: 1 - -- Hunter Cote ([@hcote](https://github.com/hcote)) - ---- - -# v23.19.0 (Wed Dec 25 2024) - -#### 🐛 Bug Fix - -- Merge remote-tracking branch 'origin/master' into PDEEXP-530-wallet-connect-login-with-redirect ([@Ethella](https://github.com/Ethella)) -- resolve conflict ([@Ethella](https://github.com/Ethella)) -- * resolve conflict ([@Ethella](https://github.com/Ethella)) -- Merge branch 'master' into PDEEXP-530-wallet-connect-login-with-redirect ([@mattupham](https://github.com/mattupham)) - -#### Authors: 2 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) -- Matt Upham ([@mattupham](https://github.com/mattupham)) - ---- - -# v23.18.1 (Thu Dec 05 2024) - -#### 🐛 Bug Fix - -- fix: typos [#830](https://github.com/magiclabs/magic-js/pull/830) ([@omahs](https://github.com/omahs) [@Ethella](https://github.com/Ethella)) -- chore: bump eslint version [#834](https://github.com/magiclabs/magic-js/pull/834) ([@otabek-magic](https://github.com/otabek-magic) [@Ethella](https://github.com/Ethella)) -- Merge branch 'master' into PDEEXP-1985-bump-magic-sdk-eslint-version-to-9 ([@otabek-magic](https://github.com/otabek-magic)) -- chore: update eslint config ([@otabek-magic](https://github.com/otabek-magic)) -- chore: update to eslint 9 in magic-sdk magic-ext ([@otabek-magic](https://github.com/otabek-magic)) -- Merge branch 'master' into patch-1 ([@Ethella](https://github.com/Ethella)) - -#### Authors: 3 - -- [@otabek-magic](https://github.com/otabek-magic) -- Jerry Liu ([@Ethella](https://github.com/Ethella)) -- omahs ([@omahs](https://github.com/omahs)) - ---- - -# v23.18.0 (Mon Nov 25 2024) - -#### 🐛 Bug Fix - -- Merge branch 'master' into PDEEXP-1954-OAuth-popup-flow-consolidation ([@sherzod-bakhodirov](https://github.com/sherzod-bakhodirov)) - -#### Authors: 1 - -- [@sherzod-bakhodirov](https://github.com/sherzod-bakhodirov) - ---- - -# v23.16.0 (Fri Oct 25 2024) - -#### 🐛 Bug Fix - -- Merge branch 'master' into PDEEXP-1951-Lost-Device-Event-Does-Not-Emit-Whitelabel-MFA-provider ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v23.15.0 (Fri Oct 25 2024) - -#### 🐛 Bug Fix - -- Merge branch 'master' into cancel-event-for-recovery-flow ([@sukhrobbekodilov](https://github.com/sukhrobbekodilov)) - -#### Authors: 1 - -- [@sukhrobbekodilov](https://github.com/sukhrobbekodilov) - ---- - -# v23.14.0 (Fri Oct 18 2024) - -#### 🐛 Bug Fix - -- Merge branch 'master' into missed_type_for_recovery_factor ([@sukhrobbekodilov](https://github.com/sukhrobbekodilov)) - -#### Authors: 1 - -- [@sukhrobbekodilov](https://github.com/sukhrobbekodilov) - ---- - -# v23.13.0 (Fri Oct 18 2024) - -#### 🐛 Bug Fix - -- Update .deepsource.toml [#804](https://github.com/magiclabs/magic-js/pull/804) ([@Magic-Brandan](https://github.com/Magic-Brandan)) - -#### Authors: 1 - -- [@Magic-Brandan](https://github.com/Magic-Brandan) - ---- - -# v23.11.0 (Wed Sep 25 2024) - -#### 🐛 Bug Fix - -- Merge branch 'master' into sherzod-PDEEXP-1711-Support-MFA-setup-whitelabel-support ([@sherzod-bakhodirov](https://github.com/sherzod-bakhodirov)) - -#### Authors: 1 - -- [@sherzod-bakhodirov](https://github.com/sherzod-bakhodirov) - ---- - -# v23.9.0 (Wed Sep 11 2024) - -#### 🐛 Bug Fix - -- Merge branch 'master' into sherzod-PDEEXP-1711-Support-MFA-setup-whitelabel-support ([@sherzod-bakhodirov](https://github.com/sherzod-bakhodirov)) -- Merge branch 'master' into hcote-cosmos-options ([@hcote](https://github.com/hcote)) - -#### Authors: 2 - -- [@sherzod-bakhodirov](https://github.com/sherzod-bakhodirov) -- Hunter Cote ([@hcote](https://github.com/hcote)) - ---- - -# v23.6.0 (Tue Sep 03 2024) - -#### 🐛 Bug Fix - -- Merge branch 'master' of https://github.com/magiclabs/magic-js into khamdam-sc-PDEEXP-54-whitelabel-sms-login ([@khamdam-magic](https://github.com/khamdam-magic)) -- fix: update branch ([@khamdam-magic](https://github.com/khamdam-magic)) -- fix(): resolve conflicts ([@khamdam-magic](https://github.com/khamdam-magic)) - -#### Authors: 1 - -- [@khamdam-magic](https://github.com/khamdam-magic) - ---- - -# v23.4.0 (Tue Aug 13 2024) - -#### 🐛 Bug Fix - -- Merge remote-tracking branch 'refs/remotes/origin/master' into Add-two-more-mfa-flags ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v23.0.4 (Thu Jun 06 2024) - -#### 🐛 Bug Fix - -- Merge remote-tracking branch 'refs/remotes/origin/master' into PDEEXP-1279-done-event-not-firing-in-whitelabel-email-login-flow ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v23.0.0 (Fri Mar 22 2024) - -#### 🚀 Enhancement - -- Add private key reveal method [#699](https://github.com/magiclabs/magic-js/pull/699) ([@joshuascan](https://github.com/joshuascan)) - -#### 🐛 Bug Fix - -- "Bump independent versions \[skip ci\]" (team@magic.link) -- Update CHANGELOG.md \[skip ci\] (team@magic.link) -- Merge branch 'master' into patjacobs-oauth-v2-apple ([@patjacobs-magic](https://github.com/patjacobs-magic)) -- Merge branch 'master' into joshscanlan-pk-reveal-method ([@joshuascan](https://github.com/joshuascan)) - -#### Authors: 3 - -- [@patjacobs-magic](https://github.com/patjacobs-magic) -- Josh Scanlan ([@joshuascan](https://github.com/joshuascan)) -- Magic Labs (team@magic.link) - ---- - -# v22.0.0 (Fri Mar 15 2024) - -#### 🐛 Bug Fix - -- "Bump independent versions \[skip ci\]" (team@magic.link) -- Update CHANGELOG.md \[skip ci\] (team@magic.link) -- Merge branch 'master' into patjacobs-oauth-v2-apple ([@patjacobs-magic](https://github.com/patjacobs-magic)) - -#### Authors: 2 - -- [@patjacobs-magic](https://github.com/patjacobs-magic) -- Magic Labs (team@magic.link) - ---- - -# v21.0.0 (Sat Mar 09 2024) - -#### 🐛 Bug Fix - -- "Bump independent versions \[skip ci\]" (team@magic.link) -- Update CHANGELOG.md \[skip ci\] (team@magic.link) -- Merge branch 'master' into patjacobs-oauth-v2-apple ([@patjacobs-magic](https://github.com/patjacobs-magic)) - -#### Authors: 2 - -- [@patjacobs-magic](https://github.com/patjacobs-magic) -- Magic Labs (team@magic.link) - ---- - -# v20.0.0 (Thu Feb 29 2024) - -#### 🐛 Bug Fix - -- Merge branch 'master' into patjacobs-oauth-v2-apple ([@patjacobs-magic](https://github.com/patjacobs-magic)) -- "Bump independent versions \[skip ci\]" (team@magic.link) -- Update CHANGELOG.md \[skip ci\] (team@magic.link) - -#### Authors: 2 - -- [@patjacobs-magic](https://github.com/patjacobs-magic) -- Magic Labs (team@magic.link) - ---- - -# v19.0.0 (Tue Feb 27 2024) - -#### 🐛 Bug Fix - -- "Bump independent versions \[skip ci\]" (team@magic.link) - -#### Authors: 1 - -- Magic Labs (team@magic.link) - ---- - -# v17.1.1 (Sat Feb 10 2024) - -#### 🐛 Bug Fix - -- Merge branch 'master' into PDEEXP-253-whitelabel-update-email-with-ui-missing-event-when-email-address-already-in-use ([@joshuascan](https://github.com/joshuascan)) - -#### Authors: 1 - -- Josh Scanlan ([@joshuascan](https://github.com/joshuascan)) - ---- - -# v16.4.1 (Fri Dec 15 2023) - -#### 🐛 Bug Fix - -- Merge branch 'master' into rominhalltari-sc-91530-investigate-and-provide-solution-for-issue ([@romin-halltari](https://github.com/romin-halltari)) - -#### Authors: 1 - -- [@romin-halltari](https://github.com/romin-halltari) - ---- - -# v16.4.0 (Thu Dec 14 2023) - -#### 🐛 Bug Fix - -- Merge branch 'master' into split-key-device-share ([@Dizigen](https://github.com/Dizigen)) - -#### Authors: 1 - -- David He ([@Dizigen](https://github.com/Dizigen)) - ---- - -# v16.3.2 (Tue Nov 28 2023) - -#### 🐛 Bug Fix - -- Merge branch 'master' into josh-sc-90794-add-types-export-to-scaffolding ([@joshuascan](https://github.com/joshuascan)) - -#### Authors: 1 - -- Josh Scanlan ([@joshuascan](https://github.com/joshuascan)) - ---- - -# v16.3.1 (Tue Nov 21 2023) - -#### 🐛 Bug Fix - -- Fix TypeScript resolution for @magic-ext/* packages when using modern module resolution (node16 etc) [#670](https://github.com/magiclabs/magic-js/pull/670) ([@rjwebb](https://github.com/rjwebb) [@joshuascan](https://github.com/joshuascan)) -- Merge branch 'master' into rjwebb/669-fix-node16-magic-ext-imports ([@joshuascan](https://github.com/joshuascan)) -- Update package.json exports to expose types when using node16 typescript, for algorand, auth, avalanche, bitcoin, conflux, cosmos, ed25519, flow, gdkms, harmony, hedera, icon, near, oauth, oidc, polkadot, react-native-bare-oauth, react-native-expo-oauth, taquito, terra, tezos, webauthn and zilliqa ([@rjwebb](https://github.com/rjwebb)) - -#### Authors: 2 - -- Bob Webb ([@rjwebb](https://github.com/rjwebb)) -- Josh Scanlan ([@joshuascan](https://github.com/joshuascan)) - ---- - -# v16.2.1 (Tue Nov 14 2023) - -#### 🐛 Bug Fix - -- Merge branch 'master' into injectable-webcrypto-jwt-for-session-persistence ([@Dizigen](https://github.com/Dizigen)) - -#### Authors: 1 - -- David He ([@Dizigen](https://github.com/Dizigen)) - ---- - -# v16.2.0 (Tue Oct 24 2023) - -#### 🐛 Bug Fix - -- Merge branch 'master' into hcote-support-sepolia-natively ([@hcote](https://github.com/hcote)) - -#### Authors: 1 - -- Hunter Cote ([@hcote](https://github.com/hcote)) - ---- - -# v16.0.0 (Fri Oct 13 2023) - -#### 🐛 Bug Fix - -- Merge branch 'master' into force-ctor-preload-iframe ([@Dizigen](https://github.com/Dizigen)) - -#### Authors: 1 - -- David He ([@Dizigen](https://github.com/Dizigen)) - ---- - -# v15.1.2 (Wed Oct 11 2023) - -#### 🐛 Bug Fix - -- Removes React Native entrypoint from all extension's package.json [#644](https://github.com/magiclabs/magic-js/pull/644) ([@Ariflo](https://github.com/Ariflo)) -- Removes React Native entrypoint from all extensions package.json ([@Ariflo](https://github.com/Ariflo)) - -#### Authors: 1 - -- Arian Flores ([@Ariflo](https://github.com/Ariflo)) - ---- - -# v15.1.1 (Mon Oct 02 2023) - -#### 🐛 Bug Fix - -- Merge branch 'master' into patjacobs-sc-83016-ux-optimization-expired-email-otps ([@patjacobs-magic](https://github.com/patjacobs-magic)) - -#### Authors: 1 - -- [@patjacobs-magic](https://github.com/patjacobs-magic) - ---- - -# v15.1.0 (Fri Sep 29 2023) - -#### 🐛 Bug Fix - -- Merge remote-tracking branch 'origin/master' into jerryliu-sc-87830-optimize-webcrypto-implementation-to-generate ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v14.3.0 (Wed Aug 16 2023) - -#### 🐛 Bug Fix - -- Merge branch 'master' into josh-sc-75022-standalone-update-email-v2 ([@joshuascan](https://github.com/joshuascan)) - -#### Authors: 1 - -- Josh Scanlan ([@joshuascan](https://github.com/joshuascan)) - ---- - -# v14.1.0 (Tue Aug 08 2023) - -#### 🐛 Bug Fix - -- Merge remote-tracking branch 'origin/master' into jerryliu-sc-81984-update-loginwithemailotp-interface-with-new ([@Ethella](https://github.com/Ethella)) -- Merge remote-tracking branch 'origin/master' ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v13.3.0 (Fri Jul 07 2023) - -#### ⚠️ Pushed to `master` - -- Merge remote-tracking branch 'origin/master' ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v13.2.0 (Fri Jun 23 2023) - -#### 🚀 Enhancement - -- Auto version bumping [#557](https://github.com/magiclabs/magic-js/pull/557) ([@Ethella](https://github.com/Ethella) [@Ariflo](https://github.com/Ariflo)) -- Updates License to Apache 2.0 [#551](https://github.com/magiclabs/magic-js/pull/551) ([@Ariflo](https://github.com/Ariflo)) - -#### 🐛 Bug Fix - -- Match NPM Version ([@Ariflo](https://github.com/Ariflo)) -- Update CHANGELOG.md \[skip ci\] ([@Ethella](https://github.com/Ethella)) -- 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)) -- Updates License to Apache 2.0 ([@Ariflo](https://github.com/Ariflo)) - -#### Authors: 2 - -- Arian Flores ([@Ariflo](https://github.com/Ariflo)) -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v13.1.0 (Fri Jun 23 2023) - -#### 🚀 Enhancement - -- Updates License to Apache 2.0 [#551](https://github.com/magiclabs/magic-js/pull/551) ([@Ariflo](https://github.com/Ariflo)) - -#### 🐛 Bug Fix - -- 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)) -- Updates License to Apache 2.0 ([@Ariflo](https://github.com/Ariflo)) - -#### Authors: 1 - -- Arian Flores ([@Ariflo](https://github.com/Ariflo)) - ---- - -# v12.3.0 (Fri May 26 2023) - -#### 🐛 Bug Fix - -- Merge remote-tracking branch 'origin/master' into jerryliu_hotfix_gdkms ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v12.1.5 (Fri May 19 2023) - -#### 🐛 Bug Fix - -- Merge remote-tracking branch 'origin/master' into jerryliu-sc-77755-kresus-hotfix ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v12.1.1 (Fri Apr 21 2023) - -#### 🐛 Bug Fix - -- Merge remote-tracking branch 'origin/master' into jerryliu-sc-75641-lazer-request-showsettings-page-mfa ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v12.1.0 (Thu Apr 20 2023) - -#### 🐛 Bug Fix - -- Merge branch 'master' into jerryliu-sc-75641-lazer-request-showsettings-page-mfa ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v11.1.0 (Tue Apr 04 2023) - -#### 🐛 Bug Fix - -- Merge branch 'master' into briancleary7114-sc-73967-auto-publish-canary-version-for-magic-sdk ([@bcleary06](https://github.com/bcleary06)) - -#### Authors: 1 - -- Brian Cleary ([@bcleary06](https://github.com/bcleary06)) - ---- - -# v11.0.0 (Fri Mar 31 2023) - -#### 🐛 Bug Fix - -- Merge remote-tracking branch 'origin/master' into jerryliu-sc-74424-email-otp-login-invalid-email-otp-event ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v8.6.2 (Tue Mar 21 2023) - -#### 🐛 Bug Fix - -- Merge branch 'master' into briancleary7114-sc-71135-add-checkout-sdk-method ([@bcleary06](https://github.com/bcleary06)) - -#### Authors: 1 - -- Brian Cleary ([@bcleary06](https://github.com/bcleary06)) - ---- - -# v8.5.0 (Tue Feb 28 2023) - -#### 🐛 Bug Fix - -- Merge branch 'master' of github.com:magiclabs/magic-js into mushfichowdhury-login-with-email-otp-whitelabel ([@mushfichowdhury-magic](https://github.com/mushfichowdhury-magic)) - -#### Authors: 1 - -- Mushfi Chowdhury ([@mushfichowdhury-magic](https://github.com/mushfichowdhury-magic)) - ---- - -# v3.0.1 (Tue Jan 25 2022) - -#### 🐛 Bug Fix - -- Fix CDN build targets [#270](https://github.com/magiclabs/magic-js/pull/270) ([@smithki](https://github.com/smithki)) -- Fix CDN issues related to ESBuild ([@smithki](https://github.com/smithki)) - -#### Authors: 1 - -- Ian K Smith ([@smithki](https://github.com/smithki)) - ---- - -# v3.0.0 (Tue Jan 25 2022) - -#### 💥 Breaking Change - -- Switch from `microbundle` to `esbuild` [#220](https://github.com/magiclabs/magic-js/pull/220) ([@smithki](https://github.com/smithki)) - -#### 🐛 Bug Fix - -- Merge with master ([@smithki](https://github.com/smithki)) -- Merge branch 'master' into feat/faster-builds ([@smithki](https://github.com/smithki)) -- Modify CDN default exports ([@smithki](https://github.com/smithki)) -- Support newly added Magic JS extensions in ESBuild ([@smithki](https://github.com/smithki)) - -#### Authors: 1 - -- Ian K Smith ([@smithki](https://github.com/smithki)) - ---- - -# v1.0.0 (Fri Dec 10 2021) - -#### 💥 Breaking Change - -- Jerryliu sc 44386 migrate web3 related magic ext repos to magic part 2 [#251](https://github.com/magiclabs/magic-js/pull/251) ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - diff --git a/packages/@magic-ext/icon/LICENSE b/packages/@magic-ext/icon/LICENSE deleted file mode 100644 index d9a10c0d8..000000000 --- a/packages/@magic-ext/icon/LICENSE +++ /dev/null @@ -1,176 +0,0 @@ - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS diff --git a/packages/@magic-ext/icon/eslint.config.mjs b/packages/@magic-ext/icon/eslint.config.mjs deleted file mode 100644 index a94768e85..000000000 --- a/packages/@magic-ext/icon/eslint.config.mjs +++ /dev/null @@ -1,21 +0,0 @@ -import path from 'node:path'; -import { fileURLToPath } from 'node:url'; -import rootEslintConfig from '../../../eslint.config.mjs'; - -const __filename = fileURLToPath(import.meta.url); -const __dirname = path.dirname(__filename); - -export default [ - ...rootEslintConfig, - { - ignores: ['node_modules', 'coverage', 'dist', 'eslint.config.mjs', 'jest.config.ts'], - }, - { - languageOptions: { - parserOptions: { - project: ['./tsconfig.json'], - tsconfigRootDir: __dirname, - }, - }, - }, -]; diff --git a/packages/@magic-ext/icon/package.json b/packages/@magic-ext/icon/package.json deleted file mode 100644 index 8fd85a513..000000000 --- a/packages/@magic-ext/icon/package.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "name": "@magic-ext/icon", - "version": "28.8.0", - "description": "magic icon extension", - "author": "Magic (https://magic.link/)", - "license": "MIT", - "repository": { - "type": "git", - "url": "https://github.com/magiclabs/magic-js" - }, - "files": [ - "dist" - ], - "target": "neutral", - "cdnGlobalName": "MagicIconExtension", - "main": "./dist/cjs/index.js", - "module": "./dist/es/index.js", - "types": "./dist/types/index.d.ts", - "jsdelivr": "./dist/extension.js", - "exports": { - "import": "./dist/es/index.mjs", - "types": "./dist/types/index.d.ts", - "require": "./dist/cjs/index.js" - }, - "externals": { - "include": [ - "@magic-sdk/provider" - ] - }, - "devDependencies": { - "@magic-sdk/provider": "^33.9.0" - } -} diff --git a/packages/@magic-ext/icon/src/index.cdn.ts b/packages/@magic-ext/icon/src/index.cdn.ts deleted file mode 100644 index 366e1ca65..000000000 --- a/packages/@magic-ext/icon/src/index.cdn.ts +++ /dev/null @@ -1,3 +0,0 @@ -import { IconExtension } from './index'; - -export default IconExtension; diff --git a/packages/@magic-ext/icon/src/index.native.ts b/packages/@magic-ext/icon/src/index.native.ts deleted file mode 100644 index ea465c2a3..000000000 --- a/packages/@magic-ext/icon/src/index.native.ts +++ /dev/null @@ -1 +0,0 @@ -export * from './index'; diff --git a/packages/@magic-ext/icon/src/index.ts b/packages/@magic-ext/icon/src/index.ts deleted file mode 100644 index b48c38a47..000000000 --- a/packages/@magic-ext/icon/src/index.ts +++ /dev/null @@ -1,56 +0,0 @@ -import { MultichainExtension } from '@magic-sdk/provider'; -import { IconConfig } from './type'; - -export class IconExtension extends MultichainExtension<'icon'> { - name = 'icon' as const; - - constructor(public iconConfig: IconConfig) { - super({ - rpcUrl: iconConfig.rpcUrl, - chainType: 'ICON', - }); - } - - public sendTransaction = (txObj: any): Promise => { - const params = { ...txObj }; - - if (params.stepLimit) params.stepLimit.toString(); - if (params.nid) params.nid.toString(); - if (params.nonce) params.nonce.toString(); - if (params.version) params.version.toString(); - if (params.value) params.value.toString(); - - return this.request({ - id: 42, - jsonrpc: '2.0', - method: 'icx_sendTransaction', - params, - }); - }; - - public signTransaction = (txObj: any): Promise => { - const params = { ...txObj }; - - if (params.stepLimit) params.stepLimit.toString(); - if (params.nid) params.nid.toString(); - if (params.nonce) params.nonce.toString(); - if (params.version) params.version.toString(); - if (params.value) params.value.toString(); - - return this.request({ - id: 42, - jsonrpc: '2.0', - method: 'icx_signTransaction', - params, - }); - }; - - public getAccount = (): Promise => { - return this.request({ - id: 42, - jsonrpc: '2.0', - method: 'icx_getAccount', - params: [], - }); - }; -} diff --git a/packages/@magic-ext/icon/src/type.ts b/packages/@magic-ext/icon/src/type.ts deleted file mode 100644 index 57aaffc2f..000000000 --- a/packages/@magic-ext/icon/src/type.ts +++ /dev/null @@ -1,8 +0,0 @@ -export interface IconConfig { - rpcUrl: string; -} - -export interface ConfigType { - rpcUrl: string; - chainType: string; -} diff --git a/packages/@magic-ext/icon/tsconfig.json b/packages/@magic-ext/icon/tsconfig.json deleted file mode 100644 index c268bce54..000000000 --- a/packages/@magic-ext/icon/tsconfig.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "extends": "../../../tsconfig.settings.json", -} - diff --git a/packages/@magic-ext/kadena/.lintstagedrc.yml b/packages/@magic-ext/kadena/.lintstagedrc.yml deleted file mode 100644 index 1c250ad65..000000000 --- a/packages/@magic-ext/kadena/.lintstagedrc.yml +++ /dev/null @@ -1,2 +0,0 @@ -'*.{ts,tsx}': - - eslint --fix diff --git a/packages/@magic-ext/kadena/.prettierrc.js b/packages/@magic-ext/kadena/.prettierrc.js deleted file mode 100644 index 6177cac66..000000000 --- a/packages/@magic-ext/kadena/.prettierrc.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('../../../.prettierrc.js'); diff --git a/packages/@magic-ext/kadena/CHANGELOG.md b/packages/@magic-ext/kadena/CHANGELOG.md deleted file mode 100644 index 724feec47..000000000 --- a/packages/@magic-ext/kadena/CHANGELOG.md +++ /dev/null @@ -1,258 +0,0 @@ -# v5.2.2 (Thu Feb 05 2026) - -#### ⚠️ Pushed to `master` - -- Merge branch 'master' of github.com:magiclabs/magic-js ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v5.2.0 (Thu Jan 29 2026) - -#### 🚀 Enhancement - -- feat: Magic Widget extension [#979](https://github.com/magiclabs/magic-js/pull/979) ([@joshuascan](https://github.com/joshuascan) [@sherzod-bakhodirov](https://github.com/sherzod-bakhodirov)) - -#### Authors: 2 - -- [@sherzod-bakhodirov](https://github.com/sherzod-bakhodirov) -- Josh Scanlan ([@joshuascan](https://github.com/joshuascan)) - ---- - -# v5.1.0 (Thu Jan 29 2026) - -#### ⚠️ Pushed to `master` - -- Merge branch 'master' of github.com:magiclabs/magic-js ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v5.0.0 (Tue Jan 13 2026) - -#### 🐛 Bug Fix - -- heal Auto package versioning [#997](https://github.com/magiclabs/magic-js/pull/997) ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v3.0.0 (Fri Oct 03 2025) - -#### 💥 Breaking Change - -- EVM Extension and new extension methods [#915](https://github.com/magiclabs/magic-js/pull/915) ([@joshuascan](https://github.com/joshuascan)) - -#### Authors: 1 - -- Josh Scanlan ([@joshuascan](https://github.com/joshuascan)) - ---- - -# v1.0.6 (Tue Apr 29 2025) - -#### 🐛 Bug Fix - -- Revert "Remove Extension class and rename InternalExtension to MagicExtension" [#882](https://github.com/magiclabs/magic-js/pull/882) ([@Ethella](https://github.com/Ethella)) -- Remove Extension class and rename InternalExtension to MagicExtension [#881](https://github.com/magiclabs/magic-js/pull/881) ([@devin-ai-integration[bot]](https://github.com/devin-ai-integration[bot]) [@Ethella](https://github.com/Ethella)) -- chore: remove @ikscodes/browser-env [#842](https://github.com/magiclabs/magic-js/pull/842) ([@otabek-magic](https://github.com/otabek-magic) [@sherzod-bakhodirov](https://github.com/sherzod-bakhodirov) [@Ethella](https://github.com/Ethella)) - -#### Authors: 4 - -- [@devin-ai-integration[bot]](https://github.com/devin-ai-integration[bot]) -- [@otabek-magic](https://github.com/otabek-magic) -- [@sherzod-bakhodirov](https://github.com/sherzod-bakhodirov) -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v1.0.4 (Tue Apr 01 2025) - -#### 🐛 Bug Fix - -- Merge remote-tracking branch 'origin/master' into PDEEXP-2318-imx-dont-throw-error-if-the-iframe-is-failing ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v0.11.0 (Wed Jan 08 2025) - -#### 🐛 Bug Fix - -- Merge branch 'master' into hcote-web3modal ([@hcote](https://github.com/hcote)) - -#### Authors: 1 - -- Hunter Cote ([@hcote](https://github.com/hcote)) - ---- - -# v0.10.0 (Wed Dec 25 2024) - -#### 🐛 Bug Fix - -- Merge remote-tracking branch 'origin/master' into PDEEXP-530-wallet-connect-login-with-redirect ([@Ethella](https://github.com/Ethella)) -- resolve conflict ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v0.9.1 (Wed Dec 11 2024) - -#### 🐛 Bug Fix - -- fix: add accounts param to spirekey send tx [#844](https://github.com/magiclabs/magic-js/pull/844) ([@hcote](https://github.com/hcote)) -- fix: add accounts param to spirekey send tx ([@hcote](https://github.com/hcote)) - -#### Authors: 1 - -- Hunter Cote ([@hcote](https://github.com/hcote)) - ---- - -# v0.9.0 (Sat Dec 07 2024) - -#### 🚀 Enhancement - -- feat: spire key methods [#835](https://github.com/magiclabs/magic-js/pull/835) ([@joshuascan](https://github.com/joshuascan) [@hcote](https://github.com/hcote)) - -#### 🐛 Bug Fix - -- remove network config ([@hcote](https://github.com/hcote)) -- Merge branch 'master' into PDEEXP-2014-add-kadena-methods-to-sdk ([@hcote](https://github.com/hcote)) -- update types ([@hcote](https://github.com/hcote)) -- fix: update type ([@hcote](https://github.com/hcote)) -- fix: update types ([@hcote](https://github.com/hcote)) -- chore: updates user info name ([@joshuascan](https://github.com/joshuascan)) -- chore: rename kadena metadata type ([@joshuascan](https://github.com/joshuascan)) -- update type ([@hcote](https://github.com/hcote)) -- update [#839](https://github.com/magiclabs/magic-js/pull/839) ([@hcote](https://github.com/hcote)) -- Merge branch 'master' into PDEEXP-2014-add-kadena-methods-to-sdk ([@joshuascan](https://github.com/joshuascan)) -- chore: fix test ([@joshuascan](https://github.com/joshuascan)) -- chore: updates types ([@joshuascan](https://github.com/joshuascan)) -- chore: adds tests ([@joshuascan](https://github.com/joshuascan)) -- feat: spire key methods ([@joshuascan](https://github.com/joshuascan)) - -#### Authors: 2 - -- Hunter Cote ([@hcote](https://github.com/hcote)) -- Josh Scanlan ([@joshuascan](https://github.com/joshuascan)) - ---- - -# v0.8.1 (Thu Dec 05 2024) - -#### 🐛 Bug Fix - -- fix: typos [#830](https://github.com/magiclabs/magic-js/pull/830) ([@omahs](https://github.com/omahs) [@Ethella](https://github.com/Ethella)) -- chore: bump eslint version [#834](https://github.com/magiclabs/magic-js/pull/834) ([@otabek-magic](https://github.com/otabek-magic) [@Ethella](https://github.com/Ethella)) -- Merge branch 'master' into PDEEXP-1985-bump-magic-sdk-eslint-version-to-9 ([@otabek-magic](https://github.com/otabek-magic)) -- chore: update eslint config ([@otabek-magic](https://github.com/otabek-magic)) -- chore: update to eslint 9 in magic-sdk magic-ext ([@otabek-magic](https://github.com/otabek-magic)) -- Merge branch 'master' into patch-1 ([@Ethella](https://github.com/Ethella)) - -#### Authors: 3 - -- [@otabek-magic](https://github.com/otabek-magic) -- Jerry Liu ([@Ethella](https://github.com/Ethella)) -- omahs ([@omahs](https://github.com/omahs)) - ---- - -# v0.8.0 (Mon Nov 25 2024) - -#### 🐛 Bug Fix - -- Merge branch 'master' into PDEEXP-1954-OAuth-popup-flow-consolidation ([@sherzod-bakhodirov](https://github.com/sherzod-bakhodirov)) - -#### Authors: 1 - -- [@sherzod-bakhodirov](https://github.com/sherzod-bakhodirov) - ---- - -# v0.6.0 (Fri Oct 25 2024) - -#### 🐛 Bug Fix - -- Merge branch 'master' into PDEEXP-1951-Lost-Device-Event-Does-Not-Emit-Whitelabel-MFA-provider ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v0.5.0 (Fri Oct 25 2024) - -#### 🐛 Bug Fix - -- Merge branch 'master' into cancel-event-for-recovery-flow ([@sukhrobbekodilov](https://github.com/sukhrobbekodilov)) - -#### Authors: 1 - -- [@sukhrobbekodilov](https://github.com/sukhrobbekodilov) - ---- - -# v0.4.0 (Fri Oct 18 2024) - -#### 🐛 Bug Fix - -- Merge branch 'master' into missed_type_for_recovery_factor ([@sukhrobbekodilov](https://github.com/sukhrobbekodilov)) - -#### Authors: 1 - -- [@sukhrobbekodilov](https://github.com/sukhrobbekodilov) - ---- - -# v0.3.0 (Fri Oct 18 2024) - -#### 🐛 Bug Fix - -- Update .deepsource.toml [#804](https://github.com/magiclabs/magic-js/pull/804) ([@Magic-Brandan](https://github.com/Magic-Brandan)) - -#### Authors: 1 - -- [@Magic-Brandan](https://github.com/Magic-Brandan) - ---- - -# v0.2.0 (Thu Oct 10 2024) - -#### 🚀 Enhancement - -- kadena [#813](https://github.com/magiclabs/magic-js/pull/813) ([@hcote](https://github.com/hcote)) - -#### 🐛 Bug Fix - -- Merge branch 'master' into hcote-kadena ([@hcote](https://github.com/hcote)) -- update config ([@hcote](https://github.com/hcote)) -- fix: test ([@hcote](https://github.com/hcote)) -- fix: types ([@hcote](https://github.com/hcote)) -- fix: deepsource ([@hcote](https://github.com/hcote)) -- kadena ([@hcote](https://github.com/hcote)) - -#### Authors: 1 - -- Hunter Cote ([@hcote](https://github.com/hcote)) - ---- - diff --git a/packages/@magic-ext/kadena/LICENSE b/packages/@magic-ext/kadena/LICENSE deleted file mode 100644 index 7335bc897..000000000 --- a/packages/@magic-ext/kadena/LICENSE +++ /dev/null @@ -1,177 +0,0 @@ - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - diff --git a/packages/@magic-ext/kadena/babel.config.json b/packages/@magic-ext/kadena/babel.config.json deleted file mode 100644 index 7521eb073..000000000 --- a/packages/@magic-ext/kadena/babel.config.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "env": { - "test": { - "plugins": ["@babel/plugin-transform-modules-commonjs"] - } - } -} diff --git a/packages/@magic-ext/kadena/eslint.config.mjs b/packages/@magic-ext/kadena/eslint.config.mjs deleted file mode 100644 index c68f8e69b..000000000 --- a/packages/@magic-ext/kadena/eslint.config.mjs +++ /dev/null @@ -1,21 +0,0 @@ -import path from 'node:path'; -import { fileURLToPath } from 'node:url'; -import rootEslintConfig from '../../../eslint.config.mjs'; - -const __filename = fileURLToPath(import.meta.url); -const __dirname = path.dirname(__filename); - -export default [ - ...rootEslintConfig, - { - ignores: ['node_modules', 'coverage', 'dist', 'eslint.config.mjs', 'jest.config.ts'], - }, - { - languageOptions: { - parserOptions: { - project: ['./tsconfig.json', './test/tsconfig.json'], - tsconfigRootDir: __dirname, - }, - }, - }, -]; diff --git a/packages/@magic-ext/kadena/jest.config.ts b/packages/@magic-ext/kadena/jest.config.ts deleted file mode 100644 index 433182c4b..000000000 --- a/packages/@magic-ext/kadena/jest.config.ts +++ /dev/null @@ -1,13 +0,0 @@ -import baseJestConfig from '../../../jest.config'; -import type { Config } from '@jest/types'; - -const config: Config.InitialOptions = { - ...baseJestConfig, - transform: { - '^.+\\.(js|jsx)$': 'babel-jest', - '\\.(ts|tsx)$': 'ts-jest', - }, - coveragePathIgnorePatterns: ['index.cdn.ts', 'index.native.ts'], -}; - -export default config; diff --git a/packages/@magic-ext/kadena/package.json b/packages/@magic-ext/kadena/package.json deleted file mode 100644 index f9a0aae12..000000000 --- a/packages/@magic-ext/kadena/package.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "name": "@magic-ext/kadena", - "version": "5.8.0", - "description": "Magic Kadena Extension", - "author": "Magic (https://magic.link/)", - "license": "MIT", - "repository": { - "type": "git", - "url": "https://github.com/magiclabs/magic-js" - }, - "files": [ - "dist" - ], - "target": "neutral", - "cdnGlobalName": "MagicKadenaExtension", - "main": "./dist/cjs/index.js", - "module": "./dist/es/index.js", - "types": "./dist/types/index.d.ts", - "jsdelivr": "./dist/extension.js", - "exports": { - "import": "./dist/es/index.mjs", - "types": "./dist/types/index.d.ts", - "require": "./dist/cjs/index.js" - }, - "externals": { - "include": [ - "@magic-sdk/provider" - ] - }, - "devDependencies": { - "@magic-sdk/provider": "^33.9.0" - } -} diff --git a/packages/@magic-ext/kadena/src/index.cdn.ts b/packages/@magic-ext/kadena/src/index.cdn.ts deleted file mode 100644 index 1466529c4..000000000 --- a/packages/@magic-ext/kadena/src/index.cdn.ts +++ /dev/null @@ -1,3 +0,0 @@ -import { KadenaExtension } from './index'; - -export default KadenaExtension; diff --git a/packages/@magic-ext/kadena/src/index.native.ts b/packages/@magic-ext/kadena/src/index.native.ts deleted file mode 100644 index ea465c2a3..000000000 --- a/packages/@magic-ext/kadena/src/index.native.ts +++ /dev/null @@ -1 +0,0 @@ -export * from './index'; diff --git a/packages/@magic-ext/kadena/src/index.ts b/packages/@magic-ext/kadena/src/index.ts deleted file mode 100644 index 695147045..000000000 --- a/packages/@magic-ext/kadena/src/index.ts +++ /dev/null @@ -1,55 +0,0 @@ -import { MultichainExtension } from '@magic-sdk/provider'; -import { - UnsignedCommand, - KadenaConfig, - KadenaPayloadMethod, - KadenaUserMetadata, - SpireKeyAccount, - SignatureWithPublicKey, - SignedTransactions, - OptimalTransactionsAccount, -} from './types'; - -export class KadenaExtension extends MultichainExtension<'kadena'> { - name = 'kadena' as const; - - constructor(public kadenaConfig: KadenaConfig) { - super({ - rpcUrl: kadenaConfig.rpcUrl, - chainType: 'KADENA', - chainId: kadenaConfig.chainId, - options: { - networkId: kadenaConfig.networkId, - createAccountsOnChain: Boolean(kadenaConfig.createAccountsOnChain), - }, - }); - } - - public signTransaction(hash: string): Promise { - return this.request( - this.utils.createJsonRpcRequestPayload(KadenaPayloadMethod.KadenaSignTransaction, [{ hash }]), - ); - } - - public async signTransactionWithSpireKey( - transaction: UnsignedCommand, - accounts?: OptimalTransactionsAccount[], - ): Promise { - const signedTransaction = await this.request( - this.utils.createJsonRpcRequestPayload(KadenaPayloadMethod.KadenaSignTransactionWithSpireKey, [ - { transaction, accounts: accounts || undefined }, - ]), - ); - return signedTransaction; - } - - public loginWithSpireKey(): Promise { - const requestPayload = this.utils.createJsonRpcRequestPayload(KadenaPayloadMethod.KadenaLoginWithSpireKey, []); - return this.request(requestPayload); - } - - public getUserInfo(): Promise { - const requestPayload = this.utils.createJsonRpcRequestPayload(KadenaPayloadMethod.KadenaGetUserInfo, []); - return this.request(requestPayload); - } -} diff --git a/packages/@magic-ext/kadena/src/types.ts b/packages/@magic-ext/kadena/src/types.ts deleted file mode 100644 index 9921f7fe3..000000000 --- a/packages/@magic-ext/kadena/src/types.ts +++ /dev/null @@ -1,135 +0,0 @@ -export interface KadenaConfig { - rpcUrl: string; - chainId: ChainId; - networkId: string; - createAccountsOnChain?: boolean; -} - -export enum KadenaPayloadMethod { - KadenaLoginWithSpireKey = 'kda_loginWithSpireKey', - KadenaGetUserInfo = 'kda_getUserInfo', - KadenaSignTransaction = 'kda_signTransaction', - KadenaSignTransactionWithSpireKey = 'kda_signTransactionWithSpireKey', -} - -export interface SignatureWithPublicKey { - sig: string; - pubKey?: string; -} - -export interface UnsignedCommand { - cmd: string; - hash: string; - sigs: Array< - | { - sig: string; - pubKey?: string; - } - | { - pubKey: string; - sig?: string; - } - | undefined - >; -} -export interface SignedCommand { - hash: string; - cmd: string; - sigs: { - sig: string; - pubKey?: string; - }[]; -} - -export interface SignedTransactions { - transactions: (UnsignedCommand | SignedCommand)[]; -} - -export interface KadenaUserMetadata { - accountName: string; - publicKey: string; - loginType: string; - isMfaEnabled: boolean; - email?: string; - phoneNumber?: string; - spireKeyInfo?: Account; -} - -type Guard = RefKeyset | Keyset; - -type RefKeyset = { - keysetref: { - ns: string; - ksn: string; - }; -}; - -type Keyset = { - keys: string[]; - pred: string; -}; - -type Device = { - domain: string; - color: string; - deviceType: string; - ['credential-id']: string; - guard: Keyset; - pendingRegistrationTxs?: ITransactionDescriptor[]; - name?: string; -}; - -interface ITransactionDescriptor { - requestKey: string; - chainId: ChainId; - networkId: string; -} - -type QueuedTx = ITransactionDescriptor; - -type RequestedFungible = { - fungible: string; - amount: number; - target?: ChainId; -}; - -type Account = { - alias: string; - accountName: string; - minApprovals: number; - minRegistrationApprovals: number; - balance: string; - devices: Device[]; - guard?: Guard; - keyset?: Keyset; - networkId: string; - chainIds: ChainId[]; - txQueue: QueuedTx[]; - requestedFungibles?: RequestedFungible[]; -}; - -export type SpireKeyAccount = Account; - -export type OptimalTransactionsAccount = Pick; - -export type ChainId = - | '0' - | '1' - | '2' - | '3' - | '4' - | '5' - | '6' - | '7' - | '8' - | '9' - | '10' - | '11' - | '12' - | '13' - | '14' - | '15' - | '16' - | '17' - | '18' - | '19'; diff --git a/packages/@magic-ext/kadena/test/setup.ts b/packages/@magic-ext/kadena/test/setup.ts deleted file mode 100644 index 6430bda21..000000000 --- a/packages/@magic-ext/kadena/test/setup.ts +++ /dev/null @@ -1,6 +0,0 @@ -// NOTE: This module is automatically included at the top of each test file. -import { mockConsole } from '../../../../scripts/utils/mock-console'; - -beforeEach(() => { - mockConsole(); -}); diff --git a/packages/@magic-ext/kadena/test/spec/kadena.spec.ts b/packages/@magic-ext/kadena/test/spec/kadena.spec.ts deleted file mode 100644 index c35ef265b..000000000 --- a/packages/@magic-ext/kadena/test/spec/kadena.spec.ts +++ /dev/null @@ -1,85 +0,0 @@ -import { KadenaPayloadMethod } from '../../src/types'; -import { createMagicSDKWithExtension } from '../../../../@magic-sdk/provider/test/factories'; -import { KadenaExtension } from '../../src'; - -beforeEach(() => { - jest.resetAllMocks(); -}); - -test('signTransaction - Sends params as payload', () => { - const magic = createMagicSDKWithExtension({}, [ - new KadenaExtension({ - rpcUrl: '', - chainId: '1', - networkId: 'testnet04', - createAccountsOnChain: true, - }), - ]); - magic.kadena.request = jest.fn(); - - const params = '0x123'; - - magic.kadena.signTransaction(params); - - const requestPayload = magic.kadena.request.mock.calls[0][0]; - expect(requestPayload.method).toBe(KadenaPayloadMethod.KadenaSignTransaction); - expect(requestPayload.params).toEqual([{ hash: '0x123' }]); -}); - -test('signTransactionWithSpireKey - Sends params as payload', () => { - const magic = createMagicSDKWithExtension({}, [ - new KadenaExtension({ - rpcUrl: '', - chainId: '1', - networkId: 'testnet04', - createAccountsOnChain: true, - }), - ]); - magic.kadena.request = jest.fn(); - - const params = { - hash: '0x123', - cmd: '0x456', - sigs: [undefined], - }; - - magic.kadena.signTransactionWithSpireKey(params); - - const requestPayload = magic.kadena.request.mock.calls[0][0]; - expect(requestPayload.method).toBe(KadenaPayloadMethod.KadenaSignTransactionWithSpireKey); - expect(requestPayload.params).toEqual([{ transaction: params }]); -}); - -test('Generate JSON RPC request payload with method `kda_loginWithSpireKey`', () => { - const magic = createMagicSDKWithExtension({}, [ - new KadenaExtension({ - rpcUrl: '', - chainId: '1', - networkId: 'testnet04', - createAccountsOnChain: true, - }), - ]); - magic.kadena.request = jest.fn(); - - magic.kadena.loginWithSpireKey(); - - const requestPayload = magic.kadena.request.mock.calls[0][0]; - expect(requestPayload.method).toBe(KadenaPayloadMethod.KadenaLoginWithSpireKey); -}); - -test('Generate JSON RPC request payload with method `kda_getUserInfo`', () => { - const magic = createMagicSDKWithExtension({}, [ - new KadenaExtension({ - rpcUrl: '', - chainId: '1', - networkId: 'testnet04', - createAccountsOnChain: true, - }), - ]); - magic.kadena.request = jest.fn(); - - magic.kadena.getUserInfo(); - - const requestPayload = magic.kadena.request.mock.calls[0][0]; - expect(requestPayload.method).toBe(KadenaPayloadMethod.KadenaGetUserInfo); -}); diff --git a/packages/@magic-ext/kadena/test/tsconfig.json b/packages/@magic-ext/kadena/test/tsconfig.json deleted file mode 100644 index ef2de78d3..000000000 --- a/packages/@magic-ext/kadena/test/tsconfig.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "../../../../tsconfig.settings.test.json", -} diff --git a/packages/@magic-ext/kadena/tsconfig.json b/packages/@magic-ext/kadena/tsconfig.json deleted file mode 100644 index c268bce54..000000000 --- a/packages/@magic-ext/kadena/tsconfig.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "extends": "../../../tsconfig.settings.json", -} - diff --git a/packages/@magic-ext/near/.lintstagedrc.yml b/packages/@magic-ext/near/.lintstagedrc.yml deleted file mode 100644 index 1c250ad65..000000000 --- a/packages/@magic-ext/near/.lintstagedrc.yml +++ /dev/null @@ -1,2 +0,0 @@ -'*.{ts,tsx}': - - eslint --fix diff --git a/packages/@magic-ext/near/.prettierrc.js b/packages/@magic-ext/near/.prettierrc.js deleted file mode 100644 index 6177cac66..000000000 --- a/packages/@magic-ext/near/.prettierrc.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('../../../.prettierrc.js'); diff --git a/packages/@magic-ext/near/CHANGELOG.md b/packages/@magic-ext/near/CHANGELOG.md deleted file mode 100644 index e98b8fc0c..000000000 --- a/packages/@magic-ext/near/CHANGELOG.md +++ /dev/null @@ -1,687 +0,0 @@ -# v28.2.2 (Thu Feb 05 2026) - -#### ⚠️ Pushed to `master` - -- Merge branch 'master' of github.com:magiclabs/magic-js ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v28.2.0 (Thu Jan 29 2026) - -#### 🚀 Enhancement - -- feat: Magic Widget extension [#979](https://github.com/magiclabs/magic-js/pull/979) ([@joshuascan](https://github.com/joshuascan) [@sherzod-bakhodirov](https://github.com/sherzod-bakhodirov)) - -#### Authors: 2 - -- [@sherzod-bakhodirov](https://github.com/sherzod-bakhodirov) -- Josh Scanlan ([@joshuascan](https://github.com/joshuascan)) - ---- - -# v28.1.0 (Thu Jan 29 2026) - -#### ⚠️ Pushed to `master` - -- Merge branch 'master' of github.com:magiclabs/magic-js ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v28.0.0 (Tue Jan 13 2026) - -#### 🐛 Bug Fix - -- heal Auto package versioning [#997](https://github.com/magiclabs/magic-js/pull/997) ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v26.0.0 (Fri Oct 03 2025) - -#### 💥 Breaking Change - -- EVM Extension and new extension methods [#915](https://github.com/magiclabs/magic-js/pull/915) ([@joshuascan](https://github.com/joshuascan)) - -#### Authors: 1 - -- Josh Scanlan ([@joshuascan](https://github.com/joshuascan)) - ---- - -# v24.0.6 (Tue Apr 29 2025) - -#### 🐛 Bug Fix - -- Revert "Remove Extension class and rename InternalExtension to MagicExtension" [#882](https://github.com/magiclabs/magic-js/pull/882) ([@Ethella](https://github.com/Ethella)) -- Remove Extension class and rename InternalExtension to MagicExtension [#881](https://github.com/magiclabs/magic-js/pull/881) ([@devin-ai-integration[bot]](https://github.com/devin-ai-integration[bot]) [@Ethella](https://github.com/Ethella)) - -#### Authors: 2 - -- [@devin-ai-integration[bot]](https://github.com/devin-ai-integration[bot]) -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v24.0.4 (Tue Apr 01 2025) - -#### 🐛 Bug Fix - -- Merge remote-tracking branch 'origin/master' into PDEEXP-2318-imx-dont-throw-error-if-the-iframe-is-failing ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v23.20.0 (Wed Jan 08 2025) - -#### 🐛 Bug Fix - -- Merge branch 'master' into hcote-web3modal ([@hcote](https://github.com/hcote)) - -#### Authors: 1 - -- Hunter Cote ([@hcote](https://github.com/hcote)) - ---- - -# v23.19.0 (Wed Dec 25 2024) - -#### 🐛 Bug Fix - -- Merge remote-tracking branch 'origin/master' into PDEEXP-530-wallet-connect-login-with-redirect ([@Ethella](https://github.com/Ethella)) -- resolve conflict ([@Ethella](https://github.com/Ethella)) -- * resolve conflict ([@Ethella](https://github.com/Ethella)) -- Merge branch 'master' into PDEEXP-530-wallet-connect-login-with-redirect ([@mattupham](https://github.com/mattupham)) - -#### Authors: 2 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) -- Matt Upham ([@mattupham](https://github.com/mattupham)) - ---- - -# v23.18.1 (Thu Dec 05 2024) - -#### 🐛 Bug Fix - -- fix: typos [#830](https://github.com/magiclabs/magic-js/pull/830) ([@omahs](https://github.com/omahs) [@Ethella](https://github.com/Ethella)) -- chore: bump eslint version [#834](https://github.com/magiclabs/magic-js/pull/834) ([@otabek-magic](https://github.com/otabek-magic) [@Ethella](https://github.com/Ethella)) -- Merge branch 'master' into PDEEXP-1985-bump-magic-sdk-eslint-version-to-9 ([@otabek-magic](https://github.com/otabek-magic)) -- chore: update eslint config ([@otabek-magic](https://github.com/otabek-magic)) -- chore: update to eslint 9 in magic-sdk magic-ext ([@otabek-magic](https://github.com/otabek-magic)) -- Merge branch 'master' into patch-1 ([@Ethella](https://github.com/Ethella)) - -#### Authors: 3 - -- [@otabek-magic](https://github.com/otabek-magic) -- Jerry Liu ([@Ethella](https://github.com/Ethella)) -- omahs ([@omahs](https://github.com/omahs)) - ---- - -# v23.18.0 (Mon Nov 25 2024) - -#### 🐛 Bug Fix - -- Merge branch 'master' into PDEEXP-1954-OAuth-popup-flow-consolidation ([@sherzod-bakhodirov](https://github.com/sherzod-bakhodirov)) - -#### Authors: 1 - -- [@sherzod-bakhodirov](https://github.com/sherzod-bakhodirov) - ---- - -# v23.16.0 (Fri Oct 25 2024) - -#### 🐛 Bug Fix - -- Merge branch 'master' into PDEEXP-1951-Lost-Device-Event-Does-Not-Emit-Whitelabel-MFA-provider ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v23.15.0 (Fri Oct 25 2024) - -#### 🐛 Bug Fix - -- Merge branch 'master' into cancel-event-for-recovery-flow ([@sukhrobbekodilov](https://github.com/sukhrobbekodilov)) - -#### Authors: 1 - -- [@sukhrobbekodilov](https://github.com/sukhrobbekodilov) - ---- - -# v23.14.0 (Fri Oct 18 2024) - -#### 🐛 Bug Fix - -- Merge branch 'master' into missed_type_for_recovery_factor ([@sukhrobbekodilov](https://github.com/sukhrobbekodilov)) - -#### Authors: 1 - -- [@sukhrobbekodilov](https://github.com/sukhrobbekodilov) - ---- - -# v23.13.0 (Fri Oct 18 2024) - -#### 🐛 Bug Fix - -- Update .deepsource.toml [#804](https://github.com/magiclabs/magic-js/pull/804) ([@Magic-Brandan](https://github.com/Magic-Brandan)) - -#### Authors: 1 - -- [@Magic-Brandan](https://github.com/Magic-Brandan) - ---- - -# v23.11.0 (Wed Sep 25 2024) - -#### 🐛 Bug Fix - -- Merge branch 'master' into sherzod-PDEEXP-1711-Support-MFA-setup-whitelabel-support ([@sherzod-bakhodirov](https://github.com/sherzod-bakhodirov)) - -#### Authors: 1 - -- [@sherzod-bakhodirov](https://github.com/sherzod-bakhodirov) - ---- - -# v23.9.0 (Wed Sep 11 2024) - -#### 🐛 Bug Fix - -- Merge branch 'master' into sherzod-PDEEXP-1711-Support-MFA-setup-whitelabel-support ([@sherzod-bakhodirov](https://github.com/sherzod-bakhodirov)) -- Merge branch 'master' into hcote-cosmos-options ([@hcote](https://github.com/hcote)) - -#### Authors: 2 - -- [@sherzod-bakhodirov](https://github.com/sherzod-bakhodirov) -- Hunter Cote ([@hcote](https://github.com/hcote)) - ---- - -# v23.6.0 (Tue Sep 03 2024) - -#### 🐛 Bug Fix - -- Merge branch 'master' of https://github.com/magiclabs/magic-js into khamdam-sc-PDEEXP-54-whitelabel-sms-login ([@khamdam-magic](https://github.com/khamdam-magic)) -- fix: update branch ([@khamdam-magic](https://github.com/khamdam-magic)) -- fix(): resolve conflicts ([@khamdam-magic](https://github.com/khamdam-magic)) - -#### Authors: 1 - -- [@khamdam-magic](https://github.com/khamdam-magic) - ---- - -# v23.4.0 (Tue Aug 13 2024) - -#### 🐛 Bug Fix - -- Merge remote-tracking branch 'refs/remotes/origin/master' into Add-two-more-mfa-flags ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v23.0.4 (Thu Jun 06 2024) - -#### 🐛 Bug Fix - -- Merge remote-tracking branch 'refs/remotes/origin/master' into PDEEXP-1279-done-event-not-firing-in-whitelabel-email-login-flow ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v23.0.0 (Fri Mar 22 2024) - -#### 🚀 Enhancement - -- Add private key reveal method [#699](https://github.com/magiclabs/magic-js/pull/699) ([@joshuascan](https://github.com/joshuascan)) - -#### 🐛 Bug Fix - -- "Bump independent versions \[skip ci\]" (team@magic.link) -- Update CHANGELOG.md \[skip ci\] (team@magic.link) -- Merge branch 'master' into patjacobs-oauth-v2-apple ([@patjacobs-magic](https://github.com/patjacobs-magic)) -- Merge branch 'master' into joshscanlan-pk-reveal-method ([@joshuascan](https://github.com/joshuascan)) - -#### Authors: 3 - -- [@patjacobs-magic](https://github.com/patjacobs-magic) -- Josh Scanlan ([@joshuascan](https://github.com/joshuascan)) -- Magic Labs (team@magic.link) - ---- - -# v22.0.0 (Fri Mar 15 2024) - -#### 🐛 Bug Fix - -- "Bump independent versions \[skip ci\]" (team@magic.link) -- Update CHANGELOG.md \[skip ci\] (team@magic.link) -- Merge branch 'master' into patjacobs-oauth-v2-apple ([@patjacobs-magic](https://github.com/patjacobs-magic)) - -#### Authors: 2 - -- [@patjacobs-magic](https://github.com/patjacobs-magic) -- Magic Labs (team@magic.link) - ---- - -# v21.0.0 (Sat Mar 09 2024) - -#### 🐛 Bug Fix - -- "Bump independent versions \[skip ci\]" (team@magic.link) -- Update CHANGELOG.md \[skip ci\] (team@magic.link) -- Merge branch 'master' into patjacobs-oauth-v2-apple ([@patjacobs-magic](https://github.com/patjacobs-magic)) - -#### Authors: 2 - -- [@patjacobs-magic](https://github.com/patjacobs-magic) -- Magic Labs (team@magic.link) - ---- - -# v20.0.0 (Thu Feb 29 2024) - -#### 🐛 Bug Fix - -- Merge branch 'master' into patjacobs-oauth-v2-apple ([@patjacobs-magic](https://github.com/patjacobs-magic)) -- "Bump independent versions \[skip ci\]" (team@magic.link) -- Update CHANGELOG.md \[skip ci\] (team@magic.link) - -#### Authors: 2 - -- [@patjacobs-magic](https://github.com/patjacobs-magic) -- Magic Labs (team@magic.link) - ---- - -# v19.0.0 (Tue Feb 27 2024) - -#### 🐛 Bug Fix - -- "Bump independent versions \[skip ci\]" (team@magic.link) - -#### Authors: 1 - -- Magic Labs (team@magic.link) - ---- - -# v17.1.1 (Sat Feb 10 2024) - -#### 🐛 Bug Fix - -- Merge branch 'master' into PDEEXP-253-whitelabel-update-email-with-ui-missing-event-when-email-address-already-in-use ([@joshuascan](https://github.com/joshuascan)) - -#### Authors: 1 - -- Josh Scanlan ([@joshuascan](https://github.com/joshuascan)) - ---- - -# v16.4.1 (Fri Dec 15 2023) - -#### 🐛 Bug Fix - -- Merge branch 'master' into rominhalltari-sc-91530-investigate-and-provide-solution-for-issue ([@romin-halltari](https://github.com/romin-halltari)) - -#### Authors: 1 - -- [@romin-halltari](https://github.com/romin-halltari) - ---- - -# v16.4.0 (Thu Dec 14 2023) - -#### 🐛 Bug Fix - -- Merge branch 'master' into split-key-device-share ([@Dizigen](https://github.com/Dizigen)) - -#### Authors: 1 - -- David He ([@Dizigen](https://github.com/Dizigen)) - ---- - -# v16.3.2 (Tue Nov 28 2023) - -#### 🐛 Bug Fix - -- Merge branch 'master' into josh-sc-90794-add-types-export-to-scaffolding ([@joshuascan](https://github.com/joshuascan)) - -#### Authors: 1 - -- Josh Scanlan ([@joshuascan](https://github.com/joshuascan)) - ---- - -# v16.3.1 (Tue Nov 21 2023) - -#### 🐛 Bug Fix - -- Fix TypeScript resolution for @magic-ext/* packages when using modern module resolution (node16 etc) [#670](https://github.com/magiclabs/magic-js/pull/670) ([@rjwebb](https://github.com/rjwebb) [@joshuascan](https://github.com/joshuascan)) -- Merge branch 'master' into rjwebb/669-fix-node16-magic-ext-imports ([@joshuascan](https://github.com/joshuascan)) -- Update package.json exports to expose types when using node16 typescript, for algorand, auth, avalanche, bitcoin, conflux, cosmos, ed25519, flow, gdkms, harmony, hedera, icon, near, oauth, oidc, polkadot, react-native-bare-oauth, react-native-expo-oauth, taquito, terra, tezos, webauthn and zilliqa ([@rjwebb](https://github.com/rjwebb)) - -#### Authors: 2 - -- Bob Webb ([@rjwebb](https://github.com/rjwebb)) -- Josh Scanlan ([@joshuascan](https://github.com/joshuascan)) - ---- - -# v16.2.1 (Tue Nov 14 2023) - -#### 🐛 Bug Fix - -- Merge branch 'master' into injectable-webcrypto-jwt-for-session-persistence ([@Dizigen](https://github.com/Dizigen)) - -#### Authors: 1 - -- David He ([@Dizigen](https://github.com/Dizigen)) - ---- - -# v16.2.0 (Tue Oct 24 2023) - -#### 🐛 Bug Fix - -- Merge branch 'master' into hcote-support-sepolia-natively ([@hcote](https://github.com/hcote)) - -#### Authors: 1 - -- Hunter Cote ([@hcote](https://github.com/hcote)) - ---- - -# v16.0.0 (Fri Oct 13 2023) - -#### 🐛 Bug Fix - -- Merge branch 'master' into force-ctor-preload-iframe ([@Dizigen](https://github.com/Dizigen)) - -#### Authors: 1 - -- David He ([@Dizigen](https://github.com/Dizigen)) - ---- - -# v15.1.2 (Wed Oct 11 2023) - -#### 🐛 Bug Fix - -- Removes React Native entrypoint from all extension's package.json [#644](https://github.com/magiclabs/magic-js/pull/644) ([@Ariflo](https://github.com/Ariflo)) -- Removes React Native entrypoint from all extensions package.json ([@Ariflo](https://github.com/Ariflo)) - -#### Authors: 1 - -- Arian Flores ([@Ariflo](https://github.com/Ariflo)) - ---- - -# v15.1.1 (Mon Oct 02 2023) - -#### 🐛 Bug Fix - -- Merge branch 'master' into patjacobs-sc-83016-ux-optimization-expired-email-otps ([@patjacobs-magic](https://github.com/patjacobs-magic)) - -#### Authors: 1 - -- [@patjacobs-magic](https://github.com/patjacobs-magic) - ---- - -# v15.1.0 (Fri Sep 29 2023) - -#### 🐛 Bug Fix - -- Merge remote-tracking branch 'origin/master' into jerryliu-sc-87830-optimize-webcrypto-implementation-to-generate ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v14.3.0 (Wed Aug 16 2023) - -#### 🐛 Bug Fix - -- Merge branch 'master' into josh-sc-75022-standalone-update-email-v2 ([@joshuascan](https://github.com/joshuascan)) - -#### Authors: 1 - -- Josh Scanlan ([@joshuascan](https://github.com/joshuascan)) - ---- - -# v14.1.0 (Tue Aug 08 2023) - -#### 🐛 Bug Fix - -- Merge remote-tracking branch 'origin/master' into jerryliu-sc-81984-update-loginwithemailotp-interface-with-new ([@Ethella](https://github.com/Ethella)) -- Merge remote-tracking branch 'origin/master' ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v13.3.0 (Fri Jul 07 2023) - -#### ⚠️ Pushed to `master` - -- Merge remote-tracking branch 'origin/master' ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v13.2.0 (Fri Jun 23 2023) - -#### 🚀 Enhancement - -- Auto version bumping [#557](https://github.com/magiclabs/magic-js/pull/557) ([@Ethella](https://github.com/Ethella) [@Ariflo](https://github.com/Ariflo)) -- Updates License to Apache 2.0 [#551](https://github.com/magiclabs/magic-js/pull/551) ([@Ariflo](https://github.com/Ariflo)) - -#### 🐛 Bug Fix - -- Match NPM Version ([@Ariflo](https://github.com/Ariflo)) -- Update CHANGELOG.md \[skip ci\] ([@Ethella](https://github.com/Ethella)) -- 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)) -- Updates License to Apache 2.0 ([@Ariflo](https://github.com/Ariflo)) - -#### Authors: 2 - -- Arian Flores ([@Ariflo](https://github.com/Ariflo)) -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v13.1.0 (Fri Jun 23 2023) - -#### 🚀 Enhancement - -- Updates License to Apache 2.0 [#551](https://github.com/magiclabs/magic-js/pull/551) ([@Ariflo](https://github.com/Ariflo)) - -#### 🐛 Bug Fix - -- 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)) -- Updates License to Apache 2.0 ([@Ariflo](https://github.com/Ariflo)) - -#### Authors: 1 - -- Arian Flores ([@Ariflo](https://github.com/Ariflo)) - ---- - -# v12.3.0 (Fri May 26 2023) - -#### 🐛 Bug Fix - -- Merge remote-tracking branch 'origin/master' into jerryliu_hotfix_gdkms ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v12.1.5 (Fri May 19 2023) - -#### 🐛 Bug Fix - -- Merge remote-tracking branch 'origin/master' into jerryliu-sc-77755-kresus-hotfix ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v12.1.1 (Fri Apr 21 2023) - -#### 🐛 Bug Fix - -- Merge remote-tracking branch 'origin/master' into jerryliu-sc-75641-lazer-request-showsettings-page-mfa ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v12.1.0 (Thu Apr 20 2023) - -#### 🐛 Bug Fix - -- Merge branch 'master' into jerryliu-sc-75641-lazer-request-showsettings-page-mfa ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v11.1.0 (Tue Apr 04 2023) - -#### 🐛 Bug Fix - -- Merge branch 'master' into briancleary7114-sc-73967-auto-publish-canary-version-for-magic-sdk ([@bcleary06](https://github.com/bcleary06)) - -#### Authors: 1 - -- Brian Cleary ([@bcleary06](https://github.com/bcleary06)) - ---- - -# v11.0.0 (Fri Mar 31 2023) - -#### 🐛 Bug Fix - -- Merge remote-tracking branch 'origin/master' into jerryliu-sc-74424-email-otp-login-invalid-email-otp-event ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v8.6.2 (Tue Mar 21 2023) - -#### 🐛 Bug Fix - -- Merge branch 'master' into briancleary7114-sc-71135-add-checkout-sdk-method ([@bcleary06](https://github.com/bcleary06)) - -#### Authors: 1 - -- Brian Cleary ([@bcleary06](https://github.com/bcleary06)) - ---- - -# v8.5.0 (Tue Feb 28 2023) - -#### 🐛 Bug Fix - -- Merge branch 'master' of github.com:magiclabs/magic-js into mushfichowdhury-login-with-email-otp-whitelabel ([@mushfichowdhury-magic](https://github.com/mushfichowdhury-magic)) - -#### Authors: 1 - -- Mushfi Chowdhury ([@mushfichowdhury-magic](https://github.com/mushfichowdhury-magic)) - ---- - -# v3.0.1 (Tue Jan 25 2022) - -#### 🐛 Bug Fix - -- Fix CDN build targets [#270](https://github.com/magiclabs/magic-js/pull/270) ([@smithki](https://github.com/smithki)) -- Fix CDN issues related to ESBuild ([@smithki](https://github.com/smithki)) - -#### Authors: 1 - -- Ian K Smith ([@smithki](https://github.com/smithki)) - ---- - -# v3.0.0 (Tue Jan 25 2022) - -#### 💥 Breaking Change - -- Switch from `microbundle` to `esbuild` [#220](https://github.com/magiclabs/magic-js/pull/220) ([@smithki](https://github.com/smithki)) - -#### 🐛 Bug Fix - -- Merge with master ([@smithki](https://github.com/smithki)) -- Merge branch 'master' into feat/faster-builds ([@smithki](https://github.com/smithki)) -- Modify CDN default exports ([@smithki](https://github.com/smithki)) -- Support newly added Magic JS extensions in ESBuild ([@smithki](https://github.com/smithki)) - -#### Authors: 1 - -- Ian K Smith ([@smithki](https://github.com/smithki)) - ---- - -# v1.0.0 (Fri Dec 10 2021) - -#### 💥 Breaking Change - -- Jerryliu sc 44386 migrate web3 related magic ext repos to magic part 2 [#251](https://github.com/magiclabs/magic-js/pull/251) ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - diff --git a/packages/@magic-ext/near/LICENSE b/packages/@magic-ext/near/LICENSE deleted file mode 100644 index d9a10c0d8..000000000 --- a/packages/@magic-ext/near/LICENSE +++ /dev/null @@ -1,176 +0,0 @@ - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS diff --git a/packages/@magic-ext/near/eslint.config.mjs b/packages/@magic-ext/near/eslint.config.mjs deleted file mode 100644 index a94768e85..000000000 --- a/packages/@magic-ext/near/eslint.config.mjs +++ /dev/null @@ -1,21 +0,0 @@ -import path from 'node:path'; -import { fileURLToPath } from 'node:url'; -import rootEslintConfig from '../../../eslint.config.mjs'; - -const __filename = fileURLToPath(import.meta.url); -const __dirname = path.dirname(__filename); - -export default [ - ...rootEslintConfig, - { - ignores: ['node_modules', 'coverage', 'dist', 'eslint.config.mjs', 'jest.config.ts'], - }, - { - languageOptions: { - parserOptions: { - project: ['./tsconfig.json'], - tsconfigRootDir: __dirname, - }, - }, - }, -]; diff --git a/packages/@magic-ext/near/package.json b/packages/@magic-ext/near/package.json deleted file mode 100644 index c71b9782a..000000000 --- a/packages/@magic-ext/near/package.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "name": "@magic-ext/near", - "version": "28.8.0", - "description": "magic near extension", - "author": "Magic (https://magic.link/)", - "license": "MIT", - "repository": { - "type": "git", - "url": "https://github.com/magiclabs/magic-js" - }, - "files": [ - "dist" - ], - "target": "neutral", - "cdnGlobalName": "MagicNearExtension", - "main": "./dist/cjs/index.js", - "module": "./dist/es/index.js", - "types": "./dist/types/index.d.ts", - "jsdelivr": "./dist/extension.js", - "exports": { - "import": "./dist/es/index.mjs", - "types": "./dist/types/index.d.ts", - "require": "./dist/cjs/index.js" - }, - "externals": { - "include": [ - "@magic-sdk/provider" - ] - }, - "devDependencies": { - "@magic-sdk/provider": "^33.9.0" - } -} diff --git a/packages/@magic-ext/near/src/index.cdn.ts b/packages/@magic-ext/near/src/index.cdn.ts deleted file mode 100644 index 901f899ee..000000000 --- a/packages/@magic-ext/near/src/index.cdn.ts +++ /dev/null @@ -1,3 +0,0 @@ -import { NearExtension } from './index'; - -export default NearExtension; diff --git a/packages/@magic-ext/near/src/index.native.ts b/packages/@magic-ext/near/src/index.native.ts deleted file mode 100644 index ea465c2a3..000000000 --- a/packages/@magic-ext/near/src/index.native.ts +++ /dev/null @@ -1 +0,0 @@ -export * from './index'; diff --git a/packages/@magic-ext/near/src/index.ts b/packages/@magic-ext/near/src/index.ts deleted file mode 100644 index 016b002ac..000000000 --- a/packages/@magic-ext/near/src/index.ts +++ /dev/null @@ -1,21 +0,0 @@ -import { MultichainExtension } from '@magic-sdk/provider'; -import { NearPayloadMethod, NearConfig } from './types'; - -export class NearExtension extends MultichainExtension<'near'> { - name = 'near' as const; - - constructor(public nearConfig: NearConfig) { - super({ - rpcUrl: nearConfig.rpcUrl, - chainType: 'NEAR', - }); - } - - public async signTransaction(params: any) { - return this.request(this.utils.createJsonRpcRequestPayload(NearPayloadMethod.NearSignTransaction, params)); - } - - public async getPublicKey() { - return this.request(this.utils.createJsonRpcRequestPayload(NearPayloadMethod.NearGetPublicKey, [])); - } -} diff --git a/packages/@magic-ext/near/src/types.ts b/packages/@magic-ext/near/src/types.ts deleted file mode 100644 index 8543f81b3..000000000 --- a/packages/@magic-ext/near/src/types.ts +++ /dev/null @@ -1,8 +0,0 @@ -export enum NearPayloadMethod { - NearSignTransaction = 'near_signTransaction', - NearGetPublicKey = 'near_getPublicKey', -} - -export interface NearConfig { - rpcUrl: string; -} diff --git a/packages/@magic-ext/near/tsconfig.json b/packages/@magic-ext/near/tsconfig.json deleted file mode 100644 index c268bce54..000000000 --- a/packages/@magic-ext/near/tsconfig.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "extends": "../../../tsconfig.settings.json", -} - diff --git a/packages/@magic-ext/polkadot/.lintstagedrc.yml b/packages/@magic-ext/polkadot/.lintstagedrc.yml deleted file mode 100644 index 1c250ad65..000000000 --- a/packages/@magic-ext/polkadot/.lintstagedrc.yml +++ /dev/null @@ -1,2 +0,0 @@ -'*.{ts,tsx}': - - eslint --fix diff --git a/packages/@magic-ext/polkadot/.prettierrc.js b/packages/@magic-ext/polkadot/.prettierrc.js deleted file mode 100644 index 6177cac66..000000000 --- a/packages/@magic-ext/polkadot/.prettierrc.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('../../../.prettierrc.js'); diff --git a/packages/@magic-ext/polkadot/CHANGELOG.md b/packages/@magic-ext/polkadot/CHANGELOG.md deleted file mode 100644 index 555c1f4ce..000000000 --- a/packages/@magic-ext/polkadot/CHANGELOG.md +++ /dev/null @@ -1,719 +0,0 @@ -# v28.2.2 (Thu Feb 05 2026) - -#### ⚠️ Pushed to `master` - -- Merge branch 'master' of github.com:magiclabs/magic-js ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v28.2.0 (Thu Jan 29 2026) - -#### 🚀 Enhancement - -- feat: Magic Widget extension [#979](https://github.com/magiclabs/magic-js/pull/979) ([@joshuascan](https://github.com/joshuascan) [@sherzod-bakhodirov](https://github.com/sherzod-bakhodirov)) - -#### Authors: 2 - -- [@sherzod-bakhodirov](https://github.com/sherzod-bakhodirov) -- Josh Scanlan ([@joshuascan](https://github.com/joshuascan)) - ---- - -# v28.1.0 (Thu Jan 29 2026) - -#### ⚠️ Pushed to `master` - -- Merge branch 'master' of github.com:magiclabs/magic-js ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v28.0.0 (Tue Jan 13 2026) - -#### 🐛 Bug Fix - -- heal Auto package versioning [#997](https://github.com/magiclabs/magic-js/pull/997) ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v26.0.0 (Fri Oct 03 2025) - -#### 💥 Breaking Change - -- EVM Extension and new extension methods [#915](https://github.com/magiclabs/magic-js/pull/915) ([@joshuascan](https://github.com/joshuascan)) - -#### Authors: 1 - -- Josh Scanlan ([@joshuascan](https://github.com/joshuascan)) - ---- - -# v24.0.6 (Tue Apr 29 2025) - -#### 🐛 Bug Fix - -- Revert "Remove Extension class and rename InternalExtension to MagicExtension" [#882](https://github.com/magiclabs/magic-js/pull/882) ([@Ethella](https://github.com/Ethella)) -- Remove Extension class and rename InternalExtension to MagicExtension [#881](https://github.com/magiclabs/magic-js/pull/881) ([@devin-ai-integration[bot]](https://github.com/devin-ai-integration[bot]) [@Ethella](https://github.com/Ethella)) - -#### Authors: 2 - -- [@devin-ai-integration[bot]](https://github.com/devin-ai-integration[bot]) -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v24.0.4 (Tue Apr 01 2025) - -#### 🐛 Bug Fix - -- Merge remote-tracking branch 'origin/master' into PDEEXP-2318-imx-dont-throw-error-if-the-iframe-is-failing ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v23.20.0 (Wed Jan 08 2025) - -#### 🐛 Bug Fix - -- Merge branch 'master' into hcote-web3modal ([@hcote](https://github.com/hcote)) - -#### Authors: 1 - -- Hunter Cote ([@hcote](https://github.com/hcote)) - ---- - -# v23.19.0 (Wed Dec 25 2024) - -#### 🐛 Bug Fix - -- Merge remote-tracking branch 'origin/master' into PDEEXP-530-wallet-connect-login-with-redirect ([@Ethella](https://github.com/Ethella)) -- resolve conflict ([@Ethella](https://github.com/Ethella)) -- * resolve conflict ([@Ethella](https://github.com/Ethella)) -- Merge branch 'master' into PDEEXP-530-wallet-connect-login-with-redirect ([@mattupham](https://github.com/mattupham)) - -#### Authors: 2 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) -- Matt Upham ([@mattupham](https://github.com/mattupham)) - ---- - -# v23.18.1 (Thu Dec 05 2024) - -#### 🐛 Bug Fix - -- fix: typos [#830](https://github.com/magiclabs/magic-js/pull/830) ([@omahs](https://github.com/omahs) [@Ethella](https://github.com/Ethella)) -- chore: bump eslint version [#834](https://github.com/magiclabs/magic-js/pull/834) ([@otabek-magic](https://github.com/otabek-magic) [@Ethella](https://github.com/Ethella)) -- Merge branch 'master' into PDEEXP-1985-bump-magic-sdk-eslint-version-to-9 ([@otabek-magic](https://github.com/otabek-magic)) -- chore: update eslint config ([@otabek-magic](https://github.com/otabek-magic)) -- chore: update to eslint 9 in magic-sdk magic-ext ([@otabek-magic](https://github.com/otabek-magic)) -- Merge branch 'master' into patch-1 ([@Ethella](https://github.com/Ethella)) - -#### Authors: 3 - -- [@otabek-magic](https://github.com/otabek-magic) -- Jerry Liu ([@Ethella](https://github.com/Ethella)) -- omahs ([@omahs](https://github.com/omahs)) - ---- - -# v23.18.0 (Mon Nov 25 2024) - -#### 🐛 Bug Fix - -- Merge branch 'master' into PDEEXP-1954-OAuth-popup-flow-consolidation ([@sherzod-bakhodirov](https://github.com/sherzod-bakhodirov)) - -#### Authors: 1 - -- [@sherzod-bakhodirov](https://github.com/sherzod-bakhodirov) - ---- - -# v23.16.0 (Fri Oct 25 2024) - -#### 🐛 Bug Fix - -- Merge branch 'master' into PDEEXP-1951-Lost-Device-Event-Does-Not-Emit-Whitelabel-MFA-provider ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v23.15.0 (Fri Oct 25 2024) - -#### 🐛 Bug Fix - -- Merge branch 'master' into cancel-event-for-recovery-flow ([@sukhrobbekodilov](https://github.com/sukhrobbekodilov)) - -#### Authors: 1 - -- [@sukhrobbekodilov](https://github.com/sukhrobbekodilov) - ---- - -# v23.14.0 (Fri Oct 18 2024) - -#### 🐛 Bug Fix - -- Merge branch 'master' into missed_type_for_recovery_factor ([@sukhrobbekodilov](https://github.com/sukhrobbekodilov)) - -#### Authors: 1 - -- [@sukhrobbekodilov](https://github.com/sukhrobbekodilov) - ---- - -# v23.13.0 (Fri Oct 18 2024) - -#### 🐛 Bug Fix - -- Update .deepsource.toml [#804](https://github.com/magiclabs/magic-js/pull/804) ([@Magic-Brandan](https://github.com/Magic-Brandan)) - -#### Authors: 1 - -- [@Magic-Brandan](https://github.com/Magic-Brandan) - ---- - -# v23.11.0 (Wed Sep 25 2024) - -#### 🐛 Bug Fix - -- Merge branch 'master' into sherzod-PDEEXP-1711-Support-MFA-setup-whitelabel-support ([@sherzod-bakhodirov](https://github.com/sherzod-bakhodirov)) - -#### Authors: 1 - -- [@sherzod-bakhodirov](https://github.com/sherzod-bakhodirov) - ---- - -# v23.9.0 (Wed Sep 11 2024) - -#### 🐛 Bug Fix - -- Merge branch 'master' into sherzod-PDEEXP-1711-Support-MFA-setup-whitelabel-support ([@sherzod-bakhodirov](https://github.com/sherzod-bakhodirov)) -- Merge branch 'master' into hcote-cosmos-options ([@hcote](https://github.com/hcote)) - -#### Authors: 2 - -- [@sherzod-bakhodirov](https://github.com/sherzod-bakhodirov) -- Hunter Cote ([@hcote](https://github.com/hcote)) - ---- - -# v23.6.0 (Tue Sep 03 2024) - -#### 🐛 Bug Fix - -- Merge branch 'master' of https://github.com/magiclabs/magic-js into khamdam-sc-PDEEXP-54-whitelabel-sms-login ([@khamdam-magic](https://github.com/khamdam-magic)) -- fix: update branch ([@khamdam-magic](https://github.com/khamdam-magic)) -- fix(): resolve conflicts ([@khamdam-magic](https://github.com/khamdam-magic)) - -#### Authors: 1 - -- [@khamdam-magic](https://github.com/khamdam-magic) - ---- - -# v23.4.0 (Tue Aug 13 2024) - -#### 🐛 Bug Fix - -- Merge remote-tracking branch 'refs/remotes/origin/master' into Add-two-more-mfa-flags ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v23.0.4 (Thu Jun 06 2024) - -#### 🐛 Bug Fix - -- Merge remote-tracking branch 'refs/remotes/origin/master' into PDEEXP-1279-done-event-not-firing-in-whitelabel-email-login-flow ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v23.0.0 (Fri Mar 22 2024) - -#### 🚀 Enhancement - -- Add private key reveal method [#699](https://github.com/magiclabs/magic-js/pull/699) ([@joshuascan](https://github.com/joshuascan)) - -#### 🐛 Bug Fix - -- "Bump independent versions \[skip ci\]" (team@magic.link) -- Update CHANGELOG.md \[skip ci\] (team@magic.link) -- Merge branch 'master' into patjacobs-oauth-v2-apple ([@patjacobs-magic](https://github.com/patjacobs-magic)) -- Merge branch 'master' into joshscanlan-pk-reveal-method ([@joshuascan](https://github.com/joshuascan)) - -#### Authors: 3 - -- [@patjacobs-magic](https://github.com/patjacobs-magic) -- Josh Scanlan ([@joshuascan](https://github.com/joshuascan)) -- Magic Labs (team@magic.link) - ---- - -# v22.0.0 (Fri Mar 15 2024) - -#### 🐛 Bug Fix - -- "Bump independent versions \[skip ci\]" (team@magic.link) -- Update CHANGELOG.md \[skip ci\] (team@magic.link) -- Merge branch 'master' into patjacobs-oauth-v2-apple ([@patjacobs-magic](https://github.com/patjacobs-magic)) - -#### Authors: 2 - -- [@patjacobs-magic](https://github.com/patjacobs-magic) -- Magic Labs (team@magic.link) - ---- - -# v21.0.0 (Sat Mar 09 2024) - -#### 🐛 Bug Fix - -- "Bump independent versions \[skip ci\]" (team@magic.link) -- Update CHANGELOG.md \[skip ci\] (team@magic.link) -- Merge branch 'master' into patjacobs-oauth-v2-apple ([@patjacobs-magic](https://github.com/patjacobs-magic)) - -#### Authors: 2 - -- [@patjacobs-magic](https://github.com/patjacobs-magic) -- Magic Labs (team@magic.link) - ---- - -# v20.0.0 (Thu Feb 29 2024) - -#### 🐛 Bug Fix - -- Merge branch 'master' into patjacobs-oauth-v2-apple ([@patjacobs-magic](https://github.com/patjacobs-magic)) -- "Bump independent versions \[skip ci\]" (team@magic.link) -- Update CHANGELOG.md \[skip ci\] (team@magic.link) - -#### Authors: 2 - -- [@patjacobs-magic](https://github.com/patjacobs-magic) -- Magic Labs (team@magic.link) - ---- - -# v19.0.0 (Tue Feb 27 2024) - -#### 🐛 Bug Fix - -- "Bump independent versions \[skip ci\]" (team@magic.link) - -#### Authors: 1 - -- Magic Labs (team@magic.link) - ---- - -# v17.1.1 (Sat Feb 10 2024) - -#### 🐛 Bug Fix - -- Merge branch 'master' into PDEEXP-253-whitelabel-update-email-with-ui-missing-event-when-email-address-already-in-use ([@joshuascan](https://github.com/joshuascan)) - -#### Authors: 1 - -- Josh Scanlan ([@joshuascan](https://github.com/joshuascan)) - ---- - -# v16.4.1 (Fri Dec 15 2023) - -#### 🐛 Bug Fix - -- Merge branch 'master' into rominhalltari-sc-91530-investigate-and-provide-solution-for-issue ([@romin-halltari](https://github.com/romin-halltari)) - -#### Authors: 1 - -- [@romin-halltari](https://github.com/romin-halltari) - ---- - -# v16.4.0 (Thu Dec 14 2023) - -#### 🐛 Bug Fix - -- Merge branch 'master' into split-key-device-share ([@Dizigen](https://github.com/Dizigen)) - -#### Authors: 1 - -- David He ([@Dizigen](https://github.com/Dizigen)) - ---- - -# v16.3.2 (Tue Nov 28 2023) - -#### 🐛 Bug Fix - -- Merge branch 'master' into josh-sc-90794-add-types-export-to-scaffolding ([@joshuascan](https://github.com/joshuascan)) - -#### Authors: 1 - -- Josh Scanlan ([@joshuascan](https://github.com/joshuascan)) - ---- - -# v16.3.1 (Tue Nov 21 2023) - -#### 🐛 Bug Fix - -- Fix TypeScript resolution for @magic-ext/* packages when using modern module resolution (node16 etc) [#670](https://github.com/magiclabs/magic-js/pull/670) ([@rjwebb](https://github.com/rjwebb) [@joshuascan](https://github.com/joshuascan)) -- Merge branch 'master' into rjwebb/669-fix-node16-magic-ext-imports ([@joshuascan](https://github.com/joshuascan)) -- Update package.json exports to expose types when using node16 typescript, for algorand, auth, avalanche, bitcoin, conflux, cosmos, ed25519, flow, gdkms, harmony, hedera, icon, near, oauth, oidc, polkadot, react-native-bare-oauth, react-native-expo-oauth, taquito, terra, tezos, webauthn and zilliqa ([@rjwebb](https://github.com/rjwebb)) - -#### Authors: 2 - -- Bob Webb ([@rjwebb](https://github.com/rjwebb)) -- Josh Scanlan ([@joshuascan](https://github.com/joshuascan)) - ---- - -# v16.2.1 (Tue Nov 14 2023) - -#### 🐛 Bug Fix - -- Merge branch 'master' into injectable-webcrypto-jwt-for-session-persistence ([@Dizigen](https://github.com/Dizigen)) - -#### Authors: 1 - -- David He ([@Dizigen](https://github.com/Dizigen)) - ---- - -# v16.2.0 (Tue Oct 24 2023) - -#### 🐛 Bug Fix - -- Merge branch 'master' into hcote-support-sepolia-natively ([@hcote](https://github.com/hcote)) - -#### Authors: 1 - -- Hunter Cote ([@hcote](https://github.com/hcote)) - ---- - -# v16.0.0 (Fri Oct 13 2023) - -#### 🐛 Bug Fix - -- Merge branch 'master' into force-ctor-preload-iframe ([@Dizigen](https://github.com/Dizigen)) - -#### Authors: 1 - -- David He ([@Dizigen](https://github.com/Dizigen)) - ---- - -# v15.1.2 (Wed Oct 11 2023) - -#### 🐛 Bug Fix - -- Removes React Native entrypoint from all extension's package.json [#644](https://github.com/magiclabs/magic-js/pull/644) ([@Ariflo](https://github.com/Ariflo)) -- Removes React Native entrypoint from all extensions package.json ([@Ariflo](https://github.com/Ariflo)) - -#### Authors: 1 - -- Arian Flores ([@Ariflo](https://github.com/Ariflo)) - ---- - -# v15.1.1 (Mon Oct 02 2023) - -#### 🐛 Bug Fix - -- Merge branch 'master' into patjacobs-sc-83016-ux-optimization-expired-email-otps ([@patjacobs-magic](https://github.com/patjacobs-magic)) - -#### Authors: 1 - -- [@patjacobs-magic](https://github.com/patjacobs-magic) - ---- - -# v15.1.0 (Fri Sep 29 2023) - -#### 🐛 Bug Fix - -- Merge remote-tracking branch 'origin/master' into jerryliu-sc-87830-optimize-webcrypto-implementation-to-generate ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v14.3.0 (Wed Aug 16 2023) - -#### 🐛 Bug Fix - -- Merge branch 'master' into josh-sc-75022-standalone-update-email-v2 ([@joshuascan](https://github.com/joshuascan)) - -#### Authors: 1 - -- Josh Scanlan ([@joshuascan](https://github.com/joshuascan)) - ---- - -# v14.1.0 (Tue Aug 08 2023) - -#### 🐛 Bug Fix - -- Merge remote-tracking branch 'origin/master' into jerryliu-sc-81984-update-loginwithemailotp-interface-with-new ([@Ethella](https://github.com/Ethella)) -- Merge remote-tracking branch 'origin/master' ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v14.0.0 (Thu Jul 27 2023) - -#### 💥 Breaking Change - -- Magic SDK Node version bump [#538](https://github.com/magiclabs/magic-js/pull/538) ([@makrandgupta](https://github.com/makrandgupta)) - -#### 🐛 Bug Fix - -- force canary build for all packages. ([@makrandgupta](https://github.com/makrandgupta)) - -#### Authors: 1 - -- Makrand Gupta ([@makrandgupta](https://github.com/makrandgupta)) - ---- - -# v13.3.0 (Fri Jul 07 2023) - -#### ⚠️ Pushed to `master` - -- Merge remote-tracking branch 'origin/master' ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v13.2.0 (Fri Jun 23 2023) - -#### 🚀 Enhancement - -- Auto version bumping [#557](https://github.com/magiclabs/magic-js/pull/557) ([@Ethella](https://github.com/Ethella) [@Ariflo](https://github.com/Ariflo)) -- Updates License to Apache 2.0 [#551](https://github.com/magiclabs/magic-js/pull/551) ([@Ariflo](https://github.com/Ariflo)) - -#### 🐛 Bug Fix - -- Match NPM Version ([@Ariflo](https://github.com/Ariflo)) -- Update CHANGELOG.md \[skip ci\] ([@Ethella](https://github.com/Ethella)) -- 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)) -- Updates License to Apache 2.0 ([@Ariflo](https://github.com/Ariflo)) - -#### Authors: 2 - -- Arian Flores ([@Ariflo](https://github.com/Ariflo)) -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v13.1.0 (Fri Jun 23 2023) - -#### 🚀 Enhancement - -- Updates License to Apache 2.0 [#551](https://github.com/magiclabs/magic-js/pull/551) ([@Ariflo](https://github.com/Ariflo)) - -#### 🐛 Bug Fix - -- 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)) -- Updates License to Apache 2.0 ([@Ariflo](https://github.com/Ariflo)) - -#### Authors: 1 - -- Arian Flores ([@Ariflo](https://github.com/Ariflo)) - ---- - -# v12.3.0 (Fri May 26 2023) - -#### 🐛 Bug Fix - -- Merge remote-tracking branch 'origin/master' into jerryliu_hotfix_gdkms ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v12.1.5 (Fri May 19 2023) - -#### 🐛 Bug Fix - -- Merge remote-tracking branch 'origin/master' into jerryliu-sc-77755-kresus-hotfix ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v12.1.1 (Fri Apr 21 2023) - -#### 🐛 Bug Fix - -- Merge remote-tracking branch 'origin/master' into jerryliu-sc-75641-lazer-request-showsettings-page-mfa ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v12.1.0 (Thu Apr 20 2023) - -#### 🐛 Bug Fix - -- Merge branch 'master' into jerryliu-sc-75641-lazer-request-showsettings-page-mfa ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v11.1.0 (Tue Apr 04 2023) - -#### 🐛 Bug Fix - -- Merge branch 'master' into briancleary7114-sc-73967-auto-publish-canary-version-for-magic-sdk ([@bcleary06](https://github.com/bcleary06)) - -#### Authors: 1 - -- Brian Cleary ([@bcleary06](https://github.com/bcleary06)) - ---- - -# v11.0.0 (Fri Mar 31 2023) - -#### 🐛 Bug Fix - -- Merge remote-tracking branch 'origin/master' into jerryliu-sc-74424-email-otp-login-invalid-email-otp-event ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v8.6.2 (Tue Mar 21 2023) - -#### 🐛 Bug Fix - -- Merge branch 'master' into briancleary7114-sc-71135-add-checkout-sdk-method ([@bcleary06](https://github.com/bcleary06)) - -#### Authors: 1 - -- Brian Cleary ([@bcleary06](https://github.com/bcleary06)) - ---- - -# v8.5.0 (Tue Feb 28 2023) - -#### 🐛 Bug Fix - -- Merge branch 'master' of github.com:magiclabs/magic-js into mushfichowdhury-login-with-email-otp-whitelabel ([@mushfichowdhury-magic](https://github.com/mushfichowdhury-magic)) - -#### Authors: 1 - -- Mushfi Chowdhury ([@mushfichowdhury-magic](https://github.com/mushfichowdhury-magic)) - ---- - -# v3.1.0 (Mon Mar 07 2022) - -#### 🐛 Bug Fix - -- Update READMEs with outdated context/hyperlinks ([@smithki](https://github.com/smithki)) - -#### 🏠 Internal - -- Internal documentation updates (`BUILD_SYSTEM.md`) [#283](https://github.com/magiclabs/magic-js/pull/283) ([@smithki](https://github.com/smithki)) - -#### Authors: 1 - -- Ian K Smith ([@smithki](https://github.com/smithki)) - ---- - -# v3.0.1 (Tue Jan 25 2022) - -#### 🐛 Bug Fix - -- Fix CDN build targets [#270](https://github.com/magiclabs/magic-js/pull/270) ([@smithki](https://github.com/smithki)) -- Fix CDN issues related to ESBuild ([@smithki](https://github.com/smithki)) - -#### Authors: 1 - -- Ian K Smith ([@smithki](https://github.com/smithki)) - ---- - -# v3.0.0 (Tue Jan 25 2022) - -#### 💥 Breaking Change - -- Switch from `microbundle` to `esbuild` [#220](https://github.com/magiclabs/magic-js/pull/220) ([@smithki](https://github.com/smithki)) - -#### 🐛 Bug Fix - -- Merge with master ([@smithki](https://github.com/smithki)) -- Merge branch 'master' into feat/faster-builds ([@smithki](https://github.com/smithki)) -- Modify CDN default exports ([@smithki](https://github.com/smithki)) -- Support newly added Magic JS extensions in ESBuild ([@smithki](https://github.com/smithki)) - -#### Authors: 1 - -- Ian K Smith ([@smithki](https://github.com/smithki)) - ---- - -# v1.0.0 (Fri Dec 10 2021) - -#### 💥 Breaking Change - -- Jerryliu sc 44386 migrate web3 related magic ext repos to magic part 2 [#251](https://github.com/magiclabs/magic-js/pull/251) ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - diff --git a/packages/@magic-ext/polkadot/LICENSE b/packages/@magic-ext/polkadot/LICENSE deleted file mode 100644 index d9a10c0d8..000000000 --- a/packages/@magic-ext/polkadot/LICENSE +++ /dev/null @@ -1,176 +0,0 @@ - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS diff --git a/packages/@magic-ext/polkadot/README.md b/packages/@magic-ext/polkadot/README.md deleted file mode 100644 index 0321d5989..000000000 --- a/packages/@magic-ext/polkadot/README.md +++ /dev/null @@ -1,79 +0,0 @@ -# Magic Extension Polkadot Blockchain - -## Installation -```bash -npm i magic-sdk @magic-ext/polkadot -``` -## Setup -Setup PolkadotExtension with magic-sdk -```js - -import { Magic } from 'magic-sdk'; -import { PolkadotExtension } from '@magic-ext/polkadot'; - -const magic = new Magic('YOUR_API_KEY', { - extensions: [ - new PolkadotExtension({ - rpcUrl: 'polkadot rpc url' - }) - ] -}); - -// or - -const magic = new Magic('YOUR_API_KEY', { - extensions: { - polkadot: new PolkadotExtension({ - rpcUrl: 'polkadot rpc url' - }) - } -}); - -``` - -## Magic SDK -See the [developer documentation](https://magic.link/docs) to learn how you can master the Magic SDK in a matter of minutes. - - -## Usage - -### Get account -Using getAccount function to get Polkadot public address for current user. - -```js -const publicAddress = await magic.polkadot.getAccount(); -console.log('icon public address', publicAddress); -``` - -### Send Transaction -Send polkadot native currency - -```js - const handlerSendTransaction = async () => { - - const tx = await magic.polkadot.sendTransaction( - '5H3pELHbg9skXE2HfLqP23UPgrgu2Juj55CH6sdDGWc2HKNs', - 1000000000000000, - ); - - console.log('transaction hash', tx) - }; - -``` - -### Call contract function as transaction - -```js - const handlerContractCall = async () => { - - const api = await ApiPromise.create({ provider: new WsProvider('ws://127.0.0.1:9944/') }); - await api.isReady; - const abi = new Abi(api.registry, contractABI); - - const data = abi.messages.flip(); - - const tx = await magic.polkadot.contractCall('5C52CfgkwANdFuN3VgPSprQwNWKfkLWMHJbMRzp12h4YarCa', 0, 1000000, data); - - console.log('transaction hash', tx) - } -``` diff --git a/packages/@magic-ext/polkadot/eslint.config.mjs b/packages/@magic-ext/polkadot/eslint.config.mjs deleted file mode 100644 index a94768e85..000000000 --- a/packages/@magic-ext/polkadot/eslint.config.mjs +++ /dev/null @@ -1,21 +0,0 @@ -import path from 'node:path'; -import { fileURLToPath } from 'node:url'; -import rootEslintConfig from '../../../eslint.config.mjs'; - -const __filename = fileURLToPath(import.meta.url); -const __dirname = path.dirname(__filename); - -export default [ - ...rootEslintConfig, - { - ignores: ['node_modules', 'coverage', 'dist', 'eslint.config.mjs', 'jest.config.ts'], - }, - { - languageOptions: { - parserOptions: { - project: ['./tsconfig.json'], - tsconfigRootDir: __dirname, - }, - }, - }, -]; diff --git a/packages/@magic-ext/polkadot/package.json b/packages/@magic-ext/polkadot/package.json deleted file mode 100644 index 3f4b63a2f..000000000 --- a/packages/@magic-ext/polkadot/package.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "name": "@magic-ext/polkadot", - "version": "28.8.0", - "description": "magic polkadot extension", - "author": "Magic (https://magic.link/)", - "license": "MIT", - "repository": { - "type": "git", - "url": "https://github.com/magiclabs/magic-js" - }, - "files": [ - "dist" - ], - "target": "neutral", - "cdnGlobalName": "MagicPolkadotExtension", - "main": "./dist/cjs/index.js", - "module": "./dist/es/index.js", - "types": "./dist/types/index.d.ts", - "jsdelivr": "./dist/extension.js", - "exports": { - "import": "./dist/es/index.mjs", - "types": "./dist/types/index.d.ts", - "require": "./dist/cjs/index.js" - }, - "externals": { - "include": [ - "@magic-sdk/provider" - ] - }, - "devDependencies": { - "@magic-sdk/provider": "^33.9.0" - } -} diff --git a/packages/@magic-ext/polkadot/src/index.cdn.ts b/packages/@magic-ext/polkadot/src/index.cdn.ts deleted file mode 100644 index 532c42e3e..000000000 --- a/packages/@magic-ext/polkadot/src/index.cdn.ts +++ /dev/null @@ -1,3 +0,0 @@ -import { PolkadotExtension } from './index'; - -export default PolkadotExtension; diff --git a/packages/@magic-ext/polkadot/src/index.native.ts b/packages/@magic-ext/polkadot/src/index.native.ts deleted file mode 100644 index ea465c2a3..000000000 --- a/packages/@magic-ext/polkadot/src/index.native.ts +++ /dev/null @@ -1 +0,0 @@ -export * from './index'; diff --git a/packages/@magic-ext/polkadot/src/index.ts b/packages/@magic-ext/polkadot/src/index.ts deleted file mode 100644 index 252afb649..000000000 --- a/packages/@magic-ext/polkadot/src/index.ts +++ /dev/null @@ -1,40 +0,0 @@ -import { MultichainExtension } from '@magic-sdk/provider'; -import { PolkadotConfig } from './type'; - -export class PolkadotExtension extends MultichainExtension<'polkadot'> { - name = 'polkadot' as const; - - constructor(public polkadotConfig: PolkadotConfig) { - super({ - rpcUrl: polkadotConfig.rpcUrl, - chainType: 'POLKADOT', - }); - } - - public sendTransaction = (to: string, value: number): Promise => { - return this.request({ - id: 42, - jsonrpc: '2.0', - method: 'pdt_sendTransaction', - params: { to, value }, - }); - }; - - public contractCall = (contractAddress: string, value: number, maxGas: number, data: any): Promise => { - return this.request({ - id: 42, - jsonrpc: '2.0', - method: 'pdt_contractCall', - params: { contractAddress, value, maxGas, data }, - }); - }; - - public getAccount = (): Promise => { - return this.request({ - id: 42, - jsonrpc: '2.0', - method: 'pdt_getAccount', - params: [], - }); - }; -} diff --git a/packages/@magic-ext/polkadot/src/type.ts b/packages/@magic-ext/polkadot/src/type.ts deleted file mode 100644 index 7ddc13ff7..000000000 --- a/packages/@magic-ext/polkadot/src/type.ts +++ /dev/null @@ -1,8 +0,0 @@ -export interface PolkadotConfig { - rpcUrl: string; -} - -export interface ConfigType { - rpcUrl: string; - chainType: string; -} diff --git a/packages/@magic-ext/polkadot/tsconfig.json b/packages/@magic-ext/polkadot/tsconfig.json deleted file mode 100644 index c268bce54..000000000 --- a/packages/@magic-ext/polkadot/tsconfig.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "extends": "../../../tsconfig.settings.json", -} - diff --git a/packages/@magic-ext/sui/.lintstagedrc.yml b/packages/@magic-ext/sui/.lintstagedrc.yml deleted file mode 100644 index 1c250ad65..000000000 --- a/packages/@magic-ext/sui/.lintstagedrc.yml +++ /dev/null @@ -1,2 +0,0 @@ -'*.{ts,tsx}': - - eslint --fix diff --git a/packages/@magic-ext/sui/.prettierrc.js b/packages/@magic-ext/sui/.prettierrc.js deleted file mode 100644 index 6177cac66..000000000 --- a/packages/@magic-ext/sui/.prettierrc.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('../../../.prettierrc.js'); diff --git a/packages/@magic-ext/sui/CHANGELOG.md b/packages/@magic-ext/sui/CHANGELOG.md deleted file mode 100644 index 65e555edf..000000000 --- a/packages/@magic-ext/sui/CHANGELOG.md +++ /dev/null @@ -1,282 +0,0 @@ -# v5.2.2 (Thu Feb 05 2026) - -#### ⚠️ Pushed to `master` - -- Merge branch 'master' of github.com:magiclabs/magic-js ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v5.2.0 (Thu Jan 29 2026) - -#### 🚀 Enhancement - -- feat: Magic Widget extension [#979](https://github.com/magiclabs/magic-js/pull/979) ([@joshuascan](https://github.com/joshuascan) [@sherzod-bakhodirov](https://github.com/sherzod-bakhodirov)) - -#### Authors: 2 - -- [@sherzod-bakhodirov](https://github.com/sherzod-bakhodirov) -- Josh Scanlan ([@joshuascan](https://github.com/joshuascan)) - ---- - -# v5.1.0 (Thu Jan 29 2026) - -#### ⚠️ Pushed to `master` - -- Merge branch 'master' of github.com:magiclabs/magic-js ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v5.0.0 (Tue Jan 13 2026) - -#### 🐛 Bug Fix - -- heal Auto package versioning [#997](https://github.com/magiclabs/magic-js/pull/997) ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v3.0.0 (Fri Oct 03 2025) - -#### 💥 Breaking Change - -- EVM Extension and new extension methods [#915](https://github.com/magiclabs/magic-js/pull/915) ([@joshuascan](https://github.com/joshuascan)) - -#### Authors: 1 - -- Josh Scanlan ([@joshuascan](https://github.com/joshuascan)) - ---- - -# v1.0.6 (Tue Apr 29 2025) - -#### 🐛 Bug Fix - -- Revert "Remove Extension class and rename InternalExtension to MagicExtension" [#882](https://github.com/magiclabs/magic-js/pull/882) ([@Ethella](https://github.com/Ethella)) -- Remove Extension class and rename InternalExtension to MagicExtension [#881](https://github.com/magiclabs/magic-js/pull/881) ([@devin-ai-integration[bot]](https://github.com/devin-ai-integration[bot]) [@Ethella](https://github.com/Ethella)) -- chore: remove @ikscodes/browser-env [#842](https://github.com/magiclabs/magic-js/pull/842) ([@otabek-magic](https://github.com/otabek-magic) [@sherzod-bakhodirov](https://github.com/sherzod-bakhodirov) [@Ethella](https://github.com/Ethella)) - -#### Authors: 4 - -- [@devin-ai-integration[bot]](https://github.com/devin-ai-integration[bot]) -- [@otabek-magic](https://github.com/otabek-magic) -- [@sherzod-bakhodirov](https://github.com/sherzod-bakhodirov) -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v1.0.4 (Tue Apr 01 2025) - -#### 🐛 Bug Fix - -- Merge remote-tracking branch 'origin/master' into PDEEXP-2318-imx-dont-throw-error-if-the-iframe-is-failing ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v0.21.0 (Wed Jan 08 2025) - -#### 🐛 Bug Fix - -- Merge branch 'master' into hcote-web3modal ([@hcote](https://github.com/hcote)) - -#### Authors: 1 - -- Hunter Cote ([@hcote](https://github.com/hcote)) - ---- - -# v0.20.0 (Wed Dec 25 2024) - -#### 🐛 Bug Fix - -- Merge remote-tracking branch 'origin/master' into PDEEXP-530-wallet-connect-login-with-redirect ([@Ethella](https://github.com/Ethella)) -- resolve conflict ([@Ethella](https://github.com/Ethella)) -- * resolve conflict ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v0.19.1 (Thu Dec 05 2024) - -#### 🐛 Bug Fix - -- fix: typos [#830](https://github.com/magiclabs/magic-js/pull/830) ([@omahs](https://github.com/omahs) [@Ethella](https://github.com/Ethella)) -- chore: bump eslint version [#834](https://github.com/magiclabs/magic-js/pull/834) ([@otabek-magic](https://github.com/otabek-magic) [@Ethella](https://github.com/Ethella)) -- Merge branch 'master' into PDEEXP-1985-bump-magic-sdk-eslint-version-to-9 ([@otabek-magic](https://github.com/otabek-magic)) -- chore: update eslint config ([@otabek-magic](https://github.com/otabek-magic)) -- chore: update to eslint 9 in magic-sdk magic-ext ([@otabek-magic](https://github.com/otabek-magic)) -- Merge branch 'master' into patch-1 ([@Ethella](https://github.com/Ethella)) - -#### Authors: 3 - -- [@otabek-magic](https://github.com/otabek-magic) -- Jerry Liu ([@Ethella](https://github.com/Ethella)) -- omahs ([@omahs](https://github.com/omahs)) - ---- - -# v0.19.0 (Mon Nov 25 2024) - -#### 🐛 Bug Fix - -- Merge branch 'master' into PDEEXP-1954-OAuth-popup-flow-consolidation ([@sherzod-bakhodirov](https://github.com/sherzod-bakhodirov)) - -#### Authors: 1 - -- [@sherzod-bakhodirov](https://github.com/sherzod-bakhodirov) - ---- - -# v0.17.0 (Fri Oct 25 2024) - -#### 🐛 Bug Fix - -- Merge branch 'master' into PDEEXP-1951-Lost-Device-Event-Does-Not-Emit-Whitelabel-MFA-provider ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v0.16.0 (Fri Oct 25 2024) - -#### 🐛 Bug Fix - -- Merge branch 'master' into cancel-event-for-recovery-flow ([@sukhrobbekodilov](https://github.com/sukhrobbekodilov)) - -#### Authors: 1 - -- [@sukhrobbekodilov](https://github.com/sukhrobbekodilov) - ---- - -# v0.15.0 (Fri Oct 18 2024) - -#### 🐛 Bug Fix - -- Merge branch 'master' into missed_type_for_recovery_factor ([@sukhrobbekodilov](https://github.com/sukhrobbekodilov)) - -#### Authors: 1 - -- [@sukhrobbekodilov](https://github.com/sukhrobbekodilov) - ---- - -# v0.14.0 (Fri Oct 18 2024) - -#### 🐛 Bug Fix - -- Update .deepsource.toml [#804](https://github.com/magiclabs/magic-js/pull/804) ([@Magic-Brandan](https://github.com/Magic-Brandan)) - -#### Authors: 1 - -- [@Magic-Brandan](https://github.com/Magic-Brandan) - ---- - -# v0.12.0 (Wed Sep 25 2024) - -#### 🐛 Bug Fix - -- Merge branch 'master' into sherzod-PDEEXP-1711-Support-MFA-setup-whitelabel-support ([@sherzod-bakhodirov](https://github.com/sherzod-bakhodirov)) - -#### Authors: 1 - -- [@sherzod-bakhodirov](https://github.com/sherzod-bakhodirov) - ---- - -# v0.10.0 (Wed Sep 11 2024) - -#### 🐛 Bug Fix - -- Merge branch 'master' into sherzod-PDEEXP-1711-Support-MFA-setup-whitelabel-support ([@sherzod-bakhodirov](https://github.com/sherzod-bakhodirov)) -- Merge branch 'master' into hcote-cosmos-options ([@hcote](https://github.com/hcote)) - -#### Authors: 2 - -- [@sherzod-bakhodirov](https://github.com/sherzod-bakhodirov) -- Hunter Cote ([@hcote](https://github.com/hcote)) - ---- - -# v0.7.0 (Tue Sep 03 2024) - -#### 🐛 Bug Fix - -- Merge branch 'master' of https://github.com/magiclabs/magic-js into khamdam-sc-PDEEXP-54-whitelabel-sms-login ([@khamdam-magic](https://github.com/khamdam-magic)) -- fix: update branch ([@khamdam-magic](https://github.com/khamdam-magic)) -- fix(): resolve conflicts ([@khamdam-magic](https://github.com/khamdam-magic)) - -#### Authors: 1 - -- [@khamdam-magic](https://github.com/khamdam-magic) - ---- - -# v0.5.0 (Tue Aug 13 2024) - -#### 🐛 Bug Fix - -- add test environment check to avoid setTimeout ([@Ethella](https://github.com/Ethella)) -- add useFakeTimers ([@Ethella](https://github.com/Ethella)) -- Merge branch 'master' into Add-two-more-mfa-flags ([@Ethella](https://github.com/Ethella)) -- Merge remote-tracking branch 'refs/remotes/origin/master' into Add-two-more-mfa-flags ([@Ethella](https://github.com/Ethella)) - -#### ⚠️ Pushed to `master` - -- silent console.warn and error in tests ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v0.1.3 (Thu Jun 06 2024) - -#### 🐛 Bug Fix - -- Merge remote-tracking branch 'refs/remotes/origin/master' into PDEEXP-1279-done-event-not-firing-in-whitelabel-email-login-flow ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v0.1.1 (Wed Apr 24 2024) - -#### 🐛 Bug Fix - -- sui [#739](https://github.com/magiclabs/magic-js/pull/739) ([@hcote](https://github.com/hcote)) -- add test ([@hcote](https://github.com/hcote)) -- Merge branch 'master' into hcote-sui ([@hcote](https://github.com/hcote)) -- update config type ([@hcote](https://github.com/hcote)) -- sui ([@hcote](https://github.com/hcote)) - -#### Authors: 1 - -- Hunter Cote ([@hcote](https://github.com/hcote)) - ---- - diff --git a/packages/@magic-ext/sui/LICENSE b/packages/@magic-ext/sui/LICENSE deleted file mode 100644 index 7335bc897..000000000 --- a/packages/@magic-ext/sui/LICENSE +++ /dev/null @@ -1,177 +0,0 @@ - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - diff --git a/packages/@magic-ext/sui/babel.config.json b/packages/@magic-ext/sui/babel.config.json deleted file mode 100644 index 7521eb073..000000000 --- a/packages/@magic-ext/sui/babel.config.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "env": { - "test": { - "plugins": ["@babel/plugin-transform-modules-commonjs"] - } - } -} diff --git a/packages/@magic-ext/sui/eslint.config.mjs b/packages/@magic-ext/sui/eslint.config.mjs deleted file mode 100644 index c68f8e69b..000000000 --- a/packages/@magic-ext/sui/eslint.config.mjs +++ /dev/null @@ -1,21 +0,0 @@ -import path from 'node:path'; -import { fileURLToPath } from 'node:url'; -import rootEslintConfig from '../../../eslint.config.mjs'; - -const __filename = fileURLToPath(import.meta.url); -const __dirname = path.dirname(__filename); - -export default [ - ...rootEslintConfig, - { - ignores: ['node_modules', 'coverage', 'dist', 'eslint.config.mjs', 'jest.config.ts'], - }, - { - languageOptions: { - parserOptions: { - project: ['./tsconfig.json', './test/tsconfig.json'], - tsconfigRootDir: __dirname, - }, - }, - }, -]; diff --git a/packages/@magic-ext/sui/jest.config.ts b/packages/@magic-ext/sui/jest.config.ts deleted file mode 100644 index 433182c4b..000000000 --- a/packages/@magic-ext/sui/jest.config.ts +++ /dev/null @@ -1,13 +0,0 @@ -import baseJestConfig from '../../../jest.config'; -import type { Config } from '@jest/types'; - -const config: Config.InitialOptions = { - ...baseJestConfig, - transform: { - '^.+\\.(js|jsx)$': 'babel-jest', - '\\.(ts|tsx)$': 'ts-jest', - }, - coveragePathIgnorePatterns: ['index.cdn.ts', 'index.native.ts'], -}; - -export default config; diff --git a/packages/@magic-ext/sui/package.json b/packages/@magic-ext/sui/package.json deleted file mode 100644 index 5bd7c5591..000000000 --- a/packages/@magic-ext/sui/package.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "name": "@magic-ext/sui", - "version": "5.8.0", - "description": "magic sui extension", - "author": "Magic (https://magic.link/)", - "license": "MIT", - "repository": { - "type": "git", - "url": "https://github.com/magiclabs/magic-js" - }, - "files": [ - "dist" - ], - "target": "neutral", - "cdnGlobalName": "MagicSuiExtension", - "main": "./dist/cjs/index.js", - "module": "./dist/es/index.js", - "types": "./dist/types/index.d.ts", - "jsdelivr": "./dist/extension.js", - "exports": { - "import": "./dist/es/index.mjs", - "types": "./dist/types/index.d.ts", - "require": "./dist/cjs/index.js" - }, - "externals": { - "include": [ - "@magic-sdk/provider" - ] - }, - "devDependencies": { - "@magic-sdk/provider": "^33.9.0" - } -} diff --git a/packages/@magic-ext/sui/src/index.cdn.ts b/packages/@magic-ext/sui/src/index.cdn.ts deleted file mode 100644 index 808f60f07..000000000 --- a/packages/@magic-ext/sui/src/index.cdn.ts +++ /dev/null @@ -1,3 +0,0 @@ -import { SuiExtension } from './index'; - -export default SuiExtension; diff --git a/packages/@magic-ext/sui/src/index.native.ts b/packages/@magic-ext/sui/src/index.native.ts deleted file mode 100644 index ea465c2a3..000000000 --- a/packages/@magic-ext/sui/src/index.native.ts +++ /dev/null @@ -1 +0,0 @@ -export * from './index'; diff --git a/packages/@magic-ext/sui/src/index.ts b/packages/@magic-ext/sui/src/index.ts deleted file mode 100644 index d0d6eb1ff..000000000 --- a/packages/@magic-ext/sui/src/index.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { MultichainExtension } from '@magic-sdk/provider'; -import { SuiConfig, SuiPayloadMethod } from './types'; - -export class SuiExtension extends MultichainExtension<'sui'> { - name = 'sui' as const; - - constructor(public suiConfig: SuiConfig) { - super({ - rpcUrl: suiConfig.rpcUrl, - chainType: 'SUI', - }); - } - - public signAndSendTransaction(params: any) { - return this.request(this.utils.createJsonRpcRequestPayload(SuiPayloadMethod.SuiSignAndSendTransaction, params)); - } -} diff --git a/packages/@magic-ext/sui/src/types.ts b/packages/@magic-ext/sui/src/types.ts deleted file mode 100644 index 4042864f4..000000000 --- a/packages/@magic-ext/sui/src/types.ts +++ /dev/null @@ -1,7 +0,0 @@ -export enum SuiPayloadMethod { - SuiSignAndSendTransaction = 'sui_signAndSendTransaction', -} - -export interface SuiConfig { - rpcUrl: 'testnet' | 'devnet' | 'mainnet' | string; -} diff --git a/packages/@magic-ext/sui/test/setup.ts b/packages/@magic-ext/sui/test/setup.ts deleted file mode 100644 index 6430bda21..000000000 --- a/packages/@magic-ext/sui/test/setup.ts +++ /dev/null @@ -1,6 +0,0 @@ -// NOTE: This module is automatically included at the top of each test file. -import { mockConsole } from '../../../../scripts/utils/mock-console'; - -beforeEach(() => { - mockConsole(); -}); diff --git a/packages/@magic-ext/sui/test/spec/sui.spec.ts b/packages/@magic-ext/sui/test/spec/sui.spec.ts deleted file mode 100644 index 3a0aea8e2..000000000 --- a/packages/@magic-ext/sui/test/spec/sui.spec.ts +++ /dev/null @@ -1,20 +0,0 @@ -import { SuiExtension } from '../../src/index'; -import { SuiPayloadMethod } from '../../src/types'; -import { createMagicSDKWithExtension } from '../../../../@magic-sdk/provider/test/factories'; - -beforeEach(() => { - jest.resetAllMocks(); -}); - -test('Sends params as payload', async () => { - const magic = createMagicSDKWithExtension({}, [new SuiExtension({ rpcUrl: 'devnet' })]); - magic.sui.request = jest.fn(); - - const params = 'hello world'; - - magic.sui.signAndSendTransaction(params); - - const requestPayload = magic.sui.request.mock.calls[0][0]; - expect(requestPayload.method).toBe(SuiPayloadMethod.SuiSignAndSendTransaction); - expect(requestPayload.params).toEqual(params); -}); diff --git a/packages/@magic-ext/sui/test/tsconfig.json b/packages/@magic-ext/sui/test/tsconfig.json deleted file mode 100644 index ef2de78d3..000000000 --- a/packages/@magic-ext/sui/test/tsconfig.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "../../../../tsconfig.settings.test.json", -} diff --git a/packages/@magic-ext/sui/tsconfig.json b/packages/@magic-ext/sui/tsconfig.json deleted file mode 100644 index c268bce54..000000000 --- a/packages/@magic-ext/sui/tsconfig.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "extends": "../../../tsconfig.settings.json", -} - diff --git a/packages/@magic-ext/taquito/.lintstagedrc.yml b/packages/@magic-ext/taquito/.lintstagedrc.yml deleted file mode 100644 index 1c250ad65..000000000 --- a/packages/@magic-ext/taquito/.lintstagedrc.yml +++ /dev/null @@ -1,2 +0,0 @@ -'*.{ts,tsx}': - - eslint --fix diff --git a/packages/@magic-ext/taquito/.prettierrc.js b/packages/@magic-ext/taquito/.prettierrc.js deleted file mode 100644 index 6177cac66..000000000 --- a/packages/@magic-ext/taquito/.prettierrc.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('../../../.prettierrc.js'); diff --git a/packages/@magic-ext/taquito/CHANGELOG.md b/packages/@magic-ext/taquito/CHANGELOG.md deleted file mode 100644 index 44174fb4c..000000000 --- a/packages/@magic-ext/taquito/CHANGELOG.md +++ /dev/null @@ -1,668 +0,0 @@ -# v25.2.2 (Thu Feb 05 2026) - -#### ⚠️ Pushed to `master` - -- Merge branch 'master' of github.com:magiclabs/magic-js ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v25.2.0 (Thu Jan 29 2026) - -#### 🚀 Enhancement - -- feat: Magic Widget extension [#979](https://github.com/magiclabs/magic-js/pull/979) ([@joshuascan](https://github.com/joshuascan) [@sherzod-bakhodirov](https://github.com/sherzod-bakhodirov)) - -#### Authors: 2 - -- [@sherzod-bakhodirov](https://github.com/sherzod-bakhodirov) -- Josh Scanlan ([@joshuascan](https://github.com/joshuascan)) - ---- - -# v25.1.0 (Thu Jan 29 2026) - -#### ⚠️ Pushed to `master` - -- Merge branch 'master' of github.com:magiclabs/magic-js ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v25.0.0 (Tue Jan 13 2026) - -#### 🐛 Bug Fix - -- heal Auto package versioning [#997](https://github.com/magiclabs/magic-js/pull/997) ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v23.0.0 (Fri Oct 03 2025) - -#### 💥 Breaking Change - -- EVM Extension and new extension methods [#915](https://github.com/magiclabs/magic-js/pull/915) ([@joshuascan](https://github.com/joshuascan)) - -#### Authors: 1 - -- Josh Scanlan ([@joshuascan](https://github.com/joshuascan)) - ---- - -# v21.2.0 (Tue Jul 15 2025) - -#### 🐛 Bug Fix - -- fix: correct import path for MagicSigner [#890](https://github.com/magiclabs/magic-js/pull/890) ([@Himess](https://github.com/Himess)) - -#### Authors: 1 - -- Himess ([@Himess](https://github.com/Himess)) - ---- - -# v21.0.6 (Tue Apr 29 2025) - -#### 🐛 Bug Fix - -- Revert "Remove Extension class and rename InternalExtension to MagicExtension" [#882](https://github.com/magiclabs/magic-js/pull/882) ([@Ethella](https://github.com/Ethella)) -- Remove Extension class and rename InternalExtension to MagicExtension [#881](https://github.com/magiclabs/magic-js/pull/881) ([@devin-ai-integration[bot]](https://github.com/devin-ai-integration[bot]) [@Ethella](https://github.com/Ethella)) - -#### Authors: 2 - -- [@devin-ai-integration[bot]](https://github.com/devin-ai-integration[bot]) -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v21.0.4 (Tue Apr 01 2025) - -#### 🐛 Bug Fix - -- Merge remote-tracking branch 'origin/master' into PDEEXP-2318-imx-dont-throw-error-if-the-iframe-is-failing ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v20.20.0 (Wed Jan 08 2025) - -#### 🐛 Bug Fix - -- Merge branch 'master' into hcote-web3modal ([@hcote](https://github.com/hcote)) - -#### Authors: 1 - -- Hunter Cote ([@hcote](https://github.com/hcote)) - ---- - -# v20.19.0 (Wed Dec 25 2024) - -#### 🐛 Bug Fix - -- Merge remote-tracking branch 'origin/master' into PDEEXP-530-wallet-connect-login-with-redirect ([@Ethella](https://github.com/Ethella)) -- resolve conflict ([@Ethella](https://github.com/Ethella)) -- * resolve conflict ([@Ethella](https://github.com/Ethella)) -- Merge branch 'master' into PDEEXP-530-wallet-connect-login-with-redirect ([@mattupham](https://github.com/mattupham)) - -#### Authors: 2 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) -- Matt Upham ([@mattupham](https://github.com/mattupham)) - ---- - -# v20.18.1 (Thu Dec 05 2024) - -#### 🐛 Bug Fix - -- fix: typos [#830](https://github.com/magiclabs/magic-js/pull/830) ([@omahs](https://github.com/omahs) [@Ethella](https://github.com/Ethella)) -- chore: bump eslint version [#834](https://github.com/magiclabs/magic-js/pull/834) ([@otabek-magic](https://github.com/otabek-magic) [@Ethella](https://github.com/Ethella)) -- Merge branch 'master' into PDEEXP-1985-bump-magic-sdk-eslint-version-to-9 ([@otabek-magic](https://github.com/otabek-magic)) -- chore: update eslint config ([@otabek-magic](https://github.com/otabek-magic)) -- chore: update to eslint 9 in magic-sdk magic-ext ([@otabek-magic](https://github.com/otabek-magic)) -- Merge branch 'master' into patch-1 ([@Ethella](https://github.com/Ethella)) - -#### Authors: 3 - -- [@otabek-magic](https://github.com/otabek-magic) -- Jerry Liu ([@Ethella](https://github.com/Ethella)) -- omahs ([@omahs](https://github.com/omahs)) - ---- - -# v20.18.0 (Mon Nov 25 2024) - -#### 🐛 Bug Fix - -- Merge branch 'master' into PDEEXP-1954-OAuth-popup-flow-consolidation ([@sherzod-bakhodirov](https://github.com/sherzod-bakhodirov)) - -#### Authors: 1 - -- [@sherzod-bakhodirov](https://github.com/sherzod-bakhodirov) - ---- - -# v20.16.0 (Fri Oct 25 2024) - -#### 🐛 Bug Fix - -- Merge branch 'master' into PDEEXP-1951-Lost-Device-Event-Does-Not-Emit-Whitelabel-MFA-provider ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v20.15.0 (Fri Oct 25 2024) - -#### 🐛 Bug Fix - -- Merge branch 'master' into cancel-event-for-recovery-flow ([@sukhrobbekodilov](https://github.com/sukhrobbekodilov)) - -#### Authors: 1 - -- [@sukhrobbekodilov](https://github.com/sukhrobbekodilov) - ---- - -# v20.14.0 (Fri Oct 18 2024) - -#### 🐛 Bug Fix - -- Merge branch 'master' into missed_type_for_recovery_factor ([@sukhrobbekodilov](https://github.com/sukhrobbekodilov)) - -#### Authors: 1 - -- [@sukhrobbekodilov](https://github.com/sukhrobbekodilov) - ---- - -# v20.13.0 (Fri Oct 18 2024) - -#### 🐛 Bug Fix - -- Update .deepsource.toml [#804](https://github.com/magiclabs/magic-js/pull/804) ([@Magic-Brandan](https://github.com/Magic-Brandan)) - -#### Authors: 1 - -- [@Magic-Brandan](https://github.com/Magic-Brandan) - ---- - -# v20.11.0 (Wed Sep 25 2024) - -#### 🐛 Bug Fix - -- Merge branch 'master' into sherzod-PDEEXP-1711-Support-MFA-setup-whitelabel-support ([@sherzod-bakhodirov](https://github.com/sherzod-bakhodirov)) - -#### Authors: 1 - -- [@sherzod-bakhodirov](https://github.com/sherzod-bakhodirov) - ---- - -# v20.9.0 (Wed Sep 11 2024) - -#### 🐛 Bug Fix - -- Merge branch 'master' into sherzod-PDEEXP-1711-Support-MFA-setup-whitelabel-support ([@sherzod-bakhodirov](https://github.com/sherzod-bakhodirov)) -- Merge branch 'master' into hcote-cosmos-options ([@hcote](https://github.com/hcote)) - -#### Authors: 2 - -- [@sherzod-bakhodirov](https://github.com/sherzod-bakhodirov) -- Hunter Cote ([@hcote](https://github.com/hcote)) - ---- - -# v20.6.0 (Tue Sep 03 2024) - -#### 🐛 Bug Fix - -- Merge branch 'master' of https://github.com/magiclabs/magic-js into khamdam-sc-PDEEXP-54-whitelabel-sms-login ([@khamdam-magic](https://github.com/khamdam-magic)) -- fix: update branch ([@khamdam-magic](https://github.com/khamdam-magic)) -- fix(): resolve conflicts ([@khamdam-magic](https://github.com/khamdam-magic)) - -#### Authors: 1 - -- [@khamdam-magic](https://github.com/khamdam-magic) - ---- - -# v20.4.0 (Tue Aug 13 2024) - -#### 🐛 Bug Fix - -- Merge remote-tracking branch 'refs/remotes/origin/master' into Add-two-more-mfa-flags ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v20.0.4 (Thu Jun 06 2024) - -#### 🐛 Bug Fix - -- Merge remote-tracking branch 'refs/remotes/origin/master' into PDEEXP-1279-done-event-not-firing-in-whitelabel-email-login-flow ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v20.0.0 (Fri Mar 22 2024) - -#### 🚀 Enhancement - -- Add private key reveal method [#699](https://github.com/magiclabs/magic-js/pull/699) ([@joshuascan](https://github.com/joshuascan)) - -#### 🐛 Bug Fix - -- "Bump independent versions \[skip ci\]" (team@magic.link) -- Update CHANGELOG.md \[skip ci\] (team@magic.link) -- Merge branch 'master' into patjacobs-oauth-v2-apple ([@patjacobs-magic](https://github.com/patjacobs-magic)) -- Merge branch 'master' into joshscanlan-pk-reveal-method ([@joshuascan](https://github.com/joshuascan)) - -#### Authors: 3 - -- [@patjacobs-magic](https://github.com/patjacobs-magic) -- Josh Scanlan ([@joshuascan](https://github.com/joshuascan)) -- Magic Labs (team@magic.link) - ---- - -# v19.0.0 (Fri Mar 15 2024) - -#### 🐛 Bug Fix - -- "Bump independent versions \[skip ci\]" (team@magic.link) -- Update CHANGELOG.md \[skip ci\] (team@magic.link) -- Merge branch 'master' into patjacobs-oauth-v2-apple ([@patjacobs-magic](https://github.com/patjacobs-magic)) - -#### Authors: 2 - -- [@patjacobs-magic](https://github.com/patjacobs-magic) -- Magic Labs (team@magic.link) - ---- - -# v18.0.0 (Sat Mar 09 2024) - -#### 🐛 Bug Fix - -- "Bump independent versions \[skip ci\]" (team@magic.link) -- Update CHANGELOG.md \[skip ci\] (team@magic.link) -- Merge branch 'master' into patjacobs-oauth-v2-apple ([@patjacobs-magic](https://github.com/patjacobs-magic)) - -#### Authors: 2 - -- [@patjacobs-magic](https://github.com/patjacobs-magic) -- Magic Labs (team@magic.link) - ---- - -# v17.0.0 (Thu Feb 29 2024) - -#### 🐛 Bug Fix - -- Merge branch 'master' into patjacobs-oauth-v2-apple ([@patjacobs-magic](https://github.com/patjacobs-magic)) -- "Bump independent versions \[skip ci\]" (team@magic.link) -- Update CHANGELOG.md \[skip ci\] (team@magic.link) - -#### Authors: 2 - -- [@patjacobs-magic](https://github.com/patjacobs-magic) -- Magic Labs (team@magic.link) - ---- - -# v16.0.0 (Tue Feb 27 2024) - -#### 🐛 Bug Fix - -- "Bump independent versions \[skip ci\]" (team@magic.link) - -#### Authors: 1 - -- Magic Labs (team@magic.link) - ---- - -# v14.1.1 (Sat Feb 10 2024) - -#### 🐛 Bug Fix - -- Merge branch 'master' into PDEEXP-253-whitelabel-update-email-with-ui-missing-event-when-email-address-already-in-use ([@joshuascan](https://github.com/joshuascan)) - -#### Authors: 1 - -- Josh Scanlan ([@joshuascan](https://github.com/joshuascan)) - ---- - -# v13.4.1 (Fri Dec 15 2023) - -#### 🐛 Bug Fix - -- Merge branch 'master' into rominhalltari-sc-91530-investigate-and-provide-solution-for-issue ([@romin-halltari](https://github.com/romin-halltari)) - -#### Authors: 1 - -- [@romin-halltari](https://github.com/romin-halltari) - ---- - -# v13.4.0 (Thu Dec 14 2023) - -#### 🐛 Bug Fix - -- Merge branch 'master' into split-key-device-share ([@Dizigen](https://github.com/Dizigen)) - -#### Authors: 1 - -- David He ([@Dizigen](https://github.com/Dizigen)) - ---- - -# v13.3.2 (Tue Nov 28 2023) - -#### 🐛 Bug Fix - -- Merge branch 'master' into josh-sc-90794-add-types-export-to-scaffolding ([@joshuascan](https://github.com/joshuascan)) - -#### Authors: 1 - -- Josh Scanlan ([@joshuascan](https://github.com/joshuascan)) - ---- - -# v13.3.1 (Tue Nov 21 2023) - -#### 🐛 Bug Fix - -- Fix TypeScript resolution for @magic-ext/* packages when using modern module resolution (node16 etc) [#670](https://github.com/magiclabs/magic-js/pull/670) ([@rjwebb](https://github.com/rjwebb) [@joshuascan](https://github.com/joshuascan)) -- Merge branch 'master' into rjwebb/669-fix-node16-magic-ext-imports ([@joshuascan](https://github.com/joshuascan)) -- Update package.json exports to expose types when using node16 typescript, for algorand, auth, avalanche, bitcoin, conflux, cosmos, ed25519, flow, gdkms, harmony, hedera, icon, near, oauth, oidc, polkadot, react-native-bare-oauth, react-native-expo-oauth, taquito, terra, tezos, webauthn and zilliqa ([@rjwebb](https://github.com/rjwebb)) - -#### Authors: 2 - -- Bob Webb ([@rjwebb](https://github.com/rjwebb)) -- Josh Scanlan ([@joshuascan](https://github.com/joshuascan)) - ---- - -# v13.2.1 (Tue Nov 14 2023) - -#### 🐛 Bug Fix - -- Merge branch 'master' into injectable-webcrypto-jwt-for-session-persistence ([@Dizigen](https://github.com/Dizigen)) - -#### Authors: 1 - -- David He ([@Dizigen](https://github.com/Dizigen)) - ---- - -# v13.2.0 (Tue Oct 24 2023) - -#### 🐛 Bug Fix - -- Merge branch 'master' into hcote-support-sepolia-natively ([@hcote](https://github.com/hcote)) - -#### Authors: 1 - -- Hunter Cote ([@hcote](https://github.com/hcote)) - ---- - -# v13.0.0 (Fri Oct 13 2023) - -#### 🐛 Bug Fix - -- Merge branch 'master' into force-ctor-preload-iframe ([@Dizigen](https://github.com/Dizigen)) - -#### Authors: 1 - -- David He ([@Dizigen](https://github.com/Dizigen)) - ---- - -# v12.1.2 (Wed Oct 11 2023) - -#### 🐛 Bug Fix - -- Removes React Native entrypoint from all extension's package.json [#644](https://github.com/magiclabs/magic-js/pull/644) ([@Ariflo](https://github.com/Ariflo)) -- Removes React Native entrypoint from all extensions package.json ([@Ariflo](https://github.com/Ariflo)) - -#### Authors: 1 - -- Arian Flores ([@Ariflo](https://github.com/Ariflo)) - ---- - -# v12.1.1 (Mon Oct 02 2023) - -#### 🐛 Bug Fix - -- Merge branch 'master' into patjacobs-sc-83016-ux-optimization-expired-email-otps ([@patjacobs-magic](https://github.com/patjacobs-magic)) - -#### Authors: 1 - -- [@patjacobs-magic](https://github.com/patjacobs-magic) - ---- - -# v12.1.0 (Fri Sep 29 2023) - -#### 🐛 Bug Fix - -- Merge remote-tracking branch 'origin/master' into jerryliu-sc-87830-optimize-webcrypto-implementation-to-generate ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v11.3.0 (Wed Aug 16 2023) - -#### 🐛 Bug Fix - -- Merge branch 'master' into josh-sc-75022-standalone-update-email-v2 ([@joshuascan](https://github.com/joshuascan)) - -#### Authors: 1 - -- Josh Scanlan ([@joshuascan](https://github.com/joshuascan)) - ---- - -# v11.1.0 (Tue Aug 08 2023) - -#### 🐛 Bug Fix - -- Merge remote-tracking branch 'origin/master' into jerryliu-sc-81984-update-loginwithemailotp-interface-with-new ([@Ethella](https://github.com/Ethella)) -- Merge remote-tracking branch 'origin/master' ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v10.3.0 (Fri Jul 07 2023) - -#### ⚠️ Pushed to `master` - -- Merge remote-tracking branch 'origin/master' ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v10.2.0 (Fri Jun 23 2023) - -#### 🚀 Enhancement - -- Auto version bumping [#557](https://github.com/magiclabs/magic-js/pull/557) ([@Ethella](https://github.com/Ethella) [@Ariflo](https://github.com/Ariflo)) -- Updates License to Apache 2.0 [#551](https://github.com/magiclabs/magic-js/pull/551) ([@Ariflo](https://github.com/Ariflo)) - -#### 🐛 Bug Fix - -- Match NPM Version ([@Ariflo](https://github.com/Ariflo)) -- Update CHANGELOG.md \[skip ci\] ([@Ethella](https://github.com/Ethella)) -- 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)) -- Updates License to Apache 2.0 ([@Ariflo](https://github.com/Ariflo)) - -#### Authors: 2 - -- Arian Flores ([@Ariflo](https://github.com/Ariflo)) -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v10.1.0 (Fri Jun 23 2023) - -#### 🚀 Enhancement - -- Updates License to Apache 2.0 [#551](https://github.com/magiclabs/magic-js/pull/551) ([@Ariflo](https://github.com/Ariflo)) - -#### 🐛 Bug Fix - -- 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)) -- Updates License to Apache 2.0 ([@Ariflo](https://github.com/Ariflo)) - -#### Authors: 1 - -- Arian Flores ([@Ariflo](https://github.com/Ariflo)) - ---- - -# v9.3.0 (Fri May 26 2023) - -#### 🐛 Bug Fix - -- Merge remote-tracking branch 'origin/master' into jerryliu_hotfix_gdkms ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v9.1.5 (Fri May 19 2023) - -#### 🐛 Bug Fix - -- Merge remote-tracking branch 'origin/master' into jerryliu-sc-77755-kresus-hotfix ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v9.1.1 (Fri Apr 21 2023) - -#### 🐛 Bug Fix - -- Merge remote-tracking branch 'origin/master' into jerryliu-sc-75641-lazer-request-showsettings-page-mfa ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v9.1.0 (Thu Apr 20 2023) - -#### 🐛 Bug Fix - -- Merge branch 'master' into jerryliu-sc-75641-lazer-request-showsettings-page-mfa ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v8.1.0 (Tue Apr 04 2023) - -#### 🐛 Bug Fix - -- Merge branch 'master' into briancleary7114-sc-73967-auto-publish-canary-version-for-magic-sdk ([@bcleary06](https://github.com/bcleary06)) - -#### Authors: 1 - -- Brian Cleary ([@bcleary06](https://github.com/bcleary06)) - ---- - -# v8.0.0 (Fri Mar 31 2023) - -#### 🐛 Bug Fix - -- Merge remote-tracking branch 'origin/master' into jerryliu-sc-74424-email-otp-login-invalid-email-otp-event ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v5.6.2 (Tue Mar 21 2023) - -#### 🐛 Bug Fix - -- Merge branch 'master' into briancleary7114-sc-71135-add-checkout-sdk-method ([@bcleary06](https://github.com/bcleary06)) - -#### Authors: 1 - -- Brian Cleary ([@bcleary06](https://github.com/bcleary06)) - ---- - -# v5.5.0 (Tue Feb 28 2023) - -#### 🐛 Bug Fix - -- Merge branch 'master' of github.com:magiclabs/magic-js into mushfichowdhury-login-with-email-otp-whitelabel ([@mushfichowdhury-magic](https://github.com/mushfichowdhury-magic)) - -#### Authors: 1 - -- Mushfi Chowdhury ([@mushfichowdhury-magic](https://github.com/mushfichowdhury-magic)) - ---- - -# v0.2.0 (Tue Apr 12 2022) - -#### 🚀 Enhancement - -- Update package.json [#307](https://github.com/magiclabs/magic-js/pull/307) ([@harryEth](https://github.com/harryEth)) -- taquito support [#306](https://github.com/magiclabs/magic-js/pull/306) ([@harryEth](https://github.com/harryEth)) - -#### Authors: 1 - -- [@harryEth](https://github.com/harryEth) - ---- - diff --git a/packages/@magic-ext/taquito/LICENSE b/packages/@magic-ext/taquito/LICENSE deleted file mode 100644 index d9a10c0d8..000000000 --- a/packages/@magic-ext/taquito/LICENSE +++ /dev/null @@ -1,176 +0,0 @@ - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS diff --git a/packages/@magic-ext/taquito/eslint.config.mjs b/packages/@magic-ext/taquito/eslint.config.mjs deleted file mode 100644 index a94768e85..000000000 --- a/packages/@magic-ext/taquito/eslint.config.mjs +++ /dev/null @@ -1,21 +0,0 @@ -import path from 'node:path'; -import { fileURLToPath } from 'node:url'; -import rootEslintConfig from '../../../eslint.config.mjs'; - -const __filename = fileURLToPath(import.meta.url); -const __dirname = path.dirname(__filename); - -export default [ - ...rootEslintConfig, - { - ignores: ['node_modules', 'coverage', 'dist', 'eslint.config.mjs', 'jest.config.ts'], - }, - { - languageOptions: { - parserOptions: { - project: ['./tsconfig.json'], - tsconfigRootDir: __dirname, - }, - }, - }, -]; diff --git a/packages/@magic-ext/taquito/package.json b/packages/@magic-ext/taquito/package.json deleted file mode 100644 index b55b698c1..000000000 --- a/packages/@magic-ext/taquito/package.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "name": "@magic-ext/taquito", - "version": "25.8.0", - "description": "Tezos taquito extension", - "author": "Magic (https://magic.link/)", - "license": "MIT", - "repository": { - "type": "git", - "url": "https://github.com/magiclabs/magic-js" - }, - "files": [ - "dist" - ], - "target": "neutral", - "cdnGlobalName": "MagicTaquitoExtension", - "main": "./dist/cjs/index.js", - "module": "./dist/es/index.js", - "types": "./dist/types/index.d.ts", - "jsdelivr": "./dist/extension.js", - "exports": { - "import": "./dist/es/index.mjs", - "types": "./dist/types/index.d.ts", - "require": "./dist/cjs/index.js" - }, - "externals": { - "include": [ - "@magic-sdk/provider" - ] - }, - "devDependencies": { - "@magic-sdk/provider": "^33.9.0" - } -} diff --git a/packages/@magic-ext/taquito/src/MagicSigner.ts b/packages/@magic-ext/taquito/src/MagicSigner.ts deleted file mode 100644 index 28cd36959..000000000 --- a/packages/@magic-ext/taquito/src/MagicSigner.ts +++ /dev/null @@ -1,40 +0,0 @@ -import { Signer } from './SignerInterface'; -import { TaquitoPayloadMethod } from './type'; - -export class MagicSigner implements Signer { - private magic: any; - constructor(private pkh: string, private pK: string, magic: any) { - this.magic = magic; - } - - async publicKeyHash(): Promise { - return this.pkh; - } - - async publicKey(): Promise { - return this.pK; - } - - async secretKey(): Promise { - throw new Error('Secret key cannot be exposed'); - } - - async sign( - bytes: string, - watermark?: Uint8Array, - ): Promise<{ - bytes: string; - sig: string; - prefixSig: string; - sbytes: string; - }> { - return this.magic.request( - this.magic.utils.createJsonRpcRequestPayload(TaquitoPayloadMethod.TaquitoSign, [ - { - bytes, - watermark, - }, - ]), - ); - } -} diff --git a/packages/@magic-ext/taquito/src/SignerInterface.ts b/packages/@magic-ext/taquito/src/SignerInterface.ts deleted file mode 100644 index 368b3f54f..000000000 --- a/packages/@magic-ext/taquito/src/SignerInterface.ts +++ /dev/null @@ -1,33 +0,0 @@ -/** - * @description Signer interface which is used across taquito in order to sign and inject operation - */ -export interface Signer { - /** - * - * @param op Operation to sign - * @param magicByte Magic bytes 1 for block, 2 for endorsement, 3 for generic, 5 for the PACK format of michelson - */ - sign( - op: string, - magicByte?: Uint8Array, - ): Promise<{ - bytes: string; - sig: string; - prefixSig: string; - sbytes: string; - }>; - /** - * @description Return the public key of the account used by the signer - */ - publicKey(): Promise; - - /** - * @description Return the public key hash of the account used by the signer - */ - publicKeyHash(): Promise; - - /** - * @description Optionally return the secret key of the account used by the signer - */ - secretKey(): Promise; -} diff --git a/packages/@magic-ext/taquito/src/index.cdn.ts b/packages/@magic-ext/taquito/src/index.cdn.ts deleted file mode 100644 index 3beaa1e96..000000000 --- a/packages/@magic-ext/taquito/src/index.cdn.ts +++ /dev/null @@ -1,3 +0,0 @@ -import { TaquitoExtension } from './index'; - -export default TaquitoExtension; diff --git a/packages/@magic-ext/taquito/src/index.native.ts b/packages/@magic-ext/taquito/src/index.native.ts deleted file mode 100644 index ea465c2a3..000000000 --- a/packages/@magic-ext/taquito/src/index.native.ts +++ /dev/null @@ -1 +0,0 @@ -export * from './index'; diff --git a/packages/@magic-ext/taquito/src/index.ts b/packages/@magic-ext/taquito/src/index.ts deleted file mode 100644 index d71d55212..000000000 --- a/packages/@magic-ext/taquito/src/index.ts +++ /dev/null @@ -1,34 +0,0 @@ -import { MultichainExtension } from '@magic-sdk/provider'; -import { TaquitoConfig, TaquitoPayloadMethod } from './type'; -import { MagicSigner } from './MagicSigner'; - -export class TaquitoExtension extends MultichainExtension<'taquito'> { - name = 'taquito' as const; - - constructor(public taquitoConfig: TaquitoConfig) { - super({ - rpcUrl: taquitoConfig.rpcUrl, - chainType: 'TAQUITO', - }); - } - - public async getPublicKey() { - return this.request(this.utils.createJsonRpcRequestPayload(TaquitoPayloadMethod.TaquitpGetPublicKeyAndHash, [])); - } - - public async sign(bytes: string, watermark?: Uint8Array): Promise { - return this.request( - this.utils.createJsonRpcRequestPayload(TaquitoPayloadMethod.TaquitoSign, [ - { - bytes, - watermark, - }, - ]), - ); - } - - public async createMagicSigner(): Promise { - const { pk, pkh } = await this.getPublicKey(); - return new MagicSigner(pkh, pk, this); - } -} diff --git a/packages/@magic-ext/taquito/src/type.ts b/packages/@magic-ext/taquito/src/type.ts deleted file mode 100644 index 57aaff64f..000000000 --- a/packages/@magic-ext/taquito/src/type.ts +++ /dev/null @@ -1,8 +0,0 @@ -export interface TaquitoConfig { - rpcUrl: string; -} - -export enum TaquitoPayloadMethod { - TaquitoSign = 'taquito_sign', - TaquitpGetPublicKeyAndHash = 'taquito_getPublicKeyAndHash', -} diff --git a/packages/@magic-ext/taquito/tsconfig.json b/packages/@magic-ext/taquito/tsconfig.json deleted file mode 100644 index c268bce54..000000000 --- a/packages/@magic-ext/taquito/tsconfig.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "extends": "../../../tsconfig.settings.json", -} - diff --git a/packages/@magic-ext/terra/.lintstagedrc.yml b/packages/@magic-ext/terra/.lintstagedrc.yml deleted file mode 100644 index 1c250ad65..000000000 --- a/packages/@magic-ext/terra/.lintstagedrc.yml +++ /dev/null @@ -1,2 +0,0 @@ -'*.{ts,tsx}': - - eslint --fix diff --git a/packages/@magic-ext/terra/.prettierrc.js b/packages/@magic-ext/terra/.prettierrc.js deleted file mode 100644 index 6177cac66..000000000 --- a/packages/@magic-ext/terra/.prettierrc.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('../../../.prettierrc.js'); diff --git a/packages/@magic-ext/terra/CHANGELOG.md b/packages/@magic-ext/terra/CHANGELOG.md deleted file mode 100644 index ac9d5a3c5..000000000 --- a/packages/@magic-ext/terra/CHANGELOG.md +++ /dev/null @@ -1,655 +0,0 @@ -# v25.2.2 (Thu Feb 05 2026) - -#### ⚠️ Pushed to `master` - -- Merge branch 'master' of github.com:magiclabs/magic-js ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v25.2.0 (Thu Jan 29 2026) - -#### 🚀 Enhancement - -- feat: Magic Widget extension [#979](https://github.com/magiclabs/magic-js/pull/979) ([@joshuascan](https://github.com/joshuascan) [@sherzod-bakhodirov](https://github.com/sherzod-bakhodirov)) - -#### Authors: 2 - -- [@sherzod-bakhodirov](https://github.com/sherzod-bakhodirov) -- Josh Scanlan ([@joshuascan](https://github.com/joshuascan)) - ---- - -# v25.1.0 (Thu Jan 29 2026) - -#### ⚠️ Pushed to `master` - -- Merge branch 'master' of github.com:magiclabs/magic-js ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v25.0.0 (Tue Jan 13 2026) - -#### 🐛 Bug Fix - -- heal Auto package versioning [#997](https://github.com/magiclabs/magic-js/pull/997) ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v23.0.0 (Fri Oct 03 2025) - -#### 💥 Breaking Change - -- EVM Extension and new extension methods [#915](https://github.com/magiclabs/magic-js/pull/915) ([@joshuascan](https://github.com/joshuascan)) - -#### Authors: 1 - -- Josh Scanlan ([@joshuascan](https://github.com/joshuascan)) - ---- - -# v21.0.6 (Tue Apr 29 2025) - -#### 🐛 Bug Fix - -- Revert "Remove Extension class and rename InternalExtension to MagicExtension" [#882](https://github.com/magiclabs/magic-js/pull/882) ([@Ethella](https://github.com/Ethella)) -- Remove Extension class and rename InternalExtension to MagicExtension [#881](https://github.com/magiclabs/magic-js/pull/881) ([@devin-ai-integration[bot]](https://github.com/devin-ai-integration[bot]) [@Ethella](https://github.com/Ethella)) - -#### Authors: 2 - -- [@devin-ai-integration[bot]](https://github.com/devin-ai-integration[bot]) -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v21.0.4 (Tue Apr 01 2025) - -#### 🐛 Bug Fix - -- Merge remote-tracking branch 'origin/master' into PDEEXP-2318-imx-dont-throw-error-if-the-iframe-is-failing ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v20.20.0 (Wed Jan 08 2025) - -#### 🐛 Bug Fix - -- Merge branch 'master' into hcote-web3modal ([@hcote](https://github.com/hcote)) - -#### Authors: 1 - -- Hunter Cote ([@hcote](https://github.com/hcote)) - ---- - -# v20.19.0 (Wed Dec 25 2024) - -#### 🐛 Bug Fix - -- Merge remote-tracking branch 'origin/master' into PDEEXP-530-wallet-connect-login-with-redirect ([@Ethella](https://github.com/Ethella)) -- resolve conflict ([@Ethella](https://github.com/Ethella)) -- * resolve conflict ([@Ethella](https://github.com/Ethella)) -- Merge branch 'master' into PDEEXP-530-wallet-connect-login-with-redirect ([@mattupham](https://github.com/mattupham)) - -#### Authors: 2 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) -- Matt Upham ([@mattupham](https://github.com/mattupham)) - ---- - -# v20.18.1 (Thu Dec 05 2024) - -#### 🐛 Bug Fix - -- fix: typos [#830](https://github.com/magiclabs/magic-js/pull/830) ([@omahs](https://github.com/omahs) [@Ethella](https://github.com/Ethella)) -- chore: bump eslint version [#834](https://github.com/magiclabs/magic-js/pull/834) ([@otabek-magic](https://github.com/otabek-magic) [@Ethella](https://github.com/Ethella)) -- Merge branch 'master' into PDEEXP-1985-bump-magic-sdk-eslint-version-to-9 ([@otabek-magic](https://github.com/otabek-magic)) -- chore: update eslint config ([@otabek-magic](https://github.com/otabek-magic)) -- chore: update to eslint 9 in magic-sdk magic-ext ([@otabek-magic](https://github.com/otabek-magic)) -- Merge branch 'master' into patch-1 ([@Ethella](https://github.com/Ethella)) - -#### Authors: 3 - -- [@otabek-magic](https://github.com/otabek-magic) -- Jerry Liu ([@Ethella](https://github.com/Ethella)) -- omahs ([@omahs](https://github.com/omahs)) - ---- - -# v20.18.0 (Mon Nov 25 2024) - -#### 🐛 Bug Fix - -- Merge branch 'master' into PDEEXP-1954-OAuth-popup-flow-consolidation ([@sherzod-bakhodirov](https://github.com/sherzod-bakhodirov)) - -#### Authors: 1 - -- [@sherzod-bakhodirov](https://github.com/sherzod-bakhodirov) - ---- - -# v20.16.0 (Fri Oct 25 2024) - -#### 🐛 Bug Fix - -- Merge branch 'master' into PDEEXP-1951-Lost-Device-Event-Does-Not-Emit-Whitelabel-MFA-provider ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v20.15.0 (Fri Oct 25 2024) - -#### 🐛 Bug Fix - -- Merge branch 'master' into cancel-event-for-recovery-flow ([@sukhrobbekodilov](https://github.com/sukhrobbekodilov)) - -#### Authors: 1 - -- [@sukhrobbekodilov](https://github.com/sukhrobbekodilov) - ---- - -# v20.14.0 (Fri Oct 18 2024) - -#### 🐛 Bug Fix - -- Merge branch 'master' into missed_type_for_recovery_factor ([@sukhrobbekodilov](https://github.com/sukhrobbekodilov)) - -#### Authors: 1 - -- [@sukhrobbekodilov](https://github.com/sukhrobbekodilov) - ---- - -# v20.13.0 (Fri Oct 18 2024) - -#### 🐛 Bug Fix - -- Update .deepsource.toml [#804](https://github.com/magiclabs/magic-js/pull/804) ([@Magic-Brandan](https://github.com/Magic-Brandan)) - -#### Authors: 1 - -- [@Magic-Brandan](https://github.com/Magic-Brandan) - ---- - -# v20.11.0 (Wed Sep 25 2024) - -#### 🐛 Bug Fix - -- Merge branch 'master' into sherzod-PDEEXP-1711-Support-MFA-setup-whitelabel-support ([@sherzod-bakhodirov](https://github.com/sherzod-bakhodirov)) - -#### Authors: 1 - -- [@sherzod-bakhodirov](https://github.com/sherzod-bakhodirov) - ---- - -# v20.9.0 (Wed Sep 11 2024) - -#### 🐛 Bug Fix - -- Merge branch 'master' into sherzod-PDEEXP-1711-Support-MFA-setup-whitelabel-support ([@sherzod-bakhodirov](https://github.com/sherzod-bakhodirov)) -- Merge branch 'master' into hcote-cosmos-options ([@hcote](https://github.com/hcote)) - -#### Authors: 2 - -- [@sherzod-bakhodirov](https://github.com/sherzod-bakhodirov) -- Hunter Cote ([@hcote](https://github.com/hcote)) - ---- - -# v20.6.0 (Tue Sep 03 2024) - -#### 🐛 Bug Fix - -- Merge branch 'master' of https://github.com/magiclabs/magic-js into khamdam-sc-PDEEXP-54-whitelabel-sms-login ([@khamdam-magic](https://github.com/khamdam-magic)) -- fix: update branch ([@khamdam-magic](https://github.com/khamdam-magic)) -- fix(): resolve conflicts ([@khamdam-magic](https://github.com/khamdam-magic)) - -#### Authors: 1 - -- [@khamdam-magic](https://github.com/khamdam-magic) - ---- - -# v20.4.0 (Tue Aug 13 2024) - -#### 🐛 Bug Fix - -- Merge remote-tracking branch 'refs/remotes/origin/master' into Add-two-more-mfa-flags ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v20.0.4 (Thu Jun 06 2024) - -#### 🐛 Bug Fix - -- Merge remote-tracking branch 'refs/remotes/origin/master' into PDEEXP-1279-done-event-not-firing-in-whitelabel-email-login-flow ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v20.0.0 (Fri Mar 22 2024) - -#### 🚀 Enhancement - -- Add private key reveal method [#699](https://github.com/magiclabs/magic-js/pull/699) ([@joshuascan](https://github.com/joshuascan)) - -#### 🐛 Bug Fix - -- "Bump independent versions \[skip ci\]" (team@magic.link) -- Update CHANGELOG.md \[skip ci\] (team@magic.link) -- Merge branch 'master' into patjacobs-oauth-v2-apple ([@patjacobs-magic](https://github.com/patjacobs-magic)) -- Merge branch 'master' into joshscanlan-pk-reveal-method ([@joshuascan](https://github.com/joshuascan)) - -#### Authors: 3 - -- [@patjacobs-magic](https://github.com/patjacobs-magic) -- Josh Scanlan ([@joshuascan](https://github.com/joshuascan)) -- Magic Labs (team@magic.link) - ---- - -# v19.0.0 (Fri Mar 15 2024) - -#### 🐛 Bug Fix - -- "Bump independent versions \[skip ci\]" (team@magic.link) -- Update CHANGELOG.md \[skip ci\] (team@magic.link) -- Merge branch 'master' into patjacobs-oauth-v2-apple ([@patjacobs-magic](https://github.com/patjacobs-magic)) - -#### Authors: 2 - -- [@patjacobs-magic](https://github.com/patjacobs-magic) -- Magic Labs (team@magic.link) - ---- - -# v18.0.0 (Sat Mar 09 2024) - -#### 🐛 Bug Fix - -- "Bump independent versions \[skip ci\]" (team@magic.link) -- Update CHANGELOG.md \[skip ci\] (team@magic.link) -- Merge branch 'master' into patjacobs-oauth-v2-apple ([@patjacobs-magic](https://github.com/patjacobs-magic)) - -#### Authors: 2 - -- [@patjacobs-magic](https://github.com/patjacobs-magic) -- Magic Labs (team@magic.link) - ---- - -# v17.0.0 (Thu Feb 29 2024) - -#### 🐛 Bug Fix - -- Merge branch 'master' into patjacobs-oauth-v2-apple ([@patjacobs-magic](https://github.com/patjacobs-magic)) -- "Bump independent versions \[skip ci\]" (team@magic.link) -- Update CHANGELOG.md \[skip ci\] (team@magic.link) - -#### Authors: 2 - -- [@patjacobs-magic](https://github.com/patjacobs-magic) -- Magic Labs (team@magic.link) - ---- - -# v16.0.0 (Tue Feb 27 2024) - -#### 🐛 Bug Fix - -- "Bump independent versions \[skip ci\]" (team@magic.link) - -#### Authors: 1 - -- Magic Labs (team@magic.link) - ---- - -# v14.1.1 (Sat Feb 10 2024) - -#### 🐛 Bug Fix - -- Merge branch 'master' into PDEEXP-253-whitelabel-update-email-with-ui-missing-event-when-email-address-already-in-use ([@joshuascan](https://github.com/joshuascan)) - -#### Authors: 1 - -- Josh Scanlan ([@joshuascan](https://github.com/joshuascan)) - ---- - -# v13.4.1 (Fri Dec 15 2023) - -#### 🐛 Bug Fix - -- Merge branch 'master' into rominhalltari-sc-91530-investigate-and-provide-solution-for-issue ([@romin-halltari](https://github.com/romin-halltari)) - -#### Authors: 1 - -- [@romin-halltari](https://github.com/romin-halltari) - ---- - -# v13.4.0 (Thu Dec 14 2023) - -#### 🐛 Bug Fix - -- Merge branch 'master' into split-key-device-share ([@Dizigen](https://github.com/Dizigen)) - -#### Authors: 1 - -- David He ([@Dizigen](https://github.com/Dizigen)) - ---- - -# v13.3.2 (Tue Nov 28 2023) - -#### 🐛 Bug Fix - -- Merge branch 'master' into josh-sc-90794-add-types-export-to-scaffolding ([@joshuascan](https://github.com/joshuascan)) - -#### Authors: 1 - -- Josh Scanlan ([@joshuascan](https://github.com/joshuascan)) - ---- - -# v13.3.1 (Tue Nov 21 2023) - -#### 🐛 Bug Fix - -- Fix TypeScript resolution for @magic-ext/* packages when using modern module resolution (node16 etc) [#670](https://github.com/magiclabs/magic-js/pull/670) ([@rjwebb](https://github.com/rjwebb) [@joshuascan](https://github.com/joshuascan)) -- Merge branch 'master' into rjwebb/669-fix-node16-magic-ext-imports ([@joshuascan](https://github.com/joshuascan)) -- Update package.json exports to expose types when using node16 typescript, for algorand, auth, avalanche, bitcoin, conflux, cosmos, ed25519, flow, gdkms, harmony, hedera, icon, near, oauth, oidc, polkadot, react-native-bare-oauth, react-native-expo-oauth, taquito, terra, tezos, webauthn and zilliqa ([@rjwebb](https://github.com/rjwebb)) - -#### Authors: 2 - -- Bob Webb ([@rjwebb](https://github.com/rjwebb)) -- Josh Scanlan ([@joshuascan](https://github.com/joshuascan)) - ---- - -# v13.2.1 (Tue Nov 14 2023) - -#### 🐛 Bug Fix - -- Merge branch 'master' into injectable-webcrypto-jwt-for-session-persistence ([@Dizigen](https://github.com/Dizigen)) - -#### Authors: 1 - -- David He ([@Dizigen](https://github.com/Dizigen)) - ---- - -# v13.2.0 (Tue Oct 24 2023) - -#### 🐛 Bug Fix - -- Merge branch 'master' into hcote-support-sepolia-natively ([@hcote](https://github.com/hcote)) - -#### Authors: 1 - -- Hunter Cote ([@hcote](https://github.com/hcote)) - ---- - -# v13.0.0 (Fri Oct 13 2023) - -#### 🐛 Bug Fix - -- Merge branch 'master' into force-ctor-preload-iframe ([@Dizigen](https://github.com/Dizigen)) - -#### Authors: 1 - -- David He ([@Dizigen](https://github.com/Dizigen)) - ---- - -# v12.1.2 (Wed Oct 11 2023) - -#### 🐛 Bug Fix - -- Removes React Native entrypoint from all extension's package.json [#644](https://github.com/magiclabs/magic-js/pull/644) ([@Ariflo](https://github.com/Ariflo)) -- Removes React Native entrypoint from all extensions package.json ([@Ariflo](https://github.com/Ariflo)) - -#### Authors: 1 - -- Arian Flores ([@Ariflo](https://github.com/Ariflo)) - ---- - -# v12.1.1 (Mon Oct 02 2023) - -#### 🐛 Bug Fix - -- Merge branch 'master' into patjacobs-sc-83016-ux-optimization-expired-email-otps ([@patjacobs-magic](https://github.com/patjacobs-magic)) - -#### Authors: 1 - -- [@patjacobs-magic](https://github.com/patjacobs-magic) - ---- - -# v12.1.0 (Fri Sep 29 2023) - -#### 🐛 Bug Fix - -- Merge remote-tracking branch 'origin/master' into jerryliu-sc-87830-optimize-webcrypto-implementation-to-generate ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v11.3.0 (Wed Aug 16 2023) - -#### 🐛 Bug Fix - -- Merge branch 'master' into josh-sc-75022-standalone-update-email-v2 ([@joshuascan](https://github.com/joshuascan)) - -#### Authors: 1 - -- Josh Scanlan ([@joshuascan](https://github.com/joshuascan)) - ---- - -# v11.1.0 (Tue Aug 08 2023) - -#### 🐛 Bug Fix - -- Merge remote-tracking branch 'origin/master' into jerryliu-sc-81984-update-loginwithemailotp-interface-with-new ([@Ethella](https://github.com/Ethella)) -- Merge remote-tracking branch 'origin/master' ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v10.3.0 (Fri Jul 07 2023) - -#### ⚠️ Pushed to `master` - -- Merge remote-tracking branch 'origin/master' ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v10.2.0 (Fri Jun 23 2023) - -#### 🚀 Enhancement - -- Auto version bumping [#557](https://github.com/magiclabs/magic-js/pull/557) ([@Ethella](https://github.com/Ethella) [@Ariflo](https://github.com/Ariflo)) -- Updates License to Apache 2.0 [#551](https://github.com/magiclabs/magic-js/pull/551) ([@Ariflo](https://github.com/Ariflo)) - -#### 🐛 Bug Fix - -- Match NPM Version ([@Ariflo](https://github.com/Ariflo)) -- Update CHANGELOG.md \[skip ci\] ([@Ethella](https://github.com/Ethella)) -- 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)) -- Updates License to Apache 2.0 ([@Ariflo](https://github.com/Ariflo)) - -#### Authors: 2 - -- Arian Flores ([@Ariflo](https://github.com/Ariflo)) -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v10.1.0 (Fri Jun 23 2023) - -#### 🚀 Enhancement - -- Updates License to Apache 2.0 [#551](https://github.com/magiclabs/magic-js/pull/551) ([@Ariflo](https://github.com/Ariflo)) - -#### 🐛 Bug Fix - -- 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)) -- Updates License to Apache 2.0 ([@Ariflo](https://github.com/Ariflo)) - -#### Authors: 1 - -- Arian Flores ([@Ariflo](https://github.com/Ariflo)) - ---- - -# v9.3.0 (Fri May 26 2023) - -#### 🐛 Bug Fix - -- Merge remote-tracking branch 'origin/master' into jerryliu_hotfix_gdkms ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v9.1.5 (Fri May 19 2023) - -#### 🐛 Bug Fix - -- Merge remote-tracking branch 'origin/master' into jerryliu-sc-77755-kresus-hotfix ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v9.1.1 (Fri Apr 21 2023) - -#### 🐛 Bug Fix - -- Merge remote-tracking branch 'origin/master' into jerryliu-sc-75641-lazer-request-showsettings-page-mfa ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v9.1.0 (Thu Apr 20 2023) - -#### 🐛 Bug Fix - -- Merge branch 'master' into jerryliu-sc-75641-lazer-request-showsettings-page-mfa ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v8.1.0 (Tue Apr 04 2023) - -#### 🐛 Bug Fix - -- Merge branch 'master' into briancleary7114-sc-73967-auto-publish-canary-version-for-magic-sdk ([@bcleary06](https://github.com/bcleary06)) - -#### Authors: 1 - -- Brian Cleary ([@bcleary06](https://github.com/bcleary06)) - ---- - -# v8.0.0 (Fri Mar 31 2023) - -#### 🐛 Bug Fix - -- Merge remote-tracking branch 'origin/master' into jerryliu-sc-74424-email-otp-login-invalid-email-otp-event ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v5.6.2 (Tue Mar 21 2023) - -#### 🐛 Bug Fix - -- Merge branch 'master' into briancleary7114-sc-71135-add-checkout-sdk-method ([@bcleary06](https://github.com/bcleary06)) - -#### Authors: 1 - -- Brian Cleary ([@bcleary06](https://github.com/bcleary06)) - ---- - -# v5.5.0 (Tue Feb 28 2023) - -#### 🐛 Bug Fix - -- Merge branch 'master' of github.com:magiclabs/magic-js into mushfichowdhury-login-with-email-otp-whitelabel ([@mushfichowdhury-magic](https://github.com/mushfichowdhury-magic)) - -#### Authors: 1 - -- Mushfi Chowdhury ([@mushfichowdhury-magic](https://github.com/mushfichowdhury-magic)) - ---- - -# v0.1.0 (Fri Apr 08 2022) - -#### 🚀 Enhancement - -- terra support [#304](https://github.com/magiclabs/magic-js/pull/304) ([@harryEth](https://github.com/harryEth)) - -#### Authors: 1 - -- [@harryEth](https://github.com/harryEth) - ---- - diff --git a/packages/@magic-ext/terra/LICENSE b/packages/@magic-ext/terra/LICENSE deleted file mode 100644 index d9a10c0d8..000000000 --- a/packages/@magic-ext/terra/LICENSE +++ /dev/null @@ -1,176 +0,0 @@ - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS diff --git a/packages/@magic-ext/terra/eslint.config.mjs b/packages/@magic-ext/terra/eslint.config.mjs deleted file mode 100644 index a94768e85..000000000 --- a/packages/@magic-ext/terra/eslint.config.mjs +++ /dev/null @@ -1,21 +0,0 @@ -import path from 'node:path'; -import { fileURLToPath } from 'node:url'; -import rootEslintConfig from '../../../eslint.config.mjs'; - -const __filename = fileURLToPath(import.meta.url); -const __dirname = path.dirname(__filename); - -export default [ - ...rootEslintConfig, - { - ignores: ['node_modules', 'coverage', 'dist', 'eslint.config.mjs', 'jest.config.ts'], - }, - { - languageOptions: { - parserOptions: { - project: ['./tsconfig.json'], - tsconfigRootDir: __dirname, - }, - }, - }, -]; diff --git a/packages/@magic-ext/terra/package.json b/packages/@magic-ext/terra/package.json deleted file mode 100644 index b1b842993..000000000 --- a/packages/@magic-ext/terra/package.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "name": "@magic-ext/terra", - "version": "25.8.0", - "description": "Magic Terra Extension", - "author": "Magic (https://magic.link/)", - "license": "MIT", - "repository": { - "type": "git", - "url": "https://github.com/magiclabs/magic-js" - }, - "files": [ - "dist" - ], - "target": "neutral", - "cdnGlobalName": "MagicTerraExtension", - "main": "./dist/cjs/index.js", - "module": "./dist/es/index.js", - "types": "./dist/types/index.d.ts", - "jsdelivr": "./dist/extension.js", - "exports": { - "import": "./dist/es/index.mjs", - "types": "./dist/types/index.d.ts", - "require": "./dist/cjs/index.js" - }, - "externals": { - "include": [ - "@magic-sdk/provider" - ] - }, - "devDependencies": { - "@magic-sdk/provider": "^33.9.0" - } -} diff --git a/packages/@magic-ext/terra/src/index.cdn.ts b/packages/@magic-ext/terra/src/index.cdn.ts deleted file mode 100644 index bb338502f..000000000 --- a/packages/@magic-ext/terra/src/index.cdn.ts +++ /dev/null @@ -1,3 +0,0 @@ -import { TerraExtension } from './index'; - -export default TerraExtension; diff --git a/packages/@magic-ext/terra/src/index.native.ts b/packages/@magic-ext/terra/src/index.native.ts deleted file mode 100644 index ea465c2a3..000000000 --- a/packages/@magic-ext/terra/src/index.native.ts +++ /dev/null @@ -1 +0,0 @@ -export * from './index'; diff --git a/packages/@magic-ext/terra/src/index.ts b/packages/@magic-ext/terra/src/index.ts deleted file mode 100644 index 1f3c12fa5..000000000 --- a/packages/@magic-ext/terra/src/index.ts +++ /dev/null @@ -1,21 +0,0 @@ -import { MultichainExtension } from '@magic-sdk/provider'; -import { TerraPayloadMethod, TerraConfig } from './types'; - -export class TerraExtension extends MultichainExtension<'terra'> { - name = 'terra' as const; - - constructor(public terraConfig: TerraConfig) { - super({ - rpcUrl: terraConfig.rpcUrl, - chainType: 'TERRA', - }); - } - - public async getPublicKey() { - return this.request(this.utils.createJsonRpcRequestPayload(TerraPayloadMethod.TerraGetPublicKey, [])); - } - - public async sign(payload: Buffer): Promise { - return this.request(this.utils.createJsonRpcRequestPayload(TerraPayloadMethod.TerraSign, [payload])); - } -} diff --git a/packages/@magic-ext/terra/src/types.ts b/packages/@magic-ext/terra/src/types.ts deleted file mode 100644 index 0548793aa..000000000 --- a/packages/@magic-ext/terra/src/types.ts +++ /dev/null @@ -1,8 +0,0 @@ -export enum TerraPayloadMethod { - TerraSign = 'terra_sign', - TerraGetPublicKey = 'terra_getPublicKey', -} - -export interface TerraConfig { - rpcUrl?: string; -} diff --git a/packages/@magic-ext/terra/tsconfig.json b/packages/@magic-ext/terra/tsconfig.json deleted file mode 100644 index c268bce54..000000000 --- a/packages/@magic-ext/terra/tsconfig.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "extends": "../../../tsconfig.settings.json", -} - diff --git a/packages/@magic-ext/tezos/.lintstagedrc.yml b/packages/@magic-ext/tezos/.lintstagedrc.yml deleted file mode 100644 index 1c250ad65..000000000 --- a/packages/@magic-ext/tezos/.lintstagedrc.yml +++ /dev/null @@ -1,2 +0,0 @@ -'*.{ts,tsx}': - - eslint --fix diff --git a/packages/@magic-ext/tezos/.prettierrc.js b/packages/@magic-ext/tezos/.prettierrc.js deleted file mode 100644 index 6177cac66..000000000 --- a/packages/@magic-ext/tezos/.prettierrc.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('../../../.prettierrc.js'); diff --git a/packages/@magic-ext/tezos/CHANGELOG.md b/packages/@magic-ext/tezos/CHANGELOG.md deleted file mode 100644 index cb553c98e..000000000 --- a/packages/@magic-ext/tezos/CHANGELOG.md +++ /dev/null @@ -1,703 +0,0 @@ -# v28.2.2 (Thu Feb 05 2026) - -#### ⚠️ Pushed to `master` - -- Merge branch 'master' of github.com:magiclabs/magic-js ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v28.2.0 (Thu Jan 29 2026) - -#### 🚀 Enhancement - -- feat: Magic Widget extension [#979](https://github.com/magiclabs/magic-js/pull/979) ([@joshuascan](https://github.com/joshuascan) [@sherzod-bakhodirov](https://github.com/sherzod-bakhodirov)) - -#### Authors: 2 - -- [@sherzod-bakhodirov](https://github.com/sherzod-bakhodirov) -- Josh Scanlan ([@joshuascan](https://github.com/joshuascan)) - ---- - -# v28.1.0 (Thu Jan 29 2026) - -#### ⚠️ Pushed to `master` - -- Merge branch 'master' of github.com:magiclabs/magic-js ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v28.0.0 (Tue Jan 13 2026) - -#### 🐛 Bug Fix - -- heal Auto package versioning [#997](https://github.com/magiclabs/magic-js/pull/997) ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v26.0.0 (Fri Oct 03 2025) - -#### 💥 Breaking Change - -- EVM Extension and new extension methods [#915](https://github.com/magiclabs/magic-js/pull/915) ([@joshuascan](https://github.com/joshuascan)) - -#### Authors: 1 - -- Josh Scanlan ([@joshuascan](https://github.com/joshuascan)) - ---- - -# v24.0.6 (Tue Apr 29 2025) - -#### 🐛 Bug Fix - -- Revert "Remove Extension class and rename InternalExtension to MagicExtension" [#882](https://github.com/magiclabs/magic-js/pull/882) ([@Ethella](https://github.com/Ethella)) -- Remove Extension class and rename InternalExtension to MagicExtension [#881](https://github.com/magiclabs/magic-js/pull/881) ([@devin-ai-integration[bot]](https://github.com/devin-ai-integration[bot]) [@Ethella](https://github.com/Ethella)) - -#### Authors: 2 - -- [@devin-ai-integration[bot]](https://github.com/devin-ai-integration[bot]) -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v24.0.4 (Tue Apr 01 2025) - -#### 🐛 Bug Fix - -- Merge remote-tracking branch 'origin/master' into PDEEXP-2318-imx-dont-throw-error-if-the-iframe-is-failing ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v23.20.0 (Wed Jan 08 2025) - -#### 🐛 Bug Fix - -- Merge branch 'master' into hcote-web3modal ([@hcote](https://github.com/hcote)) - -#### Authors: 1 - -- Hunter Cote ([@hcote](https://github.com/hcote)) - ---- - -# v23.19.0 (Wed Dec 25 2024) - -#### 🐛 Bug Fix - -- Merge remote-tracking branch 'origin/master' into PDEEXP-530-wallet-connect-login-with-redirect ([@Ethella](https://github.com/Ethella)) -- resolve conflict ([@Ethella](https://github.com/Ethella)) -- * resolve conflict ([@Ethella](https://github.com/Ethella)) -- Merge branch 'master' into PDEEXP-530-wallet-connect-login-with-redirect ([@mattupham](https://github.com/mattupham)) - -#### Authors: 2 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) -- Matt Upham ([@mattupham](https://github.com/mattupham)) - ---- - -# v23.18.1 (Thu Dec 05 2024) - -#### 🐛 Bug Fix - -- fix: typos [#830](https://github.com/magiclabs/magic-js/pull/830) ([@omahs](https://github.com/omahs) [@Ethella](https://github.com/Ethella)) -- chore: bump eslint version [#834](https://github.com/magiclabs/magic-js/pull/834) ([@otabek-magic](https://github.com/otabek-magic) [@Ethella](https://github.com/Ethella)) -- Merge branch 'master' into PDEEXP-1985-bump-magic-sdk-eslint-version-to-9 ([@otabek-magic](https://github.com/otabek-magic)) -- chore: update eslint config ([@otabek-magic](https://github.com/otabek-magic)) -- chore: update to eslint 9 in magic-sdk magic-ext ([@otabek-magic](https://github.com/otabek-magic)) -- Merge branch 'master' into patch-1 ([@Ethella](https://github.com/Ethella)) - -#### Authors: 3 - -- [@otabek-magic](https://github.com/otabek-magic) -- Jerry Liu ([@Ethella](https://github.com/Ethella)) -- omahs ([@omahs](https://github.com/omahs)) - ---- - -# v23.18.0 (Mon Nov 25 2024) - -#### 🐛 Bug Fix - -- Merge branch 'master' into PDEEXP-1954-OAuth-popup-flow-consolidation ([@sherzod-bakhodirov](https://github.com/sherzod-bakhodirov)) - -#### Authors: 1 - -- [@sherzod-bakhodirov](https://github.com/sherzod-bakhodirov) - ---- - -# v23.16.0 (Fri Oct 25 2024) - -#### 🐛 Bug Fix - -- Merge branch 'master' into PDEEXP-1951-Lost-Device-Event-Does-Not-Emit-Whitelabel-MFA-provider ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v23.15.0 (Fri Oct 25 2024) - -#### 🐛 Bug Fix - -- Merge branch 'master' into cancel-event-for-recovery-flow ([@sukhrobbekodilov](https://github.com/sukhrobbekodilov)) - -#### Authors: 1 - -- [@sukhrobbekodilov](https://github.com/sukhrobbekodilov) - ---- - -# v23.14.0 (Fri Oct 18 2024) - -#### 🐛 Bug Fix - -- Merge branch 'master' into missed_type_for_recovery_factor ([@sukhrobbekodilov](https://github.com/sukhrobbekodilov)) - -#### Authors: 1 - -- [@sukhrobbekodilov](https://github.com/sukhrobbekodilov) - ---- - -# v23.13.0 (Fri Oct 18 2024) - -#### 🐛 Bug Fix - -- Update .deepsource.toml [#804](https://github.com/magiclabs/magic-js/pull/804) ([@Magic-Brandan](https://github.com/Magic-Brandan)) - -#### Authors: 1 - -- [@Magic-Brandan](https://github.com/Magic-Brandan) - ---- - -# v23.11.0 (Wed Sep 25 2024) - -#### 🐛 Bug Fix - -- Merge branch 'master' into sherzod-PDEEXP-1711-Support-MFA-setup-whitelabel-support ([@sherzod-bakhodirov](https://github.com/sherzod-bakhodirov)) - -#### Authors: 1 - -- [@sherzod-bakhodirov](https://github.com/sherzod-bakhodirov) - ---- - -# v23.9.0 (Wed Sep 11 2024) - -#### 🐛 Bug Fix - -- Merge branch 'master' into sherzod-PDEEXP-1711-Support-MFA-setup-whitelabel-support ([@sherzod-bakhodirov](https://github.com/sherzod-bakhodirov)) -- Merge branch 'master' into hcote-cosmos-options ([@hcote](https://github.com/hcote)) - -#### Authors: 2 - -- [@sherzod-bakhodirov](https://github.com/sherzod-bakhodirov) -- Hunter Cote ([@hcote](https://github.com/hcote)) - ---- - -# v23.6.0 (Tue Sep 03 2024) - -#### 🐛 Bug Fix - -- Merge branch 'master' of https://github.com/magiclabs/magic-js into khamdam-sc-PDEEXP-54-whitelabel-sms-login ([@khamdam-magic](https://github.com/khamdam-magic)) -- fix: update branch ([@khamdam-magic](https://github.com/khamdam-magic)) -- fix(): resolve conflicts ([@khamdam-magic](https://github.com/khamdam-magic)) - -#### Authors: 1 - -- [@khamdam-magic](https://github.com/khamdam-magic) - ---- - -# v23.4.0 (Tue Aug 13 2024) - -#### 🐛 Bug Fix - -- Merge remote-tracking branch 'refs/remotes/origin/master' into Add-two-more-mfa-flags ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v23.0.4 (Thu Jun 06 2024) - -#### 🐛 Bug Fix - -- Merge remote-tracking branch 'refs/remotes/origin/master' into PDEEXP-1279-done-event-not-firing-in-whitelabel-email-login-flow ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v23.0.0 (Fri Mar 22 2024) - -#### 🚀 Enhancement - -- Add private key reveal method [#699](https://github.com/magiclabs/magic-js/pull/699) ([@joshuascan](https://github.com/joshuascan)) - -#### 🐛 Bug Fix - -- "Bump independent versions \[skip ci\]" (team@magic.link) -- Update CHANGELOG.md \[skip ci\] (team@magic.link) -- Merge branch 'master' into patjacobs-oauth-v2-apple ([@patjacobs-magic](https://github.com/patjacobs-magic)) -- Merge branch 'master' into joshscanlan-pk-reveal-method ([@joshuascan](https://github.com/joshuascan)) - -#### Authors: 3 - -- [@patjacobs-magic](https://github.com/patjacobs-magic) -- Josh Scanlan ([@joshuascan](https://github.com/joshuascan)) -- Magic Labs (team@magic.link) - ---- - -# v22.0.0 (Fri Mar 15 2024) - -#### 🐛 Bug Fix - -- "Bump independent versions \[skip ci\]" (team@magic.link) -- Update CHANGELOG.md \[skip ci\] (team@magic.link) -- Merge branch 'master' into patjacobs-oauth-v2-apple ([@patjacobs-magic](https://github.com/patjacobs-magic)) - -#### Authors: 2 - -- [@patjacobs-magic](https://github.com/patjacobs-magic) -- Magic Labs (team@magic.link) - ---- - -# v21.0.0 (Sat Mar 09 2024) - -#### 🐛 Bug Fix - -- "Bump independent versions \[skip ci\]" (team@magic.link) -- Update CHANGELOG.md \[skip ci\] (team@magic.link) -- Merge branch 'master' into patjacobs-oauth-v2-apple ([@patjacobs-magic](https://github.com/patjacobs-magic)) - -#### Authors: 2 - -- [@patjacobs-magic](https://github.com/patjacobs-magic) -- Magic Labs (team@magic.link) - ---- - -# v20.0.0 (Thu Feb 29 2024) - -#### 🐛 Bug Fix - -- Merge branch 'master' into patjacobs-oauth-v2-apple ([@patjacobs-magic](https://github.com/patjacobs-magic)) -- "Bump independent versions \[skip ci\]" (team@magic.link) -- Update CHANGELOG.md \[skip ci\] (team@magic.link) - -#### Authors: 2 - -- [@patjacobs-magic](https://github.com/patjacobs-magic) -- Magic Labs (team@magic.link) - ---- - -# v19.0.0 (Tue Feb 27 2024) - -#### 🐛 Bug Fix - -- "Bump independent versions \[skip ci\]" (team@magic.link) - -#### Authors: 1 - -- Magic Labs (team@magic.link) - ---- - -# v17.1.1 (Sat Feb 10 2024) - -#### 🐛 Bug Fix - -- Merge branch 'master' into PDEEXP-253-whitelabel-update-email-with-ui-missing-event-when-email-address-already-in-use ([@joshuascan](https://github.com/joshuascan)) - -#### Authors: 1 - -- Josh Scanlan ([@joshuascan](https://github.com/joshuascan)) - ---- - -# v16.4.1 (Fri Dec 15 2023) - -#### 🐛 Bug Fix - -- Merge branch 'master' into rominhalltari-sc-91530-investigate-and-provide-solution-for-issue ([@romin-halltari](https://github.com/romin-halltari)) - -#### Authors: 1 - -- [@romin-halltari](https://github.com/romin-halltari) - ---- - -# v16.4.0 (Thu Dec 14 2023) - -#### 🐛 Bug Fix - -- Merge branch 'master' into split-key-device-share ([@Dizigen](https://github.com/Dizigen)) - -#### Authors: 1 - -- David He ([@Dizigen](https://github.com/Dizigen)) - ---- - -# v16.3.2 (Tue Nov 28 2023) - -#### 🐛 Bug Fix - -- Merge branch 'master' into josh-sc-90794-add-types-export-to-scaffolding ([@joshuascan](https://github.com/joshuascan)) - -#### Authors: 1 - -- Josh Scanlan ([@joshuascan](https://github.com/joshuascan)) - ---- - -# v16.3.1 (Tue Nov 21 2023) - -#### 🐛 Bug Fix - -- Fix TypeScript resolution for @magic-ext/* packages when using modern module resolution (node16 etc) [#670](https://github.com/magiclabs/magic-js/pull/670) ([@rjwebb](https://github.com/rjwebb) [@joshuascan](https://github.com/joshuascan)) -- Merge branch 'master' into rjwebb/669-fix-node16-magic-ext-imports ([@joshuascan](https://github.com/joshuascan)) -- Update package.json exports to expose types when using node16 typescript, for algorand, auth, avalanche, bitcoin, conflux, cosmos, ed25519, flow, gdkms, harmony, hedera, icon, near, oauth, oidc, polkadot, react-native-bare-oauth, react-native-expo-oauth, taquito, terra, tezos, webauthn and zilliqa ([@rjwebb](https://github.com/rjwebb)) - -#### Authors: 2 - -- Bob Webb ([@rjwebb](https://github.com/rjwebb)) -- Josh Scanlan ([@joshuascan](https://github.com/joshuascan)) - ---- - -# v16.2.1 (Tue Nov 14 2023) - -#### 🐛 Bug Fix - -- Merge branch 'master' into injectable-webcrypto-jwt-for-session-persistence ([@Dizigen](https://github.com/Dizigen)) - -#### Authors: 1 - -- David He ([@Dizigen](https://github.com/Dizigen)) - ---- - -# v16.2.0 (Tue Oct 24 2023) - -#### 🐛 Bug Fix - -- Merge branch 'master' into hcote-support-sepolia-natively ([@hcote](https://github.com/hcote)) - -#### Authors: 1 - -- Hunter Cote ([@hcote](https://github.com/hcote)) - ---- - -# v16.0.0 (Fri Oct 13 2023) - -#### 🐛 Bug Fix - -- Merge branch 'master' into force-ctor-preload-iframe ([@Dizigen](https://github.com/Dizigen)) - -#### Authors: 1 - -- David He ([@Dizigen](https://github.com/Dizigen)) - ---- - -# v15.1.2 (Wed Oct 11 2023) - -#### 🐛 Bug Fix - -- Removes React Native entrypoint from all extension's package.json [#644](https://github.com/magiclabs/magic-js/pull/644) ([@Ariflo](https://github.com/Ariflo)) -- Removes React Native entrypoint from all extensions package.json ([@Ariflo](https://github.com/Ariflo)) - -#### Authors: 1 - -- Arian Flores ([@Ariflo](https://github.com/Ariflo)) - ---- - -# v15.1.1 (Mon Oct 02 2023) - -#### 🐛 Bug Fix - -- Merge branch 'master' into patjacobs-sc-83016-ux-optimization-expired-email-otps ([@patjacobs-magic](https://github.com/patjacobs-magic)) - -#### Authors: 1 - -- [@patjacobs-magic](https://github.com/patjacobs-magic) - ---- - -# v15.1.0 (Fri Sep 29 2023) - -#### 🐛 Bug Fix - -- Merge remote-tracking branch 'origin/master' into jerryliu-sc-87830-optimize-webcrypto-implementation-to-generate ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v14.3.0 (Wed Aug 16 2023) - -#### 🐛 Bug Fix - -- Merge branch 'master' into josh-sc-75022-standalone-update-email-v2 ([@joshuascan](https://github.com/joshuascan)) - -#### Authors: 1 - -- Josh Scanlan ([@joshuascan](https://github.com/joshuascan)) - ---- - -# v14.1.0 (Tue Aug 08 2023) - -#### 🐛 Bug Fix - -- Merge remote-tracking branch 'origin/master' into jerryliu-sc-81984-update-loginwithemailotp-interface-with-new ([@Ethella](https://github.com/Ethella)) -- Merge remote-tracking branch 'origin/master' ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v13.3.0 (Fri Jul 07 2023) - -#### ⚠️ Pushed to `master` - -- Merge remote-tracking branch 'origin/master' ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v13.2.0 (Fri Jun 23 2023) - -#### 🚀 Enhancement - -- Auto version bumping [#557](https://github.com/magiclabs/magic-js/pull/557) ([@Ethella](https://github.com/Ethella) [@Ariflo](https://github.com/Ariflo)) -- Updates License to Apache 2.0 [#551](https://github.com/magiclabs/magic-js/pull/551) ([@Ariflo](https://github.com/Ariflo)) - -#### 🐛 Bug Fix - -- Match NPM Version ([@Ariflo](https://github.com/Ariflo)) -- Update CHANGELOG.md \[skip ci\] ([@Ethella](https://github.com/Ethella)) -- 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)) -- Updates License to Apache 2.0 ([@Ariflo](https://github.com/Ariflo)) - -#### Authors: 2 - -- Arian Flores ([@Ariflo](https://github.com/Ariflo)) -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v13.1.0 (Fri Jun 23 2023) - -#### 🚀 Enhancement - -- Updates License to Apache 2.0 [#551](https://github.com/magiclabs/magic-js/pull/551) ([@Ariflo](https://github.com/Ariflo)) - -#### 🐛 Bug Fix - -- 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)) -- Updates License to Apache 2.0 ([@Ariflo](https://github.com/Ariflo)) - -#### Authors: 1 - -- Arian Flores ([@Ariflo](https://github.com/Ariflo)) - ---- - -# v12.3.0 (Fri May 26 2023) - -#### 🐛 Bug Fix - -- Merge remote-tracking branch 'origin/master' into jerryliu_hotfix_gdkms ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v12.1.5 (Fri May 19 2023) - -#### 🐛 Bug Fix - -- Merge remote-tracking branch 'origin/master' into jerryliu-sc-77755-kresus-hotfix ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v12.1.1 (Fri Apr 21 2023) - -#### 🐛 Bug Fix - -- Merge remote-tracking branch 'origin/master' into jerryliu-sc-75641-lazer-request-showsettings-page-mfa ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v12.1.0 (Thu Apr 20 2023) - -#### 🐛 Bug Fix - -- Merge branch 'master' into jerryliu-sc-75641-lazer-request-showsettings-page-mfa ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v11.1.0 (Tue Apr 04 2023) - -#### 🐛 Bug Fix - -- Merge branch 'master' into briancleary7114-sc-73967-auto-publish-canary-version-for-magic-sdk ([@bcleary06](https://github.com/bcleary06)) - -#### Authors: 1 - -- Brian Cleary ([@bcleary06](https://github.com/bcleary06)) - ---- - -# v11.0.0 (Fri Mar 31 2023) - -#### 🐛 Bug Fix - -- Merge remote-tracking branch 'origin/master' into jerryliu-sc-74424-email-otp-login-invalid-email-otp-event ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v8.6.2 (Tue Mar 21 2023) - -#### 🐛 Bug Fix - -- Merge branch 'master' into briancleary7114-sc-71135-add-checkout-sdk-method ([@bcleary06](https://github.com/bcleary06)) - -#### Authors: 1 - -- Brian Cleary ([@bcleary06](https://github.com/bcleary06)) - ---- - -# v8.5.0 (Tue Feb 28 2023) - -#### 🐛 Bug Fix - -- Merge branch 'master' of github.com:magiclabs/magic-js into mushfichowdhury-login-with-email-otp-whitelabel ([@mushfichowdhury-magic](https://github.com/mushfichowdhury-magic)) - -#### Authors: 1 - -- Mushfi Chowdhury ([@mushfichowdhury-magic](https://github.com/mushfichowdhury-magic)) - ---- - -# v3.1.0 (Mon Mar 07 2022) - -#### 🐛 Bug Fix - -- Update READMEs with outdated context/hyperlinks ([@smithki](https://github.com/smithki)) - -#### 🏠 Internal - -- Internal documentation updates (`BUILD_SYSTEM.md`) [#283](https://github.com/magiclabs/magic-js/pull/283) ([@smithki](https://github.com/smithki)) - -#### Authors: 1 - -- Ian K Smith ([@smithki](https://github.com/smithki)) - ---- - -# v3.0.1 (Tue Jan 25 2022) - -#### 🐛 Bug Fix - -- Fix CDN build targets [#270](https://github.com/magiclabs/magic-js/pull/270) ([@smithki](https://github.com/smithki)) -- Fix CDN issues related to ESBuild ([@smithki](https://github.com/smithki)) - -#### Authors: 1 - -- Ian K Smith ([@smithki](https://github.com/smithki)) - ---- - -# v3.0.0 (Tue Jan 25 2022) - -#### 💥 Breaking Change - -- Switch from `microbundle` to `esbuild` [#220](https://github.com/magiclabs/magic-js/pull/220) ([@smithki](https://github.com/smithki)) - -#### 🐛 Bug Fix - -- Merge with master ([@smithki](https://github.com/smithki)) -- Merge branch 'master' into feat/faster-builds ([@smithki](https://github.com/smithki)) -- Modify CDN default exports ([@smithki](https://github.com/smithki)) -- Support newly added Magic JS extensions in ESBuild ([@smithki](https://github.com/smithki)) - -#### Authors: 1 - -- Ian K Smith ([@smithki](https://github.com/smithki)) - ---- - -# v1.0.0 (Fri Dec 10 2021) - -#### 💥 Breaking Change - -- Jerryliu sc 44386 migrate web3 related magic ext repos to magic part 2 [#251](https://github.com/magiclabs/magic-js/pull/251) ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - diff --git a/packages/@magic-ext/tezos/LICENSE b/packages/@magic-ext/tezos/LICENSE deleted file mode 100644 index d9a10c0d8..000000000 --- a/packages/@magic-ext/tezos/LICENSE +++ /dev/null @@ -1,176 +0,0 @@ - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS diff --git a/packages/@magic-ext/tezos/README.md b/packages/@magic-ext/tezos/README.md deleted file mode 100644 index d4b19a369..000000000 --- a/packages/@magic-ext/tezos/README.md +++ /dev/null @@ -1,176 +0,0 @@ -# Magic Extension Tezos blockchain - -## Installation -```bash -npm i magic-sdk @magic-ext/tezos -``` -## Setup -Setup TezosExtension with magic-sdk -```js - -import { Magic } from 'magic-sdk'; -import { TezosExtension } from '@magic-ext/tezos'; - -const magic = new Magic('YOUR_API_KEY', { - extensions: [ - new TezosExtension({ - rpcUrl: 'tezos rpc url' - }) - ] -}); - -// or - - -const magic = new Magic('YOUR_API_KEY', { - extensions: { - tezos: new TezosExtension({ - rpcUrl: 'tezos rpc url' - }) - } -}); - -``` - -## Magic SDK -See the [developer documentation](https://magic.link/docs) to learn how you can master the Magic SDK in a matter of minutes. - - -## Usage - -### Get account -Using getAccount function to get Tezos public address for current user. - -```js -const publicAddress = await magic.tezos.getAccount(); -console.log('tezos public address', publicAddress); -``` - -### Send Transaction -```js -const handlerSendTransaction = async () => { - - const result = await magic.tezos.sendTransactionOperation('tz1RVcUP9nUurgEJMDou8eW3bVDs6qmP5Lnc', 500000, 1500, ''); - console.log(`Injected operation group id ${result.operationGroupID}`); -}; -``` - -### Send Delegation -```js -const handleSendDelegation = async () => { - const result = await magic.tezos.sendDelegationOperation('tz1LhS2WFCinpwUTdUb991ocL2D9Uk6FJGJK', 10000); - console.log(`Injected operation group id`, result); -} -``` - -### Send Contract Origination -```js -const handleSendContractOrigination = async () => { - const contract = `[ - { - "prim":"parameter", - "args":[ { "prim":"string" } ] - }, - { - "prim":"storage", - "args":[ { "prim":"string" } ] - }, - { - "prim":"code", - "args":[ - [ - { "prim":"CAR" }, - { "prim":"NIL", "args":[ { "prim":"operation" } ] }, - { "prim":"PAIR" } - ] - ] - } - ]`; - const storage = '{"string": "Sample"}'; - - - const params = { - amount: 0, - delegate: undefined, - fee: 100000, - derivationPath: '', - storage_limit: 1000, - gas_limit: 100000, - code: contract, - storage, - codeFormat: 'micheline', - } - - const result = await magic.tezos.sendContractOriginationOperation( - params.amount, - params.delegate, - params.fee, - params.derivationPath, - params.storage_limit, - params.gas_limit, - params.code, - params.storage, - params.codeFormat - ); - console.log(`Injected operation`, result); -}; -``` - -### Send Contract Invocation -```js -const handleInvokeContract = async () => { - - const params = { - contract: 'KT1NXXLzk3rwnawPc4HwDn8siPkMaBjT5Hdr', - amount: 0, - fee: 100000, - derivationPath: '', - storageLimit: 1000, - gasLimit: 100000, - entrypoint: '', - parameters: '{"string": "Cryptonomicon"}', - parameterFormat: 'micheline' - }; - - const result = await magic.tezos.sendContractInvocationOperation( - params.contract, - params.amount, - params.fee, - params.derivationPath, - params.storageLimit, - params.gasLimit, - params.entrypoint, - params.parameters, - params.parameterFormat - ); - console.log(`Injected operation`, result); -}; -``` - -### Send Contract Ping -```js -const handleContractPing = async () => { - - const params = { - contract: 'KT1NXXLzk3rwnawPc4HwDn8siPkMaBjT5Hdr', - amount: 10000, - fee: 100000, - derivationPath: '', - storageLimit: 1000, - gasLimit: 100000, - entrypoint: '' - }; - - const result = await magic.tezos.sendContractPing( - params.contract, - params.amount, - params.fee, - params.derivationPath, - params.storageLimit, - params.gasLimit, - params.entrypoint, - ); - - console.log(`Injected operation`, result); -} -``` diff --git a/packages/@magic-ext/tezos/eslint.config.mjs b/packages/@magic-ext/tezos/eslint.config.mjs deleted file mode 100644 index a94768e85..000000000 --- a/packages/@magic-ext/tezos/eslint.config.mjs +++ /dev/null @@ -1,21 +0,0 @@ -import path from 'node:path'; -import { fileURLToPath } from 'node:url'; -import rootEslintConfig from '../../../eslint.config.mjs'; - -const __filename = fileURLToPath(import.meta.url); -const __dirname = path.dirname(__filename); - -export default [ - ...rootEslintConfig, - { - ignores: ['node_modules', 'coverage', 'dist', 'eslint.config.mjs', 'jest.config.ts'], - }, - { - languageOptions: { - parserOptions: { - project: ['./tsconfig.json'], - tsconfigRootDir: __dirname, - }, - }, - }, -]; diff --git a/packages/@magic-ext/tezos/package.json b/packages/@magic-ext/tezos/package.json deleted file mode 100644 index de3f7e145..000000000 --- a/packages/@magic-ext/tezos/package.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "name": "@magic-ext/tezos", - "version": "28.8.0", - "description": "magic tezos extension", - "author": "Magic (https://magic.link/)", - "license": "MIT", - "repository": { - "type": "git", - "url": "https://github.com/magiclabs/magic-js" - }, - "files": [ - "dist" - ], - "target": "neutral", - "cdnGlobalName": "MagicTezosExtension", - "main": "./dist/cjs/index.js", - "module": "./dist/es/index.js", - "types": "./dist/types/index.d.ts", - "jsdelivr": "./dist/extension.js", - "exports": { - "import": "./dist/es/index.mjs", - "types": "./dist/types/index.d.ts", - "require": "./dist/cjs/index.js" - }, - "externals": { - "include": [ - "@magic-sdk/provider" - ] - }, - "devDependencies": { - "@magic-sdk/provider": "^33.9.0" - } -} diff --git a/packages/@magic-ext/tezos/src/index.cdn.ts b/packages/@magic-ext/tezos/src/index.cdn.ts deleted file mode 100644 index f8c8ba4d7..000000000 --- a/packages/@magic-ext/tezos/src/index.cdn.ts +++ /dev/null @@ -1,3 +0,0 @@ -import { TezosExtension } from './index'; - -export default TezosExtension; diff --git a/packages/@magic-ext/tezos/src/index.native.ts b/packages/@magic-ext/tezos/src/index.native.ts deleted file mode 100644 index ea465c2a3..000000000 --- a/packages/@magic-ext/tezos/src/index.native.ts +++ /dev/null @@ -1 +0,0 @@ -export * from './index'; diff --git a/packages/@magic-ext/tezos/src/index.ts b/packages/@magic-ext/tezos/src/index.ts deleted file mode 100644 index fe1432e54..000000000 --- a/packages/@magic-ext/tezos/src/index.ts +++ /dev/null @@ -1,134 +0,0 @@ -import { MultichainExtension } from '@magic-sdk/provider'; -import { TezosConfig } from './type'; - -export class TezosExtension extends MultichainExtension<'tezos'> { - name = 'tezos' as const; - - constructor(public tezosConfig: TezosConfig) { - super({ - rpcUrl: tezosConfig.rpcUrl, - chainType: 'TEZOS', - }); - } - - public sendTransactionOperation = ( - to: string, - amount: number, - fee: number, - derivationPath: string, - ): Promise => { - return this.request({ - id: 42, - method: 'tezos_sendTransaction', - jsonrpc: '2.0', - params: { - to, - amount, - fee, - derivationPath, - }, - }); - }; - - public sendContractOriginationOperation = ( - amount: number, - delegate: any, - fee: number, - derivationPath: string, - storage_limit: number, - gas_limit: number, - code: string, - storage: string, - codeFormat: string, - ): Promise => { - return this.request({ - id: 42, - jsonrpc: '2.0', - method: 'tezos_sendContractOriginationOperation', - params: { - amount, - delegate, - fee, - derivationPath, - storage_limit, - gas_limit, - code, - storage, - codeFormat, - }, - }); - }; - - public sendContractInvocationOperation = ( - contract: string, - amount: number, - fee: number, - derivationPath: string | undefined, - storageLimit: number, - gasLimit: number, - entrypoint: string | undefined, - parameters: string | undefined, - parameterFormat?: string, - ) => { - return this.request({ - id: 42, - jsonrpc: '2.0', - method: 'tezos_sendContractInvocationOperation', - params: { - contract, - amount, - fee, - derivationPath, - storageLimit, - gasLimit, - entrypoint, - parameters, - parameterFormat, - }, - }); - }; - - public sendContractPing = ( - contract: string, - amount: number, - fee: number, - derivationPath: string | undefined, - storageLimit: number, - gasLimit: number, - ) => { - return this.request({ - id: 42, - jsonrpc: '2.0', - method: 'tezos_sendContractPing', - params: { - contract, - amount, - fee, - derivationPath, - storageLimit, - gasLimit, - }, - }); - }; - - public sendDelegationOperation = (to: string, amount: number) => { - return this.request({ - id: 42, - jsonrpc: '2.0', - method: 'tezos_sendDelegationOperation', - params: { - to, - amount, - }, - }); - }; - - public getAccount = (): Promise => { - return this.request({ - id: 42, - jsonrpc: '2.0', - method: 'tezos_getAccount', - params: [], - }); - }; -} diff --git a/packages/@magic-ext/tezos/src/type.ts b/packages/@magic-ext/tezos/src/type.ts deleted file mode 100644 index 7ab7a1ec6..000000000 --- a/packages/@magic-ext/tezos/src/type.ts +++ /dev/null @@ -1,8 +0,0 @@ -export interface TezosConfig { - rpcUrl: string; -} - -export interface ConfigType { - rpcUrl: string; - chainType: string; -} diff --git a/packages/@magic-ext/tezos/tsconfig.json b/packages/@magic-ext/tezos/tsconfig.json deleted file mode 100644 index c268bce54..000000000 --- a/packages/@magic-ext/tezos/tsconfig.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "extends": "../../../tsconfig.settings.json", -} - diff --git a/packages/@magic-ext/zilliqa/.lintstagedrc.yml b/packages/@magic-ext/zilliqa/.lintstagedrc.yml deleted file mode 100644 index 1c250ad65..000000000 --- a/packages/@magic-ext/zilliqa/.lintstagedrc.yml +++ /dev/null @@ -1,2 +0,0 @@ -'*.{ts,tsx}': - - eslint --fix diff --git a/packages/@magic-ext/zilliqa/.prettierrc.js b/packages/@magic-ext/zilliqa/.prettierrc.js deleted file mode 100644 index 6177cac66..000000000 --- a/packages/@magic-ext/zilliqa/.prettierrc.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('../../../.prettierrc.js'); diff --git a/packages/@magic-ext/zilliqa/CHANGELOG.md b/packages/@magic-ext/zilliqa/CHANGELOG.md deleted file mode 100644 index 836d8bced..000000000 --- a/packages/@magic-ext/zilliqa/CHANGELOG.md +++ /dev/null @@ -1,734 +0,0 @@ -# v28.2.2 (Thu Feb 05 2026) - -#### ⚠️ Pushed to `master` - -- Merge branch 'master' of github.com:magiclabs/magic-js ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v28.2.0 (Thu Jan 29 2026) - -#### 🚀 Enhancement - -- feat: Magic Widget extension [#979](https://github.com/magiclabs/magic-js/pull/979) ([@joshuascan](https://github.com/joshuascan) [@sherzod-bakhodirov](https://github.com/sherzod-bakhodirov)) - -#### Authors: 2 - -- [@sherzod-bakhodirov](https://github.com/sherzod-bakhodirov) -- Josh Scanlan ([@joshuascan](https://github.com/joshuascan)) - ---- - -# v28.1.0 (Thu Jan 29 2026) - -#### ⚠️ Pushed to `master` - -- Merge branch 'master' of github.com:magiclabs/magic-js ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v28.0.0 (Tue Jan 13 2026) - -#### 🐛 Bug Fix - -- heal Auto package versioning [#997](https://github.com/magiclabs/magic-js/pull/997) ([@Ethella](https://github.com/Ethella)) -- Jerry/emb 145 fix GitHub quota exceeded in magic js [#994](https://github.com/magiclabs/magic-js/pull/994) ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v26.0.0 (Fri Oct 03 2025) - -#### 💥 Breaking Change - -- EVM Extension and new extension methods [#915](https://github.com/magiclabs/magic-js/pull/915) ([@joshuascan](https://github.com/joshuascan)) - -#### Authors: 1 - -- Josh Scanlan ([@joshuascan](https://github.com/joshuascan)) - ---- - -# v24.0.6 (Tue Apr 29 2025) - -#### 🐛 Bug Fix - -- Revert "Remove Extension class and rename InternalExtension to MagicExtension" [#882](https://github.com/magiclabs/magic-js/pull/882) ([@Ethella](https://github.com/Ethella)) -- Remove Extension class and rename InternalExtension to MagicExtension [#881](https://github.com/magiclabs/magic-js/pull/881) ([@devin-ai-integration[bot]](https://github.com/devin-ai-integration[bot]) [@Ethella](https://github.com/Ethella)) - -#### Authors: 2 - -- [@devin-ai-integration[bot]](https://github.com/devin-ai-integration[bot]) -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v24.0.4 (Tue Apr 01 2025) - -#### 🐛 Bug Fix - -- Merge remote-tracking branch 'origin/master' into PDEEXP-2318-imx-dont-throw-error-if-the-iframe-is-failing ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v23.20.0 (Wed Jan 08 2025) - -#### 🐛 Bug Fix - -- Merge branch 'master' into hcote-web3modal ([@hcote](https://github.com/hcote)) - -#### Authors: 1 - -- Hunter Cote ([@hcote](https://github.com/hcote)) - ---- - -# v23.19.0 (Wed Dec 25 2024) - -#### 🐛 Bug Fix - -- Merge remote-tracking branch 'origin/master' into PDEEXP-530-wallet-connect-login-with-redirect ([@Ethella](https://github.com/Ethella)) -- resolve conflict ([@Ethella](https://github.com/Ethella)) -- * resolve conflict ([@Ethella](https://github.com/Ethella)) -- Merge branch 'master' into PDEEXP-530-wallet-connect-login-with-redirect ([@mattupham](https://github.com/mattupham)) - -#### Authors: 2 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) -- Matt Upham ([@mattupham](https://github.com/mattupham)) - ---- - -# v23.18.1 (Thu Dec 05 2024) - -#### 🐛 Bug Fix - -- fix: typos [#830](https://github.com/magiclabs/magic-js/pull/830) ([@omahs](https://github.com/omahs) [@Ethella](https://github.com/Ethella)) -- chore: bump eslint version [#834](https://github.com/magiclabs/magic-js/pull/834) ([@otabek-magic](https://github.com/otabek-magic) [@Ethella](https://github.com/Ethella)) -- Merge branch 'master' into PDEEXP-1985-bump-magic-sdk-eslint-version-to-9 ([@otabek-magic](https://github.com/otabek-magic)) -- chore: update eslint config ([@otabek-magic](https://github.com/otabek-magic)) -- chore: update to eslint 9 in magic-sdk magic-ext ([@otabek-magic](https://github.com/otabek-magic)) -- Merge branch 'master' into patch-1 ([@Ethella](https://github.com/Ethella)) - -#### Authors: 3 - -- [@otabek-magic](https://github.com/otabek-magic) -- Jerry Liu ([@Ethella](https://github.com/Ethella)) -- omahs ([@omahs](https://github.com/omahs)) - ---- - -# v23.18.0 (Mon Nov 25 2024) - -#### 🐛 Bug Fix - -- Merge branch 'master' into PDEEXP-1954-OAuth-popup-flow-consolidation ([@sherzod-bakhodirov](https://github.com/sherzod-bakhodirov)) - -#### Authors: 1 - -- [@sherzod-bakhodirov](https://github.com/sherzod-bakhodirov) - ---- - -# v23.16.0 (Fri Oct 25 2024) - -#### 🐛 Bug Fix - -- Merge branch 'master' into PDEEXP-1951-Lost-Device-Event-Does-Not-Emit-Whitelabel-MFA-provider ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v23.15.0 (Fri Oct 25 2024) - -#### 🐛 Bug Fix - -- Merge branch 'master' into cancel-event-for-recovery-flow ([@sukhrobbekodilov](https://github.com/sukhrobbekodilov)) - -#### Authors: 1 - -- [@sukhrobbekodilov](https://github.com/sukhrobbekodilov) - ---- - -# v23.14.0 (Fri Oct 18 2024) - -#### 🐛 Bug Fix - -- Merge branch 'master' into missed_type_for_recovery_factor ([@sukhrobbekodilov](https://github.com/sukhrobbekodilov)) - -#### Authors: 1 - -- [@sukhrobbekodilov](https://github.com/sukhrobbekodilov) - ---- - -# v23.13.0 (Fri Oct 18 2024) - -#### 🐛 Bug Fix - -- Update .deepsource.toml [#804](https://github.com/magiclabs/magic-js/pull/804) ([@Magic-Brandan](https://github.com/Magic-Brandan)) - -#### Authors: 1 - -- [@Magic-Brandan](https://github.com/Magic-Brandan) - ---- - -# v23.11.0 (Wed Sep 25 2024) - -#### 🐛 Bug Fix - -- Merge branch 'master' into sherzod-PDEEXP-1711-Support-MFA-setup-whitelabel-support ([@sherzod-bakhodirov](https://github.com/sherzod-bakhodirov)) - -#### Authors: 1 - -- [@sherzod-bakhodirov](https://github.com/sherzod-bakhodirov) - ---- - -# v23.9.0 (Wed Sep 11 2024) - -#### 🐛 Bug Fix - -- Merge branch 'master' into sherzod-PDEEXP-1711-Support-MFA-setup-whitelabel-support ([@sherzod-bakhodirov](https://github.com/sherzod-bakhodirov)) -- Merge branch 'master' into hcote-cosmos-options ([@hcote](https://github.com/hcote)) - -#### Authors: 2 - -- [@sherzod-bakhodirov](https://github.com/sherzod-bakhodirov) -- Hunter Cote ([@hcote](https://github.com/hcote)) - ---- - -# v23.6.0 (Tue Sep 03 2024) - -#### 🐛 Bug Fix - -- Merge branch 'master' of https://github.com/magiclabs/magic-js into khamdam-sc-PDEEXP-54-whitelabel-sms-login ([@khamdam-magic](https://github.com/khamdam-magic)) -- fix: update branch ([@khamdam-magic](https://github.com/khamdam-magic)) -- fix(): resolve conflicts ([@khamdam-magic](https://github.com/khamdam-magic)) - -#### Authors: 1 - -- [@khamdam-magic](https://github.com/khamdam-magic) - ---- - -# v23.4.0 (Tue Aug 13 2024) - -#### 🐛 Bug Fix - -- Merge remote-tracking branch 'refs/remotes/origin/master' into Add-two-more-mfa-flags ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v23.0.4 (Thu Jun 06 2024) - -#### 🐛 Bug Fix - -- Merge remote-tracking branch 'refs/remotes/origin/master' into PDEEXP-1279-done-event-not-firing-in-whitelabel-email-login-flow ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v23.0.0 (Fri Mar 22 2024) - -#### 🚀 Enhancement - -- Add private key reveal method [#699](https://github.com/magiclabs/magic-js/pull/699) ([@joshuascan](https://github.com/joshuascan)) - -#### 🐛 Bug Fix - -- "Bump independent versions \[skip ci\]" (team@magic.link) -- Update CHANGELOG.md \[skip ci\] (team@magic.link) -- Merge branch 'master' into patjacobs-oauth-v2-apple ([@patjacobs-magic](https://github.com/patjacobs-magic)) -- Merge branch 'master' into joshscanlan-pk-reveal-method ([@joshuascan](https://github.com/joshuascan)) - -#### Authors: 3 - -- [@patjacobs-magic](https://github.com/patjacobs-magic) -- Josh Scanlan ([@joshuascan](https://github.com/joshuascan)) -- Magic Labs (team@magic.link) - ---- - -# v22.0.0 (Fri Mar 15 2024) - -#### 🐛 Bug Fix - -- "Bump independent versions \[skip ci\]" (team@magic.link) -- Update CHANGELOG.md \[skip ci\] (team@magic.link) -- Merge branch 'master' into patjacobs-oauth-v2-apple ([@patjacobs-magic](https://github.com/patjacobs-magic)) - -#### Authors: 2 - -- [@patjacobs-magic](https://github.com/patjacobs-magic) -- Magic Labs (team@magic.link) - ---- - -# v21.0.0 (Sat Mar 09 2024) - -#### 🐛 Bug Fix - -- "Bump independent versions \[skip ci\]" (team@magic.link) -- Update CHANGELOG.md \[skip ci\] (team@magic.link) -- Merge branch 'master' into patjacobs-oauth-v2-apple ([@patjacobs-magic](https://github.com/patjacobs-magic)) - -#### Authors: 2 - -- [@patjacobs-magic](https://github.com/patjacobs-magic) -- Magic Labs (team@magic.link) - ---- - -# v20.0.0 (Thu Feb 29 2024) - -#### 🐛 Bug Fix - -- Merge branch 'master' into patjacobs-oauth-v2-apple ([@patjacobs-magic](https://github.com/patjacobs-magic)) -- "Bump independent versions \[skip ci\]" (team@magic.link) -- Update CHANGELOG.md \[skip ci\] (team@magic.link) - -#### Authors: 2 - -- [@patjacobs-magic](https://github.com/patjacobs-magic) -- Magic Labs (team@magic.link) - ---- - -# v19.0.0 (Tue Feb 27 2024) - -#### 🐛 Bug Fix - -- "Bump independent versions \[skip ci\]" (team@magic.link) - -#### Authors: 1 - -- Magic Labs (team@magic.link) - ---- - -# v17.1.1 (Sat Feb 10 2024) - -#### 🐛 Bug Fix - -- Merge branch 'master' into PDEEXP-253-whitelabel-update-email-with-ui-missing-event-when-email-address-already-in-use ([@joshuascan](https://github.com/joshuascan)) - -#### Authors: 1 - -- Josh Scanlan ([@joshuascan](https://github.com/joshuascan)) - ---- - -# v17.0.1 (Fri Feb 02 2024) - -#### 🐛 Bug Fix - -- try export NPM_CONFIG_PROVENANCE=true for global provenance ([@Ethella](https://github.com/Ethella)) -- fix package.json ([@Ethella](https://github.com/Ethella)) -- Add publishConfig to each package ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v16.4.1 (Fri Dec 15 2023) - -#### 🐛 Bug Fix - -- Merge branch 'master' into rominhalltari-sc-91530-investigate-and-provide-solution-for-issue ([@romin-halltari](https://github.com/romin-halltari)) - -#### Authors: 1 - -- [@romin-halltari](https://github.com/romin-halltari) - ---- - -# v16.4.0 (Thu Dec 14 2023) - -#### 🐛 Bug Fix - -- Merge branch 'master' into split-key-device-share ([@Dizigen](https://github.com/Dizigen)) - -#### Authors: 1 - -- David He ([@Dizigen](https://github.com/Dizigen)) - ---- - -# v16.3.2 (Tue Nov 28 2023) - -#### 🐛 Bug Fix - -- Merge branch 'master' into josh-sc-90794-add-types-export-to-scaffolding ([@joshuascan](https://github.com/joshuascan)) - -#### Authors: 1 - -- Josh Scanlan ([@joshuascan](https://github.com/joshuascan)) - ---- - -# v16.3.1 (Tue Nov 21 2023) - -#### 🐛 Bug Fix - -- Fix TypeScript resolution for @magic-ext/* packages when using modern module resolution (node16 etc) [#670](https://github.com/magiclabs/magic-js/pull/670) ([@rjwebb](https://github.com/rjwebb) [@joshuascan](https://github.com/joshuascan)) -- Merge branch 'master' into rjwebb/669-fix-node16-magic-ext-imports ([@joshuascan](https://github.com/joshuascan)) -- Update package.json exports to expose types when using node16 typescript, for algorand, auth, avalanche, bitcoin, conflux, cosmos, ed25519, flow, gdkms, harmony, hedera, icon, near, oauth, oidc, polkadot, react-native-bare-oauth, react-native-expo-oauth, taquito, terra, tezos, webauthn and zilliqa ([@rjwebb](https://github.com/rjwebb)) - -#### Authors: 2 - -- Bob Webb ([@rjwebb](https://github.com/rjwebb)) -- Josh Scanlan ([@joshuascan](https://github.com/joshuascan)) - ---- - -# v16.2.1 (Tue Nov 14 2023) - -#### 🐛 Bug Fix - -- Merge branch 'master' into injectable-webcrypto-jwt-for-session-persistence ([@Dizigen](https://github.com/Dizigen)) - -#### Authors: 1 - -- David He ([@Dizigen](https://github.com/Dizigen)) - ---- - -# v16.2.0 (Tue Oct 24 2023) - -#### 🐛 Bug Fix - -- Merge branch 'master' into hcote-support-sepolia-natively ([@hcote](https://github.com/hcote)) - -#### Authors: 1 - -- Hunter Cote ([@hcote](https://github.com/hcote)) - ---- - -# v16.0.0 (Fri Oct 13 2023) - -#### 🐛 Bug Fix - -- Merge branch 'master' into force-ctor-preload-iframe ([@Dizigen](https://github.com/Dizigen)) - -#### Authors: 1 - -- David He ([@Dizigen](https://github.com/Dizigen)) - ---- - -# v15.1.2 (Wed Oct 11 2023) - -#### 🐛 Bug Fix - -- Removes React Native entrypoint from all extension's package.json [#644](https://github.com/magiclabs/magic-js/pull/644) ([@Ariflo](https://github.com/Ariflo)) -- Removes React Native entrypoint from all extensions package.json ([@Ariflo](https://github.com/Ariflo)) - -#### Authors: 1 - -- Arian Flores ([@Ariflo](https://github.com/Ariflo)) - ---- - -# v15.1.1 (Mon Oct 02 2023) - -#### 🐛 Bug Fix - -- Merge branch 'master' into patjacobs-sc-83016-ux-optimization-expired-email-otps ([@patjacobs-magic](https://github.com/patjacobs-magic)) - -#### Authors: 1 - -- [@patjacobs-magic](https://github.com/patjacobs-magic) - ---- - -# v15.1.0 (Fri Sep 29 2023) - -#### 🐛 Bug Fix - -- Merge remote-tracking branch 'origin/master' into jerryliu-sc-87830-optimize-webcrypto-implementation-to-generate ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v14.3.0 (Wed Aug 16 2023) - -#### 🐛 Bug Fix - -- Merge branch 'master' into josh-sc-75022-standalone-update-email-v2 ([@joshuascan](https://github.com/joshuascan)) - -#### Authors: 1 - -- Josh Scanlan ([@joshuascan](https://github.com/joshuascan)) - ---- - -# v14.1.0 (Tue Aug 08 2023) - -#### 🐛 Bug Fix - -- Merge remote-tracking branch 'origin/master' into jerryliu-sc-81984-update-loginwithemailotp-interface-with-new ([@Ethella](https://github.com/Ethella)) -- Merge remote-tracking branch 'origin/master' ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v14.0.0 (Thu Jul 27 2023) - -#### 💥 Breaking Change - -- Magic SDK Node version bump [#538](https://github.com/magiclabs/magic-js/pull/538) ([@makrandgupta](https://github.com/makrandgupta)) - -#### 🐛 Bug Fix - -- force canary build for all packages. ([@makrandgupta](https://github.com/makrandgupta)) - -#### Authors: 1 - -- Makrand Gupta ([@makrandgupta](https://github.com/makrandgupta)) - ---- - -# v13.3.0 (Fri Jul 07 2023) - -#### ⚠️ Pushed to `master` - -- Merge remote-tracking branch 'origin/master' ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v13.2.0 (Fri Jun 23 2023) - -#### 🚀 Enhancement - -- Auto version bumping [#557](https://github.com/magiclabs/magic-js/pull/557) ([@Ethella](https://github.com/Ethella) [@Ariflo](https://github.com/Ariflo)) -- Updates License to Apache 2.0 [#551](https://github.com/magiclabs/magic-js/pull/551) ([@Ariflo](https://github.com/Ariflo)) - -#### 🐛 Bug Fix - -- Match NPM Version ([@Ariflo](https://github.com/Ariflo)) -- Update CHANGELOG.md \[skip ci\] ([@Ethella](https://github.com/Ethella)) -- 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)) -- Updates License to Apache 2.0 ([@Ariflo](https://github.com/Ariflo)) - -#### Authors: 2 - -- Arian Flores ([@Ariflo](https://github.com/Ariflo)) -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v13.1.0 (Fri Jun 23 2023) - -#### 🚀 Enhancement - -- Updates License to Apache 2.0 [#551](https://github.com/magiclabs/magic-js/pull/551) ([@Ariflo](https://github.com/Ariflo)) - -#### 🐛 Bug Fix - -- 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)) -- Updates License to Apache 2.0 ([@Ariflo](https://github.com/Ariflo)) - -#### Authors: 1 - -- Arian Flores ([@Ariflo](https://github.com/Ariflo)) - ---- - -# v12.3.0 (Fri May 26 2023) - -#### 🐛 Bug Fix - -- Merge remote-tracking branch 'origin/master' into jerryliu_hotfix_gdkms ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v12.1.5 (Fri May 19 2023) - -#### 🐛 Bug Fix - -- Merge remote-tracking branch 'origin/master' into jerryliu-sc-77755-kresus-hotfix ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v12.1.1 (Fri Apr 21 2023) - -#### 🐛 Bug Fix - -- Merge remote-tracking branch 'origin/master' into jerryliu-sc-75641-lazer-request-showsettings-page-mfa ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v12.1.0 (Thu Apr 20 2023) - -#### 🐛 Bug Fix - -- Merge branch 'master' into jerryliu-sc-75641-lazer-request-showsettings-page-mfa ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v11.1.0 (Tue Apr 04 2023) - -#### 🐛 Bug Fix - -- Merge branch 'master' into briancleary7114-sc-73967-auto-publish-canary-version-for-magic-sdk ([@bcleary06](https://github.com/bcleary06)) - -#### Authors: 1 - -- Brian Cleary ([@bcleary06](https://github.com/bcleary06)) - ---- - -# v11.0.0 (Fri Mar 31 2023) - -#### 🐛 Bug Fix - -- Merge remote-tracking branch 'origin/master' into jerryliu-sc-74424-email-otp-login-invalid-email-otp-event ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - -# v8.6.2 (Tue Mar 21 2023) - -#### 🐛 Bug Fix - -- Merge branch 'master' into briancleary7114-sc-71135-add-checkout-sdk-method ([@bcleary06](https://github.com/bcleary06)) - -#### Authors: 1 - -- Brian Cleary ([@bcleary06](https://github.com/bcleary06)) - ---- - -# v8.5.0 (Tue Feb 28 2023) - -#### 🐛 Bug Fix - -- Merge branch 'master' of github.com:magiclabs/magic-js into mushfichowdhury-login-with-email-otp-whitelabel ([@mushfichowdhury-magic](https://github.com/mushfichowdhury-magic)) - -#### Authors: 1 - -- Mushfi Chowdhury ([@mushfichowdhury-magic](https://github.com/mushfichowdhury-magic)) - ---- - -# v3.1.0 (Mon Mar 07 2022) - -#### 🐛 Bug Fix - -- Update READMEs with outdated context/hyperlinks ([@smithki](https://github.com/smithki)) - -#### 🏠 Internal - -- Internal documentation updates (`BUILD_SYSTEM.md`) [#283](https://github.com/magiclabs/magic-js/pull/283) ([@smithki](https://github.com/smithki)) - -#### Authors: 1 - -- Ian K Smith ([@smithki](https://github.com/smithki)) - ---- - -# v3.0.1 (Tue Jan 25 2022) - -#### 🐛 Bug Fix - -- Fix CDN build targets [#270](https://github.com/magiclabs/magic-js/pull/270) ([@smithki](https://github.com/smithki)) -- Fix CDN issues related to ESBuild ([@smithki](https://github.com/smithki)) - -#### Authors: 1 - -- Ian K Smith ([@smithki](https://github.com/smithki)) - ---- - -# v3.0.0 (Tue Jan 25 2022) - -#### 💥 Breaking Change - -- Switch from `microbundle` to `esbuild` [#220](https://github.com/magiclabs/magic-js/pull/220) ([@smithki](https://github.com/smithki)) - -#### 🐛 Bug Fix - -- Merge with master ([@smithki](https://github.com/smithki)) -- Merge branch 'master' into feat/faster-builds ([@smithki](https://github.com/smithki)) -- Modify CDN default exports ([@smithki](https://github.com/smithki)) -- Support newly added Magic JS extensions in ESBuild ([@smithki](https://github.com/smithki)) - -#### Authors: 1 - -- Ian K Smith ([@smithki](https://github.com/smithki)) - ---- - -# v1.0.0 (Thu Dec 09 2021) - -#### 💥 Breaking Change - -- Jerryliu sc 44386 migrate web3 related magic ext repos to magic (PART 1) [#248](https://github.com/magiclabs/magic-js/pull/248) ([@Ethella](https://github.com/Ethella)) - -#### Authors: 1 - -- Jerry Liu ([@Ethella](https://github.com/Ethella)) - ---- - diff --git a/packages/@magic-ext/zilliqa/LICENSE b/packages/@magic-ext/zilliqa/LICENSE deleted file mode 100644 index d9a10c0d8..000000000 --- a/packages/@magic-ext/zilliqa/LICENSE +++ /dev/null @@ -1,176 +0,0 @@ - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS diff --git a/packages/@magic-ext/zilliqa/README.md b/packages/@magic-ext/zilliqa/README.md deleted file mode 100644 index 8f1c27f07..000000000 --- a/packages/@magic-ext/zilliqa/README.md +++ /dev/null @@ -1,201 +0,0 @@ -# Magic Extension Zilliqa blockchain - -## Installation -```bash -npm i magic-sdk @magic-ext/zilliqa -``` -## Setup -Setup TezosExtension with magic-sdk -```js - -import { Magic } from 'magic-sdk'; -import { ZilliqaExtension } from '@magic-ext/zilliqa'; -const { BN, Long, bytes, units } = require('@zilliqa-js/util'); - -const magic = new Magic('YOUR_API_KEY', { - extensions: [ - new ZilliqaExtension({ - rpcUrl: 'zilliqa rpc url' - }) - ] -}); - -// or - - -const magic = new Magic('YOUR_API_KEY', { - extensions: { - zilliqa: new ZilliqaExtension({ - rpcUrl: 'zilliqa rpc url' - }) - } -}); - -``` - -## Magic SDK -See the [developer documentation](https://magic.link/docs) to learn how you can master the Magic SDK in a matter of minutes. - - -## Usage - -### Get wallet -Using wallet function to get Zilliqa public key, and address for current user. - -```js -const wallet = await magic.zilliqa.getWallet(); -console.log('zilliqa wallet', wallet); -``` - -### Send Transaction -```js - const handlerSendTransaction = async () => { - - const chainId = 333; // chainId of the developer testnet - const msgVersion = 1; // current msgVersion - const VERSION = bytes.pack(chainId, msgVersion); - - const myGasPrice = units.toQa('1000', units.Units.Li); - - const params = { - version: VERSION, - toAddr: "zil14vut0rh7q78ydc0g7yt7e5zkfyrmmps00lk6r7", - amount: (new BN(units.toQa('0.5', units.Units.Zil))), // Sending an amount in Zil (1) and converting the amount to Qa - gasPrice: myGasPrice, // Minimum gasPrice veries. Check the `GetMinimumGasPrice` on the blockchain - gasLimit: Long.fromNumber(1), - }; - - const tx = await magic.zil.sendTransaction( - params, - false, - ); - - console.log('send transaction', tx) - }; -``` - -### Deploy Contract -```js -const handleDeployContract = async () => { - const wallet = await magic.zil.getWallet(); - - const address = wallet.address; - - const code = `scilla_version 0 - - (* HelloWorld contract *) - - import ListUtils - - (***************************************************) - (* Associated library *) - (***************************************************) - library HelloWorld - - let not_owner_code = Int32 1 - let set_hello_code = Int32 2 - - (***************************************************) - (* The contract definition *) - (***************************************************) - - contract HelloWorld - (owner: ByStr20) - - field welcome_msg : String = "" - - transition setHello (msg : String) - is_owner = builtin eq owner _sender; - match is_owner with - | False => - e = {_eventname : "setHello()"; code : not_owner_code}; - event e - | True => - welcome_msg := msg; - e = {_eventname : "setHello()"; code : set_hello_code}; - event e - end - end - - - transition getHello () - r <- welcome_msg; - e = {_eventname: "getHello()"; msg: r}; - event e - end`; - - const init = [ - // this parameter is mandatory for all init arrays - { - vname: '_scilla_version', - type: 'Uint32', - value: '0', - }, - { - vname: 'owner', - type: 'ByStr20', - value: `${address}`, - }, - ]; - - const chainId = 333; // chainId of the developer testnet - const msgVersion = 1; // current msgVersion - const VERSION = bytes.pack(chainId, msgVersion); - - const myGasPrice = units.toQa('1000', units.Units.Li); - - const params = { - version: VERSION, - gasPrice: myGasPrice, - gasLimit: Long.fromNumber(10000), - } - - const result = await magic.zil.deployContract( - init, code, params, 33, 1000, false - ) - - - console.log('deploy contract', result); - - - }; -``` - -### Call Contract -```js - const handleCallContract = async () => { - - const newMsg = 'Hello, test call contract' ; - - const chainId = 333; // chainId of the developer testnet - const msgVersion = 1; // current msgVersion - const VERSION = bytes.pack(chainId, msgVersion); - - const myGasPrice = units.toQa('1000', units.Units.Li); - - const params = { - // amount, gasPrice and gasLimit must be explicitly provided - version: VERSION, - amount: new BN(0), - gasPrice: myGasPrice, - gasLimit: Long.fromNumber(8000), - } - - const args = [ - { - vname: 'msg', - type: 'String', - value: newMsg, - }, - ]; - - const contractAddress = '0x92867f6C65933bADB3F3e02A36Cf3ad85fE5155b'; - - const result = await magic.zil.callContract( - 'setHello', args, params, 33, 1000, false, contractAddress - ); - - console.log('call contract', result) - - }; -``` diff --git a/packages/@magic-ext/zilliqa/eslint.config.mjs b/packages/@magic-ext/zilliqa/eslint.config.mjs deleted file mode 100644 index a94768e85..000000000 --- a/packages/@magic-ext/zilliqa/eslint.config.mjs +++ /dev/null @@ -1,21 +0,0 @@ -import path from 'node:path'; -import { fileURLToPath } from 'node:url'; -import rootEslintConfig from '../../../eslint.config.mjs'; - -const __filename = fileURLToPath(import.meta.url); -const __dirname = path.dirname(__filename); - -export default [ - ...rootEslintConfig, - { - ignores: ['node_modules', 'coverage', 'dist', 'eslint.config.mjs', 'jest.config.ts'], - }, - { - languageOptions: { - parserOptions: { - project: ['./tsconfig.json'], - tsconfigRootDir: __dirname, - }, - }, - }, -]; diff --git a/packages/@magic-ext/zilliqa/package.json b/packages/@magic-ext/zilliqa/package.json deleted file mode 100644 index c35d16228..000000000 --- a/packages/@magic-ext/zilliqa/package.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "name": "@magic-ext/zilliqa", - "version": "28.8.0", - "description": "magic zilliqa extension", - "author": "Magic (https://magic.link/)", - "license": "MIT", - "repository": { - "type": "git", - "url": "https://github.com/magiclabs/magic-js" - }, - "files": [ - "dist" - ], - "target": "neutral", - "cdnGlobalName": "MagicZilliqaExtension", - "main": "./dist/cjs/index.js", - "module": "./dist/es/index.js", - "types": "./dist/types/index.d.ts", - "jsdelivr": "./dist/extension.js", - "exports": { - "import": "./dist/es/index.mjs", - "types": "./dist/types/index.d.ts", - "require": "./dist/cjs/index.js" - }, - "externals": { - "include": [ - "@magic-sdk/provider" - ] - }, - "devDependencies": { - "@magic-sdk/provider": "^33.9.0" - } -} diff --git a/packages/@magic-ext/zilliqa/src/index.cdn.ts b/packages/@magic-ext/zilliqa/src/index.cdn.ts deleted file mode 100644 index de21e1f6c..000000000 --- a/packages/@magic-ext/zilliqa/src/index.cdn.ts +++ /dev/null @@ -1,3 +0,0 @@ -import { ZilliqaExtension } from './index'; - -export default ZilliqaExtension; diff --git a/packages/@magic-ext/zilliqa/src/index.native.ts b/packages/@magic-ext/zilliqa/src/index.native.ts deleted file mode 100644 index ea465c2a3..000000000 --- a/packages/@magic-ext/zilliqa/src/index.native.ts +++ /dev/null @@ -1 +0,0 @@ -export * from './index'; diff --git a/packages/@magic-ext/zilliqa/src/index.ts b/packages/@magic-ext/zilliqa/src/index.ts deleted file mode 100644 index a5e0ed025..000000000 --- a/packages/@magic-ext/zilliqa/src/index.ts +++ /dev/null @@ -1,103 +0,0 @@ -import { MultichainExtension } from '@magic-sdk/provider'; -import { ZilliqaConfig } from './type'; - -export class ZilliqaExtension extends MultichainExtension<'zilliqa'> { - name = 'zilliqa' as const; - - constructor(public zilliqaConfig: ZilliqaConfig) { - super({ - rpcUrl: zilliqaConfig.rpcUrl, - chainType: 'ZILLIQA', - }); - } - - public sendTransaction = ( - params: any, - toDs: boolean - ): Promise => { - if (params.amount) params.amount = typeof params.amount === 'string' ? params.amount : params.amount.toString(); - if (params.gasPrice) - params.gasPrice = typeof params.gasPrice === 'string' ? params.gasPrice : params.gasPrice.toString(); - if (params.gasLimit) - params.gasLimit = typeof params.gasLimit === 'string' ? params.gasLimit : params.gasLimit.toNumber(); - - return this.request({ - id: 42, - method: 'zil_sendTransaction', - jsonrpc: '2.0', - params: { - params, - toDs, - }, - }); - }; - - public deployContract = ( - init: any, - code: string, - params: any, - attempts: number, - interval: number, - toDs: boolean, - ): Promise => { - if (params.amount) params.amount = typeof params.amount === 'string' ? params.amount : params.amount.toString(); - if (params.gasPrice) - params.gasPrice = typeof params.gasPrice === 'string' ? params.gasPrice : params.gasPrice.toString(); - if (params.gasLimit) - params.gasLimit = typeof params.gasLimit === 'string' ? params.gasLimit : params.gasLimit.toNumber(); - - return this.request({ - id: 42, - jsonrpc: '2.0', - method: 'zil_deployContract', - params: { - init, - code, - params, - attempts, - interval, - toDs, - }, - }); - }; - - public callContract = ( - transition: string, - args: any[], - params: any, - attempts = 33, - interval = 1000, - toDs = false, - contractAddress: string, - ) => { - if (params.amount) params.amount = typeof params.amount === 'string' ? params.amount : params.amount.toString(); - if (params.gasPrice) - params.gasPrice = typeof params.gasPrice === 'string' ? params.gasPrice : params.gasPrice.toString(); - if (params.gasLimit) - params.gasLimit = typeof params.gasLimit === 'string' ? params.gasLimit : params.gasLimit.toNumber(); - - return this.request({ - id: 42, - jsonrpc: '2.0', - method: 'zil_callContract', - params: { - transition, - args, - params, - attempts, - interval, - toDs, - contractAddress, - }, - }); - }; - - public getWallet = (): Promise => { - return this.request({ - id: 42, - jsonrpc: '2.0', - method: 'zil_getWallet', - params: [], - }); - }; -} diff --git a/packages/@magic-ext/zilliqa/src/type.ts b/packages/@magic-ext/zilliqa/src/type.ts deleted file mode 100644 index 71d262218..000000000 --- a/packages/@magic-ext/zilliqa/src/type.ts +++ /dev/null @@ -1,8 +0,0 @@ -export interface ZilliqaConfig { - rpcUrl: string; -} - -export interface ConfigType { - rpcUrl: string; - chainType: string; -} diff --git a/packages/@magic-ext/zilliqa/tsconfig.json b/packages/@magic-ext/zilliqa/tsconfig.json deleted file mode 100644 index c268bce54..000000000 --- a/packages/@magic-ext/zilliqa/tsconfig.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "extends": "../../../tsconfig.settings.json", -} - diff --git a/packages/@magic-sdk/types/src/modules/user-types.ts b/packages/@magic-sdk/types/src/modules/user-types.ts index 1cc826d02..0865f95ed 100644 --- a/packages/@magic-sdk/types/src/modules/user-types.ts +++ b/packages/@magic-sdk/types/src/modules/user-types.ts @@ -39,25 +39,10 @@ export interface MagicUserMetadata { firstLoginAt: string | null; wallets: { ethereum?: ChainWalletInfo; - algorand?: ChainWalletInfo; - aptos?: ChainWalletInfo; - avalancheX?: ChainWalletInfo; bitcoin?: ChainWalletInfo; - conflux?: ChainWalletInfo; cosmos?: ChainWalletInfo; - flow?: ChainWalletInfo; - harmony?: ChainWalletInfo; hedera?: ChainWalletInfo; - icon?: ChainWalletInfo; - kadena?: ChainWalletInfo; - near?: ChainWalletInfo; - polkadot?: ChainWalletInfo; solana?: ChainWalletInfo; - sui?: ChainWalletInfo; - taquito?: ChainWalletInfo; - terra?: ChainWalletInfo; - tezos?: ChainWalletInfo; - zilliqa?: ChainWalletInfo; [chain: string]: ChainWalletInfo | undefined; }; } diff --git a/yarn.lock b/yarn.lock index c7a7fde30..a7aec8eb0 100644 --- a/yarn.lock +++ b/yarn.lock @@ -55,80 +55,6 @@ __metadata: languageName: node linkType: hard -"@aptos-connect/wallet-adapter-plugin@npm:^2.8.0": - version: 2.8.0 - resolution: "@aptos-connect/wallet-adapter-plugin@npm:2.8.0" - dependencies: - "@aptos-connect/wallet-api": 0.6.0 - "@aptos-labs/wallet-standard": ^0.5.0 - "@identity-connect/crypto": 0.3.0 - "@identity-connect/dapp-sdk": 0.15.0 - peerDependencies: - "@aptos-labs/ts-sdk": ^1.33.1 || ^2.0.0 || ^3.0.0 || ^4.0.0 || ^5.0.0 - checksum: c2c3af69fdb445e8830bf0695f92bb61fe35499a75084b65d31f53ac304917f13c0a33fcb3aac4d69a5f7b0bf26325e89523bb22860c02dc671a5898331c06cc - languageName: node - linkType: hard - -"@aptos-connect/wallet-api@npm:0.6.0": - version: 0.6.0 - resolution: "@aptos-connect/wallet-api@npm:0.6.0" - dependencies: - "@aptos-labs/wallet-standard": ^0.5.2 - "@identity-connect/api": 0.8.0 - peerDependencies: - "@aptos-labs/ts-sdk": ^1.33.1 || ^2.0.0 || ^3.0.0 || ^4.0.0 || ^5.0.0 - checksum: cc156dbafd90b2ece17bf972faa8dcf81b95a19cfa35d8432f9d142a15e02324b7c3747f6a04270e55a619d79b81014f6699ebc644bbfd2027b9cc8a69024a16 - languageName: node - linkType: hard - -"@aptos-connect/web-transport@npm:0.5.0": - version: 0.5.0 - resolution: "@aptos-connect/web-transport@npm:0.5.0" - dependencies: - "@aptos-connect/wallet-api": 0.6.0 - uuid: ^9.0.1 - peerDependencies: - "@aptos-labs/ts-sdk": ^1.33.1 || ^2.0.0 || ^3.0.0 || ^4.0.0 || ^5.0.0 - "@aptos-labs/wallet-standard": ^0.5.0 - "@telegram-apps/bridge": ^1.0.0 - checksum: 02f7c10a27c1e20716a662da44e6697dbc084f5d96d78fa63f0af46161d92a1cd99ea3e394780c56cd8b61fbf808afeaf8a9eec2c06011cef619229ff28255c9 - languageName: node - linkType: hard - -"@aptos-labs/aptos-client@npm:^2.0.0": - version: 2.1.0 - resolution: "@aptos-labs/aptos-client@npm:2.1.0" - peerDependencies: - got: ^11.8.6 - checksum: 88676d5eed10e79f4a8e2f98bbff573737bad131efa9b909edb5706a68301a6a4b93b8da2ac7a02d44e2842d6ba1ffbe620aab2d2d1666f8a1611d99e4644abe - languageName: node - linkType: hard - -"@aptos-labs/wallet-adapter-core@npm:^7.10.1": - version: 7.10.1 - resolution: "@aptos-labs/wallet-adapter-core@npm:7.10.1" - dependencies: - "@aptos-connect/wallet-adapter-plugin": ^2.8.0 - "@aptos-labs/wallet-standard": ^0.5.2 - buffer: ^6.0.3 - eventemitter3: ^4.0.7 - tweetnacl: ^1.0.3 - peerDependencies: - "@aptos-labs/ts-sdk": ^5.1.1 - checksum: 9c13181e9e01ceae444644b02b869f482386bfd7760bbd128cd47a4fdc01e57d223c33b7a720f544c25a74b2fcf1af77162c1c8ec32280e39d396d0f78a927f7 - languageName: node - linkType: hard - -"@aptos-labs/wallet-standard@npm:^0.5.0, @aptos-labs/wallet-standard@npm:^0.5.2": - version: 0.5.2 - resolution: "@aptos-labs/wallet-standard@npm:0.5.2" - peerDependencies: - "@aptos-labs/ts-sdk": ^3.1.3 || ^4.0.0 || ^5.0.0 - "@wallet-standard/core": ^1.0.3 - checksum: 0b044c9e00c78f8671f2bebf0236f752b6f85675e4e5306ce2297e7d02e2f448a0b4f06361e836b0be8a9cec7fc55f6dccc443f0129ed7631261eea8d76dacdb - languageName: node - linkType: hard - "@auto-it/bot-list@npm:11.3.6": version: 11.3.6 resolution: "@auto-it/bot-list@npm:11.3.6" @@ -1464,7 +1390,7 @@ __metadata: languageName: node linkType: hard -"@babel/runtime@npm:^7.18.6, @babel/runtime@npm:^7.20.0, @babel/runtime@npm:^7.25.0, @babel/runtime@npm:^7.27.0, @babel/runtime@npm:^7.8.4": +"@babel/runtime@npm:^7.20.0, @babel/runtime@npm:^7.25.0, @babel/runtime@npm:^7.27.0, @babel/runtime@npm:^7.8.4": version: 7.27.0 resolution: "@babel/runtime@npm:7.27.0" dependencies: @@ -1644,17 +1570,6 @@ __metadata: languageName: node linkType: hard -"@es-joy/jsdoccomment@npm:~0.37.0": - version: 0.37.1 - resolution: "@es-joy/jsdoccomment@npm:0.37.1" - dependencies: - comment-parser: 1.3.1 - esquery: ^1.5.0 - jsdoc-type-pratt-parser: ~4.0.0 - checksum: 28dc5b305660a0d24ef765e92bd0d7b45cb8aac8f722bc059dd96b571c1718bbaff3d5e4d27e447a0963997a1c0eb884bdb56fa49c5634b8785c8f256f7fa72d - languageName: node - linkType: hard - "@esbuild/aix-ppc64@npm:0.25.2": version: 0.25.2 resolution: "@esbuild/aix-ppc64@npm:0.25.2" @@ -1830,7 +1745,7 @@ __metadata: languageName: node linkType: hard -"@eslint-community/eslint-utils@npm:^4.2.0, @eslint-community/eslint-utils@npm:^4.4.0": +"@eslint-community/eslint-utils@npm:^4.4.0": version: 4.4.1 resolution: "@eslint-community/eslint-utils@npm:4.4.1" dependencies: @@ -1852,7 +1767,7 @@ __metadata: languageName: node linkType: hard -"@eslint-community/regexpp@npm:^4.10.0, @eslint-community/regexpp@npm:^4.12.1, @eslint-community/regexpp@npm:^4.6.1": +"@eslint-community/regexpp@npm:^4.10.0, @eslint-community/regexpp@npm:^4.12.1": version: 4.12.1 resolution: "@eslint-community/regexpp@npm:4.12.1" checksum: 0d628680e204bc316d545b4993d3658427ca404ae646ce541fcc65306b8c712c340e5e573e30fb9f85f4855c0c5f6dca9868931f2fcced06417fbe1a0c6cd2d6 @@ -1900,23 +1815,6 @@ __metadata: languageName: node linkType: hard -"@eslint/eslintrc@npm:^2.1.4": - version: 2.1.4 - resolution: "@eslint/eslintrc@npm:2.1.4" - dependencies: - ajv: ^6.12.4 - debug: ^4.3.2 - espree: ^9.6.0 - globals: ^13.19.0 - ignore: ^5.2.0 - import-fresh: ^3.2.1 - js-yaml: ^4.1.0 - minimatch: ^3.1.2 - strip-json-comments: ^3.1.1 - checksum: 10957c7592b20ca0089262d8c2a8accbad14b4f6507e35416c32ee6b4dbf9cad67dfb77096bbd405405e9ada2b107f3797fe94362e1c55e0b09d6e90dd149127 - languageName: node - linkType: hard - "@eslint/eslintrc@npm:^3.1.0, @eslint/eslintrc@npm:^3.3.1": version: 3.3.1 resolution: "@eslint/eslintrc@npm:3.3.1" @@ -1934,13 +1832,6 @@ __metadata: languageName: node linkType: hard -"@eslint/js@npm:8.57.1": - version: 8.57.1 - resolution: "@eslint/js@npm:8.57.1" - checksum: 2afb77454c06e8316793d2e8e79a0154854d35e6782a1217da274ca60b5044d2c69d6091155234ed0551a1e408f86f09dd4ece02752c59568fa403e60611e880 - languageName: node - linkType: hard - "@eslint/js@npm:9.39.2": version: 9.39.2 resolution: "@eslint/js@npm:9.39.2" @@ -2498,17 +2389,6 @@ __metadata: languageName: node linkType: hard -"@humanwhocodes/config-array@npm:^0.13.0": - version: 0.13.0 - resolution: "@humanwhocodes/config-array@npm:0.13.0" - dependencies: - "@humanwhocodes/object-schema": ^2.0.3 - debug: ^4.3.1 - minimatch: ^3.0.5 - checksum: eae69ff9134025dd2924f0b430eb324981494be26f0fddd267a33c28711c4db643242cf9fddf7dadb9d16c96b54b2d2c073e60a56477df86e0173149313bd5d6 - languageName: node - linkType: hard - "@humanwhocodes/module-importer@npm:^1.0.1": version: 1.0.1 resolution: "@humanwhocodes/module-importer@npm:1.0.1" @@ -2516,13 +2396,6 @@ __metadata: languageName: node linkType: hard -"@humanwhocodes/object-schema@npm:^2.0.3": - version: 2.0.3 - resolution: "@humanwhocodes/object-schema@npm:2.0.3" - checksum: d3b78f6c5831888c6ecc899df0d03bcc25d46f3ad26a11d7ea52944dc36a35ef543fad965322174238d677a43d5c694434f6607532cff7077062513ad7022631 - languageName: node - linkType: hard - "@humanwhocodes/retry@npm:^0.3.0": version: 0.3.1 resolution: "@humanwhocodes/retry@npm:0.3.1" @@ -2544,54 +2417,6 @@ __metadata: languageName: node linkType: hard -"@identity-connect/api@npm:0.8.0": - version: 0.8.0 - resolution: "@identity-connect/api@npm:0.8.0" - checksum: 426e6f6358e945cfbdede70cd27550f1f007d9a2f885f65e4bd5e7479715def0f227d97236a28e687f99739bdf21d2dba9ccef640487bcf3d02abe5f83393091 - languageName: node - linkType: hard - -"@identity-connect/crypto@npm:0.3.0": - version: 0.3.0 - resolution: "@identity-connect/crypto@npm:0.3.0" - dependencies: - "@aptos-connect/wallet-api": 0.6.0 - "@noble/hashes": ^1.3.1 - ed2curve: ^0.3.0 - tweetnacl: ^1.0.3 - peerDependencies: - "@aptos-labs/ts-sdk": ^1.33.1 || ^2.0.0 || ^3.0.0 || ^4.0.0 || ^5.0.0 - checksum: 95a6ed786cd7780d4483719f8944a3eb0a95c973dafeea6e500a7a316271557114ef846c0c6ddd40e87ba0ec0f93619e7fe2f02ad90779ab17a84f37a50fd0e5 - languageName: node - linkType: hard - -"@identity-connect/dapp-sdk@npm:0.15.0": - version: 0.15.0 - resolution: "@identity-connect/dapp-sdk@npm:0.15.0" - dependencies: - "@aptos-connect/wallet-api": 0.6.0 - "@aptos-connect/web-transport": 0.5.0 - "@identity-connect/api": 0.8.0 - "@identity-connect/crypto": 0.3.0 - "@identity-connect/wallet-api": 0.2.0 - axios: ^1.9.0 - uuid: ^9.0.1 - peerDependencies: - "@aptos-labs/ts-sdk": ^1.33.1 || ^2.0.0 || ^3.0.0 || ^4.0.0 || ^5.0.0 - "@aptos-labs/wallet-standard": ^0.5.0 - checksum: d0a9e86b665465a50384f05cad1135df436b3eacf09e83506abd973c678a6c6dfe0a6d2e9c195ac27387d3bda8a846ced5ab98c59dedf05be407a4a77018b802 - languageName: node - linkType: hard - -"@identity-connect/wallet-api@npm:0.2.0": - version: 0.2.0 - resolution: "@identity-connect/wallet-api@npm:0.2.0" - peerDependencies: - "@aptos-labs/ts-sdk": ^1.33.1 || ^2.0.0 || ^3.0.0 || ^4.0.0 || ^5.0.0 - checksum: b98c8a83c64ae23ce9f88f2cd63752d6bdc42abd65cb666e47e35b3892b1f7825fb52a1445ec4336ec1f312bcbb67c6d10a2f02114b78f9c39172b36a7796eaf - languageName: node - linkType: hard - "@internationalized/date@npm:^3.10.1": version: 3.10.1 resolution: "@internationalized/date@npm:3.10.1" @@ -3151,35 +2976,6 @@ __metadata: languageName: node linkType: hard -"@magic-ext/algorand@workspace:packages/@magic-ext/algorand": - version: 0.0.0-use.local - resolution: "@magic-ext/algorand@workspace:packages/@magic-ext/algorand" - dependencies: - "@magic-sdk/provider": ^33.9.0 - languageName: unknown - linkType: soft - -"@magic-ext/aptos@workspace:packages/@magic-ext/aptos": - version: 0.0.0-use.local - resolution: "@magic-ext/aptos@workspace:packages/@magic-ext/aptos" - dependencies: - "@aptos-labs/wallet-adapter-core": ^7.10.1 - "@magic-sdk/provider": ^33.9.0 - aptos: ^1.22.1 - peerDependencies: - "@aptos-labs/wallet-adapter-core": ^7.10.1 - aptos: ^1.22.1 - languageName: unknown - linkType: soft - -"@magic-ext/avalanche@workspace:packages/@magic-ext/avalanche": - version: 0.0.0-use.local - resolution: "@magic-ext/avalanche@workspace:packages/@magic-ext/avalanche" - dependencies: - "@magic-sdk/provider": ^33.9.0 - languageName: unknown - linkType: soft - "@magic-ext/bitcoin@workspace:packages/@magic-ext/bitcoin": version: 0.0.0-use.local resolution: "@magic-ext/bitcoin@workspace:packages/@magic-ext/bitcoin" @@ -3188,14 +2984,6 @@ __metadata: languageName: unknown linkType: soft -"@magic-ext/conflux@workspace:packages/@magic-ext/conflux": - version: 0.0.0-use.local - resolution: "@magic-ext/conflux@workspace:packages/@magic-ext/conflux" - dependencies: - "@magic-sdk/provider": ^33.9.0 - languageName: unknown - linkType: soft - "@magic-ext/cosmos@workspace:packages/@magic-ext/cosmos": version: 0.0.0-use.local resolution: "@magic-ext/cosmos@workspace:packages/@magic-ext/cosmos" @@ -3204,14 +2992,6 @@ __metadata: languageName: unknown linkType: soft -"@magic-ext/ed25519@workspace:packages/@magic-ext/ed25519": - version: 0.0.0-use.local - resolution: "@magic-ext/ed25519@workspace:packages/@magic-ext/ed25519" - dependencies: - "@magic-sdk/provider": ^33.9.0 - languageName: unknown - linkType: soft - "@magic-ext/evm@workspace:packages/@magic-ext/evm": version: 0.0.0-use.local resolution: "@magic-ext/evm@workspace:packages/@magic-ext/evm" @@ -3230,19 +3010,6 @@ __metadata: languageName: unknown linkType: soft -"@magic-ext/flow@workspace:packages/@magic-ext/flow": - version: 0.0.0-use.local - resolution: "@magic-ext/flow@workspace:packages/@magic-ext/flow" - dependencies: - "@magic-sdk/provider": ^33.9.0 - "@onflow/fcl": ^1.4.1 - "@onflow/types": ^1.1.0 - peerDependencies: - "@onflow/fcl": ^1.4.1 - "@onflow/types": ^1.1.0 - languageName: unknown - linkType: soft - "@magic-ext/gdkms@workspace:packages/@magic-ext/gdkms": version: 0.0.0-use.local resolution: "@magic-ext/gdkms@workspace:packages/@magic-ext/gdkms" @@ -3252,14 +3019,6 @@ __metadata: languageName: unknown linkType: soft -"@magic-ext/harmony@workspace:packages/@magic-ext/harmony": - version: 0.0.0-use.local - resolution: "@magic-ext/harmony@workspace:packages/@magic-ext/harmony" - dependencies: - "@magic-sdk/provider": ^33.9.0 - languageName: unknown - linkType: soft - "@magic-ext/hedera@workspace:packages/@magic-ext/hedera": version: 0.0.0-use.local resolution: "@magic-ext/hedera@workspace:packages/@magic-ext/hedera" @@ -3270,30 +3029,6 @@ __metadata: languageName: unknown linkType: soft -"@magic-ext/icon@workspace:packages/@magic-ext/icon": - version: 0.0.0-use.local - resolution: "@magic-ext/icon@workspace:packages/@magic-ext/icon" - dependencies: - "@magic-sdk/provider": ^33.9.0 - languageName: unknown - linkType: soft - -"@magic-ext/kadena@workspace:packages/@magic-ext/kadena": - version: 0.0.0-use.local - resolution: "@magic-ext/kadena@workspace:packages/@magic-ext/kadena" - dependencies: - "@magic-sdk/provider": ^33.9.0 - languageName: unknown - linkType: soft - -"@magic-ext/near@workspace:packages/@magic-ext/near": - version: 0.0.0-use.local - resolution: "@magic-ext/near@workspace:packages/@magic-ext/near" - dependencies: - "@magic-sdk/provider": ^33.9.0 - languageName: unknown - linkType: soft - "@magic-ext/oauth2@workspace:packages/@magic-ext/oauth2": version: 0.0.0-use.local resolution: "@magic-ext/oauth2@workspace:packages/@magic-ext/oauth2" @@ -3312,14 +3047,6 @@ __metadata: languageName: unknown linkType: soft -"@magic-ext/polkadot@workspace:packages/@magic-ext/polkadot": - version: 0.0.0-use.local - resolution: "@magic-ext/polkadot@workspace:packages/@magic-ext/polkadot" - dependencies: - "@magic-sdk/provider": ^33.9.0 - languageName: unknown - linkType: soft - "@magic-ext/react-native-bare-oauth@workspace:packages/@magic-ext/react-native-bare-oauth": version: 0.0.0-use.local resolution: "@magic-ext/react-native-bare-oauth@workspace:packages/@magic-ext/react-native-bare-oauth" @@ -3384,38 +3111,6 @@ __metadata: languageName: unknown linkType: soft -"@magic-ext/sui@workspace:packages/@magic-ext/sui": - version: 0.0.0-use.local - resolution: "@magic-ext/sui@workspace:packages/@magic-ext/sui" - dependencies: - "@magic-sdk/provider": ^33.9.0 - languageName: unknown - linkType: soft - -"@magic-ext/taquito@workspace:packages/@magic-ext/taquito": - version: 0.0.0-use.local - resolution: "@magic-ext/taquito@workspace:packages/@magic-ext/taquito" - dependencies: - "@magic-sdk/provider": ^33.9.0 - languageName: unknown - linkType: soft - -"@magic-ext/terra@workspace:packages/@magic-ext/terra": - version: 0.0.0-use.local - resolution: "@magic-ext/terra@workspace:packages/@magic-ext/terra" - dependencies: - "@magic-sdk/provider": ^33.9.0 - languageName: unknown - linkType: soft - -"@magic-ext/tezos@workspace:packages/@magic-ext/tezos": - version: 0.0.0-use.local - resolution: "@magic-ext/tezos@workspace:packages/@magic-ext/tezos" - dependencies: - "@magic-sdk/provider": ^33.9.0 - languageName: unknown - linkType: soft - "@magic-ext/wallet-kit@workspace:packages/@magic-ext/wallet-kit": version: 0.0.0-use.local resolution: "@magic-ext/wallet-kit@workspace:packages/@magic-ext/wallet-kit" @@ -3459,14 +3154,6 @@ __metadata: languageName: unknown linkType: soft -"@magic-ext/zilliqa@workspace:packages/@magic-ext/zilliqa": - version: 0.0.0-use.local - resolution: "@magic-ext/zilliqa@workspace:packages/@magic-ext/zilliqa" - dependencies: - "@magic-sdk/provider": ^33.9.0 - languageName: unknown - linkType: soft - "@magic-sdk/provider@^33.9.0, @magic-sdk/provider@workspace:packages/@magic-sdk/provider": version: 0.0.0-use.local resolution: "@magic-sdk/provider@workspace:packages/@magic-sdk/provider" @@ -3951,13 +3638,6 @@ __metadata: languageName: node linkType: hard -"@noble/hashes@npm:1.3.3, @noble/hashes@npm:~1.3.0": - version: 1.3.3 - resolution: "@noble/hashes@npm:1.3.3" - checksum: 8a6496d1c0c64797339bc694ad06cdfaa0f9e56cd0c3f68ae3666cfb153a791a55deb0af9c653c7ed2db64d537aa3e3054629740d2f2338bb1dcb7ab60cd205b - languageName: node - linkType: hard - "@noble/hashes@npm:1.4.0, @noble/hashes@npm:~1.4.0": version: 1.4.0 resolution: "@noble/hashes@npm:1.4.0" @@ -4010,7 +3690,7 @@ __metadata: languageName: node linkType: hard -"@nodelib/fs.walk@npm:^1.2.3, @nodelib/fs.walk@npm:^1.2.8": +"@nodelib/fs.walk@npm:^1.2.3": version: 1.2.8 resolution: "@nodelib/fs.walk@npm:1.2.8" dependencies: @@ -4564,155 +4244,6 @@ __metadata: languageName: node linkType: hard -"@onflow/config@npm:^1.1.0": - version: 1.1.0 - resolution: "@onflow/config@npm:1.1.0" - dependencies: - "@babel/runtime": ^7.18.6 - "@onflow/util-actor": ^1.2.0 - eslint: ^8.34.0 - eslint-plugin-jsdoc: ^40.0.0 - checksum: c55d3002e52d7323a04039dc6772987b078cf6f387bece1d86c65af49f1c2306da129bfc3ab4a283e20198f948d038d65ee42bec0a6fc5c441ba56f518a7618f - languageName: node - linkType: hard - -"@onflow/fcl@npm:^1.4.1": - version: 1.4.1 - resolution: "@onflow/fcl@npm:1.4.1" - dependencies: - "@babel/runtime": ^7.18.6 - "@onflow/config": ^1.1.0 - "@onflow/interaction": 0.0.11 - "@onflow/rlp": ^1.1.0 - "@onflow/sdk": ^1.2.0 - "@onflow/types": ^1.1.0 - "@onflow/util-actor": ^1.2.0 - "@onflow/util-address": ^1.1.0 - "@onflow/util-invariant": ^1.1.0 - "@onflow/util-logger": ^1.2.0 - "@onflow/util-template": ^1.1.0 - "@onflow/util-uid": ^1.1.0 - cross-fetch: ^3.1.6 - checksum: 1b434f60c4c5774d2225c4af1694f1457a8ce07789313f8663b6f4ff1410e2e14f7d8fcdb616d85a645fdd9748228472af2083347936d1ce8bdd9024e45ed428 - languageName: node - linkType: hard - -"@onflow/interaction@npm:0.0.11": - version: 0.0.11 - resolution: "@onflow/interaction@npm:0.0.11" - checksum: 8723ffc02a5fba3d07bf681a08277cff5e609af127b45ce9d0a06295de37f3d8b4b8166264ee6e0f6b4240bed5f9ac5c1e8aaaf6ccee9a2309ddd25fdceffc0b - languageName: node - linkType: hard - -"@onflow/rlp@npm:^1.1.0": - version: 1.1.0 - resolution: "@onflow/rlp@npm:1.1.0" - dependencies: - "@babel/runtime": ^7.18.6 - buffer: ^6.0.3 - checksum: b61294c26a46dea60e9d8c39ebddf085b74d6419ef571f2de96baf8c2c17c6d0dce644e887b93b9e66cf36cece75ef249740a05b9e0efc9955b4f8a74fde56b4 - languageName: node - linkType: hard - -"@onflow/sdk@npm:^1.2.0": - version: 1.2.0 - resolution: "@onflow/sdk@npm:1.2.0" - dependencies: - "@babel/runtime": ^7.18.6 - "@onflow/config": ^1.1.0 - "@onflow/rlp": ^1.1.0 - "@onflow/transport-http": ^1.6.0 - "@onflow/util-actor": ^1.2.0 - "@onflow/util-address": ^1.1.0 - "@onflow/util-invariant": ^1.1.0 - "@onflow/util-logger": ^1.2.0 - "@onflow/util-template": ^1.1.0 - deepmerge: ^4.2.2 - sha3: ^2.1.4 - checksum: f0b73a18660924a2aa451e951e4057a99be302926d656fd76e83e79a6919247897e8bd440f39016dc0a97137f641215179131ea8546a33cf2c57808398448716 - languageName: node - linkType: hard - -"@onflow/transport-http@npm:^1.6.0": - version: 1.6.0 - resolution: "@onflow/transport-http@npm:1.6.0" - dependencies: - "@babel/runtime": ^7.18.6 - "@onflow/util-address": ^1.1.0 - "@onflow/util-invariant": ^1.1.0 - "@onflow/util-logger": ^1.2.0 - "@onflow/util-template": ^1.1.0 - abort-controller: ^3.0.0 - cross-fetch: ^3.1.6 - checksum: 4e1c1a08a6bfa2e2b3772dacaa8a0f15098bc682fc1e41e87d39e8e141393a7ba91bc65746dcfa453fb50e591045663690a77ff05262c850b00e424aac70e5b0 - languageName: node - linkType: hard - -"@onflow/types@npm:^1.1.0": - version: 1.1.0 - resolution: "@onflow/types@npm:1.1.0" - dependencies: - "@babel/runtime": ^7.18.6 - checksum: 6d891c36f1a2e016b9191ddabda49048b1794abe7c3f552474ae60af3fe9ef0d6d5e1b40ea10b427ae35335febd6484e402d7ea0c2e83c95a3f789a29b518076 - languageName: node - linkType: hard - -"@onflow/util-actor@npm:^1.2.0": - version: 1.2.0 - resolution: "@onflow/util-actor@npm:1.2.0" - dependencies: - "@babel/runtime": ^7.18.6 - queue-microtask: 1.2.3 - checksum: f9dc8bcace38015c4df2ee86c51063bd9a506c252058acedf84fe4209bad9801a876e7051bb9632304b7b4baae78471a190e165e28ceb58df0385c1758fe8234 - languageName: node - linkType: hard - -"@onflow/util-address@npm:^1.1.0": - version: 1.1.0 - resolution: "@onflow/util-address@npm:1.1.0" - dependencies: - "@babel/runtime": ^7.18.6 - checksum: ac0c02038a55f8f0f34b751fedab814f61b5dd43f4ed606b91ea3cb014f87846bc99d4307b78bebb777cb49c86281913839f59f6bba5816724ff6591b9badb52 - languageName: node - linkType: hard - -"@onflow/util-invariant@npm:^1.1.0": - version: 1.1.0 - resolution: "@onflow/util-invariant@npm:1.1.0" - dependencies: - "@babel/runtime": ^7.18.6 - checksum: 9d29bd96b129fe141e54df9d3ca00eb39a4819a77821def082b861cdc90ab27f51735494fd8cc0cb27870d71ed5f322476c9ba994e2e731e6fe6f1200fc198ad - languageName: node - linkType: hard - -"@onflow/util-logger@npm:^1.2.0": - version: 1.2.0 - resolution: "@onflow/util-logger@npm:1.2.0" - dependencies: - "@babel/runtime": ^7.18.6 - "@onflow/config": ^1.1.0 - checksum: af646b5d3f2d4fa5cacb9693b2294e1db28d7b4815c4a316aacce17172a84ed9c31b1accf8520b4682091b240e22a24ce9af4c3df342a2dffb748fa849357c88 - languageName: node - linkType: hard - -"@onflow/util-template@npm:^1.1.0": - version: 1.1.0 - resolution: "@onflow/util-template@npm:1.1.0" - dependencies: - "@babel/runtime": ^7.18.6 - checksum: 6fd6dfc82abb69252590bc8329ae469791e12728fb36b18c05d7c9f9b88b2a7648c3c39fe6a4fbc1348045fa6cac9ff5119330b289297ae5380a2b14d1a575fb - languageName: node - linkType: hard - -"@onflow/util-uid@npm:^1.1.0": - version: 1.1.0 - resolution: "@onflow/util-uid@npm:1.1.0" - dependencies: - "@babel/runtime": ^7.18.6 - checksum: 0a64bb2934271fee0f7d0e52ed32cee2c22920e55b8049d71053793dd77f17da5a9b974f9b551229c2d730392a4f672b00dce8e4849e3a618b7a0db861562086 - languageName: node - linkType: hard - "@parcel/watcher-android-arm64@npm:2.4.1": version: 2.4.1 resolution: "@parcel/watcher-android-arm64@npm:2.4.1" @@ -7721,13 +7252,6 @@ __metadata: languageName: node linkType: hard -"@scure/base@npm:~1.1.0": - version: 1.1.1 - resolution: "@scure/base@npm:1.1.1" - checksum: b4fc810b492693e7e8d0107313ac74c3646970c198bbe26d7332820886fa4f09441991023ec9aa3a2a51246b74409ab5ebae2e8ef148bbc253da79ac49130309 - languageName: node - linkType: hard - "@scure/base@npm:~1.1.6": version: 1.1.9 resolution: "@scure/base@npm:1.1.9" @@ -7768,16 +7292,6 @@ __metadata: languageName: node linkType: hard -"@scure/bip39@npm:1.2.1": - version: 1.2.1 - resolution: "@scure/bip39@npm:1.2.1" - dependencies: - "@noble/hashes": ~1.3.0 - "@scure/base": ~1.1.0 - checksum: c5bd6f1328fdbeae2dcdd891825b1610225310e5e62a4942714db51066866e4f7bef242c7b06a1b9dcc8043a4a13412cf5c5df76d3b10aa9e36b82e9b6e3eeaa - languageName: node - linkType: hard - "@scure/bip39@npm:1.3.0": version: 1.3.0 resolution: "@scure/bip39@npm:1.3.0" @@ -9276,7 +8790,7 @@ __metadata: languageName: node linkType: hard -"@ungap/structured-clone@npm:^1.2.0, @ungap/structured-clone@npm:^1.3.0": +"@ungap/structured-clone@npm:^1.3.0": version: 1.3.0 resolution: "@ungap/structured-clone@npm:1.3.0" checksum: 64ed518f49c2b31f5b50f8570a1e37bde3b62f2460042c50f132430b2d869c4a6586f13aa33a58a4722715b8158c68cae2827389d6752ac54da2893c83e480fc @@ -10208,7 +9722,7 @@ __metadata: languageName: node linkType: hard -"acorn@npm:^8.1.0, acorn@npm:^8.11.0, acorn@npm:^8.11.3, acorn@npm:^8.14.0, acorn@npm:^8.4.1, acorn@npm:^8.8.1, acorn@npm:^8.8.2, acorn@npm:^8.9.0": +"acorn@npm:^8.1.0, acorn@npm:^8.11.0, acorn@npm:^8.11.3, acorn@npm:^8.14.0, acorn@npm:^8.4.1, acorn@npm:^8.8.1, acorn@npm:^8.8.2": version: 8.14.1 resolution: "acorn@npm:8.14.1" bin: @@ -10433,19 +9947,6 @@ __metadata: languageName: node linkType: hard -"aptos@npm:^1.22.1": - version: 1.22.1 - resolution: "aptos@npm:1.22.1" - dependencies: - "@aptos-labs/aptos-client": ^2.0.0 - "@noble/hashes": 1.3.3 - "@scure/bip39": 1.2.1 - eventemitter3: ^5.0.1 - tweetnacl: 1.0.3 - checksum: a098f8fd9e76c01cf102f3999d18b6c55f8a4a5d2428243b400a4bc6a7810b4a3d4e35a7b01c0f3b09987822062ce17bcbfc429ed13d6c15e09c616597faf881 - languageName: node - linkType: hard - "archy@npm:^1.0.0": version: 1.0.0 resolution: "archy@npm:1.0.0" @@ -10783,7 +10284,7 @@ __metadata: languageName: node linkType: hard -"axios@npm:^1.12.2, axios@npm:^1.5.1, axios@npm:^1.9.0": +"axios@npm:^1.12.2, axios@npm:^1.5.1": version: 1.13.2 resolution: "axios@npm:1.13.2" dependencies: @@ -12104,13 +11605,6 @@ __metadata: languageName: node linkType: hard -"comment-parser@npm:1.3.1": - version: 1.3.1 - resolution: "comment-parser@npm:1.3.1" - checksum: 421e6a113a3afd548500e7174ab46a2049dccf92e82bbaa3b209031b1bdf97552aabfa1ae2a120c0b62df17e1ba70e0d8b05d68504fee78e1ef974c59bcfe718 - languageName: node - linkType: hard - "commondir@npm:^1.0.1": version: 1.0.1 resolution: "commondir@npm:1.0.1" @@ -12431,7 +11925,7 @@ __metadata: languageName: node linkType: hard -"cross-fetch@npm:^3.1.4, cross-fetch@npm:^3.1.6": +"cross-fetch@npm:^3.1.4": version: 3.2.0 resolution: "cross-fetch@npm:3.2.0" dependencies: @@ -12483,7 +11977,7 @@ __metadata: languageName: node linkType: hard -"cross-spawn@npm:^7.0.0, cross-spawn@npm:^7.0.2, cross-spawn@npm:^7.0.3, cross-spawn@npm:^7.0.6": +"cross-spawn@npm:^7.0.0, cross-spawn@npm:^7.0.3, cross-spawn@npm:^7.0.6": version: 7.0.6 resolution: "cross-spawn@npm:7.0.6" dependencies: @@ -13032,15 +12526,6 @@ __metadata: languageName: node linkType: hard -"doctrine@npm:^3.0.0": - version: 3.0.0 - resolution: "doctrine@npm:3.0.0" - dependencies: - esutils: ^2.0.2 - checksum: fd7673ca77fe26cd5cba38d816bc72d641f500f1f9b25b83e8ce28827fe2da7ad583a8da26ab6af85f834138cf8dae9f69b0cd6ab925f52ddab1754db44d99ce - languageName: node - linkType: hard - "domexception@npm:^4.0.0": version: 4.0.0 resolution: "domexception@npm:4.0.0" @@ -13152,15 +12637,6 @@ __metadata: languageName: node linkType: hard -"ed2curve@npm:^0.3.0": - version: 0.3.0 - resolution: "ed2curve@npm:0.3.0" - dependencies: - tweetnacl: 1.x.x - checksum: 6dfbe2310aa5a47372c9dd2fd920be140c8d52aea5793d716a3e3865d2ceaeaf639a7653e5492dfe3b4910eaf65c09a1d5132580afe2fdca18a75ebb428a52f2 - languageName: node - linkType: hard - "ee-first@npm:1.1.1": version: 1.1.1 resolution: "ee-first@npm:1.1.1" @@ -13739,23 +13215,6 @@ __metadata: languageName: node linkType: hard -"eslint-plugin-jsdoc@npm:^40.0.0": - version: 40.3.0 - resolution: "eslint-plugin-jsdoc@npm:40.3.0" - dependencies: - "@es-joy/jsdoccomment": ~0.37.0 - comment-parser: 1.3.1 - debug: ^4.3.4 - escape-string-regexp: ^4.0.0 - esquery: ^1.5.0 - semver: ^7.3.8 - spdx-expression-parse: ^3.0.1 - peerDependencies: - eslint: ^7.0.0 || ^8.0.0 - checksum: 7671ac3cc7165cd894cc2fc4c67ddf075f01502c25bbdc649559e7dfd6a525126debe756c83e11887972ffbe57d0d10d3bb17c7269594823654f55be3a3ca5ef - languageName: node - linkType: hard - "eslint-plugin-jsx-a11y@npm:^6.10.2": version: 6.10.2 resolution: "eslint-plugin-jsx-a11y@npm:6.10.2" @@ -13801,16 +13260,6 @@ __metadata: languageName: node linkType: hard -"eslint-scope@npm:^7.2.2": - version: 7.2.2 - resolution: "eslint-scope@npm:7.2.2" - dependencies: - esrecurse: ^4.3.0 - estraverse: ^5.2.0 - checksum: ec97dbf5fb04b94e8f4c5a91a7f0a6dd3c55e46bfc7bbcd0e3138c3a76977570e02ed89a1810c778dcd72072ff0e9621ba1379b4babe53921d71e2e4486fda3e - languageName: node - linkType: hard - "eslint-scope@npm:^8.4.0": version: 8.4.0 resolution: "eslint-scope@npm:8.4.0" @@ -13821,7 +13270,7 @@ __metadata: languageName: node linkType: hard -"eslint-visitor-keys@npm:^3.4.1, eslint-visitor-keys@npm:^3.4.3": +"eslint-visitor-keys@npm:^3.4.3": version: 3.4.3 resolution: "eslint-visitor-keys@npm:3.4.3" checksum: 36e9ef87fca698b6fd7ca5ca35d7b2b6eeaaf106572e2f7fd31c12d3bfdaccdb587bba6d3621067e5aece31c8c3a348b93922ab8f7b2cbc6aaab5e1d89040c60 @@ -13842,54 +13291,6 @@ __metadata: languageName: node linkType: hard -"eslint@npm:^8.34.0": - version: 8.57.1 - resolution: "eslint@npm:8.57.1" - dependencies: - "@eslint-community/eslint-utils": ^4.2.0 - "@eslint-community/regexpp": ^4.6.1 - "@eslint/eslintrc": ^2.1.4 - "@eslint/js": 8.57.1 - "@humanwhocodes/config-array": ^0.13.0 - "@humanwhocodes/module-importer": ^1.0.1 - "@nodelib/fs.walk": ^1.2.8 - "@ungap/structured-clone": ^1.2.0 - ajv: ^6.12.4 - chalk: ^4.0.0 - cross-spawn: ^7.0.2 - debug: ^4.3.2 - doctrine: ^3.0.0 - escape-string-regexp: ^4.0.0 - eslint-scope: ^7.2.2 - eslint-visitor-keys: ^3.4.3 - espree: ^9.6.1 - esquery: ^1.4.2 - esutils: ^2.0.2 - fast-deep-equal: ^3.1.3 - file-entry-cache: ^6.0.1 - find-up: ^5.0.0 - glob-parent: ^6.0.2 - globals: ^13.19.0 - graphemer: ^1.4.0 - ignore: ^5.2.0 - imurmurhash: ^0.1.4 - is-glob: ^4.0.0 - is-path-inside: ^3.0.3 - js-yaml: ^4.1.0 - json-stable-stringify-without-jsonify: ^1.0.1 - levn: ^0.4.1 - lodash.merge: ^4.6.2 - minimatch: ^3.1.2 - natural-compare: ^1.4.0 - optionator: ^0.9.3 - strip-ansi: ^6.0.1 - text-table: ^0.2.0 - bin: - eslint: bin/eslint.js - checksum: e2489bb7f86dd2011967759a09164e65744ef7688c310bc990612fc26953f34cc391872807486b15c06833bdff737726a23e9b4cdba5de144c311377dc41d91b - languageName: node - linkType: hard - "eslint@npm:^9.24.0": version: 9.39.2 resolution: "eslint@npm:9.39.2" @@ -13961,17 +13362,6 @@ __metadata: languageName: node linkType: hard -"espree@npm:^9.6.0, espree@npm:^9.6.1": - version: 9.6.1 - resolution: "espree@npm:9.6.1" - dependencies: - acorn: ^8.9.0 - acorn-jsx: ^5.3.2 - eslint-visitor-keys: ^3.4.1 - checksum: eb8c149c7a2a77b3f33a5af80c10875c3abd65450f60b8af6db1bfcfa8f101e21c1e56a561c6dc13b848e18148d43469e7cd208506238554fb5395a9ea5a1ab9 - languageName: node - linkType: hard - "esprima@npm:^4.0.0, esprima@npm:^4.0.1, esprima@npm:~4.0.0": version: 4.0.1 resolution: "esprima@npm:4.0.1" @@ -13982,7 +13372,7 @@ __metadata: languageName: node linkType: hard -"esquery@npm:^1.4.2, esquery@npm:^1.5.0": +"esquery@npm:^1.5.0": version: 1.6.0 resolution: "esquery@npm:1.6.0" dependencies: @@ -14136,7 +13526,7 @@ __metadata: languageName: node linkType: hard -"eventemitter3@npm:^4.0.4, eventemitter3@npm:^4.0.7": +"eventemitter3@npm:^4.0.4": version: 4.0.7 resolution: "eventemitter3@npm:4.0.7" checksum: 1875311c42fcfe9c707b2712c32664a245629b42bb0a5a84439762dd0fd637fc54d078155ea83c2af9e0323c9ac13687e03cfba79b03af9f40c89b4960099374 @@ -14586,15 +13976,6 @@ __metadata: languageName: node linkType: hard -"file-entry-cache@npm:^6.0.1": - version: 6.0.1 - resolution: "file-entry-cache@npm:6.0.1" - dependencies: - flat-cache: ^3.0.4 - checksum: f49701feaa6314c8127c3c2f6173cfefff17612f5ed2daaafc6da13b5c91fd43e3b2a58fd0d63f9f94478a501b167615931e7200e31485e320f74a33885a9c74 - languageName: node - linkType: hard - "file-entry-cache@npm:^8.0.0": version: 8.0.0 resolution: "file-entry-cache@npm:8.0.0" @@ -14702,17 +14083,6 @@ __metadata: languageName: node linkType: hard -"flat-cache@npm:^3.0.4": - version: 3.2.0 - resolution: "flat-cache@npm:3.2.0" - dependencies: - flatted: ^3.2.9 - keyv: ^4.5.3 - rimraf: ^3.0.2 - checksum: e7e0f59801e288b54bee5cb9681e9ee21ee28ef309f886b312c9d08415b79fc0f24ac842f84356ce80f47d6a53de62197ce0e6e148dc42d5db005992e2a756ec - languageName: node - linkType: hard - "flat-cache@npm:^4.0.0": version: 4.0.1 resolution: "flat-cache@npm:4.0.1" @@ -15325,15 +14695,6 @@ __metadata: languageName: node linkType: hard -"globals@npm:^13.19.0": - version: 13.24.0 - resolution: "globals@npm:13.24.0" - dependencies: - type-fest: ^0.20.2 - checksum: 56066ef058f6867c04ff203b8a44c15b038346a62efbc3060052a1016be9f56f4cf0b2cd45b74b22b81e521a889fc7786c73691b0549c2f3a6e825b3d394f43c - languageName: node - linkType: hard - "globals@npm:^14.0.0": version: 14.0.0 resolution: "globals@npm:14.0.0" @@ -16313,13 +15674,6 @@ __metadata: languageName: node linkType: hard -"is-path-inside@npm:^3.0.3": - version: 3.0.3 - resolution: "is-path-inside@npm:3.0.3" - checksum: abd50f06186a052b349c15e55b182326f1936c89a78bf6c8f2b707412517c097ce04bc49a0ca221787bc44e1049f51f09a2ffb63d22899051988d3a618ba13e9 - languageName: node - linkType: hard - "is-plain-obj@npm:^1.0.0, is-plain-obj@npm:^1.1.0": version: 1.1.0 resolution: "is-plain-obj@npm:1.1.0" @@ -17423,13 +16777,6 @@ __metadata: languageName: node linkType: hard -"jsdoc-type-pratt-parser@npm:~4.0.0": - version: 4.0.0 - resolution: "jsdoc-type-pratt-parser@npm:4.0.0" - checksum: af0629c9517e484be778d8564440fec8de5b7610e0c9c88a3ba4554321364faf72b46689c8d8845faa12c0718437a9ed97e231977efc0f2d50e8a2dbad807eb3 - languageName: node - linkType: hard - "jsdom@npm:^20.0.0": version: 20.0.3 resolution: "jsdom@npm:20.0.3" @@ -17624,7 +16971,7 @@ __metadata: languageName: node linkType: hard -"keyv@npm:^4.5.3, keyv@npm:^4.5.4": +"keyv@npm:^4.5.4": version: 4.5.4 resolution: "keyv@npm:4.5.4" dependencies: @@ -19283,7 +18630,7 @@ __metadata: languageName: node linkType: hard -"minimatch@npm:^3.0.4, minimatch@npm:^3.0.5, minimatch@npm:^3.1.1, minimatch@npm:^3.1.2": +"minimatch@npm:^3.0.4, minimatch@npm:^3.1.1, minimatch@npm:^3.1.2": version: 3.1.2 resolution: "minimatch@npm:3.1.2" dependencies: @@ -21792,7 +21139,7 @@ __metadata: languageName: node linkType: hard -"queue-microtask@npm:1.2.3, queue-microtask@npm:^1.2.2": +"queue-microtask@npm:^1.2.2": version: 1.2.3 resolution: "queue-microtask@npm:1.2.3" checksum: b676f8c040cdc5b12723ad2f91414d267605b26419d5c821ff03befa817ddd10e238d22b25d604920340fd73efd8ba795465a0377c4adf45a4a41e4234e42dc4 @@ -23203,15 +22550,6 @@ resolve@~1.7.1: languageName: node linkType: hard -"sha3@npm:^2.1.4": - version: 2.1.4 - resolution: "sha3@npm:2.1.4" - dependencies: - buffer: 6.0.3 - checksum: fb49c8e18143cc46babc0e5d83d5f5d0149e645f26633a0e6a9aa2514df2ef91f10b6ece20da229e7ead8b8002d8e9514dcc747ef96a25b749294d6385c6f29f - languageName: node - linkType: hard - "shallow-clone@npm:^3.0.0": version: 3.0.1 resolution: "shallow-clone@npm:3.0.1" @@ -23611,7 +22949,7 @@ resolve@~1.7.1: languageName: node linkType: hard -"spdx-expression-parse@npm:^3.0.0, spdx-expression-parse@npm:^3.0.1": +"spdx-expression-parse@npm:^3.0.0": version: 3.0.1 resolution: "spdx-expression-parse@npm:3.0.1" dependencies: @@ -24436,13 +23774,6 @@ resolve@~1.7.1: languageName: node linkType: hard -"text-table@npm:^0.2.0": - version: 0.2.0 - resolution: "text-table@npm:0.2.0" - checksum: b6937a38c80c7f84d9c11dd75e49d5c44f71d95e810a3250bd1f1797fc7117c57698204adf676b71497acc205d769d65c16ae8fa10afad832ae1322630aef10a - languageName: node - linkType: hard - "thenify-all@npm:^1.0.0": version: 1.6.0 resolution: "thenify-all@npm:1.6.0" @@ -24838,13 +24169,6 @@ resolve@~1.7.1: languageName: node linkType: hard -"tweetnacl@npm:1.0.3, tweetnacl@npm:1.x.x, tweetnacl@npm:^1.0.3": - version: 1.0.3 - resolution: "tweetnacl@npm:1.0.3" - checksum: e4a57cac188f0c53f24c7a33279e223618a2bfb5fea426231991652a13247bea06b081fd745d71291fcae0f4428d29beba1b984b1f1ce6f66b06a6d1ab90645c - languageName: node - linkType: hard - "type-check@npm:^0.4.0, type-check@npm:~0.4.0": version: 0.4.0 resolution: "type-check@npm:0.4.0" @@ -24875,13 +24199,6 @@ resolve@~1.7.1: languageName: node linkType: hard -"type-fest@npm:^0.20.2": - version: 0.20.2 - resolution: "type-fest@npm:0.20.2" - checksum: 4fb3272df21ad1c552486f8a2f8e115c09a521ad7a8db3d56d53718d0c907b62c6e9141ba5f584af3f6830d0872c521357e512381f24f7c44acae583ad517d73 - languageName: node - linkType: hard - "type-fest@npm:^0.21.1, type-fest@npm:^0.21.3": version: 0.21.3 resolution: "type-fest@npm:0.21.3"