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
457 stars 85 forks source link

[FEAT]: adding meta field to @magic-sdk magic constructor #708

Closed bengriffin1 closed 7 months ago

bengriffin1 commented 7 months ago

📦 Pull Request

Adding a meta field to the Magic constructor in the @magic-sdk package to allow arbitrary data to be sent to the Magic backend. Ping @bengriffin1 for more details.

✅ Fixed Issues

n/a

🚨 Test instructions

No test needed as of now

⚠️ 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@17.1.0-canary.708.7845477243.0 npm install @magic-ext/aptos@5.1.0-canary.708.7845477243.0 npm install @magic-ext/avalanche@17.1.0-canary.708.7845477243.0 npm install @magic-ext/bitcoin@17.1.0-canary.708.7845477243.0 npm install @magic-ext/conflux@15.1.0-canary.708.7845477243.0 npm install @magic-ext/cosmos@17.1.0-canary.708.7845477243.0 npm install @magic-ext/ed25519@13.1.0-canary.708.7845477243.0 npm install @magic-ext/flow@17.1.0-canary.708.7845477243.0 npm install @magic-ext/gdkms@5.1.0-canary.708.7845477243.0 npm install @magic-ext/harmony@17.1.0-canary.708.7845477243.0 npm install @magic-ext/icon@17.1.0-canary.708.7845477243.0 npm install @magic-ext/near@17.1.0-canary.708.7845477243.0 npm install @magic-ext/oauth@16.1.0-canary.708.7845477243.0 npm install @magic-ext/oidc@5.1.0-canary.708.7845477243.0 npm install @magic-ext/polkadot@17.1.0-canary.708.7845477243.0 npm install @magic-ext/react-native-bare-oauth@19.1.0-canary.708.7845477243.0 npm install @magic-ext/react-native-expo-oauth@19.1.0-canary.708.7845477243.0 npm install @magic-ext/solana@19.1.0-canary.708.7845477243.0 npm install @magic-ext/taquito@14.1.0-canary.708.7845477243.0 npm install @magic-ext/terra@14.1.0-canary.708.7845477243.0 npm install @magic-ext/tezos@17.1.0-canary.708.7845477243.0 npm install @magic-ext/webauthn@16.1.0-canary.708.7845477243.0 npm install @magic-ext/zilliqa@17.1.0-canary.708.7845477243.0 npm install @magic-sdk/commons@18.1.0-canary.708.7845477243.0 npm install @magic-sdk/pnp@16.1.0-canary.708.7845477243.0 npm install @magic-sdk/provider@22.1.0-canary.708.7845477243.0 npm install @magic-sdk/react-native-bare@23.1.0-canary.708.7845477243.0 npm install @magic-sdk/react-native-expo@23.1.0-canary.708.7845477243.0 npm install @magic-sdk/types@18.1.0-canary.708.7845477243.0 npm install magic-sdk@22.1.0-canary.708.7845477243.0 # or yarn add @magic-ext/algorand@17.1.0-canary.708.7845477243.0 yarn add @magic-ext/aptos@5.1.0-canary.708.7845477243.0 yarn add @magic-ext/avalanche@17.1.0-canary.708.7845477243.0 yarn add @magic-ext/bitcoin@17.1.0-canary.708.7845477243.0 yarn add @magic-ext/conflux@15.1.0-canary.708.7845477243.0 yarn add @magic-ext/cosmos@17.1.0-canary.708.7845477243.0 yarn add @magic-ext/ed25519@13.1.0-canary.708.7845477243.0 yarn add @magic-ext/flow@17.1.0-canary.708.7845477243.0 yarn add @magic-ext/gdkms@5.1.0-canary.708.7845477243.0 yarn add @magic-ext/harmony@17.1.0-canary.708.7845477243.0 yarn add @magic-ext/icon@17.1.0-canary.708.7845477243.0 yarn add @magic-ext/near@17.1.0-canary.708.7845477243.0 yarn add @magic-ext/oauth@16.1.0-canary.708.7845477243.0 yarn add @magic-ext/oidc@5.1.0-canary.708.7845477243.0 yarn add @magic-ext/polkadot@17.1.0-canary.708.7845477243.0 yarn add @magic-ext/react-native-bare-oauth@19.1.0-canary.708.7845477243.0 yarn add @magic-ext/react-native-expo-oauth@19.1.0-canary.708.7845477243.0 yarn add @magic-ext/solana@19.1.0-canary.708.7845477243.0 yarn add @magic-ext/taquito@14.1.0-canary.708.7845477243.0 yarn add @magic-ext/terra@14.1.0-canary.708.7845477243.0 yarn add @magic-ext/tezos@17.1.0-canary.708.7845477243.0 yarn add @magic-ext/webauthn@16.1.0-canary.708.7845477243.0 yarn add @magic-ext/zilliqa@17.1.0-canary.708.7845477243.0 yarn add @magic-sdk/commons@18.1.0-canary.708.7845477243.0 yarn add @magic-sdk/pnp@16.1.0-canary.708.7845477243.0 yarn add @magic-sdk/provider@22.1.0-canary.708.7845477243.0 yarn add @magic-sdk/react-native-bare@23.1.0-canary.708.7845477243.0 yarn add @magic-sdk/react-native-expo@23.1.0-canary.708.7845477243.0 yarn add @magic-sdk/types@18.1.0-canary.708.7845477243.0 yarn add magic-sdk@22.1.0-canary.708.7845477243.0 ```
Ariflo commented 7 months ago

:rocket: PR was released in @magic-ext/algorand@17.1.0, @magic-ext/aptos@5.1.0, @magic-ext/avalanche@17.1.0, @magic-ext/bitcoin@17.1.0, @magic-ext/conflux@15.1.0, @magic-ext/cosmos@17.1.0, @magic-ext/ed25519@13.1.0, @magic-ext/flow@17.1.0, @magic-ext/gdkms@5.1.0, @magic-ext/harmony@17.1.0, @magic-ext/icon@17.1.0, @magic-ext/near@17.1.0, @magic-ext/oauth@16.1.0, @magic-ext/oidc@5.1.0, @magic-ext/polkadot@17.1.0, @magic-ext/react-native-bare-oauth@19.1.0, @magic-ext/react-native-expo-oauth@19.1.0, @magic-ext/solana@19.1.0, @magic-ext/taquito@14.1.0, @magic-ext/terra@14.1.0, @magic-ext/tezos@17.1.0, @magic-ext/webauthn@16.1.0, @magic-ext/zilliqa@17.1.0, @magic-sdk/commons@18.1.0, @magic-sdk/pnp@16.1.0, @magic-sdk/provider@22.1.0, @magic-sdk/react-native-bare@23.1.0, @magic-sdk/react-native-expo@23.1.0, @magic-sdk/types@18.1.0, magic-sdk@22.1.0 :rocket: