@solana/web3.js 2.0.0-preview.3.20240702175219.c49f5ce8c16b87ff069d4472837900a7f9b39326 → 2.0.0-preview.4
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +3 -3
- package/dist/index.development.js +1 -1
- package/dist/index.development.js.map +1 -1
- package/dist/index.production.min.js +51 -51
- package/package.json +18 -18
package/README.md
CHANGED
@@ -34,17 +34,17 @@ In response to your feedback, we began a process of modernizing the library to p
|
|
34
34
|
### For use in Node.js or a web application
|
35
35
|
|
36
36
|
```shell
|
37
|
-
npm install --save @solana/web3.js@
|
37
|
+
npm install --save @solana/web3.js@tp4
|
38
38
|
```
|
39
39
|
|
40
40
|
### For use in a browser, without a build system
|
41
41
|
|
42
42
|
```html
|
43
43
|
<!-- Development (debug mode, unminified) -->
|
44
|
-
<script src="https://unpkg.com/@solana/web3.js@
|
44
|
+
<script src="https://unpkg.com/@solana/web3.js@tp4/dist/index.development.js"></script>
|
45
45
|
|
46
46
|
<!-- Production (minified) -->
|
47
|
-
<script src="https://unpkg.com/@solana/web3.js@
|
47
|
+
<script src="https://unpkg.com/@solana/web3.js@tp4/dist/index.production.min.js"></script>
|
48
48
|
```
|
49
49
|
|
50
50
|
What follows is an overview of _why_ the library was re-engineered, what changes have been introduced, and how the JavaScript landscape might look across Solana in the near future.
|
@@ -3949,7 +3949,7 @@ this.globalThis.solanaWeb3 = (function (exports) {
|
|
3949
3949
|
...config.headers ? normalizeHeaders2(config.headers) : void 0,
|
3950
3950
|
...{
|
3951
3951
|
// Keep these headers lowercase so they will override any user-supplied headers above.
|
3952
|
-
"solana-client": (_a = `js/${"2.0.0-preview.
|
3952
|
+
"solana-client": (_a = `js/${"2.0.0-preview.4"}`) != null ? _a : "UNKNOWN"
|
3953
3953
|
}
|
3954
3954
|
}
|
3955
3955
|
}),
|