@mysten/walrus 1.2.1 → 1.2.3
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/CHANGELOG.md +4 -0
- package/docs/index.md +6 -0
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
package/docs/index.md
CHANGED
|
@@ -552,6 +552,12 @@ const nextConfig: NextConfig = {
|
|
|
552
552
|
};
|
|
553
553
|
```
|
|
554
554
|
|
|
555
|
+
This is the same setting for both the webpack and Turbopack (`next dev --turbo`) bundlers. Without
|
|
556
|
+
it, bundling the WASM loader into a server route can break how it locates the binary at runtime;
|
|
557
|
+
Turbopack in particular surfaces this as a virtualized path such as `/ROOT/...`. If you cannot use
|
|
558
|
+
`serverExternalPackages`, point `wasmUrl` at the web build as shown in the Vite example above, which
|
|
559
|
+
resolves the binary through `import.meta.url` instead of the filesystem.
|
|
560
|
+
|
|
555
561
|
## Known fetch limitations
|
|
556
562
|
|
|
557
563
|
- Some nodes can be slow to respond. When running in Node.js, the default `connectTimeout` is 10
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mysten/walrus",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.3",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Walrus SDK",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -46,12 +46,12 @@
|
|
|
46
46
|
},
|
|
47
47
|
"dependencies": {
|
|
48
48
|
"dataloader": "^2.2.3",
|
|
49
|
+
"@mysten/bcs": "^2.1.0",
|
|
49
50
|
"@mysten/utils": "^0.4.0",
|
|
50
|
-
"@mysten/walrus-wasm": "^0.3.0"
|
|
51
|
-
"@mysten/bcs": "^2.1.0"
|
|
51
|
+
"@mysten/walrus-wasm": "^0.3.0"
|
|
52
52
|
},
|
|
53
53
|
"peerDependencies": {
|
|
54
|
-
"@mysten/sui": "^2.
|
|
54
|
+
"@mysten/sui": "^2.20.1"
|
|
55
55
|
},
|
|
56
56
|
"scripts": {
|
|
57
57
|
"clean": "rm -rf tsconfig.tsbuildinfo ./dist",
|