@warmhub/sdk-ts 0.64.0 → 0.65.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.
|
@@ -9341,7 +9341,7 @@ function validateWarmHubClientOptions(options) {
|
|
|
9341
9341
|
throw new TypeError(`Unknown WarmHubClient option "${key}"${hint}`);
|
|
9342
9342
|
}
|
|
9343
9343
|
}
|
|
9344
|
-
var SDK_VERSION = "0.
|
|
9344
|
+
var SDK_VERSION = "0.65.0" ;
|
|
9345
9345
|
var DEFAULT_API_URL = "https://api.warmhub.ai";
|
|
9346
9346
|
var UNBATCHED_TRPC_PATHS = /* @__PURE__ */ new Set([
|
|
9347
9347
|
"repo.shapeInstanceCounts",
|
|
@@ -9939,6 +9939,23 @@ var WarmHubClient = class _WarmHubClient {
|
|
|
9939
9939
|
throw toWarmHubError(error);
|
|
9940
9940
|
}
|
|
9941
9941
|
},
|
|
9942
|
+
/**
|
|
9943
|
+
* Install lifecycle timeline from the durable install-events log (GH-4690).
|
|
9944
|
+
* Omit `componentRef` for the repo-wide activity feed; pass `Org/Name` for a
|
|
9945
|
+
* single component's history.
|
|
9946
|
+
*/
|
|
9947
|
+
history: async (orgName, repoName, opts) => {
|
|
9948
|
+
try {
|
|
9949
|
+
return await this.trpc.component.history.query({
|
|
9950
|
+
orgName,
|
|
9951
|
+
repoName,
|
|
9952
|
+
componentRef: opts?.componentRef,
|
|
9953
|
+
limit: opts?.limit
|
|
9954
|
+
});
|
|
9955
|
+
} catch (error) {
|
|
9956
|
+
throw toWarmHubError(error);
|
|
9957
|
+
}
|
|
9958
|
+
},
|
|
9942
9959
|
/**
|
|
9943
9960
|
* Install a registered component into a repository (GH-4610).
|
|
9944
9961
|
*
|
|
@@ -12613,5 +12630,5 @@ re2js/build/index.js:
|
|
|
12613
12630
|
*/
|
|
12614
12631
|
|
|
12615
12632
|
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_COUNT2 as 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 };
|
|
12616
|
-
//# sourceMappingURL=chunk-
|
|
12617
|
-
//# sourceMappingURL=chunk-
|
|
12633
|
+
//# sourceMappingURL=chunk-C2Q4D3JM.js.map
|
|
12634
|
+
//# sourceMappingURL=chunk-C2Q4D3JM.js.map
|