@calimero-network/mero-js 22.3.0 → 22.5.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 CHANGED
@@ -140,6 +140,15 @@ and a node too old to report a role needs an admin of the namespace to grant it
140
140
  which folds that rule in, and otherwise throws saying which of those is missing —
141
141
  naming the account that needs the grant when that is the fix.
142
142
 
143
+ A keyholder can also **create** a context through a relay:
144
+ `relay.createContext({ groupId, applicationId, initArgs })` signs a creation
145
+ warrant (checked against *your* `CAN_CREATE_CONTEXT`, not the relay's) and
146
+ returns the new `contextId`.
147
+
148
+ And it can **govern** through one: `relay.govern({ groupId, op })` signs a
149
+ governance warrant over one op, such as `memberAddedOp(account, 'Member')` or
150
+ `groupCreatedOp({ ... })`, and every peer applies it under *your* rights.
151
+
143
152
  See the [cloud client](https://calimero-network.github.io/mero-js/reference/cloud/),
144
153
  [relay client](https://calimero-network.github.io/mero-js/reference/relay/) and
145
154
  [connectCloud](https://calimero-network.github.io/mero-js/reference/connect-cloud/)