@calimero-network/mero-react 11.1.4 → 11.1.5
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 +14 -4
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
# @calimero-network/mero-react
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
**Your app's whole backend, like Firebase. Except nobody can read your data, not even us.** [Calimero](https://calimero-network.github.io/core/) gives an app auth (passkeys, sessions, scoped API keys), a database (replicated app state), functions (Rust app methods), realtime events and presence, sealed blob storage, hosting for its frontend and typed clients, all running inside attested Intel TDX hardware. Clients verify a node's attestation against Sigstore-signed releases before they send it anything, then talk to it over a sealed Noise channel.
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
**mero-react** is the React layer over [mero-js](https://github.com/calimero-network/mero-js): a `<MeroProvider>` that holds one mero-js `CalimeroClient` (and its generated method groups `client.apps`, `client.orgs`, `client.auth`, ...), plus hooks and components on top of it:
|
|
6
6
|
|
|
7
|
-
- passkey sign-in and sign-up;
|
|
7
|
+
- passkey sign-in and sign-up (`ConnectButton`, `LoginModal`);
|
|
8
8
|
- sessions that refresh by themselves;
|
|
9
9
|
- calls, views and live events on an app instance;
|
|
10
10
|
- organizations, teams and invites;
|
|
11
11
|
- the node's consent page for approvals;
|
|
12
12
|
- blobs and presence;
|
|
13
|
+
- passkeys and API keys for the signed-in account;
|
|
13
14
|
- typed errors your UI can switch on.
|
|
14
15
|
|
|
15
16
|
> **Upgrading from 10.x?** 11.0 is a rewrite for core 1.0, which removed `/admin-api`, `/jsonrpc`, `/ws`, `/sse`, mero-auth and `/auth/token`. Read [Migrating from 10.x](#migrating-from-10x) below.
|
|
@@ -22,7 +23,7 @@ A 1.0 node runs in an attested TDX cluster. The client verifies the node's attes
|
|
|
22
23
|
pnpm add @calimero-network/mero-react
|
|
23
24
|
```
|
|
24
25
|
|
|
25
|
-
`@calimero-network/mero-js` (^
|
|
26
|
+
`@calimero-network/mero-js` (^33) comes with it, and every mero-js export is re-exported, so apps need only this import. React 18 or 19 is a peer dependency.
|
|
26
27
|
|
|
27
28
|
## Quick start
|
|
28
29
|
|
|
@@ -346,6 +347,15 @@ core 1.0 is a different node, and mero-js 28 is a different client, so 11.0 is a
|
|
|
346
347
|
- local-node discovery: `discoverLocalNodes`;
|
|
347
348
|
- desktop (Tauri): `isDesktopWindow`.
|
|
348
349
|
|
|
350
|
+
## Related repositories
|
|
351
|
+
|
|
352
|
+
- [core](https://github.com/calimero-network/core): the node (`merod`), the Rust SDK for apps and `meroctl`; [docs](https://calimero-network.github.io/core/).
|
|
353
|
+
- [mero-tee](https://github.com/calimero-network/mero-tee): the TDX images nodes boot and the key service; its releases publish the measurements clients check attestation against (`minReleaseVersion`).
|
|
354
|
+
- [app-registry](https://github.com/calimero-network/app-registry): where signed app packages are published and clusters install them from.
|
|
355
|
+
- [mero-js](https://github.com/calimero-network/mero-js): the JavaScript/TypeScript client this package wraps and re-exports.
|
|
356
|
+
- [calimero-client-py](https://github.com/calimero-network/calimero-client-py), [swift-sdk](https://github.com/calimero-network/swift-sdk), [kotlin-sdk](https://github.com/calimero-network/kotlin-sdk): the Python, Swift and Android (Kotlin) clients.
|
|
357
|
+
- [apps](https://github.com/calimero-network/apps): example apps.
|
|
358
|
+
|
|
349
359
|
## License
|
|
350
360
|
|
|
351
361
|
MIT
|