@warmhub/sdk-ts 0.63.0 → 0.64.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
@@ -298,9 +298,16 @@ type CommitApplyResult = {
298
298
  dataHash: string;
299
299
  status?: 'applied' | 'noop';
300
300
  warnings?: {
301
- undeclaredFields: Array<string>;
301
+ undeclaredFields?: Array<string>;
302
302
  undeclaredFieldsTruncated?: true;
303
303
  totalUndeclared?: number;
304
+ coalescedWrefs?: Array<{
305
+ fieldPath: string;
306
+ wref: string;
307
+ reason: string;
308
+ }>;
309
+ coalescedWrefsTruncated?: true;
310
+ totalCoalescedWrefs?: number;
304
311
  };
305
312
  }>;
306
313
  };
@@ -317,6 +324,8 @@ type ComponentDetail = {
317
324
  checkedAt?: string;
318
325
  active: boolean;
319
326
  wref: string;
327
+ latestVersion?: string;
328
+ updateAvailable?: boolean;
320
329
  install: {
321
330
  wref: string;
322
331
  pinnedWref?: string;
@@ -391,6 +400,8 @@ type ComponentListResult = {
391
400
  checkedAt?: string;
392
401
  active: boolean;
393
402
  wref: string;
403
+ latestVersion?: string;
404
+ updateAvailable?: boolean;
394
405
  }>;
395
406
  nextCursor?: string;
396
407
  };
@@ -407,6 +418,8 @@ type ComponentSummary = {
407
418
  checkedAt?: string;
408
419
  active: boolean;
409
420
  wref: string;
421
+ latestVersion?: string;
422
+ updateAvailable?: boolean;
410
423
  };
411
424
  type ComponentUninstallResult$1 = {
412
425
  componentRef: string;
@@ -593,9 +606,16 @@ type StreamAppendResult$1 = {
593
606
  resolvedName?: string;
594
607
  retryable?: boolean;
595
608
  warnings?: {
596
- undeclaredFields: Array<string>;
609
+ undeclaredFields?: Array<string>;
597
610
  undeclaredFieldsTruncated?: true;
598
611
  totalUndeclared?: number;
612
+ coalescedWrefs?: Array<{
613
+ fieldPath: string;
614
+ wref: string;
615
+ reason: string;
616
+ }>;
617
+ coalescedWrefsTruncated?: true;
618
+ totalCoalescedWrefs?: number;
599
619
  };
600
620
  }>;
601
621
  createdByEmail?: string;
@@ -2394,6 +2414,7 @@ type CurrentUserInfo = {
2394
2414
  lastName?: string;
2395
2415
  externalId: string;
2396
2416
  identityWref: string | null;
2417
+ knockUserToken: string | null;
2397
2418
  } | null;
2398
2419
  /** @internal */
2399
2420
  type WhoamiScopeEntry = {
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-JPX7ZWWE.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-CJWKJDVX.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-JPX7ZWWE.js';
2
- export { DEFAULT_API_URL, SDK_VERSION, WarmHubClient, WarmHubError, toWarmHubError } from './chunk-JPX7ZWWE.js';
1
+ import { WarmHubClient } from './chunk-CJWKJDVX.js';
2
+ export { DEFAULT_API_URL, SDK_VERSION, WarmHubClient, WarmHubError, toWarmHubError } from './chunk-CJWKJDVX.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.63.0",
3
+ "version": "0.64.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.",