@terminal3/t3n-sdk 3.12.6 → 3.12.7
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/index.d.ts +12 -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
|
@@ -3257,6 +3257,18 @@ interface TenantClientConfig {
|
|
|
3257
3257
|
environment?: TenantSdkEnvironment;
|
|
3258
3258
|
/** Node URL for `getScriptVersion` during business contract execution. Falls back to `baseUrl`. */
|
|
3259
3259
|
endpoint?: string;
|
|
3260
|
+
/**
|
|
3261
|
+
* Authenticated base client the TenantClient dispatches RPCs through.
|
|
3262
|
+
* **Optional**, but required by every operation that issues a control or
|
|
3263
|
+
* business RPC: all `tenant.*` and `maps.*` helpers,
|
|
3264
|
+
* `contracts.register`/`publish`/`disable`/`enable`/`unregister`/`execute`,
|
|
3265
|
+
* and `token.getUsage` (which additionally needs a full authenticated
|
|
3266
|
+
* `T3nClient` exposing `getUsage`). Those throw
|
|
3267
|
+
* `"TenantClient config requires t3n ..."` at call time when it is absent.
|
|
3268
|
+
* Operations that do NOT need `t3n`: `admitForOrg` (signed cluster-admin call
|
|
3269
|
+
* over `fetch`), `executeBusinessContract` (dispatches through the `session`
|
|
3270
|
+
* argument), and pure config accessors such as `getEnvironment`.
|
|
3271
|
+
*/
|
|
3260
3272
|
t3n?: TenantBaseClient;
|
|
3261
3273
|
baseUrl?: string;
|
|
3262
3274
|
tenantDid?: string;
|