@mysten/walrus 0.0.15 → 0.0.16
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 +8 -0
- package/README.md +10 -0
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
@@ -229,6 +229,16 @@ const walrusClient = new WalrusClient({
|
|
|
229
229
|
});
|
|
230
230
|
```
|
|
231
231
|
|
|
232
|
+
In next.js when using walrus in API routes, you may need to tell next.js to skip bundling for the
|
|
233
|
+
walrus packages:
|
|
234
|
+
|
|
235
|
+
```ts
|
|
236
|
+
// next.config.ts
|
|
237
|
+
const nextConfig: NextConfig = {
|
|
238
|
+
serverExternalPackages: ['@mysten/walrus', '@mysten/walrus-wasm'],
|
|
239
|
+
};
|
|
240
|
+
```
|
|
241
|
+
|
|
232
242
|
### Known fetch limitations you might run into
|
|
233
243
|
|
|
234
244
|
- Some nodes can be slow to respond. When running in node, the default connectTimeout is 10 seconds
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mysten/walrus",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.16",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Walrus SDK",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"dataloader": "^2.2.3",
|
|
47
47
|
"@mysten/bcs": "1.6.0",
|
|
48
48
|
"@mysten/sui": "1.27.1",
|
|
49
|
-
"@mysten/walrus-wasm": "0.0.
|
|
49
|
+
"@mysten/walrus-wasm": "0.0.6"
|
|
50
50
|
},
|
|
51
51
|
"scripts": {
|
|
52
52
|
"clean": "rm -rf tsconfig.tsbuildinfo ./dist",
|