@arcadiasystems/morse-uploader 0.2.0 → 0.2.1
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 +10 -0
- package/README.md +7 -4
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,16 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to `@arcadiasystems/morse-uploader` will be documented in this file. Format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/) and the project follows [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
4
4
|
|
|
5
|
+
## [0.2.1] - 2026-10-17
|
|
6
|
+
|
|
7
|
+
README fixes only. The README ships in the package, so these needed a release; no code changed.
|
|
8
|
+
|
|
9
|
+
### Fixed
|
|
10
|
+
|
|
11
|
+
- **"Notes on Walrus" still said mainnet was unsupported** and told readers to pass `network: "testnet"`. Morse has run on Walrus Mainnet since 2026-09-09, and "Limitations and roadmap" in the same README already said so. The stale line is gone.
|
|
12
|
+
- **The peer install named no versions**, so it pulled the latest majors of `@arcadiasystems/morse-sdk` and `@mysten/*`, outside `peerDependencies`. It now pins each to the tilde range equivalent to its peer range: `@arcadiasystems/morse-sdk@~0.8.1 @mysten/sui@~2.16.2 @mysten/walrus@~1.1.6 @mysten/seal@~1.1.3`.
|
|
13
|
+
- **The upload relay example would have been refused on Walrus Mainnet.** It had no `sendTip`, and `@mysten/walrus` sends no tip without one, while the Walrus Mainnet relay requires a tip. The example now passes `sendTip: { max: 10_000_000 }` (0.01 SUI), the cap `examples/web` uses.
|
|
14
|
+
|
|
5
15
|
## [0.2.0] - 2026-09-10
|
|
6
16
|
|
|
7
17
|
Mainnet support, via `@arcadiasystems/morse-sdk` 0.8.1.
|
package/README.md
CHANGED
|
@@ -16,8 +16,8 @@ npm install @arcadiasystems/morse-uploader
|
|
|
16
16
|
Peer dependencies (install in your app, pinned to the same ranges as `@arcadiasystems/morse-sdk` so you do not end up with duplicate Sui/Walrus/Seal instances):
|
|
17
17
|
|
|
18
18
|
```sh
|
|
19
|
-
npm install react react-dom @arcadiasystems/morse-sdk \
|
|
20
|
-
@mysten/sui @mysten/walrus @mysten/seal
|
|
19
|
+
npm install react react-dom @arcadiasystems/morse-sdk@~0.8.1 \
|
|
20
|
+
@mysten/sui@~2.16.2 @mysten/walrus@~1.1.6 @mysten/seal@~1.1.3
|
|
21
21
|
```
|
|
22
22
|
|
|
23
23
|
## Quick start
|
|
@@ -58,7 +58,11 @@ function FilesApp({ account }) {
|
|
|
58
58
|
// The relay host is per-network: swap testnet for mainnet when you do.
|
|
59
59
|
walrusWriteConfig: {
|
|
60
60
|
wasmUrl: walrusWasmUrl,
|
|
61
|
-
uploadRelay: {
|
|
61
|
+
uploadRelay: {
|
|
62
|
+
host: "https://upload-relay.testnet.walrus.space",
|
|
63
|
+
// Caps the per-upload tip the Walrus Mainnet relay charges, in MIST (0.01 SUI).
|
|
64
|
+
sendTip: { max: 10_000_000 },
|
|
65
|
+
},
|
|
62
66
|
},
|
|
63
67
|
// On mainnet, encrypted files also need your own Seal key servers.
|
|
64
68
|
// See "Seal on mainnet" below. Omit on testnet.
|
|
@@ -149,7 +153,6 @@ const parsed = parseShareLink(window.location.href);
|
|
|
149
153
|
|
|
150
154
|
- Storage is a **lease**, capped at 53 epochs ahead on both networks. An epoch is ~1 day on testnet and ~2 weeks on mainnet.
|
|
151
155
|
- Blobs are raw bytes with no filename or MIME type; this package stores the name and content type in the on-chain file record so downloads come back correctly named and typed.
|
|
152
|
-
- Mainnet is not yet supported by the SDK; pass `network: "testnet"`.
|
|
153
156
|
|
|
154
157
|
## Seal on mainnet
|
|
155
158
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arcadiasystems/morse-uploader",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.1",
|
|
4
4
|
"description": "Headless-first React components and hooks for encrypted file sharing on Sui and Walrus, built on morse-sdk.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Arcadia Systems",
|