@warmhub/sdk-ts 0.73.0 → 0.74.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
|
@@ -279,12 +279,13 @@ type AccessResolveResult$1 = {
|
|
|
279
279
|
type AuthSyncResult = {
|
|
280
280
|
success: boolean;
|
|
281
281
|
};
|
|
282
|
-
type CollectionTag$1 = 'pair' | 'set' | 'list';
|
|
282
|
+
type CollectionTag$1 = 'arc' | 'bond' | 'pair' | 'set' | 'list';
|
|
283
283
|
type CommitApplyResult = {
|
|
284
284
|
committer?: string;
|
|
285
285
|
createdByEmail?: string;
|
|
286
286
|
message?: string;
|
|
287
287
|
operationCount: number;
|
|
288
|
+
repoSeq?: number;
|
|
288
289
|
operations: Array<{
|
|
289
290
|
opIndex?: number;
|
|
290
291
|
name: string;
|
|
@@ -303,6 +304,11 @@ type CommitApplyResult = {
|
|
|
303
304
|
}>;
|
|
304
305
|
coalescedWrefsTruncated?: true;
|
|
305
306
|
totalCoalescedWrefs?: number;
|
|
307
|
+
deprecations?: Array<{
|
|
308
|
+
shape: string;
|
|
309
|
+
message: string;
|
|
310
|
+
removalMilestone: string;
|
|
311
|
+
}>;
|
|
306
312
|
};
|
|
307
313
|
}>;
|
|
308
314
|
};
|
|
@@ -369,13 +375,30 @@ type CollectionMembersPage$1 = {
|
|
|
369
375
|
nextCursor?: string;
|
|
370
376
|
};
|
|
371
377
|
type CollectionMutationResult$1 = {
|
|
372
|
-
type: '
|
|
378
|
+
type: 'arc' | 'bond' | 'set' | 'list' | 'pair';
|
|
373
379
|
wref: string;
|
|
374
380
|
version: number;
|
|
375
381
|
memberCount: number;
|
|
376
382
|
dataHash?: string;
|
|
377
383
|
operationCount: number;
|
|
378
384
|
status: 'created' | 'updated' | 'noop';
|
|
385
|
+
warnings?: {
|
|
386
|
+
undeclaredFields?: Array<string>;
|
|
387
|
+
undeclaredFieldsTruncated?: true;
|
|
388
|
+
totalUndeclared?: number;
|
|
389
|
+
coalescedWrefs?: Array<{
|
|
390
|
+
fieldPath: string;
|
|
391
|
+
wref: string;
|
|
392
|
+
reason: string;
|
|
393
|
+
}>;
|
|
394
|
+
coalescedWrefsTruncated?: true;
|
|
395
|
+
totalCoalescedWrefs?: number;
|
|
396
|
+
deprecations?: Array<{
|
|
397
|
+
shape: string;
|
|
398
|
+
message: string;
|
|
399
|
+
removalMilestone: string;
|
|
400
|
+
}>;
|
|
401
|
+
};
|
|
379
402
|
};
|
|
380
403
|
type CollectionStatsResult$1 = {
|
|
381
404
|
type: 'arc' | 'bond' | 'pair' | 'set' | 'list' | 'triple';
|
|
@@ -384,7 +407,7 @@ type CollectionStatsResult$1 = {
|
|
|
384
407
|
memberCount: number;
|
|
385
408
|
uniqueMemberCount: number;
|
|
386
409
|
};
|
|
387
|
-
type CollectionType$1 = '
|
|
410
|
+
type CollectionType$1 = 'arc' | 'bond' | 'set' | 'list' | 'pair';
|
|
388
411
|
type ComponentDetail = {
|
|
389
412
|
ref?: string;
|
|
390
413
|
componentName: string;
|
|
@@ -424,6 +447,7 @@ type ComponentDetail = {
|
|
|
424
447
|
data?: unknown;
|
|
425
448
|
active: boolean;
|
|
426
449
|
aboutWref?: string;
|
|
450
|
+
roles?: Array<'from' | 'to' | 'ends' | 'first' | 'second'>;
|
|
427
451
|
metadata?: {
|
|
428
452
|
durableId: string;
|
|
429
453
|
createdOn: number;
|
|
@@ -554,6 +578,7 @@ type StreamAppendInput$1 = {
|
|
|
554
578
|
workspaceName?: never;
|
|
555
579
|
committer?: string;
|
|
556
580
|
message?: string;
|
|
581
|
+
returnRepoSeq?: boolean;
|
|
557
582
|
allocatedTokens?: never;
|
|
558
583
|
allocatedTokenRanges: [];
|
|
559
584
|
operations: Array<{
|
|
@@ -579,7 +604,7 @@ type StreamAppendInput$1 = {
|
|
|
579
604
|
operation: 'add';
|
|
580
605
|
kind: 'collection';
|
|
581
606
|
name: string;
|
|
582
|
-
type: 'pair' | 'set' | 'list';
|
|
607
|
+
type: 'arc' | 'bond' | 'pair' | 'set' | 'list';
|
|
583
608
|
members: Array<string>;
|
|
584
609
|
skipExisting?: boolean;
|
|
585
610
|
} | {
|
|
@@ -610,7 +635,7 @@ type StreamAppendInput$1 = {
|
|
|
610
635
|
operation: 'revise';
|
|
611
636
|
kind: 'collection';
|
|
612
637
|
name: string;
|
|
613
|
-
type: 'pair' | 'set' | 'list';
|
|
638
|
+
type: 'arc' | 'bond' | 'pair' | 'set' | 'list';
|
|
614
639
|
members: Array<string>;
|
|
615
640
|
expectedVersion?: number;
|
|
616
641
|
leaseId?: string;
|
|
@@ -656,6 +681,10 @@ type StreamAppendResult$1 = {
|
|
|
656
681
|
reason: 'rate_limit_reset';
|
|
657
682
|
retryAfterSeconds: number;
|
|
658
683
|
resetAt: string;
|
|
684
|
+
} | {
|
|
685
|
+
reason: 'cursor_fence_unavailable';
|
|
686
|
+
cause: 'not_ready' | 'below_floor' | 'above_head';
|
|
687
|
+
retryFromStart: true;
|
|
659
688
|
};
|
|
660
689
|
};
|
|
661
690
|
resolvedName?: string;
|
|
@@ -671,8 +700,14 @@ type StreamAppendResult$1 = {
|
|
|
671
700
|
}>;
|
|
672
701
|
coalescedWrefsTruncated?: true;
|
|
673
702
|
totalCoalescedWrefs?: number;
|
|
703
|
+
deprecations?: Array<{
|
|
704
|
+
shape: string;
|
|
705
|
+
message: string;
|
|
706
|
+
removalMilestone: string;
|
|
707
|
+
}>;
|
|
674
708
|
};
|
|
675
709
|
}>;
|
|
710
|
+
repoSeq?: number;
|
|
676
711
|
createdByEmail?: string;
|
|
677
712
|
appendTotalMs?: number;
|
|
678
713
|
appendResolveRepoMs?: number;
|
|
@@ -731,6 +766,7 @@ type OrgMember = {
|
|
|
731
766
|
invitedBy?: string;
|
|
732
767
|
createdAt: number;
|
|
733
768
|
};
|
|
769
|
+
type CollectionMembershipRole$1 = 'from' | 'to' | 'ends' | 'first' | 'second';
|
|
734
770
|
type RefsResult$1 = {
|
|
735
771
|
items: Array<{
|
|
736
772
|
wref: string;
|
|
@@ -1259,6 +1295,12 @@ type SubmittedStreamResult = {
|
|
|
1259
1295
|
createdByEmail?: string;
|
|
1260
1296
|
message: string | undefined;
|
|
1261
1297
|
operationCount: number;
|
|
1298
|
+
/**
|
|
1299
|
+
* Sequence acknowledged for the last chunk that persisted a visibility
|
|
1300
|
+
* event when `returnRepoSeq` was requested. No-op or all-failed chunks do
|
|
1301
|
+
* not erase an earlier chunk's acknowledgement.
|
|
1302
|
+
*/
|
|
1303
|
+
repoSeq?: number;
|
|
1262
1304
|
partial?: boolean;
|
|
1263
1305
|
statusCounts?: {
|
|
1264
1306
|
applied: number;
|
|
@@ -1442,6 +1484,8 @@ declare function submitOperationsViaStream(client: OperationStreamClient, args:
|
|
|
1442
1484
|
chunkSize?: number;
|
|
1443
1485
|
skipExisting?: boolean;
|
|
1444
1486
|
streamId?: string;
|
|
1487
|
+
/** Return the writer's own repository-sequence acknowledgement. */
|
|
1488
|
+
returnRepoSeq?: boolean;
|
|
1445
1489
|
/**
|
|
1446
1490
|
* Bounded auto-idempotency retry for transient first-chunk failures.
|
|
1447
1491
|
* Default-on (3 attempts, 250ms base, 8s cap, jittered exponential).
|
|
@@ -1900,6 +1944,7 @@ declare class OperationBuilder {
|
|
|
1900
1944
|
* @param params.committer Optional wref identifying the actor on whose behalf the write is made.
|
|
1901
1945
|
* @param params.chunkSize Maximum operations per stream append.
|
|
1902
1946
|
* @param params.streamId Advanced continuation hook for caller-managed streams.
|
|
1947
|
+
* @param params.returnRepoSeq Return the writer's own repository-sequence acknowledgement.
|
|
1903
1948
|
* @param params.retry Retry policy for transient first-chunk failures, or `false` to disable automatic retry.
|
|
1904
1949
|
* @see https://docs.warmhub.ai/sdk-reference/classes/operationbuilder/#commit
|
|
1905
1950
|
*/
|
|
@@ -1911,6 +1956,7 @@ declare class OperationBuilder {
|
|
|
1911
1956
|
message?: string;
|
|
1912
1957
|
chunkSize?: number;
|
|
1913
1958
|
streamId?: string;
|
|
1959
|
+
returnRepoSeq?: boolean;
|
|
1914
1960
|
retry?: RetryPolicyOptions | false;
|
|
1915
1961
|
}): Promise<OperationSubmitResult$1>;
|
|
1916
1962
|
private assertNotSubmitted;
|
|
@@ -2697,6 +2743,7 @@ type ThingItem = {
|
|
|
2697
2743
|
active?: boolean;
|
|
2698
2744
|
data?: unknown;
|
|
2699
2745
|
aboutWref?: string;
|
|
2746
|
+
roles?: CollectionMembershipRole[];
|
|
2700
2747
|
metadata?: ThingMetadata;
|
|
2701
2748
|
[key: string]: unknown;
|
|
2702
2749
|
};
|
|
@@ -2990,8 +3037,11 @@ type SubscriptionBindCredentialsResult = SubscriptionBindCredentialsResult$1;
|
|
|
2990
3037
|
/** @internal */
|
|
2991
3038
|
type SubscriptionUnbindCredentialsResult = SubscriptionUnbindCredentialsResult$1;
|
|
2992
3039
|
/** @internal */
|
|
3040
|
+
type CollectionMembershipRole = CollectionMembershipRole$1;
|
|
3041
|
+
/** @internal */
|
|
2993
3042
|
type Assertion = ThingDetail & {
|
|
2994
3043
|
children: Assertion[];
|
|
3044
|
+
roles?: CollectionMembershipRole[];
|
|
2995
3045
|
};
|
|
2996
3046
|
/** @internal */
|
|
2997
3047
|
type AboutResult = {
|
|
@@ -3036,6 +3086,7 @@ type AboutOptions = {
|
|
|
3036
3086
|
includeRetracted?: boolean;
|
|
3037
3087
|
depth?: number;
|
|
3038
3088
|
resolveCollections?: boolean;
|
|
3089
|
+
role?: 'from' | 'to' | 'ends';
|
|
3039
3090
|
limit?: number;
|
|
3040
3091
|
cursor?: string;
|
|
3041
3092
|
where?: WherePredicate[];
|
|
@@ -3107,6 +3158,8 @@ type FilterOptions = {
|
|
|
3107
3158
|
excludeInfraShapes?: boolean;
|
|
3108
3159
|
/** Expand collection targets to their members in the result. */
|
|
3109
3160
|
resolveCollections?: boolean;
|
|
3161
|
+
/** Keep collection-resolved assertions where the target occupies this role. */
|
|
3162
|
+
role?: 'from' | 'to' | 'ends';
|
|
3110
3163
|
/**
|
|
3111
3164
|
* Field-value WHERE predicates (ANDed). Each predicate must target a pinned/ready
|
|
3112
3165
|
* field for typed-index routing; unavailable or unindexable fields return a
|
|
@@ -3124,7 +3177,7 @@ type FilterOptions = {
|
|
|
3124
3177
|
*
|
|
3125
3178
|
* @see https://docs.warmhub.ai/sdk/read-semantics/#search-modes
|
|
3126
3179
|
*/
|
|
3127
|
-
type SearchOptions = Omit<FilterOptions, 'where'> & {
|
|
3180
|
+
type SearchOptions = Omit<FilterOptions, 'where' | 'role'> & {
|
|
3128
3181
|
/** Restrict the search to assertions about this wref target. */
|
|
3129
3182
|
about?: string;
|
|
3130
3183
|
/** Search mode: `text` (BM25), `vector` (semantic), or `hybrid` (combined). Defaults to `text`. */
|
|
@@ -3141,7 +3194,7 @@ type SearchOptions = Omit<FilterOptions, 'where'> & {
|
|
|
3141
3194
|
* pagination fields (`limit`, `cursor`) are ignored.
|
|
3142
3195
|
* @see https://docs.warmhub.ai/sdk-reference/type-aliases/countoptions/
|
|
3143
3196
|
*/
|
|
3144
|
-
type CountOptions = FilterOptions
|
|
3197
|
+
type CountOptions = Omit<FilterOptions, 'role'>;
|
|
3145
3198
|
/**
|
|
3146
3199
|
* Options for `client.thing.refs` — wref-field reverse and forward lookups.
|
|
3147
3200
|
*
|
|
@@ -3629,6 +3682,10 @@ declare class WarmHubClient {
|
|
|
3629
3682
|
* @param opts.chunkSize Maximum operations per stream append. Values are clamped by the SDK.
|
|
3630
3683
|
* @param opts.skipExisting Return `noop` for add operations whose target already exists.
|
|
3631
3684
|
* @param opts.streamId Advanced continuation hook for caller-managed streams.
|
|
3685
|
+
* @param opts.returnRepoSeq Return the sequence allocated to the writer's
|
|
3686
|
+
* own commit acknowledgement. This does not disclose a reader-facing
|
|
3687
|
+
* repository head. Multi-chunk submissions return the last sequence
|
|
3688
|
+
* actually allocated; a later no-op or failed chunk does not erase it.
|
|
3632
3689
|
* @param opts.retry Retry policy for transient first-chunk failures, or `false` to disable automatic retry.
|
|
3633
3690
|
*/
|
|
3634
3691
|
apply: (orgName: string, repoName: string, message: string | undefined, operations: Operation[], opts?: {
|
|
@@ -3637,6 +3694,7 @@ declare class WarmHubClient {
|
|
|
3637
3694
|
chunkSize?: number;
|
|
3638
3695
|
skipExisting?: boolean;
|
|
3639
3696
|
streamId?: string;
|
|
3697
|
+
returnRepoSeq?: boolean;
|
|
3640
3698
|
retry?: RetryPolicyOptions | false;
|
|
3641
3699
|
}) => Promise<OperationSubmitResult>;
|
|
3642
3700
|
};
|
|
@@ -4803,4 +4861,4 @@ declare class WarmHubClient {
|
|
|
4803
4861
|
private watchRepoQuery;
|
|
4804
4862
|
}
|
|
4805
4863
|
|
|
4806
|
-
export { type AboutOptions, type AboutResult, type AccessResolveInput, type AccessResolveResult, type AccessTokenProvider, type ActionAttemptInfo, type ActionDeliveryTarget, type ActionLeaseAcquire, type ActionLeaseOp, type ActionListNotificationsOptions, type ActionListRunsOptions, type ActionLiveFeed, type ActionLiveFeedOptions, type ActionNotificationInfo, type ActionRunInfo, type ActionRunStatsInfo, type ActionRunStatsOptions, type AddOp, type AddOperation, AllStreamOperationsFailedError, type Assertion, CLI_INSTALL_REPO_HEADER, CLI_SIGNATURE_HEADER, CLI_TIMESTAMP_HEADER, CONTENT_FIELD_LIMIT_ERROR, type CliCallSecrets, CliCallVerificationError, type CliCallVerificationFailureReason, type CollectionAddOp, type CollectionAddType, type CollectionContainsOptions, type CollectionContainsResult, type CollectionCreateOptions, type CollectionDiffOptions, type CollectionDiffResult, type CollectionMember, type CollectionMembersOptions, type CollectionMembersPage, type CollectionMutationResult, type CollectionQuerySourceOptions, type CollectionReadDataMode, type CollectionReadSummary, type CollectionReviseOptions, type CollectionStatsOptions, type CollectionStatsResult, type CollectionTag, type CollectionType, type ComponentHistory, type ComponentHistoryOptions, type ComponentInfo, type ComponentInstallResult, type ComponentList, type ComponentListOptions, type ComponentUninstallResult, type ComponentView, type CoreErrorKind, type CountOptions, type CountResult, type CredentialAuditEntry, type CredentialDeleteResult, type CredentialGrantResult, type CredentialInfo, type CredentialKeyMutationResult, type CredentialRevokeResult, type CredentialUngrantResult, type CurrentUserInfo, DEFAULT_API_URL, DEFAULT_STREAM_CHUNK_SIZE, type ErrorKind, type FilterOptions, type FilterResult, type FunctionLogMode, type GlobalSearchOptions, type GlobalSearchResult, type GlobalSearchResultItem, type HeadResult, type HistoryResult, type HomepageFeaturedListsResult, type IndexedFieldEntry, type IndexedFieldsReport, type LiveHandle, type LiveRepoEvent, type LiveSubscriptionLogOptions, type LiveThingHeadOptions, type LiveThingHistoryOptions, type LiveWatchResult, MAX_CONTENT_FIELD_BYTES, MAX_STREAM_APPEND_OPERATION_COUNT, type Operation, OperationBuilder, type OperationBuilderAddInput, type OperationBuilderClient, type OperationBuilderOp, type OperationBuilderOptions, type OperationSubmitResult, type OrgAccessResult, type OrgInfo, type OrgList, type OrgListMembersOptions, type OrgListOptions, type OrgMemberInfo, type OrgMemberList, type OrgRef, type OrgRole, type Page, type PageRequest, PartialStreamSubmissionError, type PingResult, type RefLink, type RefsOptions, type RefsResult, type RenameOperation, type RenameResult, type RepoAccessResult, type RepoConfigureStatsView, type RepoDescribeResult, type RepoExploreItem, type RepoExploreOptions, type RepoExploreResult, type RepoInfo, type RepoList, type RepoListForCallerOptions, type RepoListOptions, type RepoListPageOptions, type RepoListPageResult, type RepoLocator, type RepoRecentInfo, type RepoRef, type RepoShapeInstanceCountsView, type RepoSort, type RepoStatsBatchResult, type RepoStatsView, type RepoWithStatsInfo, type RequestEvent, type ResolveWrefResult, type RetractOp, type RetractOperation, type RetryPolicyOptions, type ReviseOp, type ReviseOperation, SDK_VERSION, type SearchOptions, type SearchResult, type Shape, type ShapeChange, type ShapeCreateOptions, type ShapeFields, type ShapeGetOptions, type ShapeHistory, type ShapeHistoryOptions, type ShapeList, type ShapeListOptions, type ShapeRef, type ShapeRemove, type ShapeReviseOptions, type ShapeValidatorResult, type StreamAppendInput, type StreamAppendResult, type StreamContinuationState, type SubscriptionBindCredentialsResult, type SubscriptionCompatCreateInput, type SubscriptionCompatUpdateInput, type SubscriptionInfo, type SubscriptionList, type SubscriptionUnbindCredentialsResult, type SynthesizedRepoContent, type ThingDetail, type ThingGet, type ThingGetManyResult, type ThingGetOptions, type ThingGetWithLease, type ThingGraphOptions, type ThingGraphResult, type ThingGraphValue, type ThingHead, type ThingHeadOptions, type ThingHeadRequest, type ThingHeadVersionsResult, type ThingHistory, type ThingHistoryOptions, type ThingItem, type ThingMetadata, type TokenInfo, type TokenResult, type UndeclaredFieldsWarning, type ValidationDiagnostic, type ValidationResult, type VerifiedCliCall, WarmHubClient, type WarmHubClientOptions, WarmHubError, type WarmHubErrorDetails, type WherePredicate, type WhoamiInfo, type WhoamiScopeEntry, type WireScopeEntry, connectionErrorMessage, contentFieldLimitError, countStreamAppendResultStatuses, isConnectionError, isRetryable, isWarmHubError, normalizeWref, resolveFunctionLogMode, sanitizeErrorMessage, sdkVersionIsBelowMinimum, streamAppendResultStatus, submitOperationsViaStream, toWarmHubError, validateAgainstShape, verifyCliCall };
|
|
4864
|
+
export { type AboutOptions, type AboutResult, type AccessResolveInput, type AccessResolveResult, type AccessTokenProvider, type ActionAttemptInfo, type ActionDeliveryTarget, type ActionLeaseAcquire, type ActionLeaseOp, type ActionListNotificationsOptions, type ActionListRunsOptions, type ActionLiveFeed, type ActionLiveFeedOptions, type ActionNotificationInfo, type ActionRunInfo, type ActionRunStatsInfo, type ActionRunStatsOptions, type AddOp, type AddOperation, AllStreamOperationsFailedError, type Assertion, CLI_INSTALL_REPO_HEADER, CLI_SIGNATURE_HEADER, CLI_TIMESTAMP_HEADER, CONTENT_FIELD_LIMIT_ERROR, type CliCallSecrets, CliCallVerificationError, type CliCallVerificationFailureReason, type CollectionAddOp, type CollectionAddType, type CollectionContainsOptions, type CollectionContainsResult, type CollectionCreateOptions, type CollectionDiffOptions, type CollectionDiffResult, type CollectionMember, type CollectionMembersOptions, type CollectionMembersPage, type CollectionMembershipRole, type CollectionMutationResult, type CollectionQuerySourceOptions, type CollectionReadDataMode, type CollectionReadSummary, type CollectionReviseOptions, type CollectionStatsOptions, type CollectionStatsResult, type CollectionTag, type CollectionType, type ComponentHistory, type ComponentHistoryOptions, type ComponentInfo, type ComponentInstallResult, type ComponentList, type ComponentListOptions, type ComponentUninstallResult, type ComponentView, type CoreErrorKind, type CountOptions, type CountResult, type CredentialAuditEntry, type CredentialDeleteResult, type CredentialGrantResult, type CredentialInfo, type CredentialKeyMutationResult, type CredentialRevokeResult, type CredentialUngrantResult, type CurrentUserInfo, DEFAULT_API_URL, DEFAULT_STREAM_CHUNK_SIZE, type ErrorKind, type FilterOptions, type FilterResult, type FunctionLogMode, type GlobalSearchOptions, type GlobalSearchResult, type GlobalSearchResultItem, type HeadResult, type HistoryResult, type HomepageFeaturedListsResult, type IndexedFieldEntry, type IndexedFieldsReport, type LiveHandle, type LiveRepoEvent, type LiveSubscriptionLogOptions, type LiveThingHeadOptions, type LiveThingHistoryOptions, type LiveWatchResult, MAX_CONTENT_FIELD_BYTES, MAX_STREAM_APPEND_OPERATION_COUNT, type Operation, OperationBuilder, type OperationBuilderAddInput, type OperationBuilderClient, type OperationBuilderOp, type OperationBuilderOptions, type OperationSubmitResult, type OrgAccessResult, type OrgInfo, type OrgList, type OrgListMembersOptions, type OrgListOptions, type OrgMemberInfo, type OrgMemberList, type OrgRef, type OrgRole, type Page, type PageRequest, PartialStreamSubmissionError, type PingResult, type RefLink, type RefsOptions, type RefsResult, type RenameOperation, type RenameResult, type RepoAccessResult, type RepoConfigureStatsView, type RepoDescribeResult, type RepoExploreItem, type RepoExploreOptions, type RepoExploreResult, type RepoInfo, type RepoList, type RepoListForCallerOptions, type RepoListOptions, type RepoListPageOptions, type RepoListPageResult, type RepoLocator, type RepoRecentInfo, type RepoRef, type RepoShapeInstanceCountsView, type RepoSort, type RepoStatsBatchResult, type RepoStatsView, type RepoWithStatsInfo, type RequestEvent, type ResolveWrefResult, type RetractOp, type RetractOperation, type RetryPolicyOptions, type ReviseOp, type ReviseOperation, SDK_VERSION, type SearchOptions, type SearchResult, type Shape, type ShapeChange, type ShapeCreateOptions, type ShapeFields, type ShapeGetOptions, type ShapeHistory, type ShapeHistoryOptions, type ShapeList, type ShapeListOptions, type ShapeRef, type ShapeRemove, type ShapeReviseOptions, type ShapeValidatorResult, type StreamAppendInput, type StreamAppendResult, type StreamContinuationState, type SubscriptionBindCredentialsResult, type SubscriptionCompatCreateInput, type SubscriptionCompatUpdateInput, type SubscriptionInfo, type SubscriptionList, type SubscriptionUnbindCredentialsResult, type SynthesizedRepoContent, type ThingDetail, type ThingGet, type ThingGetManyResult, type ThingGetOptions, type ThingGetWithLease, type ThingGraphOptions, type ThingGraphResult, type ThingGraphValue, type ThingHead, type ThingHeadOptions, type ThingHeadRequest, type ThingHeadVersionsResult, type ThingHistory, type ThingHistoryOptions, type ThingItem, type ThingMetadata, type TokenInfo, type TokenResult, type UndeclaredFieldsWarning, type ValidationDiagnostic, type ValidationResult, type VerifiedCliCall, WarmHubClient, type WarmHubClientOptions, WarmHubError, type WarmHubErrorDetails, type WherePredicate, type WhoamiInfo, type WhoamiScopeEntry, type WireScopeEntry, connectionErrorMessage, contentFieldLimitError, countStreamAppendResultStatuses, isConnectionError, isRetryable, isWarmHubError, normalizeWref, resolveFunctionLogMode, sanitizeErrorMessage, sdkVersionIsBelowMinimum, streamAppendResultStatus, submitOperationsViaStream, toWarmHubError, validateAgainstShape, verifyCliCall };
|
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-
|
|
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-AFP7ZGMR.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-
|
|
2
|
-
export { DEFAULT_API_URL, SDK_VERSION, WarmHubClient, WarmHubError, toWarmHubError } from './chunk-
|
|
1
|
+
import { WarmHubClient } from './chunk-AFP7ZGMR.js';
|
|
2
|
+
export { DEFAULT_API_URL, SDK_VERSION, WarmHubClient, WarmHubError, toWarmHubError } from './chunk-AFP7ZGMR.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