@terminal3/t3n-sdk 4.16.0 → 4.16.1
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 +6 -9
- package/dist/index.esm.js +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1883,11 +1883,9 @@ declare class T3nClient {
|
|
|
1883
1883
|
* Like {@link getAuditEvents} / {@link execute}, this runs the
|
|
1884
1884
|
* session-payload encryption: balance and ledger history are
|
|
1885
1885
|
* self-only data, so the request params and response are sealed to
|
|
1886
|
-
* the session key rather than sent plaintext over TLS.
|
|
1887
|
-
* the
|
|
1888
|
-
*
|
|
1889
|
-
* de-fanged on this endpoint until the sealed shape becomes
|
|
1890
|
-
* mandatory.)
|
|
1886
|
+
* the session key rather than sent plaintext over TLS. The node
|
|
1887
|
+
* **requires** the sealed shape — a bare `Session-Id` without a blob
|
|
1888
|
+
* that opens under the session key is rejected.
|
|
1891
1889
|
*/
|
|
1892
1890
|
getUsage(opts?: GetUsageOptions): Promise<UsagePage>;
|
|
1893
1891
|
/**
|
|
@@ -1897,10 +1895,9 @@ declare class T3nClient {
|
|
|
1897
1895
|
* session-payload encryption: the balance is self-only data, so the
|
|
1898
1896
|
* request (an empty sealed blob showing possession of the session
|
|
1899
1897
|
* key) and the response are sealed to the session key rather than
|
|
1900
|
-
* sent plaintext over TLS.
|
|
1901
|
-
*
|
|
1902
|
-
*
|
|
1903
|
-
* needed.
|
|
1898
|
+
* sent plaintext over TLS. The node **requires** the sealed shape — a
|
|
1899
|
+
* bare `Session-Id` is not enough. Prefer this over reading
|
|
1900
|
+
* `getUsage().balance` when only the credit row is needed.
|
|
1904
1901
|
*/
|
|
1905
1902
|
getBalance(): Promise<BalanceRow>;
|
|
1906
1903
|
/**
|