@toa.io/extensions.exposition 1.0.0-alpha.201 → 1.0.0-alpha.203
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/components/identity.bans/operations/tsconfig.tsbuildinfo +1 -1
- package/components/identity.basic/operations/add.js.map +1 -1
- package/components/identity.basic/operations/tsconfig.tsbuildinfo +1 -1
- package/components/identity.basic/source/add.ts +2 -2
- package/components/identity.federation/operations/incept.js.map +1 -1
- package/components/identity.federation/operations/tsconfig.tsbuildinfo +1 -1
- package/components/identity.federation/source/incept.ts +1 -2
- package/components/identity.keys/operations/tsconfig.tsbuildinfo +1 -1
- package/components/identity.otp/operations/issue.js +1 -1
- package/components/identity.otp/operations/issue.js.map +1 -1
- package/components/identity.otp/operations/tsconfig.tsbuildinfo +1 -1
- package/components/identity.otp/source/issue.ts +2 -3
- package/components/identity.passkeys/operations/tsconfig.tsbuildinfo +1 -1
- package/components/identity.roles/operations/tsconfig.tsbuildinfo +1 -1
- package/components/identity.tokens/operations/tsconfig.tsbuildinfo +1 -1
- package/features/steps/Workspace.ts +1 -2
- package/package.json +11 -10
- package/schemas/query.cos.yaml +1 -0
- package/source/Factory.ts +4 -3
- package/source/HTTP/Context.ts +1 -1
- package/source/HTTP/Server.ts +3 -3
- package/source/HTTP/Timing.ts +1 -1
- package/source/HTTP/messages.test.ts +1 -2
- package/source/HTTP/messages.ts +4 -8
- package/source/Query.ts +3 -0
- package/source/RTD/Node.ts +1 -2
- package/source/RTD/Tree.ts +2 -4
- package/source/RTD/syntax/types.ts +1 -0
- package/source/directives/auth/Input.ts +1 -2
- package/source/directives/auth/Role.test.ts +1 -2
- package/source/directives/auth/Role.ts +1 -2
- package/source/directives/auth/Rule.ts +1 -2
- package/source/directives/cache/Cache.ts +3 -4
- package/source/directives/dev/Faulty.ts +3 -3
- package/source/directives/octets/Delete.ts +1 -2
- package/source/directives/octets/Octets.ts +1 -2
- package/source/directives/octets/Put.ts +2 -4
- package/source/exceptions.ts +1 -1
- package/transpiled/Factory.d.ts +1 -2
- package/transpiled/Factory.js +4 -2
- package/transpiled/Factory.js.map +1 -1
- package/transpiled/HTTP/Server.js.map +1 -1
- package/transpiled/HTTP/Timing.js.map +1 -1
- package/transpiled/HTTP/messages.js.map +1 -1
- package/transpiled/Query.js +2 -0
- package/transpiled/Query.js.map +1 -1
- package/transpiled/RTD/Node.js.map +1 -1
- package/transpiled/RTD/Tree.js.map +1 -1
- package/transpiled/RTD/syntax/types.d.ts +1 -0
- package/transpiled/RTD/syntax/types.js.map +1 -1
- package/transpiled/Tenant.js +1 -1
- package/transpiled/directives/auth/Input.js.map +1 -1
- package/transpiled/directives/auth/Role.js.map +1 -1
- package/transpiled/directives/auth/Rule.js.map +1 -1
- package/transpiled/directives/cache/Cache.js.map +1 -1
- package/transpiled/directives/dev/Faulty.d.ts +2 -2
- package/transpiled/directives/dev/Faulty.js.map +1 -1
- package/transpiled/directives/octets/Delete.js.map +1 -1
- package/transpiled/directives/octets/Octets.js.map +1 -1
- package/transpiled/directives/octets/Put.js.map +1 -1
- package/transpiled/exceptions.js +1 -1
- package/transpiled/tsconfig.tsbuildinfo +1 -1
|
@@ -11,15 +11,14 @@ export async function effect (input: Input, context: Context): Promise<Output> {
|
|
|
11
11
|
entity: {
|
|
12
12
|
authority,
|
|
13
13
|
username,
|
|
14
|
-
identity
|
|
14
|
+
identity
|
|
15
15
|
}
|
|
16
16
|
})
|
|
17
|
-
|
|
18
17
|
|
|
19
18
|
context.logs.debug('Issue OTP', { authority, username, identity, code, lifetime })
|
|
20
19
|
|
|
21
20
|
await context.stash.set(key, 1, 'EX', lifetime)
|
|
22
|
-
|
|
21
|
+
|
|
23
22
|
return { code }
|
|
24
23
|
}
|
|
25
24
|
|