@passflow/core 0.47.0 → 0.48.0

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/README.md CHANGED
@@ -2,6 +2,22 @@
2
2
 
3
3
  ## Changelog
4
4
 
5
+ ### Version 0.48.0
6
+
7
+ Works with every Passflow server. The server sends `attack_protection.challenge` from
8
+ https://github.com/usepassflow/passflow/pull/693 on; a server that does not send it keeps the
9
+ previous behaviour.
10
+
11
+ - Changed: when `GET /app/settings` carries `"attack_protection": { "challenge": true }`,
12
+ `federatedAuthWithPopup` and `federatedAuthWithRedirect` start with a POST, as on a `human_only`
13
+ app, instead of navigating to the GET start. A forced challenge on that start now reaches
14
+ `setAntiBotTokenProvider` (or the built-in check) and the start is sent once more. Enterprise
15
+ sign-in through these flows (`conn_<connection_id>`) and `enterpriseStart()` behave the same.
16
+ A missing field, or any value but `true`, keeps the navigation on a bot-friendly app.
17
+ - Added: `AttackProtectionSettings.challenge?: boolean`. The provider id code ignores it: a block
18
+ with only `challenge` sends no `X-Passflow-Fingerprint-Event` / `X-Passflow-Stytch-Telemetry`
19
+ and logs no warning.
20
+
5
21
  ### Version 0.47.0
6
22
 
7
23
  Needs a Passflow server that serves `POST /auth/federated/native/start/{provider}`,