@warmhub/sdk-ts 0.60.0 → 0.60.1
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-D5A5SSUU.js +12474 -0
- package/dist/chunk-D5A5SSUU.js.map +1 -0
- package/dist/index.d.ts +65 -24
- package/dist/index.js +1 -1
- package/dist/react.js +2 -2
- package/package.json +5 -5
- package/dist/chunk-E4ZCBSQZ.js +0 -6851
- package/dist/chunk-E4ZCBSQZ.js.map +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -84,6 +84,10 @@ type CliHttpMethod = 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE';
|
|
|
84
84
|
* The primitive vocabulary above is closed: any other type name (e.g. "text",
|
|
85
85
|
* "integer", "json", "date") is rejected. See VALID_PRIMITIVE_TYPES in
|
|
86
86
|
* ./shape-types.ts for the authoritative set.
|
|
87
|
+
* String `pattern` constraints use RE2 syntax and are evaluated with re2js so
|
|
88
|
+
* user-authored patterns run in linear time across backend, SDK, web, CLI, and
|
|
89
|
+
* worker-adjacent consumers. JavaScript-only constructs such as backreferences
|
|
90
|
+
* and lookarounds are rejected at shape-definition time.
|
|
87
91
|
*/
|
|
88
92
|
/**
|
|
89
93
|
* Maximum size, in bytes (UTF-8 encoded), allowed for a single content field value.
|
|
@@ -1286,7 +1290,8 @@ declare function submitOperationsViaStream(client: OperationStreamClient, args:
|
|
|
1286
1290
|
*
|
|
1287
1291
|
* Multiple schemes can be configured at once; in that case the verifier
|
|
1288
1292
|
* requires ALL of them to validate (downgrade-attack defense — an attacker
|
|
1289
|
-
* who learns only one credential can't drop the other from the request).
|
|
1293
|
+
* who learns only one credential can't drop the other from the request). Bearer
|
|
1294
|
+
* and Basic both use `Authorization`, so they cannot be configured together.
|
|
1290
1295
|
* If none are configured, the call is rejected as misconfigured.
|
|
1291
1296
|
*
|
|
1292
1297
|
* import { verifyCliCall } from '@warmhub/sdk-ts'
|
|
@@ -1372,34 +1377,23 @@ declare function verifyCliCall(request: Request, secrets: CliCallSecrets, opts?:
|
|
|
1372
1377
|
type ShapeFields = Record<string, unknown>;
|
|
1373
1378
|
|
|
1374
1379
|
/**
|
|
1375
|
-
*
|
|
1376
|
-
* @see https://docs.warmhub.ai/sdk-reference/interfaces/addop/
|
|
1380
|
+
* @see https://docs.warmhub.ai/sdk-reference/type-aliases/collectionaddtype/
|
|
1377
1381
|
*/
|
|
1378
|
-
|
|
1382
|
+
type CollectionAddType = CollectionTag$1;
|
|
1383
|
+
type NonCollectionAddKind = Exclude<CommitOperationKind, 'collection'>;
|
|
1384
|
+
interface BaseAddOp {
|
|
1379
1385
|
/**
|
|
1380
1386
|
* Operation discriminator. Always `add`.
|
|
1381
1387
|
*/
|
|
1382
1388
|
readonly operation: 'add';
|
|
1383
1389
|
/**
|
|
1384
|
-
*
|
|
1390
|
+
* Optional kind override: `shape`, `thing`, or `assertion`.
|
|
1385
1391
|
*/
|
|
1386
|
-
readonly
|
|
1392
|
+
readonly kind?: NonCollectionAddKind;
|
|
1387
1393
|
/**
|
|
1388
|
-
*
|
|
1389
|
-
*/
|
|
1390
|
-
readonly kind?: string;
|
|
1391
|
-
/**
|
|
1392
|
-
* Assertion target wref or inline collection descriptor. Presence of `about` makes the add an assertion unless `kind` overrides it.
|
|
1394
|
+
* Assertion target wref. Presence of `about` makes the add an assertion unless `kind` overrides it.
|
|
1393
1395
|
*/
|
|
1394
1396
|
readonly about?: string | CollectionAbout$2;
|
|
1395
|
-
/**
|
|
1396
|
-
* Collection type. Used only for collection adds.
|
|
1397
|
-
*/
|
|
1398
|
-
readonly type?: string;
|
|
1399
|
-
/**
|
|
1400
|
-
* Collection member wrefs. Used only for collection adds.
|
|
1401
|
-
*/
|
|
1402
|
-
readonly members?: string[];
|
|
1403
1397
|
/**
|
|
1404
1398
|
* Optional shape wref used by local validation.
|
|
1405
1399
|
*/
|
|
@@ -1417,6 +1411,54 @@ interface AddOp {
|
|
|
1417
1411
|
*/
|
|
1418
1412
|
readonly skipExisting?: boolean;
|
|
1419
1413
|
}
|
|
1414
|
+
/**
|
|
1415
|
+
* Builder add operation for shapes, things, and assertions.
|
|
1416
|
+
* @see https://docs.warmhub.ai/sdk-reference/interfaces/addop/
|
|
1417
|
+
*/
|
|
1418
|
+
interface AddOp extends BaseAddOp {
|
|
1419
|
+
/**
|
|
1420
|
+
* Target name. Use `Shape/localName` for things and assertions; use the plain shape name for shapes.
|
|
1421
|
+
*/
|
|
1422
|
+
readonly name: string;
|
|
1423
|
+
}
|
|
1424
|
+
/**
|
|
1425
|
+
* Builder collection add operation. Omitting `name` creates the backend's
|
|
1426
|
+
* canonical auto-named collection from the supplied members.
|
|
1427
|
+
* @see https://docs.warmhub.ai/sdk-reference/interfaces/collectionaddop/
|
|
1428
|
+
*/
|
|
1429
|
+
interface CollectionAddOp {
|
|
1430
|
+
/**
|
|
1431
|
+
* Operation discriminator. Always `add`.
|
|
1432
|
+
*/
|
|
1433
|
+
readonly operation: 'add';
|
|
1434
|
+
/**
|
|
1435
|
+
* Optional kind override. Collection add inputs may omit this when `type` and
|
|
1436
|
+
* `members` are present.
|
|
1437
|
+
*/
|
|
1438
|
+
readonly kind?: 'collection';
|
|
1439
|
+
/**
|
|
1440
|
+
* Optional collection name. Omit to let the backend assign the canonical
|
|
1441
|
+
* collection name from the supplied members.
|
|
1442
|
+
*/
|
|
1443
|
+
readonly name?: string;
|
|
1444
|
+
/**
|
|
1445
|
+
* Collection type.
|
|
1446
|
+
*/
|
|
1447
|
+
readonly type: CollectionAddType;
|
|
1448
|
+
/**
|
|
1449
|
+
* Collection member wrefs.
|
|
1450
|
+
*/
|
|
1451
|
+
readonly members: string[];
|
|
1452
|
+
/**
|
|
1453
|
+
* When true, an existing target returns `noop` instead of failing.
|
|
1454
|
+
*/
|
|
1455
|
+
readonly skipExisting?: boolean;
|
|
1456
|
+
}
|
|
1457
|
+
/**
|
|
1458
|
+
* Input accepted by `OperationBuilder.add`.
|
|
1459
|
+
* @see https://docs.warmhub.ai/sdk-reference/type-aliases/operationbuilderaddinput/
|
|
1460
|
+
*/
|
|
1461
|
+
type OperationBuilderAddInput = Omit<AddOp, 'operation'> | AddOp | Omit<CollectionAddOp, 'operation'> | CollectionAddOp;
|
|
1420
1462
|
/**
|
|
1421
1463
|
* Builder revise operation.
|
|
1422
1464
|
* @see https://docs.warmhub.ai/sdk-reference/interfaces/reviseop/
|
|
@@ -1490,7 +1532,7 @@ interface RetractOp {
|
|
|
1490
1532
|
* Operation queued by `OperationBuilder`.
|
|
1491
1533
|
* @see https://docs.warmhub.ai/sdk-reference/type-aliases/operationbuilderop/
|
|
1492
1534
|
*/
|
|
1493
|
-
type OperationBuilderOp = AddOp | ReviseOp | RetractOp;
|
|
1535
|
+
type OperationBuilderOp = AddOp | CollectionAddOp | ReviseOp | RetractOp;
|
|
1494
1536
|
type OperationSubmitResult$1 = SubmittedStreamResult;
|
|
1495
1537
|
/**
|
|
1496
1538
|
* Client-side validation diagnostic returned by `OperationBuilder.validate`.
|
|
@@ -1540,7 +1582,6 @@ interface OperationBuilderOptions {
|
|
|
1540
1582
|
}
|
|
1541
1583
|
/** @internal */
|
|
1542
1584
|
type OperationBuilderClient = OperationStreamClient;
|
|
1543
|
-
type AddInput = Omit<AddOp, 'operation'> | AddOp;
|
|
1544
1585
|
type ReviseInput = Omit<ReviseOp, 'operation'> | ReviseOp;
|
|
1545
1586
|
/**
|
|
1546
1587
|
* Fluent builder for composing, validating, and submitting WarmHub commit
|
|
@@ -1587,7 +1628,7 @@ declare class OperationBuilder {
|
|
|
1587
1628
|
* Set `kind: 'thing'` explicitly for hierarchical thing names that would otherwise look like assertion paths.
|
|
1588
1629
|
* @see https://docs.warmhub.ai/sdk-reference/classes/operationbuilder/#add
|
|
1589
1630
|
*/
|
|
1590
|
-
add(op:
|
|
1631
|
+
add(op: OperationBuilderAddInput): this;
|
|
1591
1632
|
/**
|
|
1592
1633
|
* Add a revise operation.
|
|
1593
1634
|
*
|
|
@@ -1801,7 +1842,7 @@ type CoreErrorKind = 'BACKEND' | 'NOT_FOUND' | 'FORBIDDEN' | 'UNAUTHENTICATED' |
|
|
|
1801
1842
|
* - `NOT_FOUND` — cause: a referenced entity (repo, org, thing, shape, subscription, credential set, etc.) is missing or the caller cannot see it; retryable: false; action: verify the identifier the call site used (wref, slug, name) and escalate to a caller with read access if the entity should exist; origin: SDK reads across all surfaces, commit pipeline, REST query endpoints
|
|
1802
1843
|
* - `FORBIDDEN` — cause: caller is authenticated but lacks the required permission; retryable: false; action: request the missing permission or use a token with broader scope; origin: SDK + REST authorization middleware
|
|
1803
1844
|
* - `UNAUTHENTICATED` — cause: missing, expired, or invalid bearer token on a tRPC or REST call; retryable: false; action: mint a fresh PAT and update whichever client option the application wires it into (`auth.getToken` callback or `accessToken` — the SDK does not read `WH_TOKEN` or any env var directly); `wh auth login` only refreshes the CLI's on-disk credentials and does not propagate to a constructed SDK client; for export tickets, remint via the appropriate backend endpoint; origin: SDK + REST auth middleware. Live-ticket SSE auth failures surface as `BACKEND`, not `UNAUTHENTICATED`, because `openSse` maps every non-OK SSE response to `BACKEND`.
|
|
1804
|
-
* - `VALIDATION_ERROR` — cause: input failed schema, shape,
|
|
1845
|
+
* - `VALIDATION_ERROR` — cause: input failed schema, shape, content-length, or read-pagination cursor validation; retryable: false; action: fix the offending field per the error message, or restart the read without a stale/non-advancing cursor; origin: commit pipeline, SDK writes, SDK read pagination helpers, client-side content limits
|
|
1805
1846
|
* - `CONFLICT` — cause: write collides with current state (concurrent edit, name already in use); retryable: false; action: refetch the current state and reconcile before retrying the write; origin: commit pipeline, repo/org creation. Archived org / repo writes surface as the pass-through code `ARCHIVED`, not `CONFLICT`.
|
|
1806
1847
|
* - `RATE_LIMITED` — cause: caller exceeded the per-token or per-org request budget; retryable: true; action: wait {@link WarmHubError.retryAfter} seconds before retrying; origin: REST + tRPC throttling
|
|
1807
1848
|
* - `CANCELLED` — cause: caller aborted the request via `AbortSignal`; retryable: true; action: retry only if the caller still wants the result; origin: SDK `AbortError` mapping
|
|
@@ -4310,4 +4351,4 @@ declare class WarmHubClient {
|
|
|
4310
4351
|
private watchRepoQuery;
|
|
4311
4352
|
}
|
|
4312
4353
|
|
|
4313
|
-
export { type AboutOptions, type AboutResult, type AccessResolveInput, type AccessResolveResult, type AccessTokenProvider, type ActionAttemptInfo, 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 CollectionAbout, type CollectionTag, 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 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 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 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 };
|
|
4354
|
+
export { type AboutOptions, type AboutResult, type AccessResolveInput, type AccessResolveResult, type AccessTokenProvider, type ActionAttemptInfo, 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 CollectionAbout, type CollectionAddOp, type CollectionAddType, type CollectionTag, 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 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 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-D5A5SSUU.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-D5A5SSUU.js';
|
|
2
|
+
export { DEFAULT_API_URL, SDK_VERSION, WarmHubClient, WarmHubError, toWarmHubError } from './chunk-D5A5SSUU.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.60.
|
|
3
|
+
"version": "0.60.1",
|
|
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.",
|
|
@@ -86,13 +86,13 @@
|
|
|
86
86
|
"@trpc/client": "11.17.0"
|
|
87
87
|
},
|
|
88
88
|
"devDependencies": {
|
|
89
|
-
"@vitest/coverage-v8": "
|
|
90
|
-
"@types/react": "
|
|
89
|
+
"@vitest/coverage-v8": "catalog:",
|
|
90
|
+
"@types/react": "catalog:",
|
|
91
91
|
"react": "19.2.6",
|
|
92
92
|
"tsup": "8.5.1",
|
|
93
93
|
"typedoc": "0.28.19",
|
|
94
94
|
"typedoc-plugin-markdown": "4.11.0",
|
|
95
|
-
"typescript": "
|
|
96
|
-
"vitest": "
|
|
95
|
+
"typescript": "catalog:",
|
|
96
|
+
"vitest": "catalog:"
|
|
97
97
|
}
|
|
98
98
|
}
|