rivetkit 2.1.0 → 2.1.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/browser/client.js +1 -1
- package/dist/browser/client.js.map +1 -1
- package/dist/browser/inspector/client.js +1 -1
- package/dist/browser/inspector/client.js.map +1 -1
- package/dist/inspector.tar.gz +0 -0
- package/dist/tsup/{chunk-LICW4TVI.cjs → chunk-65RINRXE.cjs} +97 -97
- package/dist/tsup/{chunk-LICW4TVI.cjs.map → chunk-65RINRXE.cjs.map} +1 -1
- package/dist/tsup/{chunk-7T4AIAQV.js → chunk-74ER4FEE.js} +4 -4
- package/dist/tsup/{chunk-5CI72Y5G.cjs → chunk-AGERRJ32.cjs} +152 -152
- package/dist/tsup/{chunk-5CI72Y5G.cjs.map → chunk-AGERRJ32.cjs.map} +1 -1
- package/dist/tsup/{chunk-YLYT7WSZ.js → chunk-AWJU3AZB.js} +5 -5
- package/dist/tsup/{chunk-WLLTFDMH.cjs → chunk-F5B36GL7.cjs} +30 -30
- package/dist/tsup/{chunk-WLLTFDMH.cjs.map → chunk-F5B36GL7.cjs.map} +1 -1
- package/dist/tsup/{chunk-DQFZ5S3X.cjs → chunk-FUBHHHK5.cjs} +3 -3
- package/dist/tsup/{chunk-DQFZ5S3X.cjs.map → chunk-FUBHHHK5.cjs.map} +1 -1
- package/dist/tsup/{chunk-E2WWZFTQ.js → chunk-IZ4M5TJU.js} +2 -2
- package/dist/tsup/{chunk-E2WWZFTQ.js.map → chunk-IZ4M5TJU.js.map} +1 -1
- package/dist/tsup/{chunk-RYSCONN4.cjs → chunk-LNDVGTPQ.cjs} +3 -3
- package/dist/tsup/{chunk-RYSCONN4.cjs.map → chunk-LNDVGTPQ.cjs.map} +1 -1
- package/dist/tsup/{chunk-TO4U43RL.cjs → chunk-LPXB254R.cjs} +234 -234
- package/dist/tsup/{chunk-TO4U43RL.cjs.map → chunk-LPXB254R.cjs.map} +1 -1
- package/dist/tsup/{chunk-WUXPLV6G.js → chunk-MICYEINX.js} +3 -3
- package/dist/tsup/{chunk-UN5D22OI.cjs → chunk-MMUXNMJF.cjs} +2 -2
- package/dist/tsup/{chunk-UN5D22OI.cjs.map → chunk-MMUXNMJF.cjs.map} +1 -1
- package/dist/tsup/{chunk-KGR7K72J.js → chunk-NAM3D5W5.js} +4 -4
- package/dist/tsup/{chunk-SHX2N2B4.js → chunk-OONQLPOH.js} +6 -6
- package/dist/tsup/{chunk-LBUMYRTK.cjs → chunk-Q5CW77IT.cjs} +74 -74
- package/dist/tsup/{chunk-LBUMYRTK.cjs.map → chunk-Q5CW77IT.cjs.map} +1 -1
- package/dist/tsup/{chunk-VSFWZWCC.js → chunk-T4PQK4WA.js} +5 -5
- package/dist/tsup/{chunk-ZMZNIOTG.js → chunk-VBU4P2IX.js} +2 -2
- package/dist/tsup/{chunk-UHDLODMO.cjs → chunk-WPDQXB7R.cjs} +4 -4
- package/dist/tsup/{chunk-UHDLODMO.cjs.map → chunk-WPDQXB7R.cjs.map} +1 -1
- package/dist/tsup/{chunk-XYUY6WQB.js → chunk-WTRB56DR.js} +2 -2
- package/dist/tsup/{chunk-CIXKJYPF.js → chunk-XQWBEBLD.js} +2 -2
- package/dist/tsup/{chunk-OV6UBV6G.cjs → chunk-ZR76ZGYS.cjs} +20 -20
- package/dist/tsup/{chunk-OV6UBV6G.cjs.map → chunk-ZR76ZGYS.cjs.map} +1 -1
- package/dist/tsup/client/mod.cjs +6 -6
- package/dist/tsup/client/mod.js +5 -5
- package/dist/tsup/common/log.cjs +2 -2
- package/dist/tsup/common/log.js +1 -1
- package/dist/tsup/common/websocket.cjs +3 -3
- package/dist/tsup/common/websocket.js +2 -2
- package/dist/tsup/driver-helpers/mod.cjs +4 -4
- package/dist/tsup/driver-helpers/mod.js +3 -3
- package/dist/tsup/driver-test-suite/mod.cjs +60 -60
- package/dist/tsup/driver-test-suite/mod.js +10 -10
- package/dist/tsup/inspector/mod.cjs +3 -3
- package/dist/tsup/inspector/mod.js +2 -2
- package/dist/tsup/mod.cjs +8 -8
- package/dist/tsup/mod.js +7 -7
- package/dist/tsup/serve-test-suite/mod.cjs +99 -99
- package/dist/tsup/serve-test-suite/mod.js +10 -10
- package/dist/tsup/test/mod.cjs +10 -10
- package/dist/tsup/test/mod.js +6 -6
- package/dist/tsup/utils.cjs +2 -2
- package/dist/tsup/utils.js +1 -1
- package/dist/tsup/workflow/mod.cjs +5 -5
- package/dist/tsup/workflow/mod.js +4 -4
- package/package.json +5 -5
- /package/dist/tsup/{chunk-7T4AIAQV.js.map → chunk-74ER4FEE.js.map} +0 -0
- /package/dist/tsup/{chunk-YLYT7WSZ.js.map → chunk-AWJU3AZB.js.map} +0 -0
- /package/dist/tsup/{chunk-WUXPLV6G.js.map → chunk-MICYEINX.js.map} +0 -0
- /package/dist/tsup/{chunk-KGR7K72J.js.map → chunk-NAM3D5W5.js.map} +0 -0
- /package/dist/tsup/{chunk-SHX2N2B4.js.map → chunk-OONQLPOH.js.map} +0 -0
- /package/dist/tsup/{chunk-VSFWZWCC.js.map → chunk-T4PQK4WA.js.map} +0 -0
- /package/dist/tsup/{chunk-ZMZNIOTG.js.map → chunk-VBU4P2IX.js.map} +0 -0
- /package/dist/tsup/{chunk-XYUY6WQB.js.map → chunk-WTRB56DR.js.map} +0 -0
- /package/dist/tsup/{chunk-CIXKJYPF.js.map → chunk-XQWBEBLD.js.map} +0 -0
|
@@ -4,20 +4,20 @@
|
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
8
|
-
require('../chunk-
|
|
9
|
-
require('../chunk-
|
|
10
|
-
require('../chunk-
|
|
11
|
-
require('../chunk-
|
|
7
|
+
var _chunkF5B36GL7cjs = require('../chunk-F5B36GL7.cjs');
|
|
8
|
+
require('../chunk-ZR76ZGYS.cjs');
|
|
9
|
+
require('../chunk-WPDQXB7R.cjs');
|
|
10
|
+
require('../chunk-65RINRXE.cjs');
|
|
11
|
+
require('../chunk-LPXB254R.cjs');
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
|
|
17
|
-
var
|
|
17
|
+
var _chunkAGERRJ32cjs = require('../chunk-AGERRJ32.cjs');
|
|
18
18
|
|
|
19
19
|
|
|
20
|
-
var
|
|
20
|
+
var _chunkFUBHHHK5cjs = require('../chunk-FUBHHHK5.cjs');
|
|
21
21
|
require('../chunk-6LJAZ5R4.cjs');
|
|
22
22
|
require('../chunk-SR3KQE7Q.cjs');
|
|
23
23
|
|
|
@@ -29,14 +29,14 @@ require('../chunk-SR3KQE7Q.cjs');
|
|
|
29
29
|
|
|
30
30
|
|
|
31
31
|
|
|
32
|
-
var
|
|
32
|
+
var _chunkQ5CW77ITcjs = require('../chunk-Q5CW77IT.cjs');
|
|
33
33
|
require('../chunk-NIYZDWMW.cjs');
|
|
34
34
|
|
|
35
35
|
|
|
36
|
-
var
|
|
36
|
+
var _chunkLNDVGTPQcjs = require('../chunk-LNDVGTPQ.cjs');
|
|
37
37
|
|
|
38
38
|
|
|
39
|
-
var
|
|
39
|
+
var _chunkMMUXNMJFcjs = require('../chunk-MMUXNMJF.cjs');
|
|
40
40
|
|
|
41
41
|
|
|
42
42
|
|
|
@@ -85,20 +85,20 @@ function createTestInlineClientDriver(endpoint, encoding) {
|
|
|
85
85
|
const oldUrl = new URL(actorRequest.url);
|
|
86
86
|
const normalizedPath = oldUrl.pathname.startsWith("/") ? oldUrl.pathname.slice(1) : oldUrl.pathname;
|
|
87
87
|
const pathWithQuery = normalizedPath + oldUrl.search;
|
|
88
|
-
|
|
88
|
+
_chunkF5B36GL7cjs.logger.call(void 0, ).debug({
|
|
89
89
|
msg: "sending raw http request via test inline driver",
|
|
90
90
|
actorId,
|
|
91
91
|
encoding,
|
|
92
92
|
path: pathWithQuery
|
|
93
93
|
});
|
|
94
94
|
const url = `${endpoint}/.test/inline-driver/send-request/${pathWithQuery}`;
|
|
95
|
-
|
|
95
|
+
_chunkF5B36GL7cjs.logger.call(void 0, ).debug({
|
|
96
96
|
msg: "rewriting http url",
|
|
97
97
|
from: oldUrl,
|
|
98
98
|
to: url
|
|
99
99
|
});
|
|
100
100
|
const headers = new Headers(actorRequest.headers);
|
|
101
|
-
headers.set(
|
|
101
|
+
headers.set(_chunkQ5CW77ITcjs.HEADER_ACTOR_ID, actorId);
|
|
102
102
|
const response = await fetch(
|
|
103
103
|
new Request(url, {
|
|
104
104
|
method: actorRequest.method,
|
|
@@ -114,7 +114,7 @@ function createTestInlineClientDriver(endpoint, encoding) {
|
|
|
114
114
|
const errorData = await clonedResponse.json();
|
|
115
115
|
if (errorData.error) {
|
|
116
116
|
if (typeof errorData.error === "object") {
|
|
117
|
-
throw new (0,
|
|
117
|
+
throw new (0, _chunkAGERRJ32cjs.ActorError)(
|
|
118
118
|
errorData.error.code,
|
|
119
119
|
errorData.error.message,
|
|
120
120
|
errorData.error.metadata
|
|
@@ -122,7 +122,7 @@ function createTestInlineClientDriver(endpoint, encoding) {
|
|
|
122
122
|
}
|
|
123
123
|
}
|
|
124
124
|
} catch (e) {
|
|
125
|
-
if (!(e instanceof
|
|
125
|
+
if (!(e instanceof _chunkAGERRJ32cjs.ActorError)) {
|
|
126
126
|
return response;
|
|
127
127
|
}
|
|
128
128
|
throw e;
|
|
@@ -131,33 +131,33 @@ function createTestInlineClientDriver(endpoint, encoding) {
|
|
|
131
131
|
return response;
|
|
132
132
|
},
|
|
133
133
|
async openWebSocket(path, actorId, encoding2, params) {
|
|
134
|
-
const WebSocket2 = await
|
|
134
|
+
const WebSocket2 = await _chunkFUBHHHK5cjs.importWebSocket.call(void 0, );
|
|
135
135
|
const normalizedPath = path.startsWith("/") ? path.slice(1) : path;
|
|
136
136
|
const wsUrl = new URL(
|
|
137
137
|
`${endpoint}/.test/inline-driver/connect-websocket/ws`
|
|
138
138
|
);
|
|
139
|
-
|
|
139
|
+
_chunkF5B36GL7cjs.logger.call(void 0, ).debug({
|
|
140
140
|
msg: "creating websocket connection via test inline driver",
|
|
141
141
|
url: wsUrl.toString()
|
|
142
142
|
});
|
|
143
143
|
const wsProtocol = wsUrl.protocol === "https:" ? "wss:" : "ws:";
|
|
144
144
|
const finalWsUrl = `${wsProtocol}//${wsUrl.host}${wsUrl.pathname}`;
|
|
145
145
|
const protocols = [];
|
|
146
|
-
protocols.push(
|
|
147
|
-
protocols.push(`${
|
|
146
|
+
protocols.push(_chunkQ5CW77ITcjs.WS_PROTOCOL_STANDARD);
|
|
147
|
+
protocols.push(`${_chunkQ5CW77ITcjs.WS_PROTOCOL_TARGET}actor`);
|
|
148
148
|
protocols.push(
|
|
149
|
-
`${
|
|
149
|
+
`${_chunkQ5CW77ITcjs.WS_PROTOCOL_ACTOR}${encodeURIComponent(actorId)}`
|
|
150
150
|
);
|
|
151
|
-
protocols.push(`${
|
|
151
|
+
protocols.push(`${_chunkQ5CW77ITcjs.WS_PROTOCOL_ENCODING}${encoding2}`);
|
|
152
152
|
protocols.push(
|
|
153
|
-
`${
|
|
153
|
+
`${_chunkQ5CW77ITcjs.WS_TEST_PROTOCOL_PATH}${encodeURIComponent(normalizedPath)}`
|
|
154
154
|
);
|
|
155
155
|
if (params !== void 0) {
|
|
156
156
|
protocols.push(
|
|
157
|
-
`${
|
|
157
|
+
`${_chunkQ5CW77ITcjs.WS_PROTOCOL_CONN_PARAMS}${encodeURIComponent(JSON.stringify(params))}`
|
|
158
158
|
);
|
|
159
159
|
}
|
|
160
|
-
|
|
160
|
+
_chunkF5B36GL7cjs.logger.call(void 0, ).debug({
|
|
161
161
|
msg: "connecting to websocket",
|
|
162
162
|
url: finalWsUrl,
|
|
163
163
|
protocols
|
|
@@ -177,7 +177,7 @@ function createTestInlineClientDriver(endpoint, encoding) {
|
|
|
177
177
|
encoding2,
|
|
178
178
|
params
|
|
179
179
|
);
|
|
180
|
-
return upgradeWebSocket(() => wsHandler)(c,
|
|
180
|
+
return upgradeWebSocket(() => wsHandler)(c, _chunkMMUXNMJFcjs.noopNext.call(void 0, ));
|
|
181
181
|
},
|
|
182
182
|
async buildGatewayUrl(actorId) {
|
|
183
183
|
return `${endpoint}/gateway/${actorId}`;
|
|
@@ -194,7 +194,7 @@ function createTestInlineClientDriver(endpoint, encoding) {
|
|
|
194
194
|
};
|
|
195
195
|
}
|
|
196
196
|
async function makeInlineRequest(endpoint, encoding, method, args) {
|
|
197
|
-
|
|
197
|
+
_chunkF5B36GL7cjs.logger.call(void 0, ).debug({
|
|
198
198
|
msg: "sending inline request",
|
|
199
199
|
encoding,
|
|
200
200
|
method,
|
|
@@ -224,14 +224,14 @@ async function makeInlineRequest(endpoint, encoding, method, args) {
|
|
|
224
224
|
if ("ok" in callResponse) {
|
|
225
225
|
return callResponse.ok;
|
|
226
226
|
} else if ("err" in callResponse) {
|
|
227
|
-
throw new (0,
|
|
227
|
+
throw new (0, _chunkAGERRJ32cjs.ActorError)(
|
|
228
228
|
callResponse.err.group,
|
|
229
229
|
callResponse.err.code,
|
|
230
230
|
callResponse.err.message,
|
|
231
231
|
callResponse.err.metadata
|
|
232
232
|
);
|
|
233
233
|
} else {
|
|
234
|
-
|
|
234
|
+
_chunkLNDVGTPQcjs.assertUnreachable.call(void 0, callResponse);
|
|
235
235
|
}
|
|
236
236
|
}
|
|
237
237
|
|
|
@@ -244,12 +244,12 @@ async function setupDriverTest(c, driverTestConfig) {
|
|
|
244
244
|
}
|
|
245
245
|
const { endpoint, namespace, runnerName, cleanup } = await driverTestConfig.start();
|
|
246
246
|
c.onTestFinished(() => {
|
|
247
|
-
|
|
247
|
+
_chunkF5B36GL7cjs.logger.call(void 0, ).info("cleaning up test");
|
|
248
248
|
cleanup();
|
|
249
249
|
});
|
|
250
250
|
let client;
|
|
251
251
|
if (driverTestConfig.clientType === "http") {
|
|
252
|
-
client =
|
|
252
|
+
client = _chunkAGERRJ32cjs.createClient.call(void 0, {
|
|
253
253
|
endpoint,
|
|
254
254
|
namespace,
|
|
255
255
|
runnerName,
|
|
@@ -262,12 +262,12 @@ async function setupDriverTest(c, driverTestConfig) {
|
|
|
262
262
|
} else if (driverTestConfig.clientType === "inline") {
|
|
263
263
|
const encoding = _nullishCoalesce(driverTestConfig.encoding, () => ( "bare"));
|
|
264
264
|
const managerDriver = createTestInlineClientDriver(endpoint, encoding);
|
|
265
|
-
const runConfig =
|
|
265
|
+
const runConfig = _chunkAGERRJ32cjs.ClientConfigSchema.parse({
|
|
266
266
|
encoding
|
|
267
267
|
});
|
|
268
|
-
client =
|
|
268
|
+
client = _chunkAGERRJ32cjs.createClientWithDriver.call(void 0, managerDriver, runConfig);
|
|
269
269
|
} else {
|
|
270
|
-
|
|
270
|
+
_chunkLNDVGTPQcjs.assertUnreachable.call(void 0, driverTestConfig.clientType);
|
|
271
271
|
}
|
|
272
272
|
if (!driverTestConfig.HACK_skipCleanupNet) {
|
|
273
273
|
c.onTestFinished(async () => await client.dispose());
|
|
@@ -989,7 +989,7 @@ function runActorConnHibernationTests(driverTestConfig) {
|
|
|
989
989
|
await hibernatingActor.triggerSleep();
|
|
990
990
|
await waitFor(
|
|
991
991
|
driverTestConfig,
|
|
992
|
-
|
|
992
|
+
_chunkF5B36GL7cjs.HIBERNATION_SLEEP_TIMEOUT + 100
|
|
993
993
|
);
|
|
994
994
|
const ping2 = await hibernatingActor.ping();
|
|
995
995
|
_vitest.expect.call(void 0, ping2).toBe("pong");
|
|
@@ -1011,7 +1011,7 @@ function runActorConnHibernationTests(driverTestConfig) {
|
|
|
1011
1011
|
await hibernatingActor.triggerSleep();
|
|
1012
1012
|
await waitFor(
|
|
1013
1013
|
driverTestConfig,
|
|
1014
|
-
|
|
1014
|
+
_chunkF5B36GL7cjs.HIBERNATION_SLEEP_TIMEOUT + 100
|
|
1015
1015
|
);
|
|
1016
1016
|
const count3 = await hibernatingActor.getConnCount();
|
|
1017
1017
|
_vitest.expect.call(void 0, count3).toBe(2);
|
|
@@ -1033,7 +1033,7 @@ function runActorConnHibernationTests(driverTestConfig) {
|
|
|
1033
1033
|
await conn1.triggerSleep();
|
|
1034
1034
|
await waitFor(
|
|
1035
1035
|
driverTestConfig,
|
|
1036
|
-
|
|
1036
|
+
_chunkF5B36GL7cjs.HIBERNATION_SLEEP_TIMEOUT + 100
|
|
1037
1037
|
);
|
|
1038
1038
|
await conn1.dispose();
|
|
1039
1039
|
await waitFor(driverTestConfig, 250);
|
|
@@ -1844,7 +1844,7 @@ function runActorSleepTests(driverTestConfig) {
|
|
|
1844
1844
|
}
|
|
1845
1845
|
await sleepActor.triggerSleep();
|
|
1846
1846
|
await sleepActor.dispose();
|
|
1847
|
-
await waitFor(driverTestConfig,
|
|
1847
|
+
await waitFor(driverTestConfig, _chunkF5B36GL7cjs.SLEEP_TIMEOUT + 250);
|
|
1848
1848
|
const sleepActor2 = client.sleep.getOrCreate();
|
|
1849
1849
|
{
|
|
1850
1850
|
const { startCount, sleepCount } = await sleepActor2.getCounts();
|
|
@@ -1860,7 +1860,7 @@ function runActorSleepTests(driverTestConfig) {
|
|
|
1860
1860
|
_vitest.expect.call(void 0, sleepCount).toBe(0);
|
|
1861
1861
|
_vitest.expect.call(void 0, startCount).toBe(1);
|
|
1862
1862
|
}
|
|
1863
|
-
await waitFor(driverTestConfig,
|
|
1863
|
+
await waitFor(driverTestConfig, _chunkF5B36GL7cjs.SLEEP_TIMEOUT + 250);
|
|
1864
1864
|
{
|
|
1865
1865
|
const { startCount, sleepCount } = await sleepActor.getCounts();
|
|
1866
1866
|
_vitest.expect.call(void 0, sleepCount).toBe(1);
|
|
@@ -1876,7 +1876,7 @@ function runActorSleepTests(driverTestConfig) {
|
|
|
1876
1876
|
_vitest.expect.call(void 0, startCount).toBe(1);
|
|
1877
1877
|
}
|
|
1878
1878
|
await sleepActor.dispose();
|
|
1879
|
-
await waitFor(driverTestConfig,
|
|
1879
|
+
await waitFor(driverTestConfig, _chunkF5B36GL7cjs.SLEEP_TIMEOUT + 250);
|
|
1880
1880
|
const sleepActor2 = client.sleep.getOrCreate();
|
|
1881
1881
|
{
|
|
1882
1882
|
const { startCount, sleepCount } = await sleepActor2.getCounts();
|
|
@@ -1892,19 +1892,19 @@ function runActorSleepTests(driverTestConfig) {
|
|
|
1892
1892
|
_vitest.expect.call(void 0, sleepCount).toBe(0);
|
|
1893
1893
|
_vitest.expect.call(void 0, startCount).toBe(1);
|
|
1894
1894
|
}
|
|
1895
|
-
await waitFor(driverTestConfig,
|
|
1895
|
+
await waitFor(driverTestConfig, _chunkF5B36GL7cjs.SLEEP_TIMEOUT - 250);
|
|
1896
1896
|
{
|
|
1897
1897
|
const { startCount, sleepCount } = await sleepActor.getCounts();
|
|
1898
1898
|
_vitest.expect.call(void 0, sleepCount).toBe(0);
|
|
1899
1899
|
_vitest.expect.call(void 0, startCount).toBe(1);
|
|
1900
1900
|
}
|
|
1901
|
-
await waitFor(driverTestConfig,
|
|
1901
|
+
await waitFor(driverTestConfig, _chunkF5B36GL7cjs.SLEEP_TIMEOUT - 250);
|
|
1902
1902
|
{
|
|
1903
1903
|
const { startCount, sleepCount } = await sleepActor.getCounts();
|
|
1904
1904
|
_vitest.expect.call(void 0, sleepCount).toBe(0);
|
|
1905
1905
|
_vitest.expect.call(void 0, startCount).toBe(1);
|
|
1906
1906
|
}
|
|
1907
|
-
await waitFor(driverTestConfig,
|
|
1907
|
+
await waitFor(driverTestConfig, _chunkF5B36GL7cjs.SLEEP_TIMEOUT + 250);
|
|
1908
1908
|
{
|
|
1909
1909
|
const { startCount, sleepCount } = await sleepActor.getCounts();
|
|
1910
1910
|
_vitest.expect.call(void 0, sleepCount).toBe(1);
|
|
@@ -1919,8 +1919,8 @@ function runActorSleepTests(driverTestConfig) {
|
|
|
1919
1919
|
_vitest.expect.call(void 0, sleepCount).toBe(0);
|
|
1920
1920
|
_vitest.expect.call(void 0, startCount).toBe(1);
|
|
1921
1921
|
}
|
|
1922
|
-
await sleepActor.setAlarm(
|
|
1923
|
-
await waitFor(driverTestConfig,
|
|
1922
|
+
await sleepActor.setAlarm(_chunkF5B36GL7cjs.SLEEP_TIMEOUT - 250);
|
|
1923
|
+
await waitFor(driverTestConfig, _chunkF5B36GL7cjs.SLEEP_TIMEOUT + 250);
|
|
1924
1924
|
{
|
|
1925
1925
|
const { startCount, sleepCount } = await sleepActor.getCounts();
|
|
1926
1926
|
_vitest.expect.call(void 0, sleepCount).toBe(0);
|
|
@@ -1935,8 +1935,8 @@ function runActorSleepTests(driverTestConfig) {
|
|
|
1935
1935
|
_vitest.expect.call(void 0, sleepCount).toBe(0);
|
|
1936
1936
|
_vitest.expect.call(void 0, startCount).toBe(1);
|
|
1937
1937
|
}
|
|
1938
|
-
await sleepActor.setAlarm(
|
|
1939
|
-
await waitFor(driverTestConfig,
|
|
1938
|
+
await sleepActor.setAlarm(_chunkF5B36GL7cjs.SLEEP_TIMEOUT + 250);
|
|
1939
|
+
await waitFor(driverTestConfig, _chunkF5B36GL7cjs.SLEEP_TIMEOUT + 200);
|
|
1940
1940
|
{
|
|
1941
1941
|
const { startCount, sleepCount } = await sleepActor.getCounts();
|
|
1942
1942
|
_vitest.expect.call(void 0, sleepCount).toBe(1);
|
|
@@ -1956,7 +1956,7 @@ function runActorSleepTests(driverTestConfig) {
|
|
|
1956
1956
|
);
|
|
1957
1957
|
const longRunningPromise = sleepActor.longRunningRpc();
|
|
1958
1958
|
await waitPromise;
|
|
1959
|
-
await waitFor(driverTestConfig,
|
|
1959
|
+
await waitFor(driverTestConfig, _chunkF5B36GL7cjs.SLEEP_TIMEOUT + 250);
|
|
1960
1960
|
await sleepActor.finishLongRunningRpc();
|
|
1961
1961
|
await longRunningPromise;
|
|
1962
1962
|
{
|
|
@@ -1965,7 +1965,7 @@ function runActorSleepTests(driverTestConfig) {
|
|
|
1965
1965
|
_vitest.expect.call(void 0, startCount).toBe(1);
|
|
1966
1966
|
}
|
|
1967
1967
|
await sleepActor.dispose();
|
|
1968
|
-
await waitFor(driverTestConfig,
|
|
1968
|
+
await waitFor(driverTestConfig, _chunkF5B36GL7cjs.SLEEP_TIMEOUT + 250);
|
|
1969
1969
|
const sleepActor2 = client.sleepWithLongRpc.getOrCreate();
|
|
1970
1970
|
{
|
|
1971
1971
|
const { startCount, sleepCount } = await sleepActor2.getCounts();
|
|
@@ -1997,7 +1997,7 @@ function runActorSleepTests(driverTestConfig) {
|
|
|
1997
1997
|
}
|
|
1998
1998
|
};
|
|
1999
1999
|
});
|
|
2000
|
-
await waitFor(driverTestConfig,
|
|
2000
|
+
await waitFor(driverTestConfig, _chunkF5B36GL7cjs.SLEEP_TIMEOUT + 250);
|
|
2001
2001
|
ws.send(JSON.stringify({ type: "getCounts" }));
|
|
2002
2002
|
const counts = await new Promise((resolve) => {
|
|
2003
2003
|
ws.onmessage = (event) => {
|
|
@@ -2010,7 +2010,7 @@ function runActorSleepTests(driverTestConfig) {
|
|
|
2010
2010
|
_vitest.expect.call(void 0, counts.sleepCount).toBe(0);
|
|
2011
2011
|
_vitest.expect.call(void 0, counts.startCount).toBe(1);
|
|
2012
2012
|
ws.close();
|
|
2013
|
-
await waitFor(driverTestConfig,
|
|
2013
|
+
await waitFor(driverTestConfig, _chunkF5B36GL7cjs.SLEEP_TIMEOUT + 250);
|
|
2014
2014
|
{
|
|
2015
2015
|
const { startCount, sleepCount } = await sleepActor.getCounts();
|
|
2016
2016
|
_vitest.expect.call(void 0, sleepCount).toBe(1);
|
|
@@ -2028,7 +2028,7 @@ function runActorSleepTests(driverTestConfig) {
|
|
|
2028
2028
|
_vitest.expect.call(void 0, sleepCount).toBe(0);
|
|
2029
2029
|
_vitest.expect.call(void 0, startCount).toBe(1);
|
|
2030
2030
|
}
|
|
2031
|
-
const fetchDuration =
|
|
2031
|
+
const fetchDuration = _chunkF5B36GL7cjs.SLEEP_TIMEOUT + 250;
|
|
2032
2032
|
const fetchPromise = sleepActor.fetch(
|
|
2033
2033
|
`long-request?duration=${fetchDuration}`
|
|
2034
2034
|
);
|
|
@@ -2041,7 +2041,7 @@ function runActorSleepTests(driverTestConfig) {
|
|
|
2041
2041
|
_vitest.expect.call(void 0, startCount).toBe(1);
|
|
2042
2042
|
_vitest.expect.call(void 0, requestCount).toBe(1);
|
|
2043
2043
|
}
|
|
2044
|
-
await waitFor(driverTestConfig,
|
|
2044
|
+
await waitFor(driverTestConfig, _chunkF5B36GL7cjs.SLEEP_TIMEOUT + 250);
|
|
2045
2045
|
{
|
|
2046
2046
|
const { startCount, sleepCount } = await sleepActor.getCounts();
|
|
2047
2047
|
_vitest.expect.call(void 0, sleepCount).toBe(1);
|
|
@@ -2056,13 +2056,13 @@ function runActorSleepTests(driverTestConfig) {
|
|
|
2056
2056
|
_vitest.expect.call(void 0, sleepCount).toBe(0);
|
|
2057
2057
|
_vitest.expect.call(void 0, startCount).toBe(1);
|
|
2058
2058
|
}
|
|
2059
|
-
await waitFor(driverTestConfig,
|
|
2059
|
+
await waitFor(driverTestConfig, _chunkF5B36GL7cjs.SLEEP_TIMEOUT + 250);
|
|
2060
2060
|
{
|
|
2061
2061
|
const { startCount, sleepCount } = await sleepActor.getCounts();
|
|
2062
2062
|
_vitest.expect.call(void 0, sleepCount).toBe(0);
|
|
2063
2063
|
_vitest.expect.call(void 0, startCount).toBe(1);
|
|
2064
2064
|
}
|
|
2065
|
-
await waitFor(driverTestConfig,
|
|
2065
|
+
await waitFor(driverTestConfig, _chunkF5B36GL7cjs.SLEEP_TIMEOUT + 250);
|
|
2066
2066
|
{
|
|
2067
2067
|
const { startCount, sleepCount } = await sleepActor.getCounts();
|
|
2068
2068
|
_vitest.expect.call(void 0, sleepCount).toBe(0);
|
|
@@ -3189,7 +3189,7 @@ function runActorRunTests(driverTestConfig) {
|
|
|
3189
3189
|
const state1 = await actor.getState();
|
|
3190
3190
|
_vitest.expect.call(void 0, state1.runStarted).toBe(true);
|
|
3191
3191
|
const tickCount1 = state1.tickCount;
|
|
3192
|
-
await waitFor(driverTestConfig,
|
|
3192
|
+
await waitFor(driverTestConfig, _chunkF5B36GL7cjs.RUN_SLEEP_TIMEOUT + 300);
|
|
3193
3193
|
const state2 = await actor.getState();
|
|
3194
3194
|
_vitest.expect.call(void 0, state2.runStarted).toBe(true);
|
|
3195
3195
|
_vitest.expect.call(void 0, state2.runExited).toBe(false);
|
|
@@ -3202,7 +3202,7 @@ function runActorRunTests(driverTestConfig) {
|
|
|
3202
3202
|
]);
|
|
3203
3203
|
const state = await actor.getState();
|
|
3204
3204
|
_vitest.expect.call(void 0, state.wakeCount).toBe(1);
|
|
3205
|
-
await waitFor(driverTestConfig,
|
|
3205
|
+
await waitFor(driverTestConfig, _chunkF5B36GL7cjs.RUN_SLEEP_TIMEOUT + 300);
|
|
3206
3206
|
const state2 = await actor.getState();
|
|
3207
3207
|
_vitest.expect.call(void 0, state2.wakeCount).toBe(2);
|
|
3208
3208
|
});
|
|
@@ -3240,7 +3240,7 @@ function runActorRunTests(driverTestConfig) {
|
|
|
3240
3240
|
await waitFor(driverTestConfig, 100);
|
|
3241
3241
|
const state1 = await actor.getState();
|
|
3242
3242
|
_vitest.expect.call(void 0, state1.runStarted).toBe(true);
|
|
3243
|
-
await waitFor(driverTestConfig,
|
|
3243
|
+
await waitFor(driverTestConfig, _chunkF5B36GL7cjs.RUN_SLEEP_TIMEOUT + 500);
|
|
3244
3244
|
const state2 = await actor.getState();
|
|
3245
3245
|
_vitest.expect.call(void 0, state2.wakeCount).toBeGreaterThan(state1.wakeCount);
|
|
3246
3246
|
});
|
|
@@ -3405,7 +3405,7 @@ function runActorWorkflowTests(driverTestConfig) {
|
|
|
3405
3405
|
_vitest.test.call(void 0, "consumes queue messages via workflow queue.next", async (c) => {
|
|
3406
3406
|
const { client } = await setupDriverTest(c, driverTestConfig);
|
|
3407
3407
|
const actor = client.workflowQueueActor.getOrCreate(["workflow-queue"]);
|
|
3408
|
-
await actor.send(
|
|
3408
|
+
await actor.send(_chunkF5B36GL7cjs.WORKFLOW_QUEUE_NAME, {
|
|
3409
3409
|
hello: "world"
|
|
3410
3410
|
});
|
|
3411
3411
|
await waitFor(driverTestConfig, 200);
|
|
@@ -4838,7 +4838,7 @@ async function createTestRuntime(registryPath, driverFactory) {
|
|
|
4838
4838
|
const parsedConfig = registry.parseConfig();
|
|
4839
4839
|
const managerDriver = (_a = driver.manager) == null ? void 0 : _a.call(driver, parsedConfig);
|
|
4840
4840
|
_invariant2.default.call(void 0, managerDriver, "missing manager driver");
|
|
4841
|
-
const { router } =
|
|
4841
|
+
const { router } = _chunkQ5CW77ITcjs.buildManagerRouter.call(void 0,
|
|
4842
4842
|
parsedConfig,
|
|
4843
4843
|
managerDriver,
|
|
4844
4844
|
() => upgradeWebSocket
|
|
@@ -4865,7 +4865,7 @@ async function createTestRuntime(registryPath, driverFactory) {
|
|
|
4865
4865
|
_invariant2.default.call(void 0, address && typeof address !== "string", "missing server address");
|
|
4866
4866
|
const port = address.port;
|
|
4867
4867
|
const serverEndpoint = `http://127.0.0.1:${port}`;
|
|
4868
|
-
|
|
4868
|
+
_chunkF5B36GL7cjs.logger.call(void 0, ).info({ msg: "test serer listening", port });
|
|
4869
4869
|
const cleanup = async () => {
|
|
4870
4870
|
await new Promise(
|
|
4871
4871
|
(resolve) => server.close(() => resolve(void 0))
|
|
@@ -4,20 +4,20 @@ import {
|
|
|
4
4
|
SLEEP_TIMEOUT,
|
|
5
5
|
WORKFLOW_QUEUE_NAME,
|
|
6
6
|
logger
|
|
7
|
-
} from "../chunk-
|
|
8
|
-
import "../chunk-
|
|
9
|
-
import "../chunk-
|
|
10
|
-
import "../chunk-
|
|
11
|
-
import "../chunk-
|
|
7
|
+
} from "../chunk-NAM3D5W5.js";
|
|
8
|
+
import "../chunk-74ER4FEE.js";
|
|
9
|
+
import "../chunk-WTRB56DR.js";
|
|
10
|
+
import "../chunk-OONQLPOH.js";
|
|
11
|
+
import "../chunk-T4PQK4WA.js";
|
|
12
12
|
import {
|
|
13
13
|
ActorError,
|
|
14
14
|
ClientConfigSchema,
|
|
15
15
|
createClient,
|
|
16
16
|
createClientWithDriver
|
|
17
|
-
} from "../chunk-
|
|
17
|
+
} from "../chunk-AWJU3AZB.js";
|
|
18
18
|
import {
|
|
19
19
|
importWebSocket
|
|
20
|
-
} from "../chunk-
|
|
20
|
+
} from "../chunk-VBU4P2IX.js";
|
|
21
21
|
import "../chunk-KJSYAUOM.js";
|
|
22
22
|
import "../chunk-N4KRDJ56.js";
|
|
23
23
|
import {
|
|
@@ -29,14 +29,14 @@ import {
|
|
|
29
29
|
WS_PROTOCOL_TARGET,
|
|
30
30
|
WS_TEST_PROTOCOL_PATH,
|
|
31
31
|
buildManagerRouter
|
|
32
|
-
} from "../chunk-
|
|
32
|
+
} from "../chunk-MICYEINX.js";
|
|
33
33
|
import "../chunk-LXUQ667X.js";
|
|
34
34
|
import {
|
|
35
35
|
assertUnreachable
|
|
36
|
-
} from "../chunk-
|
|
36
|
+
} from "../chunk-XQWBEBLD.js";
|
|
37
37
|
import {
|
|
38
38
|
noopNext
|
|
39
|
-
} from "../chunk-
|
|
39
|
+
} from "../chunk-IZ4M5TJU.js";
|
|
40
40
|
import {
|
|
41
41
|
INTERNAL_ERROR_CODE,
|
|
42
42
|
INTERNAL_ERROR_DESCRIPTION
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkWPDQXB7Rcjs = require('../chunk-WPDQXB7R.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
@@ -79,7 +79,7 @@ var _chunkUHDLODMOcjs = require('../chunk-UHDLODMO.cjs');
|
|
|
79
79
|
|
|
80
80
|
|
|
81
81
|
var _chunkNIYZDWMWcjs = require('../chunk-NIYZDWMW.cjs');
|
|
82
|
-
require('../chunk-
|
|
82
|
+
require('../chunk-MMUXNMJF.cjs');
|
|
83
83
|
require('../chunk-L47L3ZWJ.cjs');
|
|
84
84
|
require('../chunk-HDQ2JUQT.cjs');
|
|
85
85
|
|
|
@@ -160,5 +160,5 @@ require('../chunk-HDQ2JUQT.cjs');
|
|
|
160
160
|
|
|
161
161
|
|
|
162
162
|
|
|
163
|
-
exports.CURRENT_VERSION = _chunkNIYZDWMWcjs.CURRENT_VERSION; exports.TO_CLIENT_VERSIONED = _chunkNIYZDWMWcjs.TO_CLIENT_VERSIONED; exports.TO_SERVER_VERSIONED = _chunkNIYZDWMWcjs.TO_SERVER_VERSIONED; exports.decodeToClient = _chunkNIYZDWMWcjs.decodeToClient; exports.decodeToServer = _chunkNIYZDWMWcjs.decodeToServer; exports.decodeWorkflowHistoryTransport =
|
|
163
|
+
exports.CURRENT_VERSION = _chunkNIYZDWMWcjs.CURRENT_VERSION; exports.TO_CLIENT_VERSIONED = _chunkNIYZDWMWcjs.TO_CLIENT_VERSIONED; exports.TO_SERVER_VERSIONED = _chunkNIYZDWMWcjs.TO_SERVER_VERSIONED; exports.decodeToClient = _chunkNIYZDWMWcjs.decodeToClient; exports.decodeToServer = _chunkNIYZDWMWcjs.decodeToServer; exports.decodeWorkflowHistoryTransport = _chunkWPDQXB7Rcjs.decodeWorkflowHistoryTransport; exports.encodeToClient = _chunkNIYZDWMWcjs.encodeToClient; exports.encodeToServer = _chunkNIYZDWMWcjs.encodeToServer; exports.encodeWorkflowHistoryTransport = _chunkWPDQXB7Rcjs.encodeWorkflowHistoryTransport; exports.readActionRequest = _chunkNIYZDWMWcjs.readActionRequest; exports.readActionResponse = _chunkNIYZDWMWcjs.readActionResponse; exports.readConnection = _chunkNIYZDWMWcjs.readConnection; exports.readConnectionsRequest = _chunkNIYZDWMWcjs.readConnectionsRequest; exports.readConnectionsResponse = _chunkNIYZDWMWcjs.readConnectionsResponse; exports.readConnectionsUpdated = _chunkNIYZDWMWcjs.readConnectionsUpdated; exports.readDatabaseSchemaRequest = _chunkNIYZDWMWcjs.readDatabaseSchemaRequest; exports.readDatabaseSchemaResponse = _chunkNIYZDWMWcjs.readDatabaseSchemaResponse; exports.readDatabaseTableRowsRequest = _chunkNIYZDWMWcjs.readDatabaseTableRowsRequest; exports.readDatabaseTableRowsResponse = _chunkNIYZDWMWcjs.readDatabaseTableRowsResponse; exports.readError = _chunkNIYZDWMWcjs.readError; exports.readInit = _chunkNIYZDWMWcjs.readInit; exports.readPatchStateRequest = _chunkNIYZDWMWcjs.readPatchStateRequest; exports.readQueueMessageSummary = _chunkNIYZDWMWcjs.readQueueMessageSummary; exports.readQueueRequest = _chunkNIYZDWMWcjs.readQueueRequest; exports.readQueueResponse = _chunkNIYZDWMWcjs.readQueueResponse; exports.readQueueStatus = _chunkNIYZDWMWcjs.readQueueStatus; exports.readQueueUpdated = _chunkNIYZDWMWcjs.readQueueUpdated; exports.readRpcsListRequest = _chunkNIYZDWMWcjs.readRpcsListRequest; exports.readRpcsListResponse = _chunkNIYZDWMWcjs.readRpcsListResponse; exports.readState = _chunkNIYZDWMWcjs.readState; exports.readStateRequest = _chunkNIYZDWMWcjs.readStateRequest; exports.readStateResponse = _chunkNIYZDWMWcjs.readStateResponse; exports.readStateUpdated = _chunkNIYZDWMWcjs.readStateUpdated; exports.readToClient = _chunkNIYZDWMWcjs.readToClient; exports.readToClientBody = _chunkNIYZDWMWcjs.readToClientBody; exports.readToServer = _chunkNIYZDWMWcjs.readToServer; exports.readToServerBody = _chunkNIYZDWMWcjs.readToServerBody; exports.readTraceQueryRequest = _chunkNIYZDWMWcjs.readTraceQueryRequest; exports.readTraceQueryResponse = _chunkNIYZDWMWcjs.readTraceQueryResponse; exports.readWorkflowHistory = _chunkNIYZDWMWcjs.readWorkflowHistory; exports.readWorkflowHistoryRequest = _chunkNIYZDWMWcjs.readWorkflowHistoryRequest; exports.readWorkflowHistoryResponse = _chunkNIYZDWMWcjs.readWorkflowHistoryResponse; exports.readWorkflowHistoryUpdated = _chunkNIYZDWMWcjs.readWorkflowHistoryUpdated; exports.writeActionRequest = _chunkNIYZDWMWcjs.writeActionRequest; exports.writeActionResponse = _chunkNIYZDWMWcjs.writeActionResponse; exports.writeConnection = _chunkNIYZDWMWcjs.writeConnection; exports.writeConnectionsRequest = _chunkNIYZDWMWcjs.writeConnectionsRequest; exports.writeConnectionsResponse = _chunkNIYZDWMWcjs.writeConnectionsResponse; exports.writeConnectionsUpdated = _chunkNIYZDWMWcjs.writeConnectionsUpdated; exports.writeDatabaseSchemaRequest = _chunkNIYZDWMWcjs.writeDatabaseSchemaRequest; exports.writeDatabaseSchemaResponse = _chunkNIYZDWMWcjs.writeDatabaseSchemaResponse; exports.writeDatabaseTableRowsRequest = _chunkNIYZDWMWcjs.writeDatabaseTableRowsRequest; exports.writeDatabaseTableRowsResponse = _chunkNIYZDWMWcjs.writeDatabaseTableRowsResponse; exports.writeError = _chunkNIYZDWMWcjs.writeError; exports.writeInit = _chunkNIYZDWMWcjs.writeInit; exports.writePatchStateRequest = _chunkNIYZDWMWcjs.writePatchStateRequest; exports.writeQueueMessageSummary = _chunkNIYZDWMWcjs.writeQueueMessageSummary; exports.writeQueueRequest = _chunkNIYZDWMWcjs.writeQueueRequest; exports.writeQueueResponse = _chunkNIYZDWMWcjs.writeQueueResponse; exports.writeQueueStatus = _chunkNIYZDWMWcjs.writeQueueStatus; exports.writeQueueUpdated = _chunkNIYZDWMWcjs.writeQueueUpdated; exports.writeRpcsListRequest = _chunkNIYZDWMWcjs.writeRpcsListRequest; exports.writeRpcsListResponse = _chunkNIYZDWMWcjs.writeRpcsListResponse; exports.writeState = _chunkNIYZDWMWcjs.writeState; exports.writeStateRequest = _chunkNIYZDWMWcjs.writeStateRequest; exports.writeStateResponse = _chunkNIYZDWMWcjs.writeStateResponse; exports.writeStateUpdated = _chunkNIYZDWMWcjs.writeStateUpdated; exports.writeToClient = _chunkNIYZDWMWcjs.writeToClient; exports.writeToClientBody = _chunkNIYZDWMWcjs.writeToClientBody; exports.writeToServer = _chunkNIYZDWMWcjs.writeToServer; exports.writeToServerBody = _chunkNIYZDWMWcjs.writeToServerBody; exports.writeTraceQueryRequest = _chunkNIYZDWMWcjs.writeTraceQueryRequest; exports.writeTraceQueryResponse = _chunkNIYZDWMWcjs.writeTraceQueryResponse; exports.writeWorkflowHistory = _chunkNIYZDWMWcjs.writeWorkflowHistory; exports.writeWorkflowHistoryRequest = _chunkNIYZDWMWcjs.writeWorkflowHistoryRequest; exports.writeWorkflowHistoryResponse = _chunkNIYZDWMWcjs.writeWorkflowHistoryResponse; exports.writeWorkflowHistoryUpdated = _chunkNIYZDWMWcjs.writeWorkflowHistoryUpdated;
|
|
164
164
|
//# sourceMappingURL=mod.cjs.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
decodeWorkflowHistoryTransport,
|
|
3
3
|
encodeWorkflowHistoryTransport
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-WTRB56DR.js";
|
|
5
5
|
import {
|
|
6
6
|
CURRENT_VERSION,
|
|
7
7
|
TO_CLIENT_VERSIONED,
|
|
@@ -79,7 +79,7 @@ import {
|
|
|
79
79
|
writeWorkflowHistoryResponse,
|
|
80
80
|
writeWorkflowHistoryUpdated
|
|
81
81
|
} from "../chunk-LXUQ667X.js";
|
|
82
|
-
import "../chunk-
|
|
82
|
+
import "../chunk-IZ4M5TJU.js";
|
|
83
83
|
import "../chunk-7HTNH26M.js";
|
|
84
84
|
import "../chunk-424PT5DM.js";
|
|
85
85
|
export {
|
package/dist/tsup/mod.cjs
CHANGED
|
@@ -5,18 +5,18 @@
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunk65RINRXEcjs = require('./chunk-65RINRXE.cjs');
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
15
|
-
var
|
|
15
|
+
var _chunkLPXB254Rcjs = require('./chunk-LPXB254R.cjs');
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
var
|
|
19
|
-
require('./chunk-
|
|
18
|
+
var _chunkAGERRJ32cjs = require('./chunk-AGERRJ32.cjs');
|
|
19
|
+
require('./chunk-FUBHHHK5.cjs');
|
|
20
20
|
|
|
21
21
|
|
|
22
22
|
|
|
@@ -32,16 +32,16 @@ require('./chunk-DQFZ5S3X.cjs');
|
|
|
32
32
|
|
|
33
33
|
|
|
34
34
|
|
|
35
|
-
var
|
|
35
|
+
var _chunkQ5CW77ITcjs = require('./chunk-Q5CW77IT.cjs');
|
|
36
36
|
require('./chunk-NIYZDWMW.cjs');
|
|
37
37
|
|
|
38
38
|
|
|
39
39
|
|
|
40
|
-
var
|
|
40
|
+
var _chunkLNDVGTPQcjs = require('./chunk-LNDVGTPQ.cjs');
|
|
41
41
|
|
|
42
42
|
|
|
43
43
|
|
|
44
|
-
var
|
|
44
|
+
var _chunkMMUXNMJFcjs = require('./chunk-MMUXNMJF.cjs');
|
|
45
45
|
|
|
46
46
|
|
|
47
47
|
var _chunkL47L3ZWJcjs = require('./chunk-L47L3ZWJ.cjs');
|
|
@@ -78,5 +78,5 @@ require('./chunk-HDQ2JUQT.cjs');
|
|
|
78
78
|
|
|
79
79
|
|
|
80
80
|
|
|
81
|
-
exports.ALLOWED_PUBLIC_HEADERS =
|
|
81
|
+
exports.ALLOWED_PUBLIC_HEADERS = _chunkQ5CW77ITcjs.ALLOWED_PUBLIC_HEADERS; exports.ActorKv = _chunkLNDVGTPQcjs.ActorKv; exports.ActorsSchema = _chunkQ5CW77ITcjs.ActorsSchema; exports.DocConfigureRunnerPoolSchema = _chunkQ5CW77ITcjs.DocConfigureRunnerPoolSchema; exports.DocInspectorConfigSchema = _chunkQ5CW77ITcjs.DocInspectorConfigSchema; exports.DocRegistryConfigSchema = _chunkQ5CW77ITcjs.DocRegistryConfigSchema; exports.DocRunnerConfigSchema = _chunkQ5CW77ITcjs.DocRunnerConfigSchema; exports.DocServerlessConfigSchema = _chunkQ5CW77ITcjs.DocServerlessConfigSchema; exports.DriverConfigSchema = _chunkQ5CW77ITcjs.DriverConfigSchema; exports.InlineWebSocketAdapter = _chunkLPXB254Rcjs.InlineWebSocketAdapter; exports.KV_KEYS = _chunkLNDVGTPQcjs.KEYS; exports.PATH_CONNECT = _chunkQ5CW77ITcjs.PATH_CONNECT; exports.PATH_WEBSOCKET_PREFIX = _chunkQ5CW77ITcjs.PATH_WEBSOCKET_PREFIX; exports.Registry = _chunk65RINRXEcjs.Registry; exports.RegistryConfigSchema = _chunkQ5CW77ITcjs.RegistryConfigSchema; exports.TestConfigSchema = _chunkQ5CW77ITcjs.TestConfigSchema; exports.UserError = _chunkL47L3ZWJcjs.UserError; exports.actor = _chunk65RINRXEcjs.actor; exports.buildActorNames = _chunkQ5CW77ITcjs.buildActorNames; exports.createActorRouter = _chunkLPXB254Rcjs.createActorRouter; exports.createClientWithDriver = _chunkAGERRJ32cjs.createClientWithDriver; exports.createEngineDriver = _chunk65RINRXEcjs.createEngineDriver; exports.createFileSystemDriver = _chunkLPXB254Rcjs.createFileSystemDriver; exports.createMemoryDriver = _chunkLPXB254Rcjs.createMemoryDriver; exports.event = _chunk65RINRXEcjs.event; exports.lookupInRegistry = _chunkLPXB254Rcjs.lookupInRegistry; exports.noopNext = _chunkMMUXNMJFcjs.noopNext; exports.queue = _chunk65RINRXEcjs.queue; exports.routeWebSocket = _chunkQ5CW77ITcjs.routeWebSocket; exports.setup = _chunk65RINRXEcjs.setup; exports.toUint8Array = _chunkMMUXNMJFcjs.toUint8Array;
|
|
82
82
|
//# sourceMappingURL=mod.cjs.map
|
package/dist/tsup/mod.js
CHANGED
|
@@ -5,18 +5,18 @@ import {
|
|
|
5
5
|
event,
|
|
6
6
|
queue,
|
|
7
7
|
setup
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-OONQLPOH.js";
|
|
9
9
|
import {
|
|
10
10
|
InlineWebSocketAdapter,
|
|
11
11
|
createActorRouter,
|
|
12
12
|
createFileSystemDriver,
|
|
13
13
|
createMemoryDriver,
|
|
14
14
|
lookupInRegistry
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-T4PQK4WA.js";
|
|
16
16
|
import {
|
|
17
17
|
createClientWithDriver
|
|
18
|
-
} from "./chunk-
|
|
19
|
-
import "./chunk-
|
|
18
|
+
} from "./chunk-AWJU3AZB.js";
|
|
19
|
+
import "./chunk-VBU4P2IX.js";
|
|
20
20
|
import {
|
|
21
21
|
ALLOWED_PUBLIC_HEADERS,
|
|
22
22
|
ActorsSchema,
|
|
@@ -32,16 +32,16 @@ import {
|
|
|
32
32
|
TestConfigSchema,
|
|
33
33
|
buildActorNames,
|
|
34
34
|
routeWebSocket
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-MICYEINX.js";
|
|
36
36
|
import "./chunk-LXUQ667X.js";
|
|
37
37
|
import {
|
|
38
38
|
ActorKv,
|
|
39
39
|
KEYS
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-XQWBEBLD.js";
|
|
41
41
|
import {
|
|
42
42
|
noopNext,
|
|
43
43
|
toUint8Array
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-IZ4M5TJU.js";
|
|
45
45
|
import {
|
|
46
46
|
UserError
|
|
47
47
|
} from "./chunk-7HTNH26M.js";
|