@kumori/aurora-backend-handler 1.1.27 → 1.1.28

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.
@@ -76,10 +76,10 @@ export const deployMarketplaceItem = async (item: MarketplaceService) => {
76
76
  url.searchParams.append("wait", "30000");
77
77
  url.searchParams.append("validate", "true");
78
78
  url.searchParams.append("dsl", "true");
79
-
80
79
  const response = await fetch(url.toString(), {
81
80
  method: "POST",
82
81
  body: formData,
82
+ credentials: "include",
83
83
  });
84
84
 
85
85
  if (!response.ok) {
@@ -40,6 +40,7 @@ export const deployService = async (data: Service, token: string) => {
40
40
  const response = await fetch(url.toString(), {
41
41
  method: "POST",
42
42
  body: formData,
43
+ credentials: "include",
43
44
  });
44
45
  if (!response.ok) {
45
46
  throw new Error(`HTTP error! status: ${response.status}`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kumori/aurora-backend-handler",
3
- "version": "1.1.27",
3
+ "version": "1.1.28",
4
4
  "description": "backend handler",
5
5
  "main": "backend-handler.ts",
6
6
  "scripts": {
@@ -264,8 +264,9 @@ 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
+ credentials: "include",
269
270
  });
270
271
  } else {
271
272
  wsConnection = new WebSocketClass(wsUrl);