magiclabs / magic-js

Magic browser/React Native JavaScript SDK is your entry-point to integrating passwordless authentication inside your application.
https://magic.link/docs/api-reference/client-side-sdks/web
Apache License 2.0
462 stars 86 forks source link

Add private key reveal method #699

Closed joshuascan closed 7 months ago

joshuascan commented 9 months ago

📦 Pull Request

Adds a method to the user module to reveal private key.

Relates to this phantom PR.

✅ Fixed Issues

🚨 Test instructions

[Describe any additional context required to test the PR/feature/bug fix.]

⚠️ Don't forget to add a semver label!

Please only add one label:

📦 Published PR as canary version: Canary Versions
:sparkles: Test out this PR locally via: ```bash npm install @magic-ext/algorand@16.5.1-canary.699.7495971903.0 npm install @magic-ext/aptos@4.5.1-canary.699.7495971903.0 npm install @magic-ext/avalanche@16.5.1-canary.699.7495971903.0 npm install @magic-ext/bitcoin@16.5.1-canary.699.7495971903.0 npm install @magic-ext/conflux@14.5.1-canary.699.7495971903.0 npm install @magic-ext/cosmos@16.5.1-canary.699.7495971903.0 npm install @magic-ext/ed25519@12.5.1-canary.699.7495971903.0 npm install @magic-ext/flow@16.5.1-canary.699.7495971903.0 npm install @magic-ext/gdkms@4.5.1-canary.699.7495971903.0 npm install @magic-ext/harmony@16.5.1-canary.699.7495971903.0 npm install @magic-ext/icon@16.5.1-canary.699.7495971903.0 npm install @magic-ext/near@16.5.1-canary.699.7495971903.0 npm install @magic-ext/oauth@15.6.1-canary.699.7495971903.0 npm install @magic-ext/oidc@4.5.1-canary.699.7495971903.0 npm install @magic-ext/polkadot@16.5.1-canary.699.7495971903.0 npm install @magic-ext/react-native-bare-oauth@18.2.1-canary.699.7495971903.0 npm install @magic-ext/react-native-expo-oauth@18.2.1-canary.699.7495971903.0 npm install @magic-ext/solana@18.4.1-canary.699.7495971903.0 npm install @magic-ext/taquito@13.5.1-canary.699.7495971903.0 npm install @magic-ext/terra@13.5.1-canary.699.7495971903.0 npm install @magic-ext/tezos@16.5.1-canary.699.7495971903.0 npm install @magic-ext/webauthn@15.5.1-canary.699.7495971903.0 npm install @magic-ext/zilliqa@16.5.1-canary.699.7495971903.0 npm install @magic-sdk/commons@17.5.1-canary.699.7495971903.0 npm install @magic-sdk/pnp@15.6.1-canary.699.7495971903.0 npm install @magic-sdk/provider@21.5.1-canary.699.7495971903.0 npm install @magic-sdk/react-native-bare@22.5.1-canary.699.7495971903.0 npm install @magic-sdk/react-native-expo@22.5.1-canary.699.7495971903.0 npm install @magic-sdk/types@17.3.1-canary.699.7495971903.0 npm install magic-sdk@21.5.1-canary.699.7495971903.0 # or yarn add @magic-ext/algorand@16.5.1-canary.699.7495971903.0 yarn add @magic-ext/aptos@4.5.1-canary.699.7495971903.0 yarn add @magic-ext/avalanche@16.5.1-canary.699.7495971903.0 yarn add @magic-ext/bitcoin@16.5.1-canary.699.7495971903.0 yarn add @magic-ext/conflux@14.5.1-canary.699.7495971903.0 yarn add @magic-ext/cosmos@16.5.1-canary.699.7495971903.0 yarn add @magic-ext/ed25519@12.5.1-canary.699.7495971903.0 yarn add @magic-ext/flow@16.5.1-canary.699.7495971903.0 yarn add @magic-ext/gdkms@4.5.1-canary.699.7495971903.0 yarn add @magic-ext/harmony@16.5.1-canary.699.7495971903.0 yarn add @magic-ext/icon@16.5.1-canary.699.7495971903.0 yarn add @magic-ext/near@16.5.1-canary.699.7495971903.0 yarn add @magic-ext/oauth@15.6.1-canary.699.7495971903.0 yarn add @magic-ext/oidc@4.5.1-canary.699.7495971903.0 yarn add @magic-ext/polkadot@16.5.1-canary.699.7495971903.0 yarn add @magic-ext/react-native-bare-oauth@18.2.1-canary.699.7495971903.0 yarn add @magic-ext/react-native-expo-oauth@18.2.1-canary.699.7495971903.0 yarn add @magic-ext/solana@18.4.1-canary.699.7495971903.0 yarn add @magic-ext/taquito@13.5.1-canary.699.7495971903.0 yarn add @magic-ext/terra@13.5.1-canary.699.7495971903.0 yarn add @magic-ext/tezos@16.5.1-canary.699.7495971903.0 yarn add @magic-ext/webauthn@15.5.1-canary.699.7495971903.0 yarn add @magic-ext/zilliqa@16.5.1-canary.699.7495971903.0 yarn add @magic-sdk/commons@17.5.1-canary.699.7495971903.0 yarn add @magic-sdk/pnp@15.6.1-canary.699.7495971903.0 yarn add @magic-sdk/provider@21.5.1-canary.699.7495971903.0 yarn add @magic-sdk/react-native-bare@22.5.1-canary.699.7495971903.0 yarn add @magic-sdk/react-native-expo@22.5.1-canary.699.7495971903.0 yarn add @magic-sdk/types@17.3.1-canary.699.7495971903.0 yarn add magic-sdk@21.5.1-canary.699.7495971903.0 ```
svc-magic-git commented 7 months ago

:rocket: PR was released in @magic-ext/algorand@23.0.0, @magic-ext/aptos@11.0.0, @magic-ext/avalanche@23.0.0, @magic-ext/bitcoin@23.0.0, @magic-ext/conflux@21.0.0, @magic-ext/cosmos@23.0.0, @magic-ext/ed25519@19.0.0, @magic-ext/flow@23.0.0, @magic-ext/gdkms@11.0.0, @magic-ext/harmony@23.0.0, @magic-ext/icon@23.0.0, @magic-ext/near@23.0.0, @magic-ext/oauth2@9.0.0, @magic-ext/oauth@22.0.0, @magic-ext/oidc@11.0.0, @magic-ext/polkadot@23.0.0, @magic-ext/react-native-bare-oauth@25.0.0, @magic-ext/react-native-expo-oauth@25.0.0, @magic-ext/solana@25.0.0, @magic-ext/taquito@20.0.0, @magic-ext/terra@20.0.0, @magic-ext/tezos@23.0.0, @magic-ext/webauthn@22.0.0, @magic-ext/zilliqa@23.0.0, @magic-sdk/commons@24.0.0, @magic-sdk/pnp@22.0.0, @magic-sdk/provider@28.0.0, @magic-sdk/react-native-bare@29.0.0, @magic-sdk/react-native-expo@29.0.0, @magic-sdk/types@24.0.0, magic-sdk@28.0.0 :rocket: