@autentikar/step 2.1.0-alpha.3 → 2.1.0-alpha.5
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/dist/context.d.ts
CHANGED
|
@@ -25,6 +25,10 @@ interface AutentikarRequestInit extends RequestInit {
|
|
|
25
25
|
step?: {
|
|
26
26
|
id: string;
|
|
27
27
|
};
|
|
28
|
+
flow?: {
|
|
29
|
+
id: string;
|
|
30
|
+
webhook: string | undefined;
|
|
31
|
+
};
|
|
28
32
|
instance?: {
|
|
29
33
|
id: string;
|
|
30
34
|
};
|
|
@@ -41,6 +45,10 @@ declare class AutentikarRequest extends Request {
|
|
|
41
45
|
readonly params?: unknown;
|
|
42
46
|
readonly output?: Record<string, string>;
|
|
43
47
|
readonly host?: string;
|
|
48
|
+
readonly flow: {
|
|
49
|
+
id: string;
|
|
50
|
+
webhook: string | undefined;
|
|
51
|
+
} | undefined;
|
|
44
52
|
constructor(input: RequestInfo, init?: AutentikarRequestInit);
|
|
45
53
|
}
|
|
46
54
|
interface AutentikarResponseInit extends ResponseInit {
|
|
@@ -50,6 +58,7 @@ interface AutentikarResponseInit extends ResponseInit {
|
|
|
50
58
|
output: unknown;
|
|
51
59
|
} & Record<string, unknown>;
|
|
52
60
|
next: string | undefined;
|
|
61
|
+
error?: string;
|
|
53
62
|
}
|
|
54
63
|
declare class AutentikarResponse extends Response {
|
|
55
64
|
readonly success: boolean | undefined;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import 'file-type/core';
|
|
2
2
|
import 'zod';
|
|
3
|
-
export { m as AppEnv, l as AppEnvVariables, f as AppEnvironments, A as AutentikarRequest, b as AutentikarResponse, F as FlowContext, e as IdentityDto, I as IdentitySchemaDto, k as Method, h as MethodContextFlow, i as MethodContextInstance, M as MethodContextOrganization, j as MethodContextStep, P as PersistentType, R as Resource, g as Staging, p as StepContext, n as StepDefinition, c as StepIdentityData, o as StepInstance, d as StepRequest, S as StorageItem } from './index-
|
|
3
|
+
export { m as AppEnv, l as AppEnvVariables, f as AppEnvironments, A as AutentikarRequest, b as AutentikarResponse, F as FlowContext, e as IdentityDto, I as IdentitySchemaDto, k as Method, h as MethodContextFlow, i as MethodContextInstance, M as MethodContextOrganization, j as MethodContextStep, P as PersistentType, R as Resource, g as Staging, p as StepContext, n as StepDefinition, c as StepIdentityData, o as StepInstance, d as StepRequest, S as StorageItem } from './index-CwsFhl0J.js';
|
package/dist/index.js
CHANGED
|
@@ -54,6 +54,7 @@ var AutentikarRequest = class extends Request {
|
|
|
54
54
|
params;
|
|
55
55
|
output;
|
|
56
56
|
host;
|
|
57
|
+
flow;
|
|
57
58
|
constructor(input, init) {
|
|
58
59
|
super(input, init);
|
|
59
60
|
this.organization = init?.organization;
|
|
@@ -64,6 +65,7 @@ var AutentikarRequest = class extends Request {
|
|
|
64
65
|
this.params = init?.params;
|
|
65
66
|
this.output = init?.output;
|
|
66
67
|
this.host = init?.host;
|
|
68
|
+
this.flow = init?.flow;
|
|
67
69
|
}
|
|
68
70
|
};
|
|
69
71
|
var AutentikarResponse = class _AutentikarResponse extends Response {
|