@warmhub/sdk-ts 0.73.0 → 0.75.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/{chunk-GHJFQ6F7.js → chunk-QQTES2LQ.js} +94 -16
- package/dist/chunk-QQTES2LQ.js.map +1 -0
- package/dist/index.d.ts +86 -16
- package/dist/index.js +1 -1
- package/dist/react.js +2 -2
- package/package.json +1 -1
- package/dist/chunk-GHJFQ6F7.js.map +0 -1
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;
|
|
@@ -1319,9 +1361,11 @@ type StreamFailureCause = {
|
|
|
1319
1361
|
* Error raised when a streamed commit submission fails after an ambiguous or
|
|
1320
1362
|
* partial append.
|
|
1321
1363
|
*
|
|
1322
|
-
* The `completedOperations` field contains
|
|
1323
|
-
*
|
|
1324
|
-
*
|
|
1364
|
+
* The `completedOperations` field contains returned rows the SDK knows
|
|
1365
|
+
* completed. `acknowledgedOperationCount` also records progress when an append
|
|
1366
|
+
* response contains sparse or empty result rows. Before retrying manually,
|
|
1367
|
+
* inspect repository state because the failed append may have committed
|
|
1368
|
+
* additional operations that were not reflected locally.
|
|
1325
1369
|
*
|
|
1326
1370
|
* @see https://docs.warmhub.ai/sdk/transient-retry/#partial-submissions
|
|
1327
1371
|
*/
|
|
@@ -1337,6 +1381,13 @@ declare class PartialStreamSubmissionError extends Error {
|
|
|
1337
1381
|
* @see https://docs.warmhub.ai/sdk-reference/classes/partialstreamsubmissionerror/#completedoperations
|
|
1338
1382
|
*/
|
|
1339
1383
|
readonly completedOperations: SubmittedStreamResult['operations'];
|
|
1384
|
+
/**
|
|
1385
|
+
* Number of operations covered by append responses the SDK received before
|
|
1386
|
+
* the failure. This can exceed `completedOperations.length` when the backend
|
|
1387
|
+
* returns sparse or empty result rows.
|
|
1388
|
+
* @see https://docs.warmhub.ai/sdk-reference/classes/partialstreamsubmissionerror/#acknowledgedoperationcount
|
|
1389
|
+
*/
|
|
1390
|
+
readonly acknowledgedOperationCount: number;
|
|
1340
1391
|
/**
|
|
1341
1392
|
* Underlying error that triggered the partial submission, preserved for
|
|
1342
1393
|
* diagnostics. Inspect via `isWarmHubError(err.cause)` / `err.cause.kind`.
|
|
@@ -1346,6 +1397,7 @@ declare class PartialStreamSubmissionError extends Error {
|
|
|
1346
1397
|
constructor(input: {
|
|
1347
1398
|
cause: unknown;
|
|
1348
1399
|
completedOperations: SubmittedStreamResult['operations'];
|
|
1400
|
+
acknowledgedOperationCount?: number;
|
|
1349
1401
|
});
|
|
1350
1402
|
}
|
|
1351
1403
|
/**
|
|
@@ -1378,9 +1430,9 @@ declare class AllStreamOperationsFailedError extends Error {
|
|
|
1378
1430
|
* Multi-op chunks bypass retry entirely because the backend applies
|
|
1379
1431
|
* operations one-at-a-time in their own transactions, so a mid-chunk
|
|
1380
1432
|
* transport failure on attempt 1 may have committed an arbitrary
|
|
1381
|
-
* prefix. Multi-chunk mid-flight failures (`
|
|
1382
|
-
* also bypass retry. Both surface `PartialStreamSubmissionError
|
|
1383
|
-
*
|
|
1433
|
+
* prefix. Multi-chunk mid-flight failures (`acknowledgedOperationCount > 0`)
|
|
1434
|
+
* also bypass retry. Both surface `PartialStreamSubmissionError`; callers must
|
|
1435
|
+
* inspect repository state and resume only operations known not to have landed.
|
|
1384
1436
|
*
|
|
1385
1437
|
* Definite client rejections (`UNAUTHENTICATED`, `VALIDATION_ERROR`,
|
|
1386
1438
|
* `CONFLICT`, `RATE_LIMITED`, `ALREADY_RETRACTED`, …) on the first chunk
|
|
@@ -1442,6 +1494,8 @@ declare function submitOperationsViaStream(client: OperationStreamClient, args:
|
|
|
1442
1494
|
chunkSize?: number;
|
|
1443
1495
|
skipExisting?: boolean;
|
|
1444
1496
|
streamId?: string;
|
|
1497
|
+
/** Return the writer's own repository-sequence acknowledgement. */
|
|
1498
|
+
returnRepoSeq?: boolean;
|
|
1445
1499
|
/**
|
|
1446
1500
|
* Bounded auto-idempotency retry for transient first-chunk failures.
|
|
1447
1501
|
* Default-on (3 attempts, 250ms base, 8s cap, jittered exponential).
|
|
@@ -1793,7 +1847,9 @@ type ReviseInput = Omit<ReviseOp, 'operation'> | ReviseOp;
|
|
|
1793
1847
|
* The builder is not a promise — there is no `build()` method, and `await cb`
|
|
1794
1848
|
* alone will not submit anything. Finalize the batch by calling
|
|
1795
1849
|
* `await cb.commit({ client, orgName, repoName, ... })`, which validates,
|
|
1796
|
-
* submits, and seals the builder in one step.
|
|
1850
|
+
* submits, and seals the builder in one step. A partial submission also seals
|
|
1851
|
+
* the builder because some operations may have landed. Reusing a sealed
|
|
1852
|
+
* builder throws.
|
|
1797
1853
|
*
|
|
1798
1854
|
* @example
|
|
1799
1855
|
* ```ts
|
|
@@ -1893,13 +1949,14 @@ declare class OperationBuilder {
|
|
|
1893
1949
|
/**
|
|
1894
1950
|
* Validate, submit, and seal the builder.
|
|
1895
1951
|
*
|
|
1896
|
-
* A successful call submits operations through the same stream path as `client.commit.apply` and makes the builder single-use. Validation failures throw before any server request is made.
|
|
1952
|
+
* A successful call submits operations through the same stream path as `client.commit.apply` and makes the builder single-use. A `PartialStreamSubmissionError` also seals the builder to prevent blind replay. Validation failures throw before any server request is made. Deterministic all-failed batches surface as `AllStreamOperationsFailedError` with per-op failure data.
|
|
1897
1953
|
*
|
|
1898
1954
|
* @param params.client WarmHub client or compatible stream client used for submission.
|
|
1899
1955
|
* @param params.message Optional commit message.
|
|
1900
1956
|
* @param params.committer Optional wref identifying the actor on whose behalf the write is made.
|
|
1901
1957
|
* @param params.chunkSize Maximum operations per stream append.
|
|
1902
1958
|
* @param params.streamId Advanced continuation hook for caller-managed streams.
|
|
1959
|
+
* @param params.returnRepoSeq Return the writer's own repository-sequence acknowledgement.
|
|
1903
1960
|
* @param params.retry Retry policy for transient first-chunk failures, or `false` to disable automatic retry.
|
|
1904
1961
|
* @see https://docs.warmhub.ai/sdk-reference/classes/operationbuilder/#commit
|
|
1905
1962
|
*/
|
|
@@ -1911,6 +1968,7 @@ declare class OperationBuilder {
|
|
|
1911
1968
|
message?: string;
|
|
1912
1969
|
chunkSize?: number;
|
|
1913
1970
|
streamId?: string;
|
|
1971
|
+
returnRepoSeq?: boolean;
|
|
1914
1972
|
retry?: RetryPolicyOptions | false;
|
|
1915
1973
|
}): Promise<OperationSubmitResult$1>;
|
|
1916
1974
|
private assertNotSubmitted;
|
|
@@ -2697,6 +2755,7 @@ type ThingItem = {
|
|
|
2697
2755
|
active?: boolean;
|
|
2698
2756
|
data?: unknown;
|
|
2699
2757
|
aboutWref?: string;
|
|
2758
|
+
roles?: CollectionMembershipRole[];
|
|
2700
2759
|
metadata?: ThingMetadata;
|
|
2701
2760
|
[key: string]: unknown;
|
|
2702
2761
|
};
|
|
@@ -2990,8 +3049,11 @@ type SubscriptionBindCredentialsResult = SubscriptionBindCredentialsResult$1;
|
|
|
2990
3049
|
/** @internal */
|
|
2991
3050
|
type SubscriptionUnbindCredentialsResult = SubscriptionUnbindCredentialsResult$1;
|
|
2992
3051
|
/** @internal */
|
|
3052
|
+
type CollectionMembershipRole = CollectionMembershipRole$1;
|
|
3053
|
+
/** @internal */
|
|
2993
3054
|
type Assertion = ThingDetail & {
|
|
2994
3055
|
children: Assertion[];
|
|
3056
|
+
roles?: CollectionMembershipRole[];
|
|
2995
3057
|
};
|
|
2996
3058
|
/** @internal */
|
|
2997
3059
|
type AboutResult = {
|
|
@@ -3036,6 +3098,7 @@ type AboutOptions = {
|
|
|
3036
3098
|
includeRetracted?: boolean;
|
|
3037
3099
|
depth?: number;
|
|
3038
3100
|
resolveCollections?: boolean;
|
|
3101
|
+
role?: 'from' | 'to' | 'ends';
|
|
3039
3102
|
limit?: number;
|
|
3040
3103
|
cursor?: string;
|
|
3041
3104
|
where?: WherePredicate[];
|
|
@@ -3107,6 +3170,8 @@ type FilterOptions = {
|
|
|
3107
3170
|
excludeInfraShapes?: boolean;
|
|
3108
3171
|
/** Expand collection targets to their members in the result. */
|
|
3109
3172
|
resolveCollections?: boolean;
|
|
3173
|
+
/** Keep collection-resolved assertions where the target occupies this role. */
|
|
3174
|
+
role?: 'from' | 'to' | 'ends';
|
|
3110
3175
|
/**
|
|
3111
3176
|
* Field-value WHERE predicates (ANDed). Each predicate must target a pinned/ready
|
|
3112
3177
|
* field for typed-index routing; unavailable or unindexable fields return a
|
|
@@ -3124,7 +3189,7 @@ type FilterOptions = {
|
|
|
3124
3189
|
*
|
|
3125
3190
|
* @see https://docs.warmhub.ai/sdk/read-semantics/#search-modes
|
|
3126
3191
|
*/
|
|
3127
|
-
type SearchOptions = Omit<FilterOptions, 'where'> & {
|
|
3192
|
+
type SearchOptions = Omit<FilterOptions, 'where' | 'role'> & {
|
|
3128
3193
|
/** Restrict the search to assertions about this wref target. */
|
|
3129
3194
|
about?: string;
|
|
3130
3195
|
/** Search mode: `text` (BM25), `vector` (semantic), or `hybrid` (combined). Defaults to `text`. */
|
|
@@ -3141,7 +3206,7 @@ type SearchOptions = Omit<FilterOptions, 'where'> & {
|
|
|
3141
3206
|
* pagination fields (`limit`, `cursor`) are ignored.
|
|
3142
3207
|
* @see https://docs.warmhub.ai/sdk-reference/type-aliases/countoptions/
|
|
3143
3208
|
*/
|
|
3144
|
-
type CountOptions = FilterOptions
|
|
3209
|
+
type CountOptions = Omit<FilterOptions, 'role'>;
|
|
3145
3210
|
/**
|
|
3146
3211
|
* Options for `client.thing.refs` — wref-field reverse and forward lookups.
|
|
3147
3212
|
*
|
|
@@ -3629,6 +3694,10 @@ declare class WarmHubClient {
|
|
|
3629
3694
|
* @param opts.chunkSize Maximum operations per stream append. Values are clamped by the SDK.
|
|
3630
3695
|
* @param opts.skipExisting Return `noop` for add operations whose target already exists.
|
|
3631
3696
|
* @param opts.streamId Advanced continuation hook for caller-managed streams.
|
|
3697
|
+
* @param opts.returnRepoSeq Return the sequence allocated to the writer's
|
|
3698
|
+
* own commit acknowledgement. This does not disclose a reader-facing
|
|
3699
|
+
* repository head. Multi-chunk submissions return the last sequence
|
|
3700
|
+
* actually allocated; a later no-op or failed chunk does not erase it.
|
|
3632
3701
|
* @param opts.retry Retry policy for transient first-chunk failures, or `false` to disable automatic retry.
|
|
3633
3702
|
*/
|
|
3634
3703
|
apply: (orgName: string, repoName: string, message: string | undefined, operations: Operation[], opts?: {
|
|
@@ -3637,6 +3706,7 @@ declare class WarmHubClient {
|
|
|
3637
3706
|
chunkSize?: number;
|
|
3638
3707
|
skipExisting?: boolean;
|
|
3639
3708
|
streamId?: string;
|
|
3709
|
+
returnRepoSeq?: boolean;
|
|
3640
3710
|
retry?: RetryPolicyOptions | false;
|
|
3641
3711
|
}) => Promise<OperationSubmitResult>;
|
|
3642
3712
|
};
|
|
@@ -4803,4 +4873,4 @@ declare class WarmHubClient {
|
|
|
4803
4873
|
private watchRepoQuery;
|
|
4804
4874
|
}
|
|
4805
4875
|
|
|
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 };
|
|
4876
|
+
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-QQTES2LQ.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-QQTES2LQ.js';
|
|
2
|
+
export { DEFAULT_API_URL, SDK_VERSION, WarmHubClient, WarmHubError, toWarmHubError } from './chunk-QQTES2LQ.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