@edgestore/react 0.1.5-alpha.2 → 0.1.5-alpha.3

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
@@ -335,6 +335,7 @@ function EdgeStoreProviderInner({ children, context, basePath, maxConcurrentUplo
335
335
  const json = await res.json();
336
336
  await fetch(`${DEFAULT_BASE_URL}/_init`, {
337
337
  method: 'GET',
338
+ credentials: 'include',
338
339
  headers: {
339
340
  'x-edgestore-token': json.token
340
341
  }
package/dist/index.mjs CHANGED
@@ -311,6 +311,7 @@ function EdgeStoreProviderInner({ children, context, basePath, maxConcurrentUplo
311
311
  const json = await res.json();
312
312
  await fetch(`${DEFAULT_BASE_URL}/_init`, {
313
313
  method: 'GET',
314
+ credentials: 'include',
314
315
  headers: {
315
316
  'x-edgestore-token': json.token
316
317
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@edgestore/react",
3
- "version": "0.1.5-alpha.2",
3
+ "version": "0.1.5-alpha.3",
4
4
  "description": "Upload files with ease from React/Next.js",
5
5
  "homepage": "https://edgestore.dev",
6
6
  "repository": "https://github.com/edgestorejs/edgestore.git",
@@ -60,14 +60,14 @@
60
60
  "uuid": "^9.0.0"
61
61
  },
62
62
  "peerDependencies": {
63
- "@edgestore/server": "0.1.5-alpha.2",
63
+ "@edgestore/server": "0.1.5-alpha.3",
64
64
  "next": "*",
65
65
  "react": ">=16.8.0",
66
66
  "react-dom": ">=16.8.0",
67
67
  "zod": ">=3.0.0"
68
68
  },
69
69
  "devDependencies": {
70
- "@edgestore/server": "0.1.5-alpha.2",
70
+ "@edgestore/server": "0.1.5-alpha.3",
71
71
  "@types/cookie": "^0.5.1",
72
72
  "@types/node": "^18.11.18",
73
73
  "@types/uuid": "^9.0.1",
@@ -77,5 +77,5 @@
77
77
  "typescript": "^5.1.6",
78
78
  "zod": "^3.21.4"
79
79
  },
80
- "gitHead": "d14ccf9e6af38023cfab35d4b64bc75cc69052b4"
80
+ "gitHead": "ca121ee10a9cba4b397412588b4a447e800d4789"
81
81
  }
@@ -101,6 +101,7 @@ function EdgeStoreProviderInner<TRouter extends AnyRouter>({
101
101
  const json = await res.json();
102
102
  await fetch(`${DEFAULT_BASE_URL}/_init`, {
103
103
  method: 'GET',
104
+ credentials: 'include',
104
105
  headers: {
105
106
  'x-edgestore-token': json.token,
106
107
  },