@rstreamlabs/tunnels 3.5.0 → 3.6.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
@@ -165,7 +165,7 @@ function createAuthTokenFromClientCredentials(credentials, params, options) {
165
165
  metadata: {
166
166
  engine: options?.engine
167
167
  },
168
- permissions: null,
168
+ permissions: tokenParams.permissions ?? null,
169
169
  resources: normalizeAuthTokenResources(tokenParams, options)
170
170
  };
171
171
  const { token } = (0, import_rstream.createClientCredentialsToken)(credentials, {
package/dist/index.mjs CHANGED
@@ -98,7 +98,7 @@ function createAuthTokenFromClientCredentials(credentials, params, options) {
98
98
  metadata: {
99
99
  engine: options?.engine
100
100
  },
101
- permissions: null,
101
+ permissions: tokenParams.permissions ?? null,
102
102
  resources: normalizeAuthTokenResources(tokenParams, options)
103
103
  };
104
104
  const { token } = createClientCredentialsToken(credentials, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rstreamlabs/tunnels",
3
- "version": "3.5.0",
3
+ "version": "3.6.0",
4
4
  "description": "JS/TS SDK for the rstream Engine API and tunnel runtime APIs.",
5
5
  "author": "@uartnet <hello@rstream.io>",
6
6
  "repository": {
@@ -47,7 +47,7 @@
47
47
  "typescript-config": "*"
48
48
  },
49
49
  "dependencies": {
50
- "@rstreamlabs/rstream": "3.3.0",
50
+ "@rstreamlabs/rstream": "3.4.0",
51
51
  "@types/jsonwebtoken": "^9.0.10",
52
52
  "jsonwebtoken": "^9.0.3",
53
53
  "zod": "^4.4.3"