@kumori/aurora-backend-handler 1.1.29 → 1.1.30

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.
@@ -88,7 +88,9 @@ export class BackendHandler {
88
88
  globalEventHandler: any,
89
89
  baseUrl: string,
90
90
  apiVersion: string,
91
+ token: string,
91
92
  ) {
93
+ token = token;
92
94
  if (
93
95
  !globalEventHandler ||
94
96
  typeof globalEventHandler.subscribe !== "function"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kumori/aurora-backend-handler",
3
- "version": "1.1.29",
3
+ "version": "1.1.30",
4
4
  "description": "backend handler",
5
5
  "main": "backend-handler.ts",
6
6
  "scripts": {
@@ -264,7 +264,7 @@ export const initializeGlobalWebSocketClient = async (
264
264
  if (typeof window === "undefined") {
265
265
  wsConnection = new WebSocketClass(wsUrl, {
266
266
  headers: {
267
- // authorization: `Bearer ${token}`,
267
+ authorization: `Bearer ${token}`,
268
268
  },
269
269
  credentials: "include",
270
270
  });