pipework 0.76.0 → 0.77.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/CHANGELOG.md +4 -0
- package/dist/REFERENCE.md +1477 -0
- package/dist/infra/access-links/handle.d.ts.map +1 -1
- package/dist/infra/access-links/handle.js +2 -13
- package/dist/infra/access-links/handle.js.map +1 -1
- package/dist/infra/email/sigv4.d.ts +24 -0
- package/dist/infra/email/sigv4.d.ts.map +1 -0
- package/dist/infra/email/sigv4.js +55 -0
- package/dist/infra/email/sigv4.js.map +1 -0
- package/dist/request/flow/act-as.d.ts +18 -0
- package/dist/request/flow/act-as.d.ts.map +1 -0
- package/dist/request/flow/act-as.js +69 -0
- package/dist/request/flow/act-as.js.map +1 -0
- package/dist/request/flow/namespace.d.ts +3 -0
- package/dist/request/flow/namespace.d.ts.map +1 -1
- package/dist/request/flow/namespace.js +3 -0
- package/dist/request/flow/namespace.js.map +1 -1
- package/dist/trace/entry/child-trace.d.ts +5 -0
- package/dist/trace/entry/child-trace.d.ts.map +1 -0
- package/dist/trace/entry/child-trace.js +19 -0
- package/dist/trace/entry/child-trace.js.map +1 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.77.0
|
|
4
|
+
|
|
5
|
+
- **New: `flow.actAs({ tenant, userId }, fn)`** for code that has just chosen a tenant in a Flow with none: a sign-up founding a tenant, a public sign-in recording into its org. `fn` runs as that tenant and user (row-level security, audit tenant and actor) in a savepoint of the request's own transaction, so a failed sign-up leaves nothing behind; its work is recorded in a child trace the tenant can read. Afterwards the request is tenantless again. Refused when the Flow already has a tenant (#489).
|
|
6
|
+
|
|
3
7
|
## 0.76.0
|
|
4
8
|
|
|
5
9
|
- **New: browser sessions.** `SessionConfig.accessToken.cookie` also delivers the access token as an HttpOnly cookie (`__pipework_access`, SameSite Lax, Path `/`), set, replaced and cleared alongside the refresh cookie by `issueTokensHttp`, `refreshHttp`, `revokeHttp`, `revokeAllHttp` and multi-org sign-in, select and switch, so a plain link, image or form reaches a route signed in. Without it nothing changes (#487).
|