sim 2.3.0-preview.323.1 → 2.3.0-preview.325.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/README.md +3 -2
- package/dist/commands/protocol/deployed-urls.d.ts +25 -0
- package/dist/commands/protocol/run-source-location.d.ts +7 -0
- package/dist/commands/protocol/source-check.d.ts +2 -0
- package/dist/commands/protocol/source-dir/command-lock.d.ts +1 -1
- package/dist/commands/protocol/source-loop-help.d.ts +4 -0
- package/dist/commands/protocol/source-primer.d.ts +5 -2
- package/dist/commands/protocol/source-ui.d.ts +6 -2
- package/dist/contract/types.d.ts +2 -0
- package/dist/exit-codes.d.ts +8 -0
- package/dist/generated/v2-api.d.ts +51 -51
- package/dist/http/client.d.ts +2 -0
- package/dist/index.js +14676 -14142
- package/dist/output/github-actions.d.ts +23 -0
- package/dist/runtime.js +14676 -14142
- package/package.json +1 -1
package/dist/http/client.d.ts
CHANGED
|
@@ -19,6 +19,8 @@ export declare class SimApiError extends Error {
|
|
|
19
19
|
}
|
|
20
20
|
/** The code of a request the caller cancelled (its signal aborted): not an unreachable server. */
|
|
21
21
|
export declare const REQUEST_CANCELLED = "REQUEST_CANCELLED";
|
|
22
|
+
/** Whether `error` is a request its caller cancelled, which no best-effort read may swallow. */
|
|
23
|
+
export declare function isRequestCancelled(error: unknown): boolean;
|
|
22
24
|
/**
|
|
23
25
|
* Whether a request got no answer from the server: no connection or a timeout (status 0 with no
|
|
24
26
|
* code, so never a cancellation), or one of the gateway `statuses` the caller treats as a gateway
|