@rivetkit/engine-runner-protocol 2.0.30 → 2.0.32

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/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import * as bare from '@bare-ts/lib';
1
+ import * as bare from '@rivetkit/bare-ts';
2
2
 
3
3
  type i64 = bigint;
4
4
  type u16 = number;
package/dist/index.js CHANGED
@@ -1,6 +1,5 @@
1
1
  // src/index.ts
2
- import assert from "assert";
3
- import * as bare from "@bare-ts/lib";
2
+ import * as bare from "@rivetkit/bare-ts";
4
3
  var DEFAULT_CONFIG = /* @__PURE__ */ bare.Config({});
5
4
  function readId(bc) {
6
5
  return bare.readString(bc);
@@ -1503,6 +1502,9 @@ function decodeToServerlessServer(bytes) {
1503
1502
  }
1504
1503
  return result;
1505
1504
  }
1505
+ function assert(condition, message) {
1506
+ if (!condition) throw new Error(message ?? "Assertion failed");
1507
+ }
1506
1508
  export {
1507
1509
  StopCode,
1508
1510
  decodeActorCommandKeyData,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rivetkit/engine-runner-protocol",
3
- "version": "2.0.30",
3
+ "version": "2.0.32",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "exports": {
@@ -19,7 +19,7 @@
19
19
  ],
20
20
  "types": "dist/index.d.ts",
21
21
  "dependencies": {
22
- "@bare-ts/lib": "^0.4.0"
22
+ "@rivetkit/bare-ts": "^0.6.1"
23
23
  },
24
24
  "devDependencies": {
25
25
  "@types/node": "^20.19.13",