withruntime 0.8.3 → 0.8.4
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/products/jobs.d.ts +1 -1
- package/dist/products/jobs.js +2 -2
- package/dist/transport.d.ts +1 -1
- package/dist/transport.js +1 -1
- package/package.json +1 -1
package/dist/products/jobs.d.ts
CHANGED
|
@@ -134,7 +134,7 @@ export type CreateJob = {
|
|
|
134
134
|
maxTotalCostMicros?: number;
|
|
135
135
|
};
|
|
136
136
|
/** The size a run gets when `compute` leaves a field out: the sandbox
|
|
137
|
-
* defaults, in the region `us-east
|
|
137
|
+
* defaults, in the region `us-east`. */
|
|
138
138
|
export declare const JOB_DEFAULTS: {
|
|
139
139
|
region: string;
|
|
140
140
|
vcpu: number;
|
package/dist/products/jobs.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { Page } from "../page.js";
|
|
2
2
|
import { RuntimeError, ServiceUnavailableError } from "../errors.js";
|
|
3
3
|
/** The size a run gets when `compute` leaves a field out: the sandbox
|
|
4
|
-
* defaults, in the region `us-east
|
|
4
|
+
* defaults, in the region `us-east`. */
|
|
5
5
|
export const JOB_DEFAULTS = {
|
|
6
|
-
region: "us-east
|
|
6
|
+
region: "us-east",
|
|
7
7
|
vcpu: 2,
|
|
8
8
|
cpuMode: "shared",
|
|
9
9
|
cpuFloorMillis: 50,
|
package/dist/transport.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { RuntimeError } from "./errors.js";
|
|
2
|
-
export declare const VERSION = "0.8.
|
|
2
|
+
export declare const VERSION = "0.8.4";
|
|
3
3
|
export declare const DEFAULT_BASE_URL = "https://api.withruntime.com";
|
|
4
4
|
export type RequestOptions = {
|
|
5
5
|
/** Sent as Idempotency-Key. Omit it: the SDK makes one per call and keeps
|
package/dist/transport.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ConnectionError, errorFor, RuntimeError, WAITS_FOR_ROOM } from "./errors.js";
|
|
2
2
|
import { describeRoute, envFetch, openWebSocket } from "./proxy.js";
|
|
3
|
-
export const VERSION = "0.8.
|
|
3
|
+
export const VERSION = "0.8.4";
|
|
4
4
|
export const DEFAULT_BASE_URL = "https://api.withruntime.com";
|
|
5
5
|
export function apiOrigin(value) {
|
|
6
6
|
const url = new URL(value);
|