@calimero-network/mero-js 8.0.0 → 9.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.
|
@@ -286,6 +286,8 @@ export interface Namespace {
|
|
|
286
286
|
namespaceId: string;
|
|
287
287
|
appKey: string;
|
|
288
288
|
targetApplicationId: string;
|
|
289
|
+
/** @deprecated Always `"LazyOnAccess"`. Core keeps the key only for the
|
|
290
|
+
* released Python client and drops it once that floor moves. */
|
|
289
291
|
upgradePolicy: string;
|
|
290
292
|
createdAt: number;
|
|
291
293
|
name?: string;
|
|
@@ -304,11 +306,8 @@ export interface NamespaceIdentity {
|
|
|
304
306
|
namespaceId: string;
|
|
305
307
|
publicKey: string;
|
|
306
308
|
}
|
|
307
|
-
/** Core's `UpgradePolicy` enum — how a namespace/group adopts new app versions. */
|
|
308
|
-
export type UpgradePolicy = 'Automatic' | 'LazyOnAccess';
|
|
309
309
|
export interface CreateNamespaceRequest {
|
|
310
310
|
applicationId: string;
|
|
311
|
-
upgradePolicy: UpgradePolicy;
|
|
312
311
|
name?: string;
|
|
313
312
|
/** Hex 32-byte blob id; pins the namespace to a specific installed version. */
|
|
314
313
|
appKey?: string;
|
|
@@ -356,7 +355,6 @@ export interface SubgroupEntry {
|
|
|
356
355
|
}
|
|
357
356
|
export interface CreateGroupRequest {
|
|
358
357
|
applicationId: string;
|
|
359
|
-
upgradePolicy: string;
|
|
360
358
|
groupId?: string;
|
|
361
359
|
appKey?: string;
|
|
362
360
|
name?: string;
|
|
@@ -425,6 +423,8 @@ export interface GroupInfo {
|
|
|
425
423
|
groupId: string;
|
|
426
424
|
appKey: string;
|
|
427
425
|
targetApplicationId: string;
|
|
426
|
+
/** @deprecated Always `"LazyOnAccess"`. Core keeps the key only for the
|
|
427
|
+
* released Python client and drops it once that floor moves. */
|
|
428
428
|
upgradePolicy: string;
|
|
429
429
|
memberCount: number;
|
|
430
430
|
contextCount: number;
|