@rivetkit/supabase 2.3.8 → 2.3.9
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/mod.js +35 -35
- package/dist/mod.mjs +35 -35
- 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-
|
|
511
|
+
// ../rivetkit/dist/tsup/chunk-UBYPRYJR.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-
|
|
13184
|
+
// ../rivetkit/dist/tsup/chunk-UBYPRYJR.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: "2.3.
|
|
13349
|
+
version: "2.3.9",
|
|
13350
13350
|
description: "Lightweight libraries for building stateful actors on edge platforms",
|
|
13351
13351
|
license: "Apache-2.0",
|
|
13352
13352
|
keywords: [
|
|
@@ -14639,7 +14639,7 @@ function Config({ initialBufferLength = 1024, maxBufferLength = 1024 * 1024 * 32
|
|
|
14639
14639
|
};
|
|
14640
14640
|
}
|
|
14641
14641
|
|
|
14642
|
-
// ../rivetkit/dist/tsup/chunk-
|
|
14642
|
+
// ../rivetkit/dist/tsup/chunk-CQ23UFQ4.js
|
|
14643
14643
|
var config2 = /* @__PURE__ */ Config({});
|
|
14644
14644
|
function readWorkflowCbor(bc) {
|
|
14645
14645
|
return readData(bc);
|
|
@@ -15484,7 +15484,35 @@ function removePrefixFromKey(prefixedKey) {
|
|
|
15484
15484
|
return prefixedKey.slice(KEYS.KV.length);
|
|
15485
15485
|
}
|
|
15486
15486
|
|
|
15487
|
-
// ../rivetkit/dist/tsup/chunk-
|
|
15487
|
+
// ../rivetkit/dist/tsup/chunk-7AFZMFPQ.js
|
|
15488
|
+
var MIGRATION_TRANSACTION_TIMEOUT_MS = 5 * 6e4;
|
|
15489
|
+
var AsyncMutex = class {
|
|
15490
|
+
#locked = false;
|
|
15491
|
+
#waiting = [];
|
|
15492
|
+
async acquire() {
|
|
15493
|
+
while (this.#locked) {
|
|
15494
|
+
await new Promise((resolve) => this.#waiting.push(resolve));
|
|
15495
|
+
}
|
|
15496
|
+
this.#locked = true;
|
|
15497
|
+
}
|
|
15498
|
+
release() {
|
|
15499
|
+
this.#locked = false;
|
|
15500
|
+
const next = this.#waiting.shift();
|
|
15501
|
+
if (next) {
|
|
15502
|
+
next();
|
|
15503
|
+
}
|
|
15504
|
+
}
|
|
15505
|
+
async run(fn) {
|
|
15506
|
+
await this.acquire();
|
|
15507
|
+
try {
|
|
15508
|
+
return await fn();
|
|
15509
|
+
} finally {
|
|
15510
|
+
this.release();
|
|
15511
|
+
}
|
|
15512
|
+
}
|
|
15513
|
+
};
|
|
15514
|
+
|
|
15515
|
+
// ../rivetkit/dist/tsup/chunk-X25YYVFL.js
|
|
15488
15516
|
function logger() {
|
|
15489
15517
|
return getLogger("actor-client");
|
|
15490
15518
|
}
|
|
@@ -15522,35 +15550,7 @@ async function importWebSocket() {
|
|
|
15522
15550
|
return webSocketPromise;
|
|
15523
15551
|
}
|
|
15524
15552
|
|
|
15525
|
-
// ../rivetkit/dist/tsup/chunk-
|
|
15526
|
-
var MIGRATION_TRANSACTION_TIMEOUT_MS = 5 * 6e4;
|
|
15527
|
-
var AsyncMutex = class {
|
|
15528
|
-
#locked = false;
|
|
15529
|
-
#waiting = [];
|
|
15530
|
-
async acquire() {
|
|
15531
|
-
while (this.#locked) {
|
|
15532
|
-
await new Promise((resolve) => this.#waiting.push(resolve));
|
|
15533
|
-
}
|
|
15534
|
-
this.#locked = true;
|
|
15535
|
-
}
|
|
15536
|
-
release() {
|
|
15537
|
-
this.#locked = false;
|
|
15538
|
-
const next = this.#waiting.shift();
|
|
15539
|
-
if (next) {
|
|
15540
|
-
next();
|
|
15541
|
-
}
|
|
15542
|
-
}
|
|
15543
|
-
async run(fn) {
|
|
15544
|
-
await this.acquire();
|
|
15545
|
-
try {
|
|
15546
|
-
return await fn();
|
|
15547
|
-
} finally {
|
|
15548
|
-
this.release();
|
|
15549
|
-
}
|
|
15550
|
-
}
|
|
15551
|
-
};
|
|
15552
|
-
|
|
15553
|
-
// ../rivetkit/dist/tsup/chunk-BL6ERZQO.js
|
|
15553
|
+
// ../rivetkit/dist/tsup/chunk-MQDQ3A72.js
|
|
15554
15554
|
var import_invariant2 = __toESM(require_invariant(), 1);
|
|
15555
15555
|
|
|
15556
15556
|
// ../../../node_modules/.pnpm/p-retry@6.2.1/node_modules/p-retry/index.js
|
|
@@ -15728,7 +15728,7 @@ function createVersionedDataHandler(config3) {
|
|
|
15728
15728
|
return new VersionedDataHandler(config3);
|
|
15729
15729
|
}
|
|
15730
15730
|
|
|
15731
|
-
// ../rivetkit/dist/tsup/chunk-
|
|
15731
|
+
// ../rivetkit/dist/tsup/chunk-MQDQ3A72.js
|
|
15732
15732
|
var import_invariant3 = __toESM(require_invariant(), 1);
|
|
15733
15733
|
var import_invariant4 = __toESM(require_invariant(), 1);
|
|
15734
15734
|
var PATH_CONNECT = "/connect";
|
package/dist/mod.mjs
CHANGED
|
@@ -471,7 +471,7 @@ function unsupportedFeature(feature) {
|
|
|
471
471
|
);
|
|
472
472
|
}
|
|
473
473
|
|
|
474
|
-
// ../rivetkit/dist/tsup/chunk-
|
|
474
|
+
// ../rivetkit/dist/tsup/chunk-UBYPRYJR.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-
|
|
13150
|
+
// ../rivetkit/dist/tsup/chunk-UBYPRYJR.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: "2.3.
|
|
13315
|
+
version: "2.3.9",
|
|
13316
13316
|
description: "Lightweight libraries for building stateful actors on edge platforms",
|
|
13317
13317
|
license: "Apache-2.0",
|
|
13318
13318
|
keywords: [
|
|
@@ -14605,7 +14605,7 @@ function Config({ initialBufferLength = 1024, maxBufferLength = 1024 * 1024 * 32
|
|
|
14605
14605
|
};
|
|
14606
14606
|
}
|
|
14607
14607
|
|
|
14608
|
-
// ../rivetkit/dist/tsup/chunk-
|
|
14608
|
+
// ../rivetkit/dist/tsup/chunk-CQ23UFQ4.js
|
|
14609
14609
|
var config2 = /* @__PURE__ */ Config({});
|
|
14610
14610
|
function readWorkflowCbor(bc) {
|
|
14611
14611
|
return readData(bc);
|
|
@@ -15450,7 +15450,35 @@ function removePrefixFromKey(prefixedKey) {
|
|
|
15450
15450
|
return prefixedKey.slice(KEYS.KV.length);
|
|
15451
15451
|
}
|
|
15452
15452
|
|
|
15453
|
-
// ../rivetkit/dist/tsup/chunk-
|
|
15453
|
+
// ../rivetkit/dist/tsup/chunk-7AFZMFPQ.js
|
|
15454
|
+
var MIGRATION_TRANSACTION_TIMEOUT_MS = 5 * 6e4;
|
|
15455
|
+
var AsyncMutex = class {
|
|
15456
|
+
#locked = false;
|
|
15457
|
+
#waiting = [];
|
|
15458
|
+
async acquire() {
|
|
15459
|
+
while (this.#locked) {
|
|
15460
|
+
await new Promise((resolve) => this.#waiting.push(resolve));
|
|
15461
|
+
}
|
|
15462
|
+
this.#locked = true;
|
|
15463
|
+
}
|
|
15464
|
+
release() {
|
|
15465
|
+
this.#locked = false;
|
|
15466
|
+
const next = this.#waiting.shift();
|
|
15467
|
+
if (next) {
|
|
15468
|
+
next();
|
|
15469
|
+
}
|
|
15470
|
+
}
|
|
15471
|
+
async run(fn) {
|
|
15472
|
+
await this.acquire();
|
|
15473
|
+
try {
|
|
15474
|
+
return await fn();
|
|
15475
|
+
} finally {
|
|
15476
|
+
this.release();
|
|
15477
|
+
}
|
|
15478
|
+
}
|
|
15479
|
+
};
|
|
15480
|
+
|
|
15481
|
+
// ../rivetkit/dist/tsup/chunk-X25YYVFL.js
|
|
15454
15482
|
function logger() {
|
|
15455
15483
|
return getLogger("actor-client");
|
|
15456
15484
|
}
|
|
@@ -15488,35 +15516,7 @@ async function importWebSocket() {
|
|
|
15488
15516
|
return webSocketPromise;
|
|
15489
15517
|
}
|
|
15490
15518
|
|
|
15491
|
-
// ../rivetkit/dist/tsup/chunk-
|
|
15492
|
-
var MIGRATION_TRANSACTION_TIMEOUT_MS = 5 * 6e4;
|
|
15493
|
-
var AsyncMutex = class {
|
|
15494
|
-
#locked = false;
|
|
15495
|
-
#waiting = [];
|
|
15496
|
-
async acquire() {
|
|
15497
|
-
while (this.#locked) {
|
|
15498
|
-
await new Promise((resolve) => this.#waiting.push(resolve));
|
|
15499
|
-
}
|
|
15500
|
-
this.#locked = true;
|
|
15501
|
-
}
|
|
15502
|
-
release() {
|
|
15503
|
-
this.#locked = false;
|
|
15504
|
-
const next = this.#waiting.shift();
|
|
15505
|
-
if (next) {
|
|
15506
|
-
next();
|
|
15507
|
-
}
|
|
15508
|
-
}
|
|
15509
|
-
async run(fn) {
|
|
15510
|
-
await this.acquire();
|
|
15511
|
-
try {
|
|
15512
|
-
return await fn();
|
|
15513
|
-
} finally {
|
|
15514
|
-
this.release();
|
|
15515
|
-
}
|
|
15516
|
-
}
|
|
15517
|
-
};
|
|
15518
|
-
|
|
15519
|
-
// ../rivetkit/dist/tsup/chunk-BL6ERZQO.js
|
|
15519
|
+
// ../rivetkit/dist/tsup/chunk-MQDQ3A72.js
|
|
15520
15520
|
var import_invariant2 = __toESM(require_invariant(), 1);
|
|
15521
15521
|
|
|
15522
15522
|
// ../../../node_modules/.pnpm/p-retry@6.2.1/node_modules/p-retry/index.js
|
|
@@ -15694,7 +15694,7 @@ function createVersionedDataHandler(config3) {
|
|
|
15694
15694
|
return new VersionedDataHandler(config3);
|
|
15695
15695
|
}
|
|
15696
15696
|
|
|
15697
|
-
// ../rivetkit/dist/tsup/chunk-
|
|
15697
|
+
// ../rivetkit/dist/tsup/chunk-MQDQ3A72.js
|
|
15698
15698
|
var import_invariant3 = __toESM(require_invariant(), 1);
|
|
15699
15699
|
var import_invariant4 = __toESM(require_invariant(), 1);
|
|
15700
15700
|
var PATH_CONNECT = "/connect";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rivetkit/supabase",
|
|
3
|
-
"version": "2.3.
|
|
3
|
+
"version": "2.3.9",
|
|
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": "2.3.
|
|
42
|
+
"@rivetkit/rivetkit-wasm": "2.3.9",
|
|
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": "2.3.
|
|
49
|
+
"rivetkit": "2.3.9",
|
|
50
50
|
"size-limit": "^11.1.6",
|
|
51
51
|
"tsup": "^8.4.0",
|
|
52
52
|
"typescript": "^5.5.2"
|