@warmhub/sdk-ts 0.69.1 → 0.70.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
@@ -300,7 +300,7 @@ type CommitApplyResult = {
300
300
  }>;
301
301
  };
302
302
  type CollectionContainsResult$1 = {
303
- type: 'pair' | 'set' | 'list' | 'triple';
303
+ type: 'arc' | 'bond' | 'pair' | 'set' | 'list' | 'triple';
304
304
  wref: string;
305
305
  version: number;
306
306
  results: Array<{
@@ -310,7 +310,7 @@ type CollectionContainsResult$1 = {
310
310
  }>;
311
311
  };
312
312
  type CollectionDiffResult$1 = {
313
- type: 'pair' | 'set' | 'list' | 'triple';
313
+ type: 'arc' | 'bond' | 'pair' | 'set' | 'list' | 'triple';
314
314
  leftWref: string;
315
315
  rightWref: string;
316
316
  leftVersion: number;
@@ -319,45 +319,45 @@ type CollectionDiffResult$1 = {
319
319
  added: Array<{
320
320
  wref: string;
321
321
  position?: number;
322
- fieldPath: 'first' | 'second' | 'third' | 'members' | 'items';
322
+ fieldPath: 'from' | 'to' | 'ends' | 'first' | 'second' | 'third' | 'members' | 'items';
323
323
  }>;
324
324
  removed: Array<{
325
325
  wref: string;
326
326
  position?: number;
327
- fieldPath: 'first' | 'second' | 'third' | 'members' | 'items';
327
+ fieldPath: 'from' | 'to' | 'ends' | 'first' | 'second' | 'third' | 'members' | 'items';
328
328
  }>;
329
329
  unchanged: Array<{
330
330
  wref: string;
331
331
  position?: number;
332
- fieldPath: 'first' | 'second' | 'third' | 'members' | 'items';
332
+ fieldPath: 'from' | 'to' | 'ends' | 'first' | 'second' | 'third' | 'members' | 'items';
333
333
  }>;
334
334
  changed: Array<{
335
335
  position: number;
336
336
  left?: {
337
337
  wref: string;
338
338
  position?: number;
339
- fieldPath: 'first' | 'second' | 'third' | 'members' | 'items';
339
+ fieldPath: 'from' | 'to' | 'ends' | 'first' | 'second' | 'third' | 'members' | 'items';
340
340
  };
341
341
  right?: {
342
342
  wref: string;
343
343
  position?: number;
344
- fieldPath: 'first' | 'second' | 'third' | 'members' | 'items';
344
+ fieldPath: 'from' | 'to' | 'ends' | 'first' | 'second' | 'third' | 'members' | 'items';
345
345
  };
346
346
  }>;
347
347
  };
348
348
  type CollectionMember$1 = {
349
349
  wref: string;
350
350
  position?: number;
351
- fieldPath: 'first' | 'second' | 'third' | 'members' | 'items';
351
+ fieldPath: 'from' | 'to' | 'ends' | 'first' | 'second' | 'third' | 'members' | 'items';
352
352
  };
353
353
  type CollectionMembersPage$1 = {
354
- type: 'pair' | 'set' | 'list' | 'triple';
354
+ type: 'arc' | 'bond' | 'pair' | 'set' | 'list' | 'triple';
355
355
  wref: string;
356
356
  version: number;
357
357
  items: Array<{
358
358
  wref: string;
359
359
  position?: number;
360
- fieldPath: 'first' | 'second' | 'third' | 'members' | 'items';
360
+ fieldPath: 'from' | 'to' | 'ends' | 'first' | 'second' | 'third' | 'members' | 'items';
361
361
  }>;
362
362
  nextCursor?: string;
363
363
  };
@@ -371,7 +371,7 @@ type CollectionMutationResult$1 = {
371
371
  status: 'created' | 'updated' | 'noop';
372
372
  };
373
373
  type CollectionStatsResult$1 = {
374
- type: 'pair' | 'set' | 'list' | 'triple';
374
+ type: 'arc' | 'bond' | 'pair' | 'set' | 'list' | 'triple';
375
375
  wref: string;
376
376
  version: number;
377
377
  memberCount: number;
@@ -773,8 +773,8 @@ type ThingGetManyResult$1 = {
773
773
  version: number;
774
774
  data?: unknown;
775
775
  collection?: {
776
- type: 'pair' | 'set' | 'list' | 'triple';
777
- memberField: 'first/second' | 'first/second/third' | 'members' | 'items';
776
+ type: 'arc' | 'bond' | 'pair' | 'set' | 'list' | 'triple';
777
+ memberField: 'from/to' | 'ends' | 'first/second' | 'first/second/third' | 'members' | 'items';
778
778
  memberCount: number;
779
779
  dataMode: 'full' | 'summary';
780
780
  fullData: boolean;
@@ -2666,8 +2666,8 @@ type ThingMetadata = {
2666
2666
  type CollectionReadDataMode = 'auto' | 'full';
2667
2667
  /** @internal */
2668
2668
  type CollectionReadSummary = {
2669
- type: 'pair' | 'set' | 'list' | 'triple';
2670
- memberField: 'first/second' | 'first/second/third' | 'members' | 'items';
2669
+ type: 'arc' | 'bond' | 'pair' | 'set' | 'list' | 'triple';
2670
+ memberField: 'from/to' | 'ends' | 'first/second' | 'first/second/third' | 'members' | 'items';
2671
2671
  memberCount: number;
2672
2672
  dataMode: 'full' | 'summary';
2673
2673
  fullData: boolean;
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-RYQ5AAIU.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-HZU73U4G.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-RYQ5AAIU.js';
2
- export { DEFAULT_API_URL, SDK_VERSION, WarmHubClient, WarmHubError, toWarmHubError } from './chunk-RYQ5AAIU.js';
1
+ import { WarmHubClient } from './chunk-HZU73U4G.js';
2
+ export { DEFAULT_API_URL, SDK_VERSION, WarmHubClient, WarmHubError, toWarmHubError } from './chunk-HZU73U4G.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.69.1",
3
+ "version": "0.70.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.",