@rstreamlabs/rstream 1.3.0 → 1.4.0

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.js CHANGED
@@ -141,11 +141,11 @@ function select(base) {
141
141
  var z2 = __toESM(require("zod"));
142
142
  var tunnelSchema = z2.object({
143
143
  // common properties
144
- client_id: z2.string().optional(),
145
- user_id: z2.string().optional(),
146
- status: z2.enum(["online", "offline"]).optional(),
144
+ client_id: z2.string(),
145
+ user_id: z2.string(),
146
+ status: z2.enum(["online", "offline"]),
147
147
  // tunnel properties
148
- id: z2.string().optional(),
148
+ id: z2.string(),
149
149
  name: z2.string().optional(),
150
150
  creation_date: z2.date().optional(),
151
151
  type: z2.enum(["bytestream", "datagram"]).optional(),
package/dist/index.mjs CHANGED
@@ -89,11 +89,11 @@ function select(base) {
89
89
  import * as z2 from "zod";
90
90
  var tunnelSchema = z2.object({
91
91
  // common properties
92
- client_id: z2.string().optional(),
93
- user_id: z2.string().optional(),
94
- status: z2.enum(["online", "offline"]).optional(),
92
+ client_id: z2.string(),
93
+ user_id: z2.string(),
94
+ status: z2.enum(["online", "offline"]),
95
95
  // tunnel properties
96
- id: z2.string().optional(),
96
+ id: z2.string(),
97
97
  name: z2.string().optional(),
98
98
  creation_date: z2.date().optional(),
99
99
  type: z2.enum(["bytestream", "datagram"]).optional(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rstreamlabs/rstream",
3
- "version": "1.3.0",
3
+ "version": "1.4.0",
4
4
  "description": "JS SDK for rstream.",
5
5
  "author": "@uartnet <hello@rstream.io>",
6
6
  "license": "Apache-2.0",
@@ -19,11 +19,11 @@
19
19
  "type-check": "tsc --noEmit"
20
20
  },
21
21
  "devDependencies": {
22
- "@turbo/gen": "^2.5.6",
22
+ "@turbo/gen": "^2.5.8",
23
23
  "@types/jsonwebtoken": "^9.0.10",
24
24
  "@types/node": "^24",
25
25
  "eslint-config": "*",
26
- "eslint": "9.35.0",
26
+ "eslint": "9.36.0",
27
27
  "tsup": "^8.5.0",
28
28
  "typescript-config": "*",
29
29
  "typescript": "5.9.2"