@isoloop/runtime 0.1.0-next.6 → 0.1.0-next.7
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/bootstrap.js
CHANGED
|
@@ -199,6 +199,7 @@ var init_dist = __esmMin((() => {
|
|
|
199
199
|
"reply_invalid",
|
|
200
200
|
"aborted",
|
|
201
201
|
"no_responder",
|
|
202
|
+
"dropped",
|
|
202
203
|
"contracts_failed",
|
|
203
204
|
"contracts_invalid",
|
|
204
205
|
"contracts_mismatch",
|
|
@@ -2651,7 +2652,7 @@ var init_render = __esmMin((() => {
|
|
|
2651
2652
|
headListeners = /* @__PURE__ */ new Set();
|
|
2652
2653
|
}));
|
|
2653
2654
|
// package.json
|
|
2654
|
-
var version = "0.1.0-next.
|
|
2655
|
+
var version = "0.1.0-next.7";
|
|
2655
2656
|
// src/vanilla.ts
|
|
2656
2657
|
var vanilla_exports = /* @__PURE__ */ __exportAll({
|
|
2657
2658
|
REQUIRES: () => REQUIRES,
|
package/dist/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { a as defineIsolate, c as ScrollIntoViewOptionsLike, d as IsolateInspector, i as REQUIRES, l as BusClient, n as IsolateDefinition, o as HostApi, r as IsolateRoot, s as HostCallError, t as IsolateContext, u as SubscribeOptions } from "./vanilla-
|
|
1
|
+
import { a as defineIsolate, c as ScrollIntoViewOptionsLike, d as IsolateInspector, i as REQUIRES, l as BusClient, n as IsolateDefinition, o as HostApi, r as IsolateRoot, s as HostCallError, t as IsolateContext, u as SubscribeOptions } from "./vanilla-BB6MHSfu.js";
|
|
2
2
|
import { BusError } from "@isoloop/protocol";
|
|
3
3
|
export { type BusClient, BusError, type HostApi, HostCallError, type IsolateContext, type IsolateDefinition, type IsolateInspector, type IsolateRoot, REQUIRES, type ScrollIntoViewOptionsLike, type SubscribeOptions, defineIsolate };
|
package/dist/index.js
CHANGED
|
@@ -12,7 +12,7 @@ var HostCallError = class extends Error {
|
|
|
12
12
|
};
|
|
13
13
|
// src/vanilla.ts
|
|
14
14
|
/** This build's stamp: `major.minor` of the package version, inlined when tsdown bundles it. */
|
|
15
|
-
const REQUIRES = majorMinor("0.1.0-next.
|
|
15
|
+
const REQUIRES = majorMinor("0.1.0-next.7") ?? "0.0";
|
|
16
16
|
/**
|
|
17
17
|
* Types an isolate module's default export and stamps it with the version
|
|
18
18
|
* it was built against. `Root` defaults to the structural `IsolateRoot`.
|
package/dist/testing.d.ts
CHANGED
|
@@ -81,7 +81,12 @@ interface BusClient {
|
|
|
81
81
|
}): Promise<void>;
|
|
82
82
|
/** Returns the unsubscribe function. */
|
|
83
83
|
subscribe<Out>(topic: TopicRef<any, Out, any, any>, fn: (r: TypedRecord<Out>) => void | Promise<void>, opts?: SubscribeOptions): () => void;
|
|
84
|
-
/**
|
|
84
|
+
/**
|
|
85
|
+
* Topics with a `reply` schema only. Rejects with `timeout` after
|
|
86
|
+
* `timeoutMs` (default 30 s), or with `dropped` at once when the topic's
|
|
87
|
+
* retention removed the request before the bus delivered it to any
|
|
88
|
+
* subscriber.
|
|
89
|
+
*/
|
|
85
90
|
request<In, ROut>(topic: TopicRef<In, any, any, ROut>, value: In, opts?: {
|
|
86
91
|
key?: string;
|
|
87
92
|
timeoutMs?: number;
|
package/dist/worker.js
CHANGED
|
@@ -199,6 +199,7 @@ var init_dist = __esmMin((() => {
|
|
|
199
199
|
"reply_invalid",
|
|
200
200
|
"aborted",
|
|
201
201
|
"no_responder",
|
|
202
|
+
"dropped",
|
|
202
203
|
"contracts_failed",
|
|
203
204
|
"contracts_invalid",
|
|
204
205
|
"contracts_mismatch",
|
|
@@ -2634,7 +2635,7 @@ var init_render = __esmMin((() => {
|
|
|
2634
2635
|
headListeners = /* @__PURE__ */ new Set();
|
|
2635
2636
|
}));
|
|
2636
2637
|
// package.json
|
|
2637
|
-
var version = "0.1.0-next.
|
|
2638
|
+
var version = "0.1.0-next.7";
|
|
2638
2639
|
// src/vanilla.ts
|
|
2639
2640
|
var vanilla_exports = /* @__PURE__ */ __exportAll({
|
|
2640
2641
|
REQUIRES: () => REQUIRES,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@isoloop/runtime",
|
|
3
|
-
"version": "0.1.0-next.
|
|
3
|
+
"version": "0.1.0-next.7",
|
|
4
4
|
"description": "Isolate-side runtime that runs inside each worker.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -35,8 +35,8 @@
|
|
|
35
35
|
}
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@isoloop/dom": "0.1.0-next.
|
|
39
|
-
"@isoloop/protocol": "0.1.0-next.
|
|
38
|
+
"@isoloop/dom": "0.1.0-next.7",
|
|
39
|
+
"@isoloop/protocol": "0.1.0-next.7"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
42
|
"typescript": "7.0.2"
|