@calimero-network/mero-js 18.2.0 → 19.0.0
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 +47 -0
- package/dist/admin-api/admin-client.d.ts +22 -1
- package/dist/admin-api/admin-client.js +27 -1
- package/dist/admin-api/admin-types.d.ts +34 -0
- package/dist/capabilities.d.ts +14 -2
- package/dist/capabilities.js +15 -3
- package/dist/cloud/cloud-client.d.ts +264 -0
- package/dist/cloud/cloud-client.js +319 -1
- package/dist/cloud/connect.d.ts +94 -0
- package/dist/cloud/connect.js +150 -0
- package/dist/cloud/index.d.ts +3 -1
- package/dist/cloud/index.js +1 -0
- package/dist/index.browser.mjs +2 -2
- package/dist/index.browser.mjs.map +4 -4
- package/dist/index.cjs +664 -30
- package/dist/index.cjs.map +3 -3
- package/dist/index.d.ts +1 -0
- package/dist/index.js +3 -1
- package/dist/index.mjs +664 -30
- package/dist/index.mjs.map +3 -3
- package/dist/mero-js.d.ts +28 -0
- package/dist/mero-js.js +17 -0
- package/dist/relay/index.d.ts +4 -0
- package/dist/relay/index.js +2 -0
- package/dist/relay/nonce-source.d.ts +60 -0
- package/dist/relay/nonce-source.js +95 -0
- package/dist/relay/relay-client.d.ts +141 -0
- package/dist/relay/relay-client.js +157 -0
- package/dist/warrant/warrant.d.ts +89 -10
- package/dist/warrant/warrant.js +109 -12
- package/package.json +2 -1
package/dist/index.d.ts
CHANGED
|
@@ -15,6 +15,7 @@ export type { SseEventData, WsEventData, AppVersionChangedEvent, GroupMembership
|
|
|
15
15
|
export { EphemeralClient, jsonCodec } from './ephemeral/index.js';
|
|
16
16
|
export type { Codec, EphemeralEntry } from './ephemeral/index.js';
|
|
17
17
|
export * from './cloud/index.js';
|
|
18
|
+
export * from './relay/index.js';
|
|
18
19
|
export { signWarrant, intentHash } from './warrant/index.js';
|
|
19
20
|
export { signDeviceCert, mintDeviceId, deviceCertPayload, accountForRoot, } from './device-cert/index.js';
|
|
20
21
|
export type { DeviceCertInput } from './device-cert/index.js';
|
package/dist/index.js
CHANGED
|
@@ -18,8 +18,10 @@ export { RpcClient, RpcError } from './rpc/index.js';
|
|
|
18
18
|
export { SseClient, WsClient } from './events/index.js';
|
|
19
19
|
// Ephemeral presence (cursors / typing / online)
|
|
20
20
|
export { EphemeralClient, jsonCodec } from './ephemeral/index.js';
|
|
21
|
-
// Cloud client
|
|
21
|
+
// Cloud client — namespaces, relays, HA, and the cloud sign-in path
|
|
22
22
|
export * from './cloud/index.js';
|
|
23
|
+
// Relay client — write through delegated execution, holding only a signing key
|
|
24
|
+
export * from './relay/index.js';
|
|
23
25
|
// Warrant signing — mint the author's consent for a relay to run one intent
|
|
24
26
|
export { signWarrant, intentHash } from './warrant/index.js';
|
|
25
27
|
export { signDeviceCert, mintDeviceId, deviceCertPayload, accountForRoot, } from './device-cert/index.js';
|