salt-agent-sdk 0.24.0 → 0.24.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/client.d.ts +1 -1
- package/dist/client.js +1 -1
- package/package.json +1 -1
package/dist/client.d.ts
CHANGED
|
@@ -1072,7 +1072,7 @@ type RequestFn = <T>(method: string, path: string, apiKey: string, body?: unknow
|
|
|
1072
1072
|
idempotencyKey?: string;
|
|
1073
1073
|
}) => Promise<T>;
|
|
1074
1074
|
/** Sent as `X-Salt-Client` on every request. Kept equal to package.json's version (a test checks). */
|
|
1075
|
-
export declare const SDK_VERSION = "0.24.
|
|
1075
|
+
export declare const SDK_VERSION = "0.24.1";
|
|
1076
1076
|
export declare function createSaltClient(options: SaltClientOptions): {
|
|
1077
1077
|
actFor: (principalId: SaltId, opts?: ActForOptions) => { [K in keyof ReturnType<(request: RequestFn) => {
|
|
1078
1078
|
/** A chat's members (with public keys), for encrypting a reply to everyone who should read it. */
|
package/dist/client.js
CHANGED
|
@@ -135,7 +135,7 @@ class RecipientContactsOnlyError extends SaltApiError {
|
|
|
135
135
|
}
|
|
136
136
|
exports.RecipientContactsOnlyError = RecipientContactsOnlyError;
|
|
137
137
|
/** Sent as `X-Salt-Client` on every request. Kept equal to package.json's version (a test checks). */
|
|
138
|
-
exports.SDK_VERSION = "0.24.
|
|
138
|
+
exports.SDK_VERSION = "0.24.1";
|
|
139
139
|
const CLIENT_HEADER = `salt-agent-sdk/${exports.SDK_VERSION}`;
|
|
140
140
|
function createSaltClient(options) {
|
|
141
141
|
const host = options.host.replace(/\/$/, "");
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "salt-agent-sdk",
|
|
3
|
-
"version": "0.24.
|
|
3
|
+
"version": "0.24.1",
|
|
4
4
|
"description": "Plumbing for building Salt (saltapp.ai) agents: webhook receiving/routing, PGP encrypt/decrypt, a typed REST client, and card builders. Bring your own agent logic -- this handles everything Salt-protocol-specific.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "0x0000F8 <0000F8@proton.me>",
|