@plitzi/sdk-navigation 0.37.7 → 0.37.8
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/CHANGELOG.md +18 -0
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# @plitzi/sdk-navigation
|
|
2
2
|
|
|
3
|
+
## 0.37.8
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 4d10e0a: ## Fixed: an api container could not read a file from a CDN
|
|
8
|
+
|
|
9
|
+
- **What happened:** the api container sent `Content-Type: application/json` on every request, including a GET with no
|
|
10
|
+
body to describe. That made every read a non-simple cross-origin request, so the browser asked the host's
|
|
11
|
+
permission first.
|
|
12
|
+
- **Who it hit:** hosts that allow plain cross-origin reads (GET and HEAD from any origin, the usual CORS of a public
|
|
13
|
+
bucket, the space's own CDN among them) refused that preflight. The file never loaded. Tremor's world outlines on
|
|
14
|
+
`cdn-dev.plitzi.com` are one example.
|
|
15
|
+
- **What changes:** a read now sends `Accept: application/json`, and `Content-Type` goes only with a body, unless the
|
|
16
|
+
author set their own. Headers the author adds still make the request non-simple, as they must.
|
|
17
|
+
|
|
18
|
+
- Updated dependencies [4d10e0a]
|
|
19
|
+
- @plitzi/sdk-shared@0.37.8
|
|
20
|
+
|
|
3
21
|
## 0.37.7
|
|
4
22
|
|
|
5
23
|
### Patch Changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@plitzi/sdk-navigation",
|
|
3
|
-
"version": "0.37.
|
|
3
|
+
"version": "0.37.8",
|
|
4
4
|
"license": "AGPL-3.0",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist"
|
|
@@ -51,6 +51,6 @@
|
|
|
51
51
|
},
|
|
52
52
|
"dependencies": {
|
|
53
53
|
"@plitzi/plitzi-ui": "^1.6.24",
|
|
54
|
-
"@plitzi/sdk-shared": "0.37.
|
|
54
|
+
"@plitzi/sdk-shared": "0.37.8"
|
|
55
55
|
}
|
|
56
56
|
}
|