@solana/web3.js 1.37.2 → 1.38.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -3
- package/package.json +2 -7
- package/module.flow.js +0 -4412
package/README.md
CHANGED
|
@@ -94,10 +94,11 @@ Example scripts for the Solana Program Library:
|
|
|
94
94
|
|
|
95
95
|
- [Token Program Examples](https://github.com/solana-labs/solana-program-library/tree/master/token/js/examples)
|
|
96
96
|
|
|
97
|
-
## Flow
|
|
97
|
+
## Flow Support (Discontinued)
|
|
98
98
|
|
|
99
|
-
|
|
100
|
-
https://
|
|
99
|
+
Flow types are no longer supported in new releases. The last release with Flow support is v1.37.2 and its
|
|
100
|
+
[Flow library definition](https://flow.org/en/docs/libdefs/) is provided at
|
|
101
|
+
https://unpkg.com/@solana/web3.js@v1.37.2/module.flow.js.
|
|
101
102
|
Download the file and add the following line under the [libs] section of your project's `.flowconfig` to
|
|
102
103
|
activate it:
|
|
103
104
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@solana/web3.js",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.38.0",
|
|
4
4
|
"description": "Solana Javascript API",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"api",
|
|
@@ -33,18 +33,15 @@
|
|
|
33
33
|
],
|
|
34
34
|
"files": [
|
|
35
35
|
"/lib",
|
|
36
|
-
"/module.flow.js",
|
|
37
36
|
"/src"
|
|
38
37
|
],
|
|
39
38
|
"scripts": {
|
|
40
|
-
"build": "npm run clean; cross-env NODE_ENV=production rollup -c; npm run type:gen
|
|
39
|
+
"build": "npm run clean; cross-env NODE_ENV=production rollup -c; npm run type:gen",
|
|
41
40
|
"build:fixtures": "set -ex; ./test/fixtures/noop-program/build.sh",
|
|
42
41
|
"clean": "rimraf ./coverage ./lib",
|
|
43
42
|
"codecov": "set -ex; npm run test:cover; cat ./coverage/lcov.info | codecov",
|
|
44
43
|
"dev": "cross-env NODE_ENV=development rollup -c",
|
|
45
44
|
"doc": "set -ex; typedoc --treatWarningsAsErrors",
|
|
46
|
-
"flow:check": "flow check-contents < module.flow.js",
|
|
47
|
-
"flow:gen": "flowgen lib/index.d.ts -o module.flow.js",
|
|
48
45
|
"type:gen": "./scripts/typegen.sh",
|
|
49
46
|
"lint": "set -ex; npm run pretty; eslint . --ext .js,.ts",
|
|
50
47
|
"lint:fix": "npm run pretty:fix && eslint . --fix --ext .js,.ts",
|
|
@@ -113,8 +110,6 @@
|
|
|
113
110
|
"eslint-plugin-mocha": "^9.0.0",
|
|
114
111
|
"eslint-plugin-prettier": "^4.0.0",
|
|
115
112
|
"esm": "^3.2.25",
|
|
116
|
-
"flow-bin": "^0.150.0",
|
|
117
|
-
"flowgen": "^1.13.0",
|
|
118
113
|
"http-server": "^14.0.0",
|
|
119
114
|
"mocha": "^8.2.1",
|
|
120
115
|
"mockttp": "^2.0.1",
|