chore: remove last references to Flow types in web3.js (#29061)

This commit is contained in:
Steven Luscher 2022-12-02 16:56:34 -08:00 committed by GitHub
parent a2aa10c3c4
commit fcde8c8366
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 16 deletions

3
web3.js/.gitignore vendored
View File

@ -25,8 +25,5 @@ doc
# `solana-test-validator` ledger location
test-ledger/
# Flow
module.flow.js
# TypeScript
declarations

View File

@ -102,19 +102,6 @@ This library requires a JavaScript runtime that supports [`BigInt`](https://deve
- React Native:
- \>=0.7.0 using the [Hermes](https://reactnative.dev/blog/2022/07/08/hermes-as-the-default) engine ([integration guide](https://solanacookbook.com/integrations/react-native.html#how-to-use-solana-web3-js-in-a-react-native-app)):
## Flow Support (Discontinued)
Flow types are no longer supported in new releases. The last release with Flow support is v1.37.2 and its
[Flow library definition](https://flow.org/en/docs/libdefs/) is provided at
https://unpkg.com/@solana/web3.js@v1.37.2/module.flow.js.
Download the file and add the following line under the [libs] section of your project's `.flowconfig` to
activate it:
```ini
[libs]
node_modules/@solana/web3.js/module.flow.js
```
## Releases
Releases are available on [Github](https://github.com/solana-labs/solana-web3.js/releases)