@plitzi/sdk-schema 0.38.21 → 0.38.22
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 +24 -0
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,29 @@
|
|
|
1
1
|
# @plitzi/sdk-schema
|
|
2
2
|
|
|
3
|
+
## 0.38.22
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 19fbc45: ## Server
|
|
8
|
+
|
|
9
|
+
- **`ctx.oauth`, after a project moved onto it** (`@plitzi/sdk-server`, `@plitzi/sdk-shared`) — PZ-155..158.
|
|
10
|
+
`functions.oauth.callbackOrigin` fixes the one address providers send a visitor back to, on a server of one space
|
|
11
|
+
reached on several: `serveProject` sets it to the address people reach it on, or its loopback `127.0.0.1` when that is
|
|
12
|
+
plain HTTP (providers refuse `http` past loopback, and `localhost`), and prints it as it starts; the callback then sends
|
|
13
|
+
the visitor on to `returnTo` on the address they started from — its `location` is absolute now. `connect(name,
|
|
14
|
+
{ returnTo, authorizeParams })` adds to the connection's parameters for one consent (`prompt: 'select_account'`), and
|
|
15
|
+
refuses one the platform writes. `ctx.fetch` and `ctx.oauth.fetch` take `init.signal`: in the sandbox and a runtime the
|
|
16
|
+
request is numbered and the code's `abort` cuts it on the platform. `ActionRefusal` takes `{ code }`; `ctx.oauth`
|
|
17
|
+
refuses with `oauth-not-connected` and `oauth-no-owner`.
|
|
18
|
+
- **A refusal of the platform's stays one across the sandbox** (`@plitzi/sdk-server`). A call answered with an
|
|
19
|
+
`ActionRefusal` crossed the isolate, the runner service and a runtime as a plain error: caught, the code could not tell
|
|
20
|
+
it apart; uncaught, a route answered 500 `This route failed` instead of 400 and the reason. The answer carries
|
|
21
|
+
`refused` and `code` now, and the code catches the refusal it was thrown.
|
|
22
|
+
|
|
23
|
+
- Updated dependencies [19fbc45]
|
|
24
|
+
- @plitzi/sdk-shared@0.38.22
|
|
25
|
+
- @plitzi/sdk-style@0.38.22
|
|
26
|
+
|
|
3
27
|
## 0.38.21
|
|
4
28
|
|
|
5
29
|
### Patch Changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@plitzi/sdk-schema",
|
|
3
|
-
"version": "0.38.
|
|
3
|
+
"version": "0.38.22",
|
|
4
4
|
"license": "AGPL-3.0",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist"
|
|
@@ -31,8 +31,8 @@
|
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
33
|
"@plitzi/plitzi-ui": "^1.6.34",
|
|
34
|
-
"@plitzi/sdk-shared": "0.38.
|
|
35
|
-
"@plitzi/sdk-style": "0.38.
|
|
34
|
+
"@plitzi/sdk-shared": "0.38.22",
|
|
35
|
+
"@plitzi/sdk-style": "0.38.22",
|
|
36
36
|
"immer": "^11.1.21"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|