@rivetkit/supabase 0.0.0-eve-rivet.bfd694b → 0.0.0-eve-rivet.9b960b7

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.
Files changed (3) hide show
  1. package/dist/mod.js +106 -106
  2. package/dist/mod.mjs +106 -106
  3. package/package.json +3 -3
package/dist/mod.js CHANGED
@@ -508,7 +508,7 @@ function unsupportedFeature(feature) {
508
508
  );
509
509
  }
510
510
 
511
- // ../rivetkit/dist/tsup/chunk-Z5CSJLFC.js
511
+ // ../rivetkit/dist/tsup/chunk-LUEPSB5O.js
512
512
  var import_pino = require("pino");
513
513
 
514
514
  // ../../../node_modules/.pnpm/zod@4.1.13/node_modules/zod/v4/classic/external.js
@@ -13181,7 +13181,7 @@ var classic_default = external_exports;
13181
13181
  // ../../../node_modules/.pnpm/zod@4.1.13/node_modules/zod/v4/index.js
13182
13182
  var v4_default = classic_default;
13183
13183
 
13184
- // ../rivetkit/dist/tsup/chunk-Z5CSJLFC.js
13184
+ // ../rivetkit/dist/tsup/chunk-LUEPSB5O.js
13185
13185
  var cbor = __toESM(require("cbor-x"), 1);
13186
13186
  var import_invariant = __toESM(require_invariant(), 1);
13187
13187
  var getRivetEngine = () => getEnvUniversal("RIVET_ENGINE");
@@ -13346,7 +13346,7 @@ function noopNext() {
13346
13346
  }
13347
13347
  var package_default = {
13348
13348
  name: "rivetkit",
13349
- version: "0.0.0-eve-rivet.bfd694b",
13349
+ version: "0.0.0-eve-rivet.9b960b7",
13350
13350
  description: "Lightweight libraries for building stateful actors on edge platforms",
13351
13351
  license: "Apache-2.0",
13352
13352
  keywords: [
@@ -14636,7 +14636,7 @@ function Config({ initialBufferLength = 1024, maxBufferLength = 1024 * 1024 * 32
14636
14636
  };
14637
14637
  }
14638
14638
 
14639
- // ../rivetkit/dist/tsup/chunk-NX2P6655.js
14639
+ // ../rivetkit/dist/tsup/chunk-5OGB5TN2.js
14640
14640
  var config2 = /* @__PURE__ */ Config({});
14641
14641
  function readWorkflowCbor(bc) {
14642
14642
  return readData(bc);
@@ -15413,7 +15413,7 @@ var AsyncMutex = class {
15413
15413
  }
15414
15414
  };
15415
15415
 
15416
- // ../rivetkit/dist/tsup/chunk-47SRS346.js
15416
+ // ../rivetkit/dist/tsup/chunk-3L2XURLE.js
15417
15417
  function logger() {
15418
15418
  return getLogger("actor-client");
15419
15419
  }
@@ -15451,7 +15451,7 @@ async function importWebSocket() {
15451
15451
  return webSocketPromise;
15452
15452
  }
15453
15453
 
15454
- // ../rivetkit/dist/tsup/chunk-YH54YO7Y.js
15454
+ // ../rivetkit/dist/tsup/chunk-MG5XBXFT.js
15455
15455
  var import_invariant2 = __toESM(require_invariant(), 1);
15456
15456
 
15457
15457
  // ../../../node_modules/.pnpm/p-retry@6.2.1/node_modules/p-retry/index.js
@@ -15629,7 +15629,7 @@ function createVersionedDataHandler(config3) {
15629
15629
  return new VersionedDataHandler(config3);
15630
15630
  }
15631
15631
 
15632
- // ../rivetkit/dist/tsup/chunk-YH54YO7Y.js
15632
+ // ../rivetkit/dist/tsup/chunk-MG5XBXFT.js
15633
15633
  var import_invariant3 = __toESM(require_invariant(), 1);
15634
15634
  var import_invariant4 = __toESM(require_invariant(), 1);
15635
15635
  var PATH_CONNECT = "/connect";
@@ -20361,103 +20361,6 @@ function convertRegistryConfigToClientConfig(config3) {
20361
20361
  devtools: typeof window !== "undefined" && (((_a2 = window == null ? void 0 : window.location) == null ? void 0 : _a2.hostname) === "127.0.0.1" || ((_b = window == null ? void 0 : window.location) == null ? void 0 : _b.hostname) === "localhost")
20362
20362
  };
20363
20363
  }
20364
- function logger2() {
20365
- return getLogger("engine-client");
20366
- }
20367
- function getEndpoint(config3) {
20368
- return config3.endpoint ?? "http://127.0.0.1:6420";
20369
- }
20370
- async function apiCall(config3, method2, path2, body) {
20371
- const endpoint = getEndpoint(config3);
20372
- const url2 = combineUrlPath(endpoint, path2, {
20373
- namespace: config3.namespace
20374
- });
20375
- logger2().debug({ msg: "making api call", method: method2, url: url2 });
20376
- const headers = {
20377
- ...config3.headers
20378
- };
20379
- if (config3.token) {
20380
- headers.Authorization = `Bearer ${config3.token}`;
20381
- }
20382
- return await sendHttpRequest({
20383
- method: method2,
20384
- url: url2,
20385
- headers,
20386
- body,
20387
- encoding: "json",
20388
- skipParseResponse: false,
20389
- requestVersionedDataHandler: void 0,
20390
- requestVersion: void 0,
20391
- responseVersionedDataHandler: void 0,
20392
- responseVersion: void 0,
20393
- requestZodSchema: external_exports.any(),
20394
- responseZodSchema: external_exports.any(),
20395
- // Identity conversions (passthrough for generic API calls)
20396
- requestToJson: (value) => value,
20397
- requestToBare: (value) => value,
20398
- responseFromJson: (value) => value,
20399
- responseFromBare: (value) => value
20400
- });
20401
- }
20402
- async function getActor(config3, _, actorId) {
20403
- return apiCall(
20404
- config3,
20405
- "GET",
20406
- `/actors?actor_ids=${encodeURIComponent(actorId)}`
20407
- );
20408
- }
20409
- async function getActorByKey(config3, name, key) {
20410
- const serializedKey = serializeActorKey(key);
20411
- return apiCall(
20412
- config3,
20413
- "GET",
20414
- `/actors?name=${encodeURIComponent(name)}&key=${encodeURIComponent(serializedKey)}`
20415
- );
20416
- }
20417
- async function listActorsByName(config3, name) {
20418
- return apiCall(
20419
- config3,
20420
- "GET",
20421
- `/actors?name=${encodeURIComponent(name)}`
20422
- );
20423
- }
20424
- async function getOrCreateActor(config3, request) {
20425
- return apiCall(
20426
- config3,
20427
- "PUT",
20428
- `/actors`,
20429
- request
20430
- );
20431
- }
20432
- async function createActor(config3, request) {
20433
- return apiCall(
20434
- config3,
20435
- "POST",
20436
- `/actors`,
20437
- request
20438
- );
20439
- }
20440
- async function destroyActor(config3, actorId) {
20441
- return apiCall(
20442
- config3,
20443
- "DELETE",
20444
- `/actors/${encodeURIComponent(actorId)}`
20445
- );
20446
- }
20447
- async function getMetadata(config3) {
20448
- return apiCall(config3, "GET", `/metadata`);
20449
- }
20450
- async function getDatacenters(config3) {
20451
- return apiCall(config3, "GET", `/datacenters`);
20452
- }
20453
- async function updateRunnerConfig(config3, runnerName, request) {
20454
- return apiCall(
20455
- config3,
20456
- "PUT",
20457
- `/runner-configs/${runnerName}`,
20458
- request
20459
- );
20460
- }
20461
20364
  function shouldSkipReadyWait(options = {}) {
20462
20365
  return options.skipReadyWait === true;
20463
20366
  }
@@ -20545,6 +20448,9 @@ function setRemoteHibernatableWebSocketAckTestHooks(websocket, token, enabled) {
20545
20448
  enabled
20546
20449
  );
20547
20450
  }
20451
+ function logger2() {
20452
+ return getLogger("engine-client");
20453
+ }
20548
20454
  var BufferedRemoteWebSocket = class {
20549
20455
  CONNECTING = 0;
20550
20456
  OPEN = 1;
@@ -20822,6 +20728,100 @@ function buildWebSocketProtocols(runConfig, encoding, params, ackHookToken, targ
20822
20728
  }
20823
20729
  return protocols;
20824
20730
  }
20731
+ function getEndpoint(config3) {
20732
+ return config3.endpoint ?? "http://127.0.0.1:6420";
20733
+ }
20734
+ async function apiCall(config3, method2, path2, body) {
20735
+ const endpoint = getEndpoint(config3);
20736
+ const url2 = combineUrlPath(endpoint, path2, {
20737
+ namespace: config3.namespace
20738
+ });
20739
+ logger2().debug({ msg: "making api call", method: method2, url: url2 });
20740
+ const headers = {
20741
+ ...config3.headers
20742
+ };
20743
+ if (config3.token) {
20744
+ headers.Authorization = `Bearer ${config3.token}`;
20745
+ }
20746
+ return await sendHttpRequest({
20747
+ method: method2,
20748
+ url: url2,
20749
+ headers,
20750
+ body,
20751
+ encoding: "json",
20752
+ skipParseResponse: false,
20753
+ requestVersionedDataHandler: void 0,
20754
+ requestVersion: void 0,
20755
+ responseVersionedDataHandler: void 0,
20756
+ responseVersion: void 0,
20757
+ requestZodSchema: external_exports.any(),
20758
+ responseZodSchema: external_exports.any(),
20759
+ // Identity conversions (passthrough for generic API calls)
20760
+ requestToJson: (value) => value,
20761
+ requestToBare: (value) => value,
20762
+ responseFromJson: (value) => value,
20763
+ responseFromBare: (value) => value
20764
+ });
20765
+ }
20766
+ async function getActor(config3, _, actorId) {
20767
+ return apiCall(
20768
+ config3,
20769
+ "GET",
20770
+ `/actors?actor_ids=${encodeURIComponent(actorId)}`
20771
+ );
20772
+ }
20773
+ async function getActorByKey(config3, name, key) {
20774
+ const serializedKey = serializeActorKey(key);
20775
+ return apiCall(
20776
+ config3,
20777
+ "GET",
20778
+ `/actors?name=${encodeURIComponent(name)}&key=${encodeURIComponent(serializedKey)}`
20779
+ );
20780
+ }
20781
+ async function listActorsByName(config3, name) {
20782
+ return apiCall(
20783
+ config3,
20784
+ "GET",
20785
+ `/actors?name=${encodeURIComponent(name)}`
20786
+ );
20787
+ }
20788
+ async function getOrCreateActor(config3, request) {
20789
+ return apiCall(
20790
+ config3,
20791
+ "PUT",
20792
+ `/actors`,
20793
+ request
20794
+ );
20795
+ }
20796
+ async function createActor(config3, request) {
20797
+ return apiCall(
20798
+ config3,
20799
+ "POST",
20800
+ `/actors`,
20801
+ request
20802
+ );
20803
+ }
20804
+ async function destroyActor(config3, actorId) {
20805
+ return apiCall(
20806
+ config3,
20807
+ "DELETE",
20808
+ `/actors/${encodeURIComponent(actorId)}`
20809
+ );
20810
+ }
20811
+ async function getMetadata(config3) {
20812
+ return apiCall(config3, "GET", `/metadata`);
20813
+ }
20814
+ async function getDatacenters(config3) {
20815
+ return apiCall(config3, "GET", `/datacenters`);
20816
+ }
20817
+ async function updateRunnerConfig(config3, runnerName, request) {
20818
+ return apiCall(
20819
+ config3,
20820
+ "PUT",
20821
+ `/runner-configs/${runnerName}`,
20822
+ request
20823
+ );
20824
+ }
20825
20825
  var metadataLookupCache = /* @__PURE__ */ new Map();
20826
20826
  async function lookupMetadataCached(config3) {
20827
20827
  const endpoint = getEndpoint(config3);
@@ -23237,7 +23237,7 @@ var RegistryConfigSchema = external_exports.object({
23237
23237
  config3.engineHost,
23238
23238
  config3.enginePort
23239
23239
  );
23240
- const endpoint = config3.startEngine ? localEngineEndpoint : (parsedEndpoint == null ? void 0 : parsedEndpoint.endpoint) ?? (isDevEnv ? buildEngineEndpoint(ENGINE_HOST, ENGINE_PORT) : void 0);
23240
+ const endpoint = config3.startEngine ? localEngineEndpoint : (parsedEndpoint == null ? void 0 : parsedEndpoint.endpoint) ?? (isDevEnv ? localEngineEndpoint : void 0);
23241
23241
  const validateServerlessEndpoint = Boolean(
23242
23242
  config3.startEngine || parsedEndpoint
23243
23243
  );
@@ -23254,7 +23254,7 @@ var RegistryConfigSchema = external_exports.object({
23254
23254
  path: ["serverless", "publicEndpoint"]
23255
23255
  });
23256
23256
  }
23257
- const publicEndpoint = (parsedPublicEndpoint == null ? void 0 : parsedPublicEndpoint.endpoint) ?? (isDevEnv && config3.startEngine ? endpoint : void 0);
23257
+ const publicEndpoint = (parsedPublicEndpoint == null ? void 0 : parsedPublicEndpoint.endpoint) ?? (isDevEnv && !parsedEndpoint ? endpoint : void 0);
23258
23258
  const publicNamespace = parsedPublicEndpoint == null ? void 0 : parsedPublicEndpoint.namespace;
23259
23259
  const publicToken = (parsedPublicEndpoint == null ? void 0 : parsedPublicEndpoint.token) ?? config3.serverless.publicToken;
23260
23260
  return {
package/dist/mod.mjs CHANGED
@@ -471,7 +471,7 @@ function unsupportedFeature(feature) {
471
471
  );
472
472
  }
473
473
 
474
- // ../rivetkit/dist/tsup/chunk-Z5CSJLFC.js
474
+ // ../rivetkit/dist/tsup/chunk-LUEPSB5O.js
475
475
  import {
476
476
  pino,
477
477
  stdTimeFunctions
@@ -13147,7 +13147,7 @@ var classic_default = external_exports;
13147
13147
  // ../../../node_modules/.pnpm/zod@4.1.13/node_modules/zod/v4/index.js
13148
13148
  var v4_default = classic_default;
13149
13149
 
13150
- // ../rivetkit/dist/tsup/chunk-Z5CSJLFC.js
13150
+ // ../rivetkit/dist/tsup/chunk-LUEPSB5O.js
13151
13151
  var import_invariant = __toESM(require_invariant(), 1);
13152
13152
  import * as cbor from "cbor-x";
13153
13153
  var getRivetEngine = () => getEnvUniversal("RIVET_ENGINE");
@@ -13312,7 +13312,7 @@ function noopNext() {
13312
13312
  }
13313
13313
  var package_default = {
13314
13314
  name: "rivetkit",
13315
- version: "0.0.0-eve-rivet.bfd694b",
13315
+ version: "0.0.0-eve-rivet.9b960b7",
13316
13316
  description: "Lightweight libraries for building stateful actors on edge platforms",
13317
13317
  license: "Apache-2.0",
13318
13318
  keywords: [
@@ -14602,7 +14602,7 @@ function Config({ initialBufferLength = 1024, maxBufferLength = 1024 * 1024 * 32
14602
14602
  };
14603
14603
  }
14604
14604
 
14605
- // ../rivetkit/dist/tsup/chunk-NX2P6655.js
14605
+ // ../rivetkit/dist/tsup/chunk-5OGB5TN2.js
14606
14606
  var config2 = /* @__PURE__ */ Config({});
14607
14607
  function readWorkflowCbor(bc) {
14608
14608
  return readData(bc);
@@ -15379,7 +15379,7 @@ var AsyncMutex = class {
15379
15379
  }
15380
15380
  };
15381
15381
 
15382
- // ../rivetkit/dist/tsup/chunk-47SRS346.js
15382
+ // ../rivetkit/dist/tsup/chunk-3L2XURLE.js
15383
15383
  function logger() {
15384
15384
  return getLogger("actor-client");
15385
15385
  }
@@ -15417,7 +15417,7 @@ async function importWebSocket() {
15417
15417
  return webSocketPromise;
15418
15418
  }
15419
15419
 
15420
- // ../rivetkit/dist/tsup/chunk-YH54YO7Y.js
15420
+ // ../rivetkit/dist/tsup/chunk-MG5XBXFT.js
15421
15421
  var import_invariant2 = __toESM(require_invariant(), 1);
15422
15422
 
15423
15423
  // ../../../node_modules/.pnpm/p-retry@6.2.1/node_modules/p-retry/index.js
@@ -15595,7 +15595,7 @@ function createVersionedDataHandler(config3) {
15595
15595
  return new VersionedDataHandler(config3);
15596
15596
  }
15597
15597
 
15598
- // ../rivetkit/dist/tsup/chunk-YH54YO7Y.js
15598
+ // ../rivetkit/dist/tsup/chunk-MG5XBXFT.js
15599
15599
  var import_invariant3 = __toESM(require_invariant(), 1);
15600
15600
  var import_invariant4 = __toESM(require_invariant(), 1);
15601
15601
  var PATH_CONNECT = "/connect";
@@ -20327,103 +20327,6 @@ function convertRegistryConfigToClientConfig(config3) {
20327
20327
  devtools: typeof window !== "undefined" && (((_a2 = window == null ? void 0 : window.location) == null ? void 0 : _a2.hostname) === "127.0.0.1" || ((_b = window == null ? void 0 : window.location) == null ? void 0 : _b.hostname) === "localhost")
20328
20328
  };
20329
20329
  }
20330
- function logger2() {
20331
- return getLogger("engine-client");
20332
- }
20333
- function getEndpoint(config3) {
20334
- return config3.endpoint ?? "http://127.0.0.1:6420";
20335
- }
20336
- async function apiCall(config3, method2, path2, body) {
20337
- const endpoint = getEndpoint(config3);
20338
- const url2 = combineUrlPath(endpoint, path2, {
20339
- namespace: config3.namespace
20340
- });
20341
- logger2().debug({ msg: "making api call", method: method2, url: url2 });
20342
- const headers = {
20343
- ...config3.headers
20344
- };
20345
- if (config3.token) {
20346
- headers.Authorization = `Bearer ${config3.token}`;
20347
- }
20348
- return await sendHttpRequest({
20349
- method: method2,
20350
- url: url2,
20351
- headers,
20352
- body,
20353
- encoding: "json",
20354
- skipParseResponse: false,
20355
- requestVersionedDataHandler: void 0,
20356
- requestVersion: void 0,
20357
- responseVersionedDataHandler: void 0,
20358
- responseVersion: void 0,
20359
- requestZodSchema: external_exports.any(),
20360
- responseZodSchema: external_exports.any(),
20361
- // Identity conversions (passthrough for generic API calls)
20362
- requestToJson: (value) => value,
20363
- requestToBare: (value) => value,
20364
- responseFromJson: (value) => value,
20365
- responseFromBare: (value) => value
20366
- });
20367
- }
20368
- async function getActor(config3, _, actorId) {
20369
- return apiCall(
20370
- config3,
20371
- "GET",
20372
- `/actors?actor_ids=${encodeURIComponent(actorId)}`
20373
- );
20374
- }
20375
- async function getActorByKey(config3, name, key) {
20376
- const serializedKey = serializeActorKey(key);
20377
- return apiCall(
20378
- config3,
20379
- "GET",
20380
- `/actors?name=${encodeURIComponent(name)}&key=${encodeURIComponent(serializedKey)}`
20381
- );
20382
- }
20383
- async function listActorsByName(config3, name) {
20384
- return apiCall(
20385
- config3,
20386
- "GET",
20387
- `/actors?name=${encodeURIComponent(name)}`
20388
- );
20389
- }
20390
- async function getOrCreateActor(config3, request) {
20391
- return apiCall(
20392
- config3,
20393
- "PUT",
20394
- `/actors`,
20395
- request
20396
- );
20397
- }
20398
- async function createActor(config3, request) {
20399
- return apiCall(
20400
- config3,
20401
- "POST",
20402
- `/actors`,
20403
- request
20404
- );
20405
- }
20406
- async function destroyActor(config3, actorId) {
20407
- return apiCall(
20408
- config3,
20409
- "DELETE",
20410
- `/actors/${encodeURIComponent(actorId)}`
20411
- );
20412
- }
20413
- async function getMetadata(config3) {
20414
- return apiCall(config3, "GET", `/metadata`);
20415
- }
20416
- async function getDatacenters(config3) {
20417
- return apiCall(config3, "GET", `/datacenters`);
20418
- }
20419
- async function updateRunnerConfig(config3, runnerName, request) {
20420
- return apiCall(
20421
- config3,
20422
- "PUT",
20423
- `/runner-configs/${runnerName}`,
20424
- request
20425
- );
20426
- }
20427
20330
  function shouldSkipReadyWait(options = {}) {
20428
20331
  return options.skipReadyWait === true;
20429
20332
  }
@@ -20511,6 +20414,9 @@ function setRemoteHibernatableWebSocketAckTestHooks(websocket, token, enabled) {
20511
20414
  enabled
20512
20415
  );
20513
20416
  }
20417
+ function logger2() {
20418
+ return getLogger("engine-client");
20419
+ }
20514
20420
  var BufferedRemoteWebSocket = class {
20515
20421
  CONNECTING = 0;
20516
20422
  OPEN = 1;
@@ -20788,6 +20694,100 @@ function buildWebSocketProtocols(runConfig, encoding, params, ackHookToken, targ
20788
20694
  }
20789
20695
  return protocols;
20790
20696
  }
20697
+ function getEndpoint(config3) {
20698
+ return config3.endpoint ?? "http://127.0.0.1:6420";
20699
+ }
20700
+ async function apiCall(config3, method2, path2, body) {
20701
+ const endpoint = getEndpoint(config3);
20702
+ const url2 = combineUrlPath(endpoint, path2, {
20703
+ namespace: config3.namespace
20704
+ });
20705
+ logger2().debug({ msg: "making api call", method: method2, url: url2 });
20706
+ const headers = {
20707
+ ...config3.headers
20708
+ };
20709
+ if (config3.token) {
20710
+ headers.Authorization = `Bearer ${config3.token}`;
20711
+ }
20712
+ return await sendHttpRequest({
20713
+ method: method2,
20714
+ url: url2,
20715
+ headers,
20716
+ body,
20717
+ encoding: "json",
20718
+ skipParseResponse: false,
20719
+ requestVersionedDataHandler: void 0,
20720
+ requestVersion: void 0,
20721
+ responseVersionedDataHandler: void 0,
20722
+ responseVersion: void 0,
20723
+ requestZodSchema: external_exports.any(),
20724
+ responseZodSchema: external_exports.any(),
20725
+ // Identity conversions (passthrough for generic API calls)
20726
+ requestToJson: (value) => value,
20727
+ requestToBare: (value) => value,
20728
+ responseFromJson: (value) => value,
20729
+ responseFromBare: (value) => value
20730
+ });
20731
+ }
20732
+ async function getActor(config3, _, actorId) {
20733
+ return apiCall(
20734
+ config3,
20735
+ "GET",
20736
+ `/actors?actor_ids=${encodeURIComponent(actorId)}`
20737
+ );
20738
+ }
20739
+ async function getActorByKey(config3, name, key) {
20740
+ const serializedKey = serializeActorKey(key);
20741
+ return apiCall(
20742
+ config3,
20743
+ "GET",
20744
+ `/actors?name=${encodeURIComponent(name)}&key=${encodeURIComponent(serializedKey)}`
20745
+ );
20746
+ }
20747
+ async function listActorsByName(config3, name) {
20748
+ return apiCall(
20749
+ config3,
20750
+ "GET",
20751
+ `/actors?name=${encodeURIComponent(name)}`
20752
+ );
20753
+ }
20754
+ async function getOrCreateActor(config3, request) {
20755
+ return apiCall(
20756
+ config3,
20757
+ "PUT",
20758
+ `/actors`,
20759
+ request
20760
+ );
20761
+ }
20762
+ async function createActor(config3, request) {
20763
+ return apiCall(
20764
+ config3,
20765
+ "POST",
20766
+ `/actors`,
20767
+ request
20768
+ );
20769
+ }
20770
+ async function destroyActor(config3, actorId) {
20771
+ return apiCall(
20772
+ config3,
20773
+ "DELETE",
20774
+ `/actors/${encodeURIComponent(actorId)}`
20775
+ );
20776
+ }
20777
+ async function getMetadata(config3) {
20778
+ return apiCall(config3, "GET", `/metadata`);
20779
+ }
20780
+ async function getDatacenters(config3) {
20781
+ return apiCall(config3, "GET", `/datacenters`);
20782
+ }
20783
+ async function updateRunnerConfig(config3, runnerName, request) {
20784
+ return apiCall(
20785
+ config3,
20786
+ "PUT",
20787
+ `/runner-configs/${runnerName}`,
20788
+ request
20789
+ );
20790
+ }
20791
20791
  var metadataLookupCache = /* @__PURE__ */ new Map();
20792
20792
  async function lookupMetadataCached(config3) {
20793
20793
  const endpoint = getEndpoint(config3);
@@ -23202,7 +23202,7 @@ var RegistryConfigSchema = external_exports.object({
23202
23202
  config3.engineHost,
23203
23203
  config3.enginePort
23204
23204
  );
23205
- const endpoint = config3.startEngine ? localEngineEndpoint : (parsedEndpoint == null ? void 0 : parsedEndpoint.endpoint) ?? (isDevEnv ? buildEngineEndpoint(ENGINE_HOST, ENGINE_PORT) : void 0);
23205
+ const endpoint = config3.startEngine ? localEngineEndpoint : (parsedEndpoint == null ? void 0 : parsedEndpoint.endpoint) ?? (isDevEnv ? localEngineEndpoint : void 0);
23206
23206
  const validateServerlessEndpoint = Boolean(
23207
23207
  config3.startEngine || parsedEndpoint
23208
23208
  );
@@ -23219,7 +23219,7 @@ var RegistryConfigSchema = external_exports.object({
23219
23219
  path: ["serverless", "publicEndpoint"]
23220
23220
  });
23221
23221
  }
23222
- const publicEndpoint = (parsedPublicEndpoint == null ? void 0 : parsedPublicEndpoint.endpoint) ?? (isDevEnv && config3.startEngine ? endpoint : void 0);
23222
+ const publicEndpoint = (parsedPublicEndpoint == null ? void 0 : parsedPublicEndpoint.endpoint) ?? (isDevEnv && !parsedEndpoint ? endpoint : void 0);
23223
23223
  const publicNamespace = parsedPublicEndpoint == null ? void 0 : parsedPublicEndpoint.namespace;
23224
23224
  const publicToken = (parsedPublicEndpoint == null ? void 0 : parsedPublicEndpoint.token) ?? config3.serverless.publicToken;
23225
23225
  return {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rivetkit/supabase",
3
- "version": "0.0.0-eve-rivet.bfd694b",
3
+ "version": "0.0.0-eve-rivet.9b960b7",
4
4
  "description": "Supabase Edge Functions integration for RivetKit actors",
5
5
  "license": "Apache-2.0",
6
6
  "keywords": [
@@ -39,14 +39,14 @@
39
39
  "check-edge-closure": "node ../../../scripts/ci/check-edge-native-closure.mjs"
40
40
  },
41
41
  "dependencies": {
42
- "@rivetkit/rivetkit-wasm": "0.0.0-eve-rivet.bfd694b",
42
+ "@rivetkit/rivetkit-wasm": "0.0.0-eve-rivet.9b960b7",
43
43
  "cbor-x": "^1.6.0",
44
44
  "pino": "^9.5.0"
45
45
  },
46
46
  "devDependencies": {
47
47
  "@size-limit/file": "^11.1.6",
48
48
  "@types/node": "^22.0.0",
49
- "rivetkit": "0.0.0-eve-rivet.bfd694b",
49
+ "rivetkit": "0.0.0-eve-rivet.9b960b7",
50
50
  "size-limit": "^11.1.6",
51
51
  "tsup": "^8.4.0",
52
52
  "typescript": "^5.5.2"