@autentikar/step 2.1.0-alpha.4 → 2.1.0-alpha.6
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
|
@@ -58,6 +58,7 @@ interface AutentikarResponseInit extends ResponseInit {
|
|
|
58
58
|
output: unknown;
|
|
59
59
|
} & Record<string, unknown>;
|
|
60
60
|
next: string | undefined;
|
|
61
|
+
error?: string;
|
|
61
62
|
}
|
|
62
63
|
declare class AutentikarResponse extends Response {
|
|
63
64
|
readonly success: boolean | undefined;
|
|
@@ -66,6 +67,7 @@ declare class AutentikarResponse extends Response {
|
|
|
66
67
|
output: unknown;
|
|
67
68
|
} & Record<string, unknown>) | undefined;
|
|
68
69
|
readonly next: string | undefined;
|
|
70
|
+
readonly error: string | undefined;
|
|
69
71
|
constructor(bodyInit?: BodyInit | null, init?: AutentikarResponseInit);
|
|
70
72
|
static json(data: any, init: AutentikarResponseInit): AutentikarResponse;
|
|
71
73
|
}
|
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-7YjSDUC7.js';
|
package/dist/index.js
CHANGED
|
@@ -73,12 +73,14 @@ var AutentikarResponse = class _AutentikarResponse extends Response {
|
|
|
73
73
|
akStatus;
|
|
74
74
|
data;
|
|
75
75
|
next;
|
|
76
|
+
error;
|
|
76
77
|
constructor(bodyInit, init) {
|
|
77
78
|
super(bodyInit, init);
|
|
78
79
|
this.success = init?.success;
|
|
79
80
|
this.akStatus = init?.akStatus;
|
|
80
81
|
this.data = init?.data;
|
|
81
82
|
this.next = init?.next;
|
|
83
|
+
this.error = init?.error;
|
|
82
84
|
}
|
|
83
85
|
static json(data, init) {
|
|
84
86
|
const body = JSON.stringify(data);
|