@calimero-network/mero-js 33.3.1 → 34.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/dist/client/approvals.d.ts +9 -3
- package/dist/generated/api.d.ts +2540 -271
- package/dist/generated/methods.d.ts +152 -0
- package/dist/generated/methods.js +153 -1
- package/dist/index.browser.mjs +3 -3
- package/dist/index.browser.mjs.map +2 -2
- package/dist/index.cjs +153 -1
- package/dist/index.cjs.map +2 -2
- package/dist/index.mjs +153 -1
- package/dist/index.mjs.map +2 -2
- package/package.json +1 -1
|
@@ -325,7 +325,9 @@ export declare function pendingApprovalsFrom(report: AppsReport, rules: ReleaseR
|
|
|
325
325
|
*/
|
|
326
326
|
export declare function releaseConsent(scope: ReportScope, version: string, returnTo: string, options?: {
|
|
327
327
|
withdraw?: boolean;
|
|
328
|
-
}): ConsentRequest
|
|
328
|
+
}): ConsentRequest & {
|
|
329
|
+
kind: 'release';
|
|
330
|
+
};
|
|
329
331
|
/**
|
|
330
332
|
* The consent request that withdraws `version`'s approval for `scope`: nodes
|
|
331
333
|
* on it are then sent none of the scope's apps' data (nothing already there
|
|
@@ -333,9 +335,13 @@ export declare function releaseConsent(scope: ReportScope, version: string, retu
|
|
|
333
335
|
* last approved release is refused on the page (`400 REJECTED`, the request
|
|
334
336
|
* stays pending), and the page warns before.
|
|
335
337
|
*/
|
|
336
|
-
export declare function withdrawConsent(scope: ReportScope, version: string, returnTo: string): ConsentRequest
|
|
338
|
+
export declare function withdrawConsent(scope: ReportScope, version: string, returnTo: string): ConsentRequest & {
|
|
339
|
+
kind: 'release';
|
|
340
|
+
};
|
|
337
341
|
/** The consent request that upgrades `app` to `toVersion`. */
|
|
338
|
-
export declare function upgradeConsent(app: string, toVersion: string, returnTo: string): ConsentRequest
|
|
342
|
+
export declare function upgradeConsent(app: string, toVersion: string, returnTo: string): ConsentRequest & {
|
|
343
|
+
kind: 'upgrade';
|
|
344
|
+
};
|
|
339
345
|
/** The consent request that creates an organization named `name`; its outcome names the new `orgId`. */
|
|
340
346
|
export declare function createOrgConsent(name: string, returnTo: string): ConsentRequest & {
|
|
341
347
|
kind: 'createOrg';
|