rivetkit 0.0.0-skip-ready-wait-flatten-client-options.1cae221 → 0.0.0-sqlite-uds.4e59a38
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.d.ts +561 -89
- package/dist/browser/client.js +1063 -430
- package/dist/browser/client.js.map +1 -1
- package/dist/browser/inspector/client.d.ts +22 -2
- package/dist/browser/inspector/client.js +1036 -232
- package/dist/browser/inspector/client.js.map +1 -1
- package/dist/tsup/actor/errors.cjs +6 -2
- package/dist/tsup/actor/errors.cjs.map +1 -1
- package/dist/tsup/actor/errors.d.cts +1 -74
- package/dist/tsup/actor/errors.d.ts +1 -74
- package/dist/tsup/actor/errors.js +5 -1
- package/dist/tsup/agent-os/index.cjs +2218 -2082
- package/dist/tsup/agent-os/index.cjs.map +1 -1
- package/dist/tsup/agent-os/index.d.cts +556 -85
- package/dist/tsup/agent-os/index.d.ts +556 -85
- package/dist/tsup/agent-os/index.js +2220 -2084
- package/dist/tsup/agent-os/index.js.map +1 -1
- package/dist/tsup/{chunk-NFC5VU36.cjs → chunk-3GC3EP6D.cjs} +18 -10
- package/dist/tsup/chunk-3GC3EP6D.cjs.map +1 -0
- package/dist/tsup/{chunk-7MRGNVSR.js → chunk-3GLNEWGY.js} +78 -6
- package/dist/tsup/chunk-3GLNEWGY.js.map +1 -0
- package/dist/tsup/{chunk-V3QNBJ7N.cjs → chunk-4FC7TVS6.cjs} +35 -10
- package/dist/tsup/chunk-4FC7TVS6.cjs.map +1 -0
- package/dist/tsup/{chunk-POTPHU3P.cjs → chunk-62LSMTP2.cjs} +3 -3
- package/dist/tsup/{chunk-POTPHU3P.cjs.map → chunk-62LSMTP2.cjs.map} +1 -1
- package/dist/tsup/{chunk-OIKOPSXQ.js → chunk-7IVUT2JT.js} +12 -4
- package/dist/tsup/chunk-7IVUT2JT.js.map +1 -0
- package/dist/tsup/{chunk-22XU3BVY.cjs → chunk-GEYQLGXC.cjs} +925 -328
- package/dist/tsup/chunk-GEYQLGXC.cjs.map +1 -0
- package/dist/tsup/{chunk-D2TLG75Y.cjs → chunk-GMN45CQ6.cjs} +10 -10
- package/dist/tsup/chunk-GMN45CQ6.cjs.map +1 -0
- package/dist/tsup/{chunk-3BFYSYRU.js → chunk-HXUEHHJF.js} +3 -2
- package/dist/tsup/chunk-HXUEHHJF.js.map +1 -0
- package/dist/tsup/{chunk-IOYKCB6Y.cjs → chunk-I336PMWT.cjs} +44 -9
- package/dist/tsup/chunk-I336PMWT.cjs.map +1 -0
- package/dist/tsup/{chunk-RZEJJJKU.js → chunk-IB73AMGJ.js} +42 -7
- package/dist/tsup/chunk-IB73AMGJ.js.map +1 -0
- package/dist/tsup/{chunk-4ZIWB4CQ.js → chunk-ITWJ6Y7G.js} +2 -2
- package/dist/tsup/{chunk-PCBNKI2J.js → chunk-JZ7TWV65.js} +1 -1
- package/dist/tsup/chunk-JZ7TWV65.js.map +1 -0
- package/dist/tsup/{chunk-W54QCENI.js → chunk-KTNBYGRU.js} +134 -20
- package/dist/tsup/chunk-KTNBYGRU.js.map +1 -0
- package/dist/tsup/{chunk-AK57AL7S.cjs → chunk-OAPVVVTX.cjs} +79 -7
- package/dist/tsup/chunk-OAPVVVTX.cjs.map +1 -0
- package/dist/tsup/{chunk-TPBHXFB2.cjs → chunk-OUDV3ITX.cjs} +138 -24
- package/dist/tsup/chunk-OUDV3ITX.cjs.map +1 -0
- package/dist/tsup/{chunk-XNZR7UD2.cjs → chunk-PRXTIERO.cjs} +90 -65
- package/dist/tsup/chunk-PRXTIERO.cjs.map +1 -0
- package/dist/tsup/{chunk-LLD2D5LO.cjs → chunk-VE2X4KMG.cjs} +3 -2
- package/dist/tsup/chunk-VE2X4KMG.cjs.map +1 -0
- package/dist/tsup/{chunk-KSG2COSQ.js → chunk-WRZEVVLL.js} +6 -6
- package/dist/tsup/chunk-WRZEVVLL.js.map +1 -0
- package/dist/tsup/{chunk-LNMB25HW.js → chunk-XAIMHUPG.js} +780 -183
- package/dist/tsup/chunk-XAIMHUPG.js.map +1 -0
- package/dist/tsup/{chunk-D4TSTM6C.js → chunk-XZ62SWSC.js} +83 -58
- package/dist/tsup/chunk-XZ62SWSC.js.map +1 -0
- package/dist/tsup/{chunk-2NDZ7JCR.cjs → chunk-ZA7FLHKH.cjs} +1 -1
- package/dist/tsup/chunk-ZA7FLHKH.cjs.map +1 -0
- package/dist/tsup/{chunk-K34B3OVG.js → chunk-ZZ3WBRPD.js} +34 -9
- package/dist/tsup/chunk-ZZ3WBRPD.js.map +1 -0
- package/dist/tsup/client/mod.cjs +9 -9
- package/dist/tsup/client/mod.cjs.map +1 -1
- package/dist/tsup/client/mod.d.cts +8 -9
- package/dist/tsup/client/mod.d.ts +8 -9
- package/dist/tsup/client/mod.js +8 -8
- package/dist/tsup/common/log.cjs +5 -3
- package/dist/tsup/common/log.cjs.map +1 -1
- package/dist/tsup/common/log.d.cts +5 -1
- package/dist/tsup/common/log.d.ts +5 -1
- package/dist/tsup/common/log.js +6 -4
- package/dist/tsup/common/websocket.cjs +4 -4
- package/dist/tsup/common/websocket.js +3 -3
- package/dist/tsup/{config-CRdGwwbr.d.cts → config-CxG53eQo.d.cts} +577 -36
- package/dist/tsup/{config-kxXbtrJU.d.ts → config-DLOxy81E.d.cts} +5 -5
- package/dist/tsup/{config-kxXbtrJU.d.cts → config-DLOxy81E.d.ts} +5 -5
- package/dist/tsup/{config-DIpBWm5C.d.ts → config-Ds6DCRhV.d.ts} +577 -36
- package/dist/tsup/context-8KlcOYIs.d.cts +129 -0
- package/dist/tsup/context-Cfbm4QLr.d.ts +129 -0
- package/dist/tsup/db/drizzle.cjs +151 -79
- package/dist/tsup/db/drizzle.cjs.map +1 -1
- package/dist/tsup/db/drizzle.d.cts +2 -2
- package/dist/tsup/db/drizzle.d.ts +2 -2
- package/dist/tsup/db/drizzle.js +151 -79
- package/dist/tsup/db/drizzle.js.map +1 -1
- package/dist/tsup/db/mod.cjs +79 -24
- package/dist/tsup/db/mod.cjs.map +1 -1
- package/dist/tsup/db/mod.d.cts +2 -2
- package/dist/tsup/db/mod.d.ts +2 -2
- package/dist/tsup/db/mod.js +78 -23
- package/dist/tsup/db/mod.js.map +1 -1
- package/dist/tsup/dynamic/mod.cjs +24 -0
- package/dist/tsup/dynamic/mod.cjs.map +1 -0
- package/dist/tsup/dynamic/mod.d.cts +37 -0
- package/dist/tsup/dynamic/mod.d.ts +37 -0
- package/dist/tsup/dynamic/mod.js +24 -0
- package/dist/tsup/dynamic/mod.js.map +1 -0
- package/dist/tsup/inspector/mod.cjs +47 -12
- package/dist/tsup/inspector/mod.cjs.map +1 -1
- package/dist/tsup/inspector/mod.d.cts +37 -15
- package/dist/tsup/inspector/mod.d.ts +37 -15
- package/dist/tsup/inspector/mod.js +46 -11
- package/dist/tsup/inspector/mod.js.map +1 -1
- package/dist/tsup/inspector-tab/mod.cjs +162 -0
- package/dist/tsup/inspector-tab/mod.cjs.map +1 -0
- package/dist/tsup/inspector-tab/mod.d.cts +240 -0
- package/dist/tsup/inspector-tab/mod.d.ts +240 -0
- package/dist/tsup/inspector-tab/mod.js +162 -0
- package/dist/tsup/inspector-tab/mod.js.map +1 -0
- package/dist/tsup/mod.cjs +1078 -479
- package/dist/tsup/mod.cjs.map +1 -1
- package/dist/tsup/mod.d.cts +5 -6
- package/dist/tsup/mod.d.ts +5 -6
- package/dist/tsup/mod.js +996 -397
- package/dist/tsup/mod.js.map +1 -1
- package/dist/tsup/test/mod.cjs +21 -18
- package/dist/tsup/test/mod.cjs.map +1 -1
- package/dist/tsup/test/mod.d.cts +4 -5
- package/dist/tsup/test/mod.d.ts +4 -5
- package/dist/tsup/test/mod.js +18 -15
- package/dist/tsup/test/mod.js.map +1 -1
- package/dist/tsup/utils-CqDnC_PS.d.cts +104 -0
- package/dist/tsup/utils-CqDnC_PS.d.ts +104 -0
- package/dist/tsup/utils.cjs +3 -3
- package/dist/tsup/utils.d.cts +1 -1
- package/dist/tsup/utils.d.ts +1 -1
- package/dist/tsup/utils.js +2 -2
- package/dist/tsup/workflow/mod.cjs +386 -322
- package/dist/tsup/workflow/mod.cjs.map +1 -1
- package/dist/tsup/workflow/mod.d.cts +8 -9
- package/dist/tsup/workflow/mod.d.ts +8 -9
- package/dist/tsup/workflow/mod.js +363 -299
- package/dist/tsup/workflow/mod.js.map +1 -1
- package/package.json +35 -14
- package/src/actor/config.ts +188 -59
- package/src/actor/contexts/index.ts +7 -2
- package/src/actor/definition.ts +17 -19
- package/src/actor/driver.ts +3 -3
- package/src/actor/errors.ts +70 -7
- package/src/actor/instance/mod.ts +39 -56
- package/src/actor/keys.ts +2 -1
- package/src/actor/mod.ts +22 -20
- package/src/actor/schema.ts +2 -2
- package/src/agent-os/actor/index.ts +38 -18
- package/src/agent-os/actor/preview.ts +1 -2
- package/src/agent-os/actor/session.ts +2 -2
- package/src/agent-os/config.ts +1 -1
- package/src/agent-os/fs/database-vfs.ts +1 -1
- package/src/agent-os/index.ts +16 -15
- package/src/client/actor-common.ts +88 -62
- package/src/client/actor-conn.ts +58 -63
- package/src/client/actor-handle.ts +125 -71
- package/src/client/actor-query.ts +5 -5
- package/src/client/config.ts +3 -3
- package/src/client/errors.ts +2 -1
- package/src/client/lifecycle-errors.ts +2 -4
- package/src/client/query.ts +1 -1
- package/src/client/queue.ts +8 -3
- package/src/client/raw-utils.ts +10 -10
- package/src/client/resolve-gateway-target.ts +1 -1
- package/src/client/utils.ts +34 -10
- package/src/common/actor-router-consts.ts +7 -4
- package/src/common/actor-websocket.ts +3 -1
- package/src/common/bare/actor-persist/v1.ts +205 -163
- package/src/common/bare/actor-persist/v2.ts +265 -213
- package/src/common/bare/actor-persist/v3.ts +176 -172
- package/src/common/bare/actor-persist/v4.ts +254 -253
- package/src/common/bare/generated/client-protocol/v4.ts +599 -0
- package/src/common/bare/generated/inspector/v5.ts +1016 -0
- package/src/common/bare/transport/v1.ts +694 -542
- package/src/common/client-protocol-versioned.ts +176 -67
- package/src/common/client-protocol-zod.ts +7 -0
- package/src/common/client-protocol.ts +1 -1
- package/src/common/database/config.ts +16 -5
- package/src/common/database/mod.test.ts +83 -16
- package/src/common/database/mod.ts +86 -30
- package/src/common/database/native-database.test.ts +35 -22
- package/src/common/database/native-database.ts +26 -10
- package/src/common/database/shared.ts +1 -0
- package/src/common/encoding.ts +250 -16
- package/src/common/engine.ts +28 -1
- package/src/common/eventsource.ts +1 -1
- package/src/common/inline-websocket-adapter.ts +14 -13
- package/src/common/log.ts +15 -8
- package/src/common/router.ts +49 -23
- package/src/common/utils.ts +10 -202
- package/src/common/websocket-interface.ts +1 -1
- package/src/db/drizzle.ts +173 -96
- package/src/db/mod.ts +1 -1
- package/src/devtools-loader/index.ts +4 -7
- package/src/devtools-loader/serve-devtools.ts +26 -0
- package/src/drivers/engine/actor-driver.ts +76 -73
- package/src/dynamic/instance.ts +32 -0
- package/src/dynamic/internal.ts +50 -0
- package/src/dynamic/isolate-runtime.ts +66 -0
- package/src/dynamic/mod.ts +32 -0
- package/src/engine-client/actor-http-client.ts +6 -9
- package/src/engine-client/actor-websocket-client.ts +14 -13
- package/src/engine-client/api-endpoints.ts +51 -2
- package/src/engine-client/api-utils.ts +2 -2
- package/src/engine-client/driver.ts +3 -4
- package/src/engine-client/mod.ts +17 -10
- package/src/engine-client/ws-proxy.ts +9 -4
- package/src/inspector/client.browser.ts +66 -15
- package/src/inspector/mod.ts +2 -4
- package/src/inspector-tab/mod.ts +300 -0
- package/src/registry/config/envoy.ts +1 -2
- package/src/registry/config/index.ts +46 -20
- package/src/registry/index.ts +364 -87
- package/src/registry/napi-runtime.ts +97 -8
- package/src/registry/native-validation.ts +10 -12
- package/src/registry/native.ts +592 -343
- package/src/registry/process-metrics.ts +250 -0
- package/src/registry/runtime.ts +85 -6
- package/src/registry/wasm-runtime.ts +72 -3
- package/src/registry/write-through-proxy.ts +40 -0
- package/src/serde.ts +2 -2
- package/src/serverless/configure.ts +19 -8
- package/src/test/mod.ts +11 -8
- package/src/utils/crypto.ts +14 -0
- package/src/utils/endpoint-parser.ts +1 -1
- package/src/utils/env-vars.ts +37 -0
- package/src/utils/router.ts +1 -1
- package/src/utils.ts +1 -2
- package/src/workflow/context.ts +703 -240
- package/src/workflow/driver.ts +23 -12
- package/src/workflow/inspector.ts +12 -3
- package/src/workflow/mod.ts +37 -23
- package/dist/tsup/chunk-22XU3BVY.cjs.map +0 -1
- package/dist/tsup/chunk-2NDZ7JCR.cjs.map +0 -1
- package/dist/tsup/chunk-3BFYSYRU.js.map +0 -1
- package/dist/tsup/chunk-7MRGNVSR.js.map +0 -1
- package/dist/tsup/chunk-AK57AL7S.cjs.map +0 -1
- package/dist/tsup/chunk-D2TLG75Y.cjs.map +0 -1
- package/dist/tsup/chunk-D4TSTM6C.js.map +0 -1
- package/dist/tsup/chunk-IOYKCB6Y.cjs.map +0 -1
- package/dist/tsup/chunk-K34B3OVG.js.map +0 -1
- package/dist/tsup/chunk-KSG2COSQ.js.map +0 -1
- package/dist/tsup/chunk-LLD2D5LO.cjs.map +0 -1
- package/dist/tsup/chunk-LNMB25HW.js.map +0 -1
- package/dist/tsup/chunk-NFC5VU36.cjs.map +0 -1
- package/dist/tsup/chunk-OIKOPSXQ.js.map +0 -1
- package/dist/tsup/chunk-PCBNKI2J.js.map +0 -1
- package/dist/tsup/chunk-RZEJJJKU.js.map +0 -1
- package/dist/tsup/chunk-TPBHXFB2.cjs.map +0 -1
- package/dist/tsup/chunk-V3QNBJ7N.cjs.map +0 -1
- package/dist/tsup/chunk-W54QCENI.js.map +0 -1
- package/dist/tsup/chunk-XNZR7UD2.cjs.map +0 -1
- package/dist/tsup/context-B7G6sk7x.d.ts +0 -92
- package/dist/tsup/context-DzMRHkjC.d.cts +0 -92
- package/dist/tsup/utils-fwx3o3K9.d.cts +0 -18
- package/dist/tsup/utils-fwx3o3K9.d.ts +0 -18
- package/src/utils/serve.ts +0 -217
- /package/dist/tsup/{chunk-4ZIWB4CQ.js.map → chunk-ITWJ6Y7G.js.map} +0 -0
package/dist/tsup/test/mod.cjs
CHANGED
|
@@ -1,38 +1,41 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkGMN45CQ6cjs = require('../chunk-GMN45CQ6.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
8
|
-
require('../chunk-
|
|
9
|
-
require('../chunk-
|
|
10
|
-
require('../chunk-
|
|
11
|
-
require('../chunk-
|
|
12
|
-
require('../chunk-
|
|
13
|
-
require('../chunk-
|
|
7
|
+
var _chunkGEYQLGXCcjs = require('../chunk-GEYQLGXC.cjs');
|
|
8
|
+
require('../chunk-VE2X4KMG.cjs');
|
|
9
|
+
require('../chunk-OUDV3ITX.cjs');
|
|
10
|
+
require('../chunk-ZA7FLHKH.cjs');
|
|
11
|
+
require('../chunk-62LSMTP2.cjs');
|
|
12
|
+
require('../chunk-PRXTIERO.cjs');
|
|
13
|
+
require('../chunk-4FC7TVS6.cjs');
|
|
14
14
|
|
|
15
15
|
// src/test/mod.ts
|
|
16
16
|
var _pretry = require('p-retry'); var _pretry2 = _interopRequireDefault(_pretry);
|
|
17
17
|
async function waitForRegistryReady(registry) {
|
|
18
|
-
const clientConfig =
|
|
18
|
+
const clientConfig = _chunkGEYQLGXCcjs.convertRegistryConfigToClientConfig.call(void 0,
|
|
19
19
|
registry.parseConfig()
|
|
20
20
|
);
|
|
21
|
-
await _pretry2.default.call(void 0,
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
21
|
+
await _pretry2.default.call(void 0,
|
|
22
|
+
async () => {
|
|
23
|
+
await _chunkGEYQLGXCcjs.getMetadata.call(void 0, clientConfig);
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
retries: 20,
|
|
27
|
+
minTimeout: 50,
|
|
28
|
+
maxTimeout: 250
|
|
29
|
+
}
|
|
30
|
+
);
|
|
28
31
|
}
|
|
29
32
|
async function setupTest(c, registry) {
|
|
30
33
|
registry.config.test = { ...registry.config.test, enabled: true };
|
|
31
34
|
registry.config.noWelcome = true;
|
|
32
35
|
registry.start();
|
|
33
36
|
await waitForRegistryReady(registry);
|
|
34
|
-
const client =
|
|
35
|
-
...
|
|
37
|
+
const client = _chunkGMN45CQ6cjs.createClient.call(void 0, {
|
|
38
|
+
..._chunkGEYQLGXCcjs.convertRegistryConfigToClientConfig.call(void 0, registry.parseConfig()),
|
|
36
39
|
disableMetadataLookup: false
|
|
37
40
|
});
|
|
38
41
|
c.onTestFinished(async () => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["/home/runner/work/rivet/rivet/rivetkit-typescript/packages/rivetkit/dist/tsup/test/mod.cjs","../../../src/test/mod.ts"],"names":[],"mappings":"AAAA;AACE;AACF,yDAA8B;AAC9B;AACE;AACA;AACF,yDAA8B;AAC9B,iCAA8B;AAC9B,iCAA8B;AAC9B,iCAA8B;AAC9B,iCAA8B;AAC9B,iCAA8B;AAC9B,iCAA8B;AAC9B;AACA;ACdA,iFAAmB;AAWnB,MAAA,SAAe,oBAAA,CAAqB,QAAA,EAAwC;AAC3E,EAAA,MAAM,aAAA,EAAe,mEAAA;AAAA,IACpB,QAAA,CAAS,WAAA,CAAY;AAAA,EACtB,CAAA;AAEA,EAAA,MAAM,8BAAA,
|
|
1
|
+
{"version":3,"sources":["/home/runner/work/rivet/rivet/rivetkit-typescript/packages/rivetkit/dist/tsup/test/mod.cjs","../../../src/test/mod.ts"],"names":[],"mappings":"AAAA;AACE;AACF,yDAA8B;AAC9B;AACE;AACA;AACF,yDAA8B;AAC9B,iCAA8B;AAC9B,iCAA8B;AAC9B,iCAA8B;AAC9B,iCAA8B;AAC9B,iCAA8B;AAC9B,iCAA8B;AAC9B;AACA;ACdA,iFAAmB;AAWnB,MAAA,SAAe,oBAAA,CAAqB,QAAA,EAAwC;AAC3E,EAAA,MAAM,aAAA,EAAe,mEAAA;AAAA,IACpB,QAAA,CAAS,WAAA,CAAY;AAAA,EACtB,CAAA;AAEA,EAAA,MAAM,8BAAA;AAAA,IACL,MAAA,CAAA,EAAA,GAAY;AACX,MAAA,MAAM,2CAAA,YAAwB,CAAA;AAAA,IAC/B,CAAA;AAAA,IACA;AAAA,MACC,OAAA,EAAS,EAAA;AAAA,MACT,UAAA,EAAY,EAAA;AAAA,MACZ,UAAA,EAAY;AAAA,IACb;AAAA,EACD,CAAA;AACD;AAEA,MAAA,SAAsB,SAAA,CACrB,CAAA,EACA,QAAA,EAC8B;AAC9B,EAAA,QAAA,CAAS,MAAA,CAAO,KAAA,EAAO,EAAE,GAAG,QAAA,CAAS,MAAA,CAAO,IAAA,EAAM,OAAA,EAAS,KAAK,CAAA;AAChE,EAAA,QAAA,CAAS,MAAA,CAAO,UAAA,EAAY,IAAA;AAE5B,EAAA,QAAA,CAAS,KAAA,CAAM,CAAA;AACf,EAAA,MAAM,oBAAA,CAAqB,QAAQ,CAAA;AAEnC,EAAA,MAAM,OAAA,EAAS,4CAAA;AAAgB,IAC9B,GAAG,mEAAA,QAAoC,CAAS,WAAA,CAAY,CAAC,CAAA;AAAA,IAC7D,qBAAA,EAAuB;AAAA,EACxB,CAAC,CAAA;AAED,EAAA,CAAA,CAAE,cAAA,CAAe,MAAA,CAAA,EAAA,GAAY;AAC5B,IAAA,MAAM,MAAA,CAAO,OAAA,CAAQ,CAAA;AAAA,EACtB,CAAC,CAAA;AAED,EAAA,OAAO,EAAE,OAAO,CAAA;AACjB;ADHA;AACE;AACF,8BAAC","file":"/home/runner/work/rivet/rivet/rivetkit-typescript/packages/rivetkit/dist/tsup/test/mod.cjs","sourcesContent":[null,"import pRetry from \"p-retry\";\nimport type { TestContext } from \"vitest\";\nimport { convertRegistryConfigToClientConfig } from \"@/client/config\";\nimport { type Client, createClient } from \"@/client/mod\";\nimport { getMetadata } from \"@/engine-client/api-endpoints\";\nimport type { Registry } from \"@/registry\";\n\nexport interface SetupTestResult<A extends Registry<any>> {\n\tclient: Client<A>;\n}\n\nasync function waitForRegistryReady(registry: Registry<any>): Promise<void> {\n\tconst clientConfig = convertRegistryConfigToClientConfig(\n\t\tregistry.parseConfig(),\n\t);\n\n\tawait pRetry(\n\t\tasync () => {\n\t\t\tawait getMetadata(clientConfig);\n\t\t},\n\t\t{\n\t\t\tretries: 20,\n\t\t\tminTimeout: 50,\n\t\t\tmaxTimeout: 250,\n\t\t},\n\t);\n}\n\nexport async function setupTest<A extends Registry<any>>(\n\tc: TestContext,\n\tregistry: A,\n): Promise<SetupTestResult<A>> {\n\tregistry.config.test = { ...registry.config.test, enabled: true };\n\tregistry.config.noWelcome = true;\n\n\tregistry.start();\n\tawait waitForRegistryReady(registry);\n\n\tconst client = createClient<A>({\n\t\t...convertRegistryConfigToClientConfig(registry.parseConfig()),\n\t\tdisableMetadataLookup: false,\n\t});\n\n\tc.onTestFinished(async () => {\n\t\tawait client.dispose();\n\t});\n\n\treturn { client };\n}\n"]}
|
package/dist/tsup/test/mod.d.cts
CHANGED
|
@@ -1,17 +1,16 @@
|
|
|
1
1
|
import { TestContext } from 'vitest';
|
|
2
|
-
import {
|
|
2
|
+
import { ax as Registry, _ as Client } from '../config-CxG53eQo.cjs';
|
|
3
3
|
import 'zod/v4';
|
|
4
|
-
import '
|
|
5
|
-
import '../config-kxXbtrJU.cjs';
|
|
4
|
+
import '../config-DLOxy81E.cjs';
|
|
6
5
|
import '@rivetkit/rivetkit-wasm';
|
|
7
6
|
import 'zod';
|
|
8
7
|
import 'pino';
|
|
8
|
+
import '@rivetkit/virtual-websocket';
|
|
9
9
|
import '@standard-schema/spec';
|
|
10
10
|
import 'hono';
|
|
11
11
|
import '../utils.cjs';
|
|
12
|
-
import '../utils-
|
|
12
|
+
import '../utils-CqDnC_PS.cjs';
|
|
13
13
|
import 'hono/utils/http-status';
|
|
14
|
-
import '../actor/errors.cjs';
|
|
15
14
|
|
|
16
15
|
interface SetupTestResult<A extends Registry<any>> {
|
|
17
16
|
client: Client<A>;
|
package/dist/tsup/test/mod.d.ts
CHANGED
|
@@ -1,17 +1,16 @@
|
|
|
1
1
|
import { TestContext } from 'vitest';
|
|
2
|
-
import {
|
|
2
|
+
import { ax as Registry, _ as Client } from '../config-Ds6DCRhV.js';
|
|
3
3
|
import 'zod/v4';
|
|
4
|
-
import '
|
|
5
|
-
import '../config-kxXbtrJU.js';
|
|
4
|
+
import '../config-DLOxy81E.js';
|
|
6
5
|
import '@rivetkit/rivetkit-wasm';
|
|
7
6
|
import 'zod';
|
|
8
7
|
import 'pino';
|
|
8
|
+
import '@rivetkit/virtual-websocket';
|
|
9
9
|
import '@standard-schema/spec';
|
|
10
10
|
import 'hono';
|
|
11
11
|
import '../utils.js';
|
|
12
|
-
import '../utils-
|
|
12
|
+
import '../utils-CqDnC_PS.js';
|
|
13
13
|
import 'hono/utils/http-status';
|
|
14
|
-
import '../actor/errors.js';
|
|
15
14
|
|
|
16
15
|
interface SetupTestResult<A extends Registry<any>> {
|
|
17
16
|
client: Client<A>;
|
package/dist/tsup/test/mod.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createClient
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-WRZEVVLL.js";
|
|
4
4
|
import {
|
|
5
5
|
convertRegistryConfigToClientConfig,
|
|
6
6
|
getMetadata
|
|
7
|
-
} from "../chunk-
|
|
8
|
-
import "../chunk-
|
|
9
|
-
import "../chunk-
|
|
10
|
-
import "../chunk-
|
|
11
|
-
import "../chunk-
|
|
12
|
-
import "../chunk-
|
|
13
|
-
import "../chunk-
|
|
7
|
+
} from "../chunk-XAIMHUPG.js";
|
|
8
|
+
import "../chunk-HXUEHHJF.js";
|
|
9
|
+
import "../chunk-KTNBYGRU.js";
|
|
10
|
+
import "../chunk-JZ7TWV65.js";
|
|
11
|
+
import "../chunk-ITWJ6Y7G.js";
|
|
12
|
+
import "../chunk-XZ62SWSC.js";
|
|
13
|
+
import "../chunk-ZZ3WBRPD.js";
|
|
14
14
|
|
|
15
15
|
// src/test/mod.ts
|
|
16
16
|
import pRetry from "p-retry";
|
|
@@ -18,13 +18,16 @@ async function waitForRegistryReady(registry) {
|
|
|
18
18
|
const clientConfig = convertRegistryConfigToClientConfig(
|
|
19
19
|
registry.parseConfig()
|
|
20
20
|
);
|
|
21
|
-
await pRetry(
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
21
|
+
await pRetry(
|
|
22
|
+
async () => {
|
|
23
|
+
await getMetadata(clientConfig);
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
retries: 20,
|
|
27
|
+
minTimeout: 50,
|
|
28
|
+
maxTimeout: 250
|
|
29
|
+
}
|
|
30
|
+
);
|
|
28
31
|
}
|
|
29
32
|
async function setupTest(c, registry) {
|
|
30
33
|
registry.config.test = { ...registry.config.test, enabled: true };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/test/mod.ts"],"sourcesContent":["import pRetry from \"p-retry\";\nimport type { TestContext } from \"vitest\";\nimport {
|
|
1
|
+
{"version":3,"sources":["../../../src/test/mod.ts"],"sourcesContent":["import pRetry from \"p-retry\";\nimport type { TestContext } from \"vitest\";\nimport { convertRegistryConfigToClientConfig } from \"@/client/config\";\nimport { type Client, createClient } from \"@/client/mod\";\nimport { getMetadata } from \"@/engine-client/api-endpoints\";\nimport type { Registry } from \"@/registry\";\n\nexport interface SetupTestResult<A extends Registry<any>> {\n\tclient: Client<A>;\n}\n\nasync function waitForRegistryReady(registry: Registry<any>): Promise<void> {\n\tconst clientConfig = convertRegistryConfigToClientConfig(\n\t\tregistry.parseConfig(),\n\t);\n\n\tawait pRetry(\n\t\tasync () => {\n\t\t\tawait getMetadata(clientConfig);\n\t\t},\n\t\t{\n\t\t\tretries: 20,\n\t\t\tminTimeout: 50,\n\t\t\tmaxTimeout: 250,\n\t\t},\n\t);\n}\n\nexport async function setupTest<A extends Registry<any>>(\n\tc: TestContext,\n\tregistry: A,\n): Promise<SetupTestResult<A>> {\n\tregistry.config.test = { ...registry.config.test, enabled: true };\n\tregistry.config.noWelcome = true;\n\n\tregistry.start();\n\tawait waitForRegistryReady(registry);\n\n\tconst client = createClient<A>({\n\t\t...convertRegistryConfigToClientConfig(registry.parseConfig()),\n\t\tdisableMetadataLookup: false,\n\t});\n\n\tc.onTestFinished(async () => {\n\t\tawait client.dispose();\n\t});\n\n\treturn { client };\n}\n"],"mappings":";;;;;;;;;;;;;;;AAAA,OAAO,YAAY;AAWnB,eAAe,qBAAqB,UAAwC;AAC3E,QAAM,eAAe;AAAA,IACpB,SAAS,YAAY;AAAA,EACtB;AAEA,QAAM;AAAA,IACL,YAAY;AACX,YAAM,YAAY,YAAY;AAAA,IAC/B;AAAA,IACA;AAAA,MACC,SAAS;AAAA,MACT,YAAY;AAAA,MACZ,YAAY;AAAA,IACb;AAAA,EACD;AACD;AAEA,eAAsB,UACrB,GACA,UAC8B;AAC9B,WAAS,OAAO,OAAO,EAAE,GAAG,SAAS,OAAO,MAAM,SAAS,KAAK;AAChE,WAAS,OAAO,YAAY;AAE5B,WAAS,MAAM;AACf,QAAM,qBAAqB,QAAQ;AAEnC,QAAM,SAAS,aAAgB;AAAA,IAC9B,GAAG,oCAAoC,SAAS,YAAY,CAAC;AAAA,IAC7D,uBAAuB;AAAA,EACxB,CAAC;AAED,IAAE,eAAe,YAAY;AAC5B,UAAM,OAAO,QAAQ;AAAA,EACtB,CAAC;AAED,SAAO,EAAE,OAAO;AACjB;","names":[]}
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
import { Next } from 'hono';
|
|
2
|
+
import { ContentfulStatusCode } from 'hono/utils/http-status';
|
|
3
|
+
|
|
4
|
+
declare const INTERNAL_ERROR_CODE = "internal_error";
|
|
5
|
+
declare const INTERNAL_ERROR_DESCRIPTION = "An internal error occurred";
|
|
6
|
+
type InternalErrorMetadata = Record<string, never>;
|
|
7
|
+
declare const USER_ERROR_CODE = "user_error";
|
|
8
|
+
declare const BRIDGE_RIVET_ERROR_PREFIX = "__RIVET_ERROR_JSON__:";
|
|
9
|
+
interface RivetErrorOptions extends ErrorOptions {
|
|
10
|
+
/** Error data can safely be serialized in a response to the client. */
|
|
11
|
+
public?: boolean;
|
|
12
|
+
/** Metadata associated with this error. */
|
|
13
|
+
metadata?: unknown;
|
|
14
|
+
/** Explicit HTTP status override for router responses. */
|
|
15
|
+
statusCode?: number;
|
|
16
|
+
/** Actor context associated with this error. */
|
|
17
|
+
actor?: ActorSpecifier;
|
|
18
|
+
}
|
|
19
|
+
/** Identifies the actor that was handling work when an error was produced. */
|
|
20
|
+
interface ActorSpecifier {
|
|
21
|
+
actorId: string;
|
|
22
|
+
generation: number;
|
|
23
|
+
key?: string;
|
|
24
|
+
}
|
|
25
|
+
interface RivetErrorLike {
|
|
26
|
+
__type?: "ActorError" | "RivetError";
|
|
27
|
+
group: string;
|
|
28
|
+
code: string;
|
|
29
|
+
message: string;
|
|
30
|
+
metadata?: unknown;
|
|
31
|
+
public?: boolean;
|
|
32
|
+
statusCode?: number;
|
|
33
|
+
actor?: ActorSpecifier;
|
|
34
|
+
}
|
|
35
|
+
interface BridgeRivetErrorPayload extends RivetErrorLike {
|
|
36
|
+
}
|
|
37
|
+
interface UserErrorOptions extends ErrorOptions {
|
|
38
|
+
/**
|
|
39
|
+
* Machine readable code for this error. Useful for catching different types of
|
|
40
|
+
* errors in try-catch.
|
|
41
|
+
*/
|
|
42
|
+
code?: string;
|
|
43
|
+
/**
|
|
44
|
+
* Additional metadata related to the error. Useful for understanding context
|
|
45
|
+
* about the error.
|
|
46
|
+
*/
|
|
47
|
+
metadata?: unknown;
|
|
48
|
+
}
|
|
49
|
+
declare function isRivetErrorLike(error: unknown): error is RivetError | DeconstructedError | RivetErrorLike;
|
|
50
|
+
declare function isActorAbortedError(error: unknown): boolean;
|
|
51
|
+
declare class RivetError extends Error {
|
|
52
|
+
__type: "RivetError";
|
|
53
|
+
public: boolean;
|
|
54
|
+
metadata?: unknown;
|
|
55
|
+
statusCode: number;
|
|
56
|
+
actor?: ActorSpecifier;
|
|
57
|
+
readonly group: string;
|
|
58
|
+
readonly code: string;
|
|
59
|
+
static isRivetError(error: unknown): error is RivetError | DeconstructedError;
|
|
60
|
+
static isActorError(error: unknown): error is RivetError | DeconstructedError;
|
|
61
|
+
constructor(group: string, code: string, message: string, options?: RivetErrorOptions | unknown);
|
|
62
|
+
toString(): string;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
declare class UserError extends RivetError {
|
|
66
|
+
constructor(message: string, options?: UserErrorOptions);
|
|
67
|
+
}
|
|
68
|
+
declare function toRivetError(error: unknown, fallback?: Partial<RivetErrorLike>): RivetError;
|
|
69
|
+
declare function encodeBridgeRivetError(error: RivetErrorLike): string;
|
|
70
|
+
declare function decodeBridgeRivetErrorPayload(value: string): BridgeRivetErrorPayload | undefined;
|
|
71
|
+
declare function decodeBridgeRivetError(value: string): RivetError | undefined;
|
|
72
|
+
declare function isRivetErrorCode(error: unknown, group: string, code: string): error is RivetError;
|
|
73
|
+
declare function internalError(message: string, options?: Partial<RivetErrorOptions> & {
|
|
74
|
+
group?: string;
|
|
75
|
+
code?: string;
|
|
76
|
+
}): RivetError;
|
|
77
|
+
declare function invalidEncoding(format?: string): RivetError;
|
|
78
|
+
declare function invalidRequest(error?: unknown): RivetError;
|
|
79
|
+
declare function actorNotFound(identifier?: string): RivetError;
|
|
80
|
+
declare function actorStopping(identifier?: string): RivetError;
|
|
81
|
+
interface ActorRestartingOptions {
|
|
82
|
+
phase?: "stopping" | "sleeping" | "waking" | "runner_shutdown";
|
|
83
|
+
retryAfterMs?: number;
|
|
84
|
+
}
|
|
85
|
+
declare function actorRestarting(opts?: ActorRestartingOptions): RivetError;
|
|
86
|
+
declare function forbiddenError(): RivetError;
|
|
87
|
+
declare function unsupportedFeature(feature: string): RivetError;
|
|
88
|
+
|
|
89
|
+
declare function assertUnreachable(x: never): never;
|
|
90
|
+
interface DeconstructedError {
|
|
91
|
+
__type: "ActorError";
|
|
92
|
+
statusCode: ContentfulStatusCode;
|
|
93
|
+
public: boolean;
|
|
94
|
+
group: string;
|
|
95
|
+
code: string;
|
|
96
|
+
message: string;
|
|
97
|
+
metadata?: unknown;
|
|
98
|
+
actor?: ActorSpecifier;
|
|
99
|
+
}
|
|
100
|
+
declare function stringifyError(error: unknown): string;
|
|
101
|
+
/** Generates a `Next` handler to pass to middleware in order to be able to call arbitrary middleware. */
|
|
102
|
+
declare function noopNext(): Next;
|
|
103
|
+
|
|
104
|
+
export { type ActorRestartingOptions as A, BRIDGE_RIVET_ERROR_PREFIX as B, INTERNAL_ERROR_CODE as I, RivetError as R, UserError as U, type RivetErrorLike as a, type RivetErrorOptions as b, type UserErrorOptions as c, assertUnreachable as d, type ActorSpecifier as e, type BridgeRivetErrorPayload as f, INTERNAL_ERROR_DESCRIPTION as g, type InternalErrorMetadata as h, USER_ERROR_CODE as i, actorNotFound as j, actorRestarting as k, actorStopping as l, decodeBridgeRivetError as m, noopNext as n, decodeBridgeRivetErrorPayload as o, encodeBridgeRivetError as p, forbiddenError as q, internalError as r, stringifyError as s, invalidEncoding as t, invalidRequest as u, isActorAbortedError as v, isRivetErrorCode as w, isRivetErrorLike as x, toRivetError as y, unsupportedFeature as z };
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
import { Next } from 'hono';
|
|
2
|
+
import { ContentfulStatusCode } from 'hono/utils/http-status';
|
|
3
|
+
|
|
4
|
+
declare const INTERNAL_ERROR_CODE = "internal_error";
|
|
5
|
+
declare const INTERNAL_ERROR_DESCRIPTION = "An internal error occurred";
|
|
6
|
+
type InternalErrorMetadata = Record<string, never>;
|
|
7
|
+
declare const USER_ERROR_CODE = "user_error";
|
|
8
|
+
declare const BRIDGE_RIVET_ERROR_PREFIX = "__RIVET_ERROR_JSON__:";
|
|
9
|
+
interface RivetErrorOptions extends ErrorOptions {
|
|
10
|
+
/** Error data can safely be serialized in a response to the client. */
|
|
11
|
+
public?: boolean;
|
|
12
|
+
/** Metadata associated with this error. */
|
|
13
|
+
metadata?: unknown;
|
|
14
|
+
/** Explicit HTTP status override for router responses. */
|
|
15
|
+
statusCode?: number;
|
|
16
|
+
/** Actor context associated with this error. */
|
|
17
|
+
actor?: ActorSpecifier;
|
|
18
|
+
}
|
|
19
|
+
/** Identifies the actor that was handling work when an error was produced. */
|
|
20
|
+
interface ActorSpecifier {
|
|
21
|
+
actorId: string;
|
|
22
|
+
generation: number;
|
|
23
|
+
key?: string;
|
|
24
|
+
}
|
|
25
|
+
interface RivetErrorLike {
|
|
26
|
+
__type?: "ActorError" | "RivetError";
|
|
27
|
+
group: string;
|
|
28
|
+
code: string;
|
|
29
|
+
message: string;
|
|
30
|
+
metadata?: unknown;
|
|
31
|
+
public?: boolean;
|
|
32
|
+
statusCode?: number;
|
|
33
|
+
actor?: ActorSpecifier;
|
|
34
|
+
}
|
|
35
|
+
interface BridgeRivetErrorPayload extends RivetErrorLike {
|
|
36
|
+
}
|
|
37
|
+
interface UserErrorOptions extends ErrorOptions {
|
|
38
|
+
/**
|
|
39
|
+
* Machine readable code for this error. Useful for catching different types of
|
|
40
|
+
* errors in try-catch.
|
|
41
|
+
*/
|
|
42
|
+
code?: string;
|
|
43
|
+
/**
|
|
44
|
+
* Additional metadata related to the error. Useful for understanding context
|
|
45
|
+
* about the error.
|
|
46
|
+
*/
|
|
47
|
+
metadata?: unknown;
|
|
48
|
+
}
|
|
49
|
+
declare function isRivetErrorLike(error: unknown): error is RivetError | DeconstructedError | RivetErrorLike;
|
|
50
|
+
declare function isActorAbortedError(error: unknown): boolean;
|
|
51
|
+
declare class RivetError extends Error {
|
|
52
|
+
__type: "RivetError";
|
|
53
|
+
public: boolean;
|
|
54
|
+
metadata?: unknown;
|
|
55
|
+
statusCode: number;
|
|
56
|
+
actor?: ActorSpecifier;
|
|
57
|
+
readonly group: string;
|
|
58
|
+
readonly code: string;
|
|
59
|
+
static isRivetError(error: unknown): error is RivetError | DeconstructedError;
|
|
60
|
+
static isActorError(error: unknown): error is RivetError | DeconstructedError;
|
|
61
|
+
constructor(group: string, code: string, message: string, options?: RivetErrorOptions | unknown);
|
|
62
|
+
toString(): string;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
declare class UserError extends RivetError {
|
|
66
|
+
constructor(message: string, options?: UserErrorOptions);
|
|
67
|
+
}
|
|
68
|
+
declare function toRivetError(error: unknown, fallback?: Partial<RivetErrorLike>): RivetError;
|
|
69
|
+
declare function encodeBridgeRivetError(error: RivetErrorLike): string;
|
|
70
|
+
declare function decodeBridgeRivetErrorPayload(value: string): BridgeRivetErrorPayload | undefined;
|
|
71
|
+
declare function decodeBridgeRivetError(value: string): RivetError | undefined;
|
|
72
|
+
declare function isRivetErrorCode(error: unknown, group: string, code: string): error is RivetError;
|
|
73
|
+
declare function internalError(message: string, options?: Partial<RivetErrorOptions> & {
|
|
74
|
+
group?: string;
|
|
75
|
+
code?: string;
|
|
76
|
+
}): RivetError;
|
|
77
|
+
declare function invalidEncoding(format?: string): RivetError;
|
|
78
|
+
declare function invalidRequest(error?: unknown): RivetError;
|
|
79
|
+
declare function actorNotFound(identifier?: string): RivetError;
|
|
80
|
+
declare function actorStopping(identifier?: string): RivetError;
|
|
81
|
+
interface ActorRestartingOptions {
|
|
82
|
+
phase?: "stopping" | "sleeping" | "waking" | "runner_shutdown";
|
|
83
|
+
retryAfterMs?: number;
|
|
84
|
+
}
|
|
85
|
+
declare function actorRestarting(opts?: ActorRestartingOptions): RivetError;
|
|
86
|
+
declare function forbiddenError(): RivetError;
|
|
87
|
+
declare function unsupportedFeature(feature: string): RivetError;
|
|
88
|
+
|
|
89
|
+
declare function assertUnreachable(x: never): never;
|
|
90
|
+
interface DeconstructedError {
|
|
91
|
+
__type: "ActorError";
|
|
92
|
+
statusCode: ContentfulStatusCode;
|
|
93
|
+
public: boolean;
|
|
94
|
+
group: string;
|
|
95
|
+
code: string;
|
|
96
|
+
message: string;
|
|
97
|
+
metadata?: unknown;
|
|
98
|
+
actor?: ActorSpecifier;
|
|
99
|
+
}
|
|
100
|
+
declare function stringifyError(error: unknown): string;
|
|
101
|
+
/** Generates a `Next` handler to pass to middleware in order to be able to call arbitrary middleware. */
|
|
102
|
+
declare function noopNext(): Next;
|
|
103
|
+
|
|
104
|
+
export { type ActorRestartingOptions as A, BRIDGE_RIVET_ERROR_PREFIX as B, INTERNAL_ERROR_CODE as I, RivetError as R, UserError as U, type RivetErrorLike as a, type RivetErrorOptions as b, type UserErrorOptions as c, assertUnreachable as d, type ActorSpecifier as e, type BridgeRivetErrorPayload as f, INTERNAL_ERROR_DESCRIPTION as g, type InternalErrorMetadata as h, USER_ERROR_CODE as i, actorNotFound as j, actorRestarting as k, actorStopping as l, decodeBridgeRivetError as m, noopNext as n, decodeBridgeRivetErrorPayload as o, encodeBridgeRivetError as p, forbiddenError as q, internalError as r, stringifyError as s, invalidEncoding as t, invalidRequest as u, isActorAbortedError as v, isRivetErrorCode as w, isRivetErrorLike as x, toRivetError as y, unsupportedFeature as z };
|
package/dist/tsup/utils.cjs
CHANGED
|
@@ -17,8 +17,8 @@
|
|
|
17
17
|
|
|
18
18
|
|
|
19
19
|
|
|
20
|
-
var
|
|
21
|
-
require('./chunk-
|
|
20
|
+
var _chunkPRXTIEROcjs = require('./chunk-PRXTIERO.cjs');
|
|
21
|
+
require('./chunk-4FC7TVS6.cjs');
|
|
22
22
|
|
|
23
23
|
|
|
24
24
|
|
|
@@ -38,5 +38,5 @@ require('./chunk-V3QNBJ7N.cjs');
|
|
|
38
38
|
|
|
39
39
|
|
|
40
40
|
|
|
41
|
-
exports.EXTRA_ERROR_LOG =
|
|
41
|
+
exports.EXTRA_ERROR_LOG = _chunkPRXTIEROcjs.EXTRA_ERROR_LOG; exports.SinglePromiseQueue = _chunkPRXTIEROcjs.SinglePromiseQueue; exports.VERSION = _chunkPRXTIEROcjs.VERSION; exports.arrayBuffersEqual = _chunkPRXTIEROcjs.arrayBuffersEqual; exports.assertUnreachable = _chunkPRXTIEROcjs.assertUnreachable; exports.bufferToArrayBuffer = _chunkPRXTIEROcjs.bufferToArrayBuffer; exports.combineUrlPath = _chunkPRXTIEROcjs.combineUrlPath; exports.dbg = _chunkPRXTIEROcjs.dbg; exports.detectRuntime = _chunkPRXTIEROcjs.detectRuntime; exports.getEnvUniversal = _chunkPRXTIEROcjs.getEnvUniversal; exports.httpUserAgent = _chunkPRXTIEROcjs.httpUserAgent; exports.interval = _chunkPRXTIEROcjs.interval; exports.joinSignals = _chunkPRXTIEROcjs.joinSignals; exports.promiseWithResolvers = _chunkPRXTIEROcjs.promiseWithResolvers; exports.setLongTimeout = _chunkPRXTIEROcjs.setLongTimeout; exports.sleep = _chunkPRXTIEROcjs.sleep; exports.stringifyError = _chunkPRXTIEROcjs.stringifyError; exports.toUint8Array = _chunkPRXTIEROcjs.toUint8Array;
|
|
42
42
|
//# sourceMappingURL=utils.cjs.map
|
package/dist/tsup/utils.d.cts
CHANGED
package/dist/tsup/utils.d.ts
CHANGED
package/dist/tsup/utils.js
CHANGED