@warmhub/sdk-ts 0.75.2 → 0.76.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 CHANGED
@@ -1975,6 +1975,12 @@ declare class OperationBuilder {
1975
1975
  private assertCanModify;
1976
1976
  }
1977
1977
 
1978
+ /**
1979
+ * Version string for the installed SDK package.
1980
+ * @see https://docs.warmhub.ai/sdk-reference/variables/sdk_version/
1981
+ */
1982
+ declare const SDK_VERSION: string;
1983
+
1978
1984
  /** @internal */
1979
1985
  type CollectionTag = CollectionTag$1;
1980
1986
  /** @internal */
@@ -2035,11 +2041,7 @@ interface WarmHubClientOptions {
2035
2041
  version?: string;
2036
2042
  };
2037
2043
  }
2038
- /**
2039
- * Version string for the installed SDK package.
2040
- * @see https://docs.warmhub.ai/sdk-reference/variables/sdk_version/
2041
- */
2042
- declare const SDK_VERSION: string;
2044
+
2043
2045
  /**
2044
2046
  * Default WarmHub API URL used when a client is constructed without `apiUrl`.
2045
2047
  * @see https://docs.warmhub.ai/sdk-reference/variables/default_api_url/
@@ -2185,6 +2187,7 @@ type SubscriptionInfo = {
2185
2187
  timezone?: string;
2186
2188
  };
2187
2189
  allowTraceReentry?: boolean;
2190
+ /** @deprecated Accepted for compatibility; action notifications are failure-only. */
2188
2191
  notifyOnSuccess?: boolean;
2189
2192
  componentRef?: string;
2190
2193
  credentialSetNames: Array<string>;
@@ -2202,6 +2205,7 @@ type SubscriptionCompatCreateCommon = {
2202
2205
  webhookUrl: string;
2203
2206
  fallbackWebhookUrl?: string;
2204
2207
  allowTraceReentry?: boolean;
2208
+ /** @deprecated Accepted for compatibility; action notifications are failure-only. */
2205
2209
  notifyOnSuccess?: boolean;
2206
2210
  componentRef?: string;
2207
2211
  workspacePolicy?: never;
@@ -2263,6 +2267,7 @@ type SubscriptionCompatUpdateInput = {
2263
2267
  webhookUrl?: string;
2264
2268
  fallbackWebhookUrl?: string | null;
2265
2269
  allowTraceReentry?: boolean;
2270
+ /** @deprecated Accepted for compatibility; action notifications are failure-only. */
2266
2271
  notifyOnSuccess?: boolean;
2267
2272
  /** @internal Back-compat field; not consumed by the backend update mutation. */
2268
2273
  sourceRepoRef?: string;
@@ -4113,9 +4118,8 @@ declare class WarmHubClient {
4113
4118
  * subscriptions omit commit-only fields. Org-scoped events also omit
4114
4119
  * `repoName`.
4115
4120
  *
4116
- * Delivery can use a fallback URL, allow trace reentry, and opt into
4117
- * success notifications. Commit subscriptions can additionally forward
4118
- * events from another repository.
4121
+ * Delivery can use a fallback URL and allow trace reentry. Commit
4122
+ * subscriptions can additionally forward events from another repository.
4119
4123
  */
4120
4124
  create: (input: SubscriptionCompatCreateInput) => Promise<SubscriptionInfo>;
4121
4125
  /**
package/dist/index.js CHANGED
@@ -1,3 +1,3 @@
1
- export { AllStreamOperationsFailedError, CLI_INSTALL_REPO_HEADER, CLI_SIGNATURE_HEADER, CLI_TIMESTAMP_HEADER, CONTENT_FIELD_LIMIT_ERROR, CliCallVerificationError, DEFAULT_API_URL, DEFAULT_STREAM_CHUNK_SIZE, MAX_CONTENT_FIELD_BYTES, MAX_STREAM_APPEND_OPERATION_COUNT, OperationBuilder, PartialStreamSubmissionError, SDK_VERSION, WarmHubClient, WarmHubError, connectionErrorMessage, contentFieldLimitError, countStreamAppendResultStatuses, isConnectionError, isRetryable, isWarmHubError, normalizeWref, resolveFunctionLogMode, sanitizeErrorMessage, sdkVersionIsBelowMinimum, streamAppendResultStatus, submitOperationsViaStream, toWarmHubError, validateAgainstShape, verifyCliCall } from './chunk-GGHSKCHJ.js';
1
+ export { AllStreamOperationsFailedError, CLI_INSTALL_REPO_HEADER, CLI_SIGNATURE_HEADER, CLI_TIMESTAMP_HEADER, CONTENT_FIELD_LIMIT_ERROR, CliCallVerificationError, DEFAULT_API_URL, DEFAULT_STREAM_CHUNK_SIZE, MAX_CONTENT_FIELD_BYTES, MAX_STREAM_APPEND_OPERATION_COUNT, OperationBuilder, PartialStreamSubmissionError, SDK_VERSION, WarmHubClient, WarmHubError, connectionErrorMessage, contentFieldLimitError, countStreamAppendResultStatuses, isConnectionError, isRetryable, isWarmHubError, normalizeWref, resolveFunctionLogMode, sanitizeErrorMessage, sdkVersionIsBelowMinimum, streamAppendResultStatus, submitOperationsViaStream, toWarmHubError, validateAgainstShape, verifyCliCall } from './chunk-LMFSE5L5.js';
2
2
  //# sourceMappingURL=index.js.map
3
3
  //# sourceMappingURL=index.js.map
package/dist/react.js CHANGED
@@ -1,5 +1,5 @@
1
- import { WarmHubClient } from './chunk-GGHSKCHJ.js';
2
- export { DEFAULT_API_URL, SDK_VERSION, WarmHubClient, WarmHubError, toWarmHubError } from './chunk-GGHSKCHJ.js';
1
+ import { WarmHubClient } from './chunk-LMFSE5L5.js';
2
+ export { DEFAULT_API_URL, SDK_VERSION, WarmHubClient, WarmHubError, toWarmHubError } from './chunk-LMFSE5L5.js';
3
3
  import { createContext, useMemo, useState, useEffect, useContext } from 'react';
4
4
  import { jsx } from 'react/jsx-runtime';
5
5
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@warmhub/sdk-ts",
3
- "version": "0.75.2",
3
+ "version": "0.76.0",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "description": "The TypeScript SDK for WarmHub — create repos, commit and query data, and compound knowledge with your AI agents.",