rivetkit 0.0.0-pr.4851.b21b4e2 → 0.0.0-pr.4852.52d3eea
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 +3 -13
- package/dist/browser/client.js +3 -6
- 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/tsup/agent-os/index.cjs +3 -7
- package/dist/tsup/agent-os/index.cjs.map +1 -1
- package/dist/tsup/agent-os/index.d.cts +3 -13
- package/dist/tsup/agent-os/index.d.ts +3 -13
- package/dist/tsup/agent-os/index.js +3 -7
- package/dist/tsup/agent-os/index.js.map +1 -1
- package/dist/tsup/{chunk-YRQR53L2.cjs → chunk-3GYQKLOM.cjs} +8 -8
- package/dist/tsup/{chunk-YRQR53L2.cjs.map → chunk-3GYQKLOM.cjs.map} +1 -1
- package/dist/tsup/{chunk-GRTKRKSS.cjs → chunk-5ZIBV4M5.cjs} +10 -10
- package/dist/tsup/{chunk-GRTKRKSS.cjs.map → chunk-5ZIBV4M5.cjs.map} +1 -1
- package/dist/tsup/{chunk-AVJOVLPY.cjs → chunk-COH4P2ET.cjs} +5 -5
- package/dist/tsup/{chunk-AVJOVLPY.cjs.map → chunk-COH4P2ET.cjs.map} +1 -1
- package/dist/tsup/{chunk-JFDZREZO.cjs → chunk-DX3ETVV3.cjs} +3 -3
- package/dist/tsup/{chunk-JFDZREZO.cjs.map → chunk-DX3ETVV3.cjs.map} +1 -1
- package/dist/tsup/{chunk-773KUJ5Q.js → chunk-HG7ZI4QW.js} +2 -2
- package/dist/tsup/{chunk-AS4QCHMO.js → chunk-IWJTYKVZ.js} +2 -2
- package/dist/tsup/{chunk-5P4VLTMK.cjs → chunk-JPKSW4RF.cjs} +4 -8
- package/dist/tsup/chunk-JPKSW4RF.cjs.map +1 -0
- package/dist/tsup/{chunk-OOGNU34N.js → chunk-LTRBXLAZ.js} +4 -4
- package/dist/tsup/{chunk-P7ZD47HD.js → chunk-NU2CVHJ4.js} +3 -3
- package/dist/tsup/{chunk-LHL5FRPN.cjs → chunk-OS3ZTF4M.cjs} +4 -4
- package/dist/tsup/{chunk-LHL5FRPN.cjs.map → chunk-OS3ZTF4M.cjs.map} +1 -1
- package/dist/tsup/{chunk-HUZJNO24.js → chunk-ROEI2NT3.js} +4 -8
- package/dist/tsup/chunk-ROEI2NT3.js.map +1 -0
- package/dist/tsup/{chunk-SRDUE2XL.js → chunk-RYX3BRKH.js} +2 -2
- package/dist/tsup/{chunk-R73OZESC.cjs → chunk-VMLOPKNZ.cjs} +137 -137
- package/dist/tsup/{chunk-R73OZESC.cjs.map → chunk-VMLOPKNZ.cjs.map} +1 -1
- package/dist/tsup/{chunk-SVXU7IAH.js → chunk-WLKYT3K3.js} +4 -4
- package/dist/tsup/{chunk-SVXU7IAH.js.map → chunk-WLKYT3K3.js.map} +1 -1
- package/dist/tsup/client/mod.cjs +6 -6
- package/dist/tsup/client/mod.d.cts +2 -2
- package/dist/tsup/client/mod.d.ts +2 -2
- 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/{config-DIDQgGOT.d.ts → config-B3RIidaJ.d.ts} +4 -25
- package/dist/tsup/{config-DxAMBR2v.d.cts → config-D6WxBYjV.d.cts} +4 -25
- package/dist/tsup/{context-jc7R4o6y.d.cts → context-BxvHh9wi.d.cts} +1 -1
- package/dist/tsup/{context-BJ32Cbsb.d.ts → context-CNIZBIKl.d.ts} +1 -1
- package/dist/tsup/inspector/mod.cjs +5 -5
- package/dist/tsup/inspector/mod.js +4 -4
- package/dist/tsup/mod.cjs +124 -216
- package/dist/tsup/mod.cjs.map +1 -1
- package/dist/tsup/mod.d.cts +3 -3
- package/dist/tsup/mod.d.ts +3 -3
- package/dist/tsup/mod.js +84 -176
- package/dist/tsup/mod.js.map +1 -1
- package/dist/tsup/test/mod.cjs +9 -9
- package/dist/tsup/test/mod.d.cts +1 -1
- package/dist/tsup/test/mod.d.ts +1 -1
- package/dist/tsup/test/mod.js +5 -5
- package/dist/tsup/utils.cjs +2 -2
- package/dist/tsup/utils.d.cts +1 -1
- package/dist/tsup/utils.d.ts +1 -1
- package/dist/tsup/utils.js +1 -1
- package/dist/tsup/workflow/mod.cjs +7 -7
- package/dist/tsup/workflow/mod.d.cts +3 -3
- package/dist/tsup/workflow/mod.d.ts +3 -3
- package/dist/tsup/workflow/mod.js +4 -4
- package/package.json +7 -7
- package/src/engine-client/api-endpoints.ts +0 -1
- package/src/registry/config/index.ts +17 -89
- package/src/registry/config/serverless.ts +0 -1
- package/src/registry/index.ts +13 -33
- package/src/registry/native.ts +7 -26
- package/src/serverless/configure.ts +0 -1
- package/src/utils.ts +5 -11
- package/dist/tsup/chunk-5P4VLTMK.cjs.map +0 -1
- package/dist/tsup/chunk-HUZJNO24.js.map +0 -1
- /package/dist/tsup/{chunk-773KUJ5Q.js.map → chunk-HG7ZI4QW.js.map} +0 -0
- /package/dist/tsup/{chunk-AS4QCHMO.js.map → chunk-IWJTYKVZ.js.map} +0 -0
- /package/dist/tsup/{chunk-OOGNU34N.js.map → chunk-LTRBXLAZ.js.map} +0 -0
- /package/dist/tsup/{chunk-P7ZD47HD.js.map → chunk-NU2CVHJ4.js.map} +0 -0
- /package/dist/tsup/{chunk-SRDUE2XL.js.map → chunk-RYX3BRKH.js.map} +0 -0
package/dist/browser/client.d.ts
CHANGED
|
@@ -1367,18 +1367,13 @@ declare const RegistryConfigSchema: z$2.ZodPipe<z$2.ZodObject<{
|
|
|
1367
1367
|
httpBasePath: z$2.ZodDefault<z$2.ZodOptional<z$2.ZodString>>;
|
|
1368
1368
|
httpPort: z$2.ZodDefault<z$2.ZodOptional<z$2.ZodNumber>>;
|
|
1369
1369
|
httpHost: z$2.ZodOptional<z$2.ZodString>;
|
|
1370
|
-
|
|
1371
|
-
serverless: "serverless";
|
|
1372
|
-
envoy: "envoy";
|
|
1373
|
-
}>>;
|
|
1374
|
-
startEngine: z$2.ZodOptional<z$2.ZodBoolean>;
|
|
1370
|
+
startEngine: z$2.ZodDefault<z$2.ZodBoolean>;
|
|
1375
1371
|
engineVersion: z$2.ZodDefault<z$2.ZodOptional<z$2.ZodString>>;
|
|
1376
1372
|
configurePool: z$2.ZodOptional<z$2.ZodOptional<z$2.ZodObject<{
|
|
1377
1373
|
name: z$2.ZodOptional<z$2.ZodString>;
|
|
1378
1374
|
url: z$2.ZodString;
|
|
1379
1375
|
headers: z$2.ZodOptional<z$2.ZodRecord<z$2.ZodString, z$2.ZodString>>;
|
|
1380
1376
|
requestLifespan: z$2.ZodOptional<z$2.ZodNumber>;
|
|
1381
|
-
drainGracePeriod: z$2.ZodOptional<z$2.ZodNumber>;
|
|
1382
1377
|
metadata: z$2.ZodOptional<z$2.ZodRecord<z$2.ZodString, z$2.ZodUnknown>>;
|
|
1383
1378
|
metadataPollInterval: z$2.ZodOptional<z$2.ZodNumber>;
|
|
1384
1379
|
drainOnVersionUpgrade: z$2.ZodOptional<z$2.ZodBoolean>;
|
|
@@ -1400,8 +1395,6 @@ declare const RegistryConfigSchema: z$2.ZodPipe<z$2.ZodObject<{
|
|
|
1400
1395
|
disableSignalHandlers: z$2.ZodDefault<z$2.ZodOptional<z$2.ZodBoolean>>;
|
|
1401
1396
|
}, z$2.core.$strip>>>;
|
|
1402
1397
|
}, z$2.core.$strip>, z$2.ZodTransform<{
|
|
1403
|
-
startEngine: boolean;
|
|
1404
|
-
runtimeMode: "serverless" | "envoy";
|
|
1405
1398
|
endpoint: string | undefined;
|
|
1406
1399
|
namespace: string;
|
|
1407
1400
|
token: string | undefined;
|
|
@@ -1429,6 +1422,7 @@ declare const RegistryConfigSchema: z$2.ZodPipe<z$2.ZodObject<{
|
|
|
1429
1422
|
headers: Record<string, string>;
|
|
1430
1423
|
httpBasePath: string;
|
|
1431
1424
|
httpPort: number;
|
|
1425
|
+
startEngine: boolean;
|
|
1432
1426
|
engineVersion: string;
|
|
1433
1427
|
envoy: {
|
|
1434
1428
|
poolName: string;
|
|
@@ -1442,13 +1436,11 @@ declare const RegistryConfigSchema: z$2.ZodPipe<z$2.ZodObject<{
|
|
|
1442
1436
|
};
|
|
1443
1437
|
staticDir?: string | undefined;
|
|
1444
1438
|
httpHost?: string | undefined;
|
|
1445
|
-
mode?: "serverless" | "envoy" | undefined;
|
|
1446
1439
|
configurePool?: {
|
|
1447
1440
|
url: string;
|
|
1448
1441
|
name?: string | undefined;
|
|
1449
1442
|
headers?: Record<string, string> | undefined;
|
|
1450
1443
|
requestLifespan?: number | undefined;
|
|
1451
|
-
drainGracePeriod?: number | undefined;
|
|
1452
1444
|
metadata?: Record<string, unknown> | undefined;
|
|
1453
1445
|
metadataPollInterval?: number | undefined;
|
|
1454
1446
|
drainOnVersionUpgrade?: boolean | undefined;
|
|
@@ -1471,6 +1463,7 @@ declare const RegistryConfigSchema: z$2.ZodPipe<z$2.ZodObject<{
|
|
|
1471
1463
|
headers: Record<string, string>;
|
|
1472
1464
|
httpBasePath: string;
|
|
1473
1465
|
httpPort: number;
|
|
1466
|
+
startEngine: boolean;
|
|
1474
1467
|
engineVersion: string;
|
|
1475
1468
|
serverless: {
|
|
1476
1469
|
basePath: string;
|
|
@@ -1490,14 +1483,11 @@ declare const RegistryConfigSchema: z$2.ZodPipe<z$2.ZodObject<{
|
|
|
1490
1483
|
};
|
|
1491
1484
|
staticDir?: string | undefined;
|
|
1492
1485
|
httpHost?: string | undefined;
|
|
1493
|
-
mode?: "serverless" | "envoy" | undefined;
|
|
1494
|
-
startEngine?: boolean | undefined;
|
|
1495
1486
|
configurePool?: {
|
|
1496
1487
|
url: string;
|
|
1497
1488
|
name?: string | undefined;
|
|
1498
1489
|
headers?: Record<string, string> | undefined;
|
|
1499
1490
|
requestLifespan?: number | undefined;
|
|
1500
|
-
drainGracePeriod?: number | undefined;
|
|
1501
1491
|
metadata?: Record<string, unknown> | undefined;
|
|
1502
1492
|
metadataPollInterval?: number | undefined;
|
|
1503
1493
|
drainOnVersionUpgrade?: boolean | undefined;
|
package/dist/browser/client.js
CHANGED
|
@@ -225,7 +225,7 @@ function noopNext() {
|
|
|
225
225
|
// package.json
|
|
226
226
|
var package_default = {
|
|
227
227
|
name: "rivetkit",
|
|
228
|
-
version: "0.0.0-pr.
|
|
228
|
+
version: "0.0.0-pr.4852.52d3eea",
|
|
229
229
|
description: "Lightweight libraries for building stateful actors on edge platforms",
|
|
230
230
|
license: "Apache-2.0",
|
|
231
231
|
keywords: [
|
|
@@ -534,11 +534,8 @@ function httpUserAgent() {
|
|
|
534
534
|
return userAgent;
|
|
535
535
|
}
|
|
536
536
|
function getEnvUniversal(key) {
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
return global.Deno.env.get(key);
|
|
540
|
-
} else if (global.Bun?.env?.[key] !== void 0) {
|
|
541
|
-
return global.Bun.env[key];
|
|
537
|
+
if (typeof Deno !== "undefined") {
|
|
538
|
+
return Deno.env.get(key);
|
|
542
539
|
} else if (typeof process !== "undefined") {
|
|
543
540
|
return process.env[key];
|
|
544
541
|
}
|