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

Add new "Product Announcement" Relayer Message Type #718

Closed Ariflo closed 5 months ago

Ariflo commented 5 months ago

📦 Pull Request

Relates to work done on PR https://github.com/magiclabs/magic-js/pull/716. Here we utilize a new MAGIC_SEND_PRODUCT_ANNOUNCEMENT type to have announcements logged and controlled from the relayer side.

✅ Fixed Issues

n/a

🚨 Test instructions

Run https://github.com/magiclabs/react-native-demo app locally and follow the instructions set here to test.

⚠️ 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@18.1.0-canary.718.8058420158.0 npm install @magic-ext/aptos@6.1.0-canary.718.8058420158.0 npm install @magic-ext/avalanche@18.1.0-canary.718.8058420158.0 npm install @magic-ext/bitcoin@18.1.0-canary.718.8058420158.0 npm install @magic-ext/conflux@16.1.0-canary.718.8058420158.0 npm install @magic-ext/cosmos@18.1.0-canary.718.8058420158.0 npm install @magic-ext/ed25519@14.1.0-canary.718.8058420158.0 npm install @magic-ext/flow@18.1.0-canary.718.8058420158.0 npm install @magic-ext/gdkms@6.1.0-canary.718.8058420158.0 npm install @magic-ext/harmony@18.1.0-canary.718.8058420158.0 npm install @magic-ext/icon@18.1.0-canary.718.8058420158.0 npm install @magic-ext/near@18.1.0-canary.718.8058420158.0 npm install @magic-ext/oauth@17.1.0-canary.718.8058420158.0 npm install @magic-ext/oauth2@2.1.0-canary.718.8058420158.0 npm install @magic-ext/oidc@6.1.0-canary.718.8058420158.0 npm install @magic-ext/polkadot@18.1.0-canary.718.8058420158.0 npm install @magic-ext/react-native-bare-oauth@20.1.0-canary.718.8058420158.0 npm install @magic-ext/react-native-expo-oauth@20.1.0-canary.718.8058420158.0 npm install @magic-ext/solana@20.1.0-canary.718.8058420158.0 npm install @magic-ext/taquito@15.1.0-canary.718.8058420158.0 npm install @magic-ext/terra@15.1.0-canary.718.8058420158.0 npm install @magic-ext/tezos@18.1.0-canary.718.8058420158.0 npm install @magic-ext/webauthn@17.1.0-canary.718.8058420158.0 npm install @magic-ext/zilliqa@18.1.0-canary.718.8058420158.0 npm install @magic-sdk/commons@19.1.0-canary.718.8058420158.0 npm install @magic-sdk/pnp@17.1.0-canary.718.8058420158.0 npm install @magic-sdk/provider@23.1.0-canary.718.8058420158.0 npm install @magic-sdk/react-native-bare@24.1.0-canary.718.8058420158.0 npm install @magic-sdk/react-native-expo@24.1.0-canary.718.8058420158.0 npm install @magic-sdk/types@19.1.0-canary.718.8058420158.0 npm install magic-sdk@23.1.0-canary.718.8058420158.0 # or yarn add @magic-ext/algorand@18.1.0-canary.718.8058420158.0 yarn add @magic-ext/aptos@6.1.0-canary.718.8058420158.0 yarn add @magic-ext/avalanche@18.1.0-canary.718.8058420158.0 yarn add @magic-ext/bitcoin@18.1.0-canary.718.8058420158.0 yarn add @magic-ext/conflux@16.1.0-canary.718.8058420158.0 yarn add @magic-ext/cosmos@18.1.0-canary.718.8058420158.0 yarn add @magic-ext/ed25519@14.1.0-canary.718.8058420158.0 yarn add @magic-ext/flow@18.1.0-canary.718.8058420158.0 yarn add @magic-ext/gdkms@6.1.0-canary.718.8058420158.0 yarn add @magic-ext/harmony@18.1.0-canary.718.8058420158.0 yarn add @magic-ext/icon@18.1.0-canary.718.8058420158.0 yarn add @magic-ext/near@18.1.0-canary.718.8058420158.0 yarn add @magic-ext/oauth@17.1.0-canary.718.8058420158.0 yarn add @magic-ext/oauth2@2.1.0-canary.718.8058420158.0 yarn add @magic-ext/oidc@6.1.0-canary.718.8058420158.0 yarn add @magic-ext/polkadot@18.1.0-canary.718.8058420158.0 yarn add @magic-ext/react-native-bare-oauth@20.1.0-canary.718.8058420158.0 yarn add @magic-ext/react-native-expo-oauth@20.1.0-canary.718.8058420158.0 yarn add @magic-ext/solana@20.1.0-canary.718.8058420158.0 yarn add @magic-ext/taquito@15.1.0-canary.718.8058420158.0 yarn add @magic-ext/terra@15.1.0-canary.718.8058420158.0 yarn add @magic-ext/tezos@18.1.0-canary.718.8058420158.0 yarn add @magic-ext/webauthn@17.1.0-canary.718.8058420158.0 yarn add @magic-ext/zilliqa@18.1.0-canary.718.8058420158.0 yarn add @magic-sdk/commons@19.1.0-canary.718.8058420158.0 yarn add @magic-sdk/pnp@17.1.0-canary.718.8058420158.0 yarn add @magic-sdk/provider@23.1.0-canary.718.8058420158.0 yarn add @magic-sdk/react-native-bare@24.1.0-canary.718.8058420158.0 yarn add @magic-sdk/react-native-expo@24.1.0-canary.718.8058420158.0 yarn add @magic-sdk/types@19.1.0-canary.718.8058420158.0 yarn add magic-sdk@23.1.0-canary.718.8058420158.0 ```
svc-magic-git commented 5 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: