Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: consider the provider ready after 15s even if the message hasn't arrived #760

Merged
merged 1 commit into from
Jul 11, 2024

Conversation

romin-halltari
Copy link
Contributor

@romin-halltari romin-halltari commented Jul 11, 2024

πŸ“¦ Pull Request

We expect the overlay to be ready within 15 seconds. Sometimes the message is not properly processed due to webview issues. In that case, after 15 seconds we consider the overlay ready, to avoid requests hanging forever.

βœ… Fixed Issues

  • [List any fixed issues here like: Fixes #XXXX]

🚨 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 🚨 of the following labels, failing to do so may lead to adverse versioning of your changes when published:

  • patch: Bug Fix?
  • minor: New Feature?
  • major: Breaking Change?
  • skip-release: It's unnecessary to publish this change.

Special Note

Please avoid adding any of the Priority labels as they conflict with the labels above ☝️

πŸ“¦ Published PR as canary version: Canary Versions

✨ Test out this PR locally via:

npm install @magic-ext/algorand@23.1.0-canary.760.9898019531.0
npm install @magic-ext/aptos@11.1.0-canary.760.9898019531.0
npm install @magic-ext/avalanche@23.1.0-canary.760.9898019531.0
npm install @magic-ext/bitcoin@23.1.0-canary.760.9898019531.0
npm install @magic-ext/conflux@21.1.0-canary.760.9898019531.0
npm install @magic-ext/cosmos@23.1.0-canary.760.9898019531.0
npm install @magic-ext/ed25519@19.1.0-canary.760.9898019531.0
npm install @magic-ext/farcaster@0.1.0-canary.760.9898019531.0
npm install @magic-ext/flow@23.1.0-canary.760.9898019531.0
npm install @magic-ext/gdkms@11.1.0-canary.760.9898019531.0
npm install @magic-ext/harmony@23.1.0-canary.760.9898019531.0
npm install @magic-ext/icon@23.1.0-canary.760.9898019531.0
npm install @magic-ext/near@23.1.0-canary.760.9898019531.0
npm install @magic-ext/oauth@22.1.0-canary.760.9898019531.0
npm install @magic-ext/oauth2@9.1.0-canary.760.9898019531.0
npm install @magic-ext/oidc@11.1.0-canary.760.9898019531.0
npm install @magic-ext/polkadot@23.1.0-canary.760.9898019531.0
npm install @magic-ext/react-native-bare-oauth@25.1.0-canary.760.9898019531.0
npm install @magic-ext/react-native-expo-oauth@25.1.0-canary.760.9898019531.0
npm install @magic-ext/solana@25.2.0-canary.760.9898019531.0
npm install @magic-ext/sui@0.2.0-canary.760.9898019531.0
npm install @magic-ext/taquito@20.1.0-canary.760.9898019531.0
npm install @magic-ext/terra@20.1.0-canary.760.9898019531.0
npm install @magic-ext/tezos@23.1.0-canary.760.9898019531.0
npm install @magic-ext/webauthn@22.1.0-canary.760.9898019531.0
npm install @magic-ext/zilliqa@23.1.0-canary.760.9898019531.0
npm install @magic-sdk/commons@24.1.0-canary.760.9898019531.0
npm install @magic-sdk/pnp@22.1.0-canary.760.9898019531.0
npm install @magic-sdk/provider@28.1.0-canary.760.9898019531.0
npm install @magic-sdk/react-native-bare@29.1.0-canary.760.9898019531.0
npm install @magic-sdk/react-native-expo@29.1.0-canary.760.9898019531.0
npm install magic-sdk@28.1.0-canary.760.9898019531.0
# or 
yarn add @magic-ext/algorand@23.1.0-canary.760.9898019531.0
yarn add @magic-ext/aptos@11.1.0-canary.760.9898019531.0
yarn add @magic-ext/avalanche@23.1.0-canary.760.9898019531.0
yarn add @magic-ext/bitcoin@23.1.0-canary.760.9898019531.0
yarn add @magic-ext/conflux@21.1.0-canary.760.9898019531.0
yarn add @magic-ext/cosmos@23.1.0-canary.760.9898019531.0
yarn add @magic-ext/ed25519@19.1.0-canary.760.9898019531.0
yarn add @magic-ext/farcaster@0.1.0-canary.760.9898019531.0
yarn add @magic-ext/flow@23.1.0-canary.760.9898019531.0
yarn add @magic-ext/gdkms@11.1.0-canary.760.9898019531.0
yarn add @magic-ext/harmony@23.1.0-canary.760.9898019531.0
yarn add @magic-ext/icon@23.1.0-canary.760.9898019531.0
yarn add @magic-ext/near@23.1.0-canary.760.9898019531.0
yarn add @magic-ext/oauth@22.1.0-canary.760.9898019531.0
yarn add @magic-ext/oauth2@9.1.0-canary.760.9898019531.0
yarn add @magic-ext/oidc@11.1.0-canary.760.9898019531.0
yarn add @magic-ext/polkadot@23.1.0-canary.760.9898019531.0
yarn add @magic-ext/react-native-bare-oauth@25.1.0-canary.760.9898019531.0
yarn add @magic-ext/react-native-expo-oauth@25.1.0-canary.760.9898019531.0
yarn add @magic-ext/solana@25.2.0-canary.760.9898019531.0
yarn add @magic-ext/sui@0.2.0-canary.760.9898019531.0
yarn add @magic-ext/taquito@20.1.0-canary.760.9898019531.0
yarn add @magic-ext/terra@20.1.0-canary.760.9898019531.0
yarn add @magic-ext/tezos@23.1.0-canary.760.9898019531.0
yarn add @magic-ext/webauthn@22.1.0-canary.760.9898019531.0
yarn add @magic-ext/zilliqa@23.1.0-canary.760.9898019531.0
yarn add @magic-sdk/commons@24.1.0-canary.760.9898019531.0
yarn add @magic-sdk/pnp@22.1.0-canary.760.9898019531.0
yarn add @magic-sdk/provider@28.1.0-canary.760.9898019531.0
yarn add @magic-sdk/react-native-bare@29.1.0-canary.760.9898019531.0
yarn add @magic-sdk/react-native-expo@29.1.0-canary.760.9898019531.0
yarn add magic-sdk@28.1.0-canary.760.9898019531.0

@romin-halltari romin-halltari added the minor Increment the minor version when merged label Jul 11, 2024
@romin-halltari romin-halltari self-assigned this Jul 11, 2024
@romin-halltari romin-halltari added this pull request to the merge queue Jul 11, 2024
Merged via the queue into master with commit d3c4840 Jul 11, 2024
5 of 6 checks passed
@romin-halltari romin-halltari deleted the rh-set-timeout-for-ready branch July 11, 2024 21:07
@svc-magic-git svc-magic-git added the released This issue/pull request has been released. label Jul 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
minor Increment the minor version when merged released This issue/pull request has been released.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants