@passflow/core 0.45.0 → 0.46.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,15 @@
2
2
 
3
3
  ## Changelog
4
4
 
5
+ ### Version 0.46.0
6
+
7
+ - Added: `passflow.removeTrustedDevicePush(deviceId)` (`DELETE /v2/user/2fa/trusted-devices/{id}/push`)
8
+ turns off sign-in approvals (push) on one of the user's trusted devices. The device stays trusted
9
+ and keeps its device key; only its push approval goes. Rejects with `PassflowError` 404
10
+ (`error.not.found`) when the user has no such device. Errors report operation
11
+ `'2fa.trusted-devices.push.remove'`. Also on `passflow.twoFactor` as `removeTrustedDevicePush`.
12
+ Needs Passflow server v0.138.0 or later.
13
+
5
14
  ### Version 0.45.0
6
15
 
7
16
  - Added: support for the server's attack protection.