@plitzi/sdk-interactions 0.38.22 → 0.38.24

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.
Files changed (2) hide show
  1. package/CHANGELOG.md +39 -0
  2. package/package.json +4 -4
package/CHANGELOG.md CHANGED
@@ -1,5 +1,44 @@
1
1
  # @plitzi/sdk-interactions
2
2
 
3
+ ## 0.38.24
4
+
5
+ ### Patch Changes
6
+
7
+ - 5858b9f: ## Server
8
+
9
+ - **`ctx.oauth.callbackUrl()`** (`@plitzi/sdk-server`) — PZ-161. The address providers send a visitor back to, as this
10
+ run's `connect` hands it to them: for a page that shows whoever sets up the app what to register, instead of
11
+ rebuilding the platform's rule. Refused in a run no visitor's request started when the deployment fixed no
12
+ `functions.oauth.callbackOrigin`.
13
+ - **In production the project's server fixes no OAuth callback** (`@plitzi/sdk-server`). 0.38.23's loopback default
14
+ applied wherever `PUBLIC_URL` was not HTTPS — a container behind a proxy sent providers to its own
15
+ `http://127.0.0.1:8080`. Now loopback is the default while developing only; in production the callback is on the
16
+ address each visitor's request came on (the site's domain, from `Host` and `X-Forwarded-Proto`), and the server says
17
+ to register that domain's `/fn/oauth/callback`.
18
+
19
+ - Updated dependencies [5858b9f]
20
+ - @plitzi/sdk-auth@0.38.24
21
+ - @plitzi/sdk-event-bridge@0.38.24
22
+ - @plitzi/sdk-shared@0.38.24
23
+
24
+ ## 0.38.23
25
+
26
+ ### Patch Changes
27
+
28
+ - 1e93ac7: ## Server
29
+
30
+ - **The project's server sends OAuth providers back to its loopback** (`@plitzi/sdk-server`) — PZ-160. 0.38.22 chose
31
+ `publicUrl`, which without `PUBLIC_URL` is the machine's address on the network: a private IP the router may change and
32
+ providers refuse, so a project opened to the network could no longer connect a new account. The callback origin is now
33
+ `127.0.0.1` unless `PUBLIC_URL` is HTTPS, and `serverOptions.functions.oauth.callbackOrigin` names another without
34
+ touching `PUBLIC_URL`. Open to the network with a loopback callback, the server says that a sign-in another device
35
+ starts needs a name of its own.
36
+
37
+ - Updated dependencies [1e93ac7]
38
+ - @plitzi/sdk-auth@0.38.23
39
+ - @plitzi/sdk-event-bridge@0.38.23
40
+ - @plitzi/sdk-shared@0.38.23
41
+
3
42
  ## 0.38.22
4
43
 
5
44
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plitzi/sdk-interactions",
3
- "version": "0.38.22",
3
+ "version": "0.38.24",
4
4
  "license": "AGPL-3.0",
5
5
  "files": [
6
6
  "dist"
@@ -37,9 +37,9 @@
37
37
  },
38
38
  "dependencies": {
39
39
  "@plitzi/plitzi-ui": "^1.6.34",
40
- "@plitzi/sdk-auth": "0.38.22",
41
- "@plitzi/sdk-event-bridge": "0.38.22",
42
- "@plitzi/sdk-shared": "0.38.22"
40
+ "@plitzi/sdk-auth": "0.38.24",
41
+ "@plitzi/sdk-event-bridge": "0.38.24",
42
+ "@plitzi/sdk-shared": "0.38.24"
43
43
  },
44
44
  "peerDependencies": {
45
45
  "react": "^19"