@calimero-network/mero-js 23.6.0 → 23.7.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/dist/admin-api/admin-types.d.ts +14 -0
- package/dist/cloud/cloud-client.d.ts +5 -1
- package/dist/cloud/cloud-client.js +5 -1
- package/dist/index.browser.mjs.map +2 -2
- package/dist/index.cjs +5 -1
- package/dist/index.cjs.map +2 -2
- package/dist/index.mjs +5 -1
- package/dist/index.mjs.map +2 -2
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -6393,7 +6393,11 @@ var CloudClient = class {
|
|
|
6393
6393
|
* Pass merod's response object straight through. The cloud accepts core's
|
|
6394
6394
|
* `signerPublicKey`/`signedPayload` casing as well as snake_case, so there is
|
|
6395
6395
|
* no re-keying step — and getting that wrong used to surface as a `422`
|
|
6396
|
-
* naming three missing fields.
|
|
6396
|
+
* naming three missing fields. Passing it whole also carries the `founding`
|
|
6397
|
+
* and `credential` merod attaches: the cloud accepts a namespace proof only
|
|
6398
|
+
* from a node of the account that founded the namespace, checked with those
|
|
6399
|
+
* two, and only when that account is linked to this login. A node that
|
|
6400
|
+
* predates them, or an admin that did not found the namespace, gets a `422`.
|
|
6397
6401
|
*
|
|
6398
6402
|
* Idempotent for the same account. A namespace already claimed by someone
|
|
6399
6403
|
* else is a `409`; a replayed proof nonce is a `403`.
|