@terminal3/t3n-sdk 4.0.3 → 4.1.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/cli/index.js +1 -1
- package/dist/index.d.ts +13 -0
- package/dist/index.esm.js +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -2456,11 +2456,24 @@ declare function compactDidFromBytes(bytes: Uint8Array): string;
|
|
|
2456
2456
|
interface CreatePolicyInput {
|
|
2457
2457
|
orgDid: string;
|
|
2458
2458
|
initialAdminDid: string;
|
|
2459
|
+
/**
|
|
2460
|
+
* Maximum number of admins for the org (`u32`). Optional — **defaults to
|
|
2461
|
+
* `16`** when omitted at create time. The contract enforces a **hard ceiling
|
|
2462
|
+
* of `64`** (`MaxAdminsExceedsHardCap`) and rejects a value below the current
|
|
2463
|
+
* admin-list length (`AdminLimitExceeded`).
|
|
2464
|
+
*/
|
|
2459
2465
|
maxAdmins?: number;
|
|
2460
2466
|
}
|
|
2461
2467
|
interface UpdateMetaInput {
|
|
2462
2468
|
orgDid: string;
|
|
2463
2469
|
admins: string[];
|
|
2470
|
+
/**
|
|
2471
|
+
* Maximum number of admins for the org (`u32`). Optional — when omitted, the
|
|
2472
|
+
* org's **current cap is preserved** (it is not reset to the default). Same
|
|
2473
|
+
* contract bounds as at create time: hard ceiling of `64`
|
|
2474
|
+
* (`MaxAdminsExceedsHardCap`), and the value must be ≥ the new admin-list
|
|
2475
|
+
* length (`AdminLimitExceeded`).
|
|
2476
|
+
*/
|
|
2464
2477
|
maxAdmins?: number;
|
|
2465
2478
|
/**
|
|
2466
2479
|
* Per-org ceiling on delegation-credential validity (seconds).
|