This repository has been archived by the owner on Jan 22, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: remove last references to Flow types in web3.js (#29061)
- Loading branch information
1 parent
a2aa10c
commit fcde8c8
Showing
2 changed files
with
0 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,8 +25,5 @@ doc | |
# `solana-test-validator` ledger location | ||
test-ledger/ | ||
|
||
# Flow | ||
module.flow.js | ||
|
||
# TypeScript | ||
declarations |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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/[email protected]/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) | ||
|