@stackable-labs/sdk-extension-contracts 1.85.0 → 1.86.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/index.d.ts +3 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -465,10 +465,12 @@ interface ContextData {
|
|
|
465
465
|
customerName?: string;
|
|
466
466
|
identity?: IdentityState;
|
|
467
467
|
messaging?: MessagingContext;
|
|
468
|
+
/** Non-secret extension settings for this specific extension on this specific instance. Never includes secret field values. */
|
|
469
|
+
settings?: Record<string, unknown>;
|
|
468
470
|
[key: string]: unknown;
|
|
469
471
|
}
|
|
470
472
|
/** Keys managed exclusively by the host RPC layer — must not appear in surface-level context */
|
|
471
|
-
declare const RESERVED_CONTEXT_KEYS: readonly ["identity", "messaging"];
|
|
473
|
+
declare const RESERVED_CONTEXT_KEYS: readonly ["identity", "messaging", "settings"];
|
|
472
474
|
type ReservedContextKey = typeof RESERVED_CONTEXT_KEYS[number];
|
|
473
475
|
/** Union of all capability call types */
|
|
474
476
|
type CapabilityCall = {
|
package/dist/index.js
CHANGED
|
@@ -342,7 +342,7 @@ var INVOKE_ACTION = {
|
|
|
342
342
|
SET_CONVERSATION_TAGS: "setConversationTags",
|
|
343
343
|
SET_CONVERSATION_FIELDS: "setConversationFields"
|
|
344
344
|
};
|
|
345
|
-
var RESERVED_CONTEXT_KEYS = ["identity", "messaging"];
|
|
345
|
+
var RESERVED_CONTEXT_KEYS = ["identity", "messaging", "settings"];
|
|
346
346
|
|
|
347
347
|
// src/identity.ts
|
|
348
348
|
var IDENTITY_EVENT = {
|