@solana/web3.js 1.47.2 → 1.48.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 -11
- package/lib/index.browser.cjs.js +521 -214
- package/lib/index.browser.cjs.js.map +1 -1
- package/lib/index.browser.esm.js +519 -215
- package/lib/index.browser.esm.js.map +1 -1
- package/lib/index.cjs.js +521 -214
- package/lib/index.cjs.js.map +1 -1
- package/lib/index.d.ts +317 -224
- package/lib/index.esm.js +519 -215
- package/lib/index.esm.js.map +1 -1
- package/lib/index.iife.js +601 -294
- package/lib/index.iife.js.map +1 -1
- package/lib/index.iife.min.js +3 -3
- package/lib/index.iife.min.js.map +1 -1
- package/lib/index.native.js +10314 -0
- package/lib/index.native.js.map +1 -0
- package/package.json +3 -1
- package/src/__forks__/react-native/fetch-impl.ts +4 -0
- package/src/address-lookup-table-program.ts +433 -0
- package/src/connection.ts +26 -11
- package/src/index.ts +1 -0
- package/src/layout.ts +16 -4
- package/src/transaction.ts +18 -10
- package/src/util/__forks__/react-native/url-impl.ts +2 -0
- package/src/util/{url.ts → makeWebsocketUrl.ts} +2 -0
- package/src/util/url-impl.ts +2 -0
package/README.md
CHANGED
|
@@ -23,7 +23,10 @@
|
|
|
23
23
|
|
|
24
24
|
This is the Solana Javascript API built on the Solana [JSON RPC API](https://docs.solana.com/apps/jsonrpc-api)
|
|
25
25
|
|
|
26
|
-
|
|
26
|
+
## Documentation and examples
|
|
27
|
+
|
|
28
|
+
- [The Solana Cookbook](https://solanacookbook.com/) has extensive task-based documentation using this library.
|
|
29
|
+
- For more detail on individual functions, see the [latest API Documentation](https://solana-labs.github.io/solana-web3.js/)
|
|
27
30
|
|
|
28
31
|
## Installation
|
|
29
32
|
|
|
@@ -84,16 +87,6 @@ console.log(solanaWeb3);
|
|
|
84
87
|
console.log(solanaWeb3);
|
|
85
88
|
```
|
|
86
89
|
|
|
87
|
-
## Examples
|
|
88
|
-
|
|
89
|
-
Example scripts for the web3.js repo and native programs:
|
|
90
|
-
|
|
91
|
-
- [Web3 Examples](https://github.com/solana-labs/solana/tree/master/web3.js/examples)
|
|
92
|
-
|
|
93
|
-
Example scripts for the Solana Program Library:
|
|
94
|
-
|
|
95
|
-
- [Token Program Examples](https://github.com/solana-labs/solana-program-library/tree/master/token/js/examples)
|
|
96
|
-
|
|
97
90
|
## Flow Support (Discontinued)
|
|
98
91
|
|
|
99
92
|
Flow types are no longer supported in new releases. The last release with Flow support is v1.37.2 and its
|