@maximem/synap-js-sdk 0.4.5 → 0.4.6

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.cts CHANGED
@@ -1190,8 +1190,8 @@ interface SynapClientOptions {
1190
1190
  * matching Python's `st_verbatim_overlay`. `SYNAP_ST_VERBATIM_OVERLAY`
1191
1191
  * overrides this either way.
1192
1192
  */
1193
- st_verbatim_overlay?: boolean;
1194
- stVerbatimOverlay?: boolean;
1193
+ st_verbatim_overlay?: boolean | undefined;
1194
+ stVerbatimOverlay?: boolean | undefined;
1195
1195
  /**
1196
1196
  * Let the SDK answer `get_context_for_prompt` and `get_compacted` from its
1197
1197
  * own short-term store when the conversation is warm, skipping the cloud
@@ -1200,13 +1200,13 @@ interface SynapClientOptions {
1200
1200
  * This is the COST switch. `st_verbatim_overlay` is the correctness one and
1201
1201
  * is independent of it.
1202
1202
  */
1203
- sdk_st_authoritative?: boolean;
1204
- sdkStAuthoritative?: boolean;
1203
+ sdk_st_authoritative?: boolean | undefined;
1204
+ sdkStAuthoritative?: boolean | undefined;
1205
1205
  /**
1206
1206
  * Where the SDK's diagnostics go. Defaults to `console.warn` prefixed with
1207
1207
  * `[synap]`. Pass a no-op to silence them, or your own logger to route them.
1208
1208
  */
1209
- logger?: SynapLogger;
1209
+ logger?: SynapLogger | undefined;
1210
1210
  /**
1211
1211
  * Bypass the process registry and build a genuinely separate client.
1212
1212
  *
@@ -1241,7 +1241,7 @@ interface ConfigureOptions {
1241
1241
  /** Accepted and ignored. Python-only. */
1242
1242
  log_level?: string;
1243
1243
  /** Replaces the diagnostic sink, same as the constructor option. */
1244
- logger?: SynapLogger;
1244
+ logger?: SynapLogger | undefined;
1245
1245
  }
1246
1246
  /** Options for the cross-scope `fetch()`. Snake_case, matching Python's kwargs. */
1247
1247
  interface UnifiedFetchOptions {
package/dist/index.d.ts CHANGED
@@ -1190,8 +1190,8 @@ interface SynapClientOptions {
1190
1190
  * matching Python's `st_verbatim_overlay`. `SYNAP_ST_VERBATIM_OVERLAY`
1191
1191
  * overrides this either way.
1192
1192
  */
1193
- st_verbatim_overlay?: boolean;
1194
- stVerbatimOverlay?: boolean;
1193
+ st_verbatim_overlay?: boolean | undefined;
1194
+ stVerbatimOverlay?: boolean | undefined;
1195
1195
  /**
1196
1196
  * Let the SDK answer `get_context_for_prompt` and `get_compacted` from its
1197
1197
  * own short-term store when the conversation is warm, skipping the cloud
@@ -1200,13 +1200,13 @@ interface SynapClientOptions {
1200
1200
  * This is the COST switch. `st_verbatim_overlay` is the correctness one and
1201
1201
  * is independent of it.
1202
1202
  */
1203
- sdk_st_authoritative?: boolean;
1204
- sdkStAuthoritative?: boolean;
1203
+ sdk_st_authoritative?: boolean | undefined;
1204
+ sdkStAuthoritative?: boolean | undefined;
1205
1205
  /**
1206
1206
  * Where the SDK's diagnostics go. Defaults to `console.warn` prefixed with
1207
1207
  * `[synap]`. Pass a no-op to silence them, or your own logger to route them.
1208
1208
  */
1209
- logger?: SynapLogger;
1209
+ logger?: SynapLogger | undefined;
1210
1210
  /**
1211
1211
  * Bypass the process registry and build a genuinely separate client.
1212
1212
  *
@@ -1241,7 +1241,7 @@ interface ConfigureOptions {
1241
1241
  /** Accepted and ignored. Python-only. */
1242
1242
  log_level?: string;
1243
1243
  /** Replaces the diagnostic sink, same as the constructor option. */
1244
- logger?: SynapLogger;
1244
+ logger?: SynapLogger | undefined;
1245
1245
  }
1246
1246
  /** Options for the cross-scope `fetch()`. Snake_case, matching Python's kwargs. */
1247
1247
  interface UnifiedFetchOptions {