@autentikar/step 2.1.0-alpha.12 → 2.1.0-alpha.13

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
@@ -1,4 +1,4 @@
1
- import { S as StorageItem, a as Step } from './index-WQGeKELe.js';
1
+ import { S as StorageItem, a as Step } from './index-bd_H6L1Q.js';
2
2
  import 'file-type/core';
3
3
  import 'zod';
4
4
 
@@ -24,6 +24,7 @@ interface Preference {
24
24
  interface System {
25
25
  get<TValue = unknown>(name: string): Promise<TValue | undefined>;
26
26
  stage(): string;
27
+ dispatchStepMethod(method: string): Promise<void>;
27
28
  }
28
29
 
29
30
  declare let step: Step;
@@ -185,6 +185,7 @@ declare class StorageItem {
185
185
  }
186
186
  type Method = (req: AutentikarRequest) => Promise<AutentikarResponse>;
187
187
  type Resource = (req: AutentikarRequest) => Promise<AutentikarResponse>;
188
+ type StepEvent = (req: AutentikarRequest) => Promise<AutentikarResponse>;
188
189
  type AppEnvVariables = {
189
190
  instance: {
190
191
  id: string;
@@ -243,4 +244,4 @@ declare class StepContext {
243
244
  isExpired(): boolean | 0 | undefined;
244
245
  }
245
246
 
246
- export { AutentikarRequest as A, FlowContext as F, IdentitySchemaDto as I, type MethodContextOrganization as M, type PersistentType as P, type Resource as R, StorageItem as S, type Step as a, AutentikarResponse as b, type StepIdentityData as c, StepRequest as d, type IdentityDto as e, type AppEnvironments as f, type Staging as g, type MethodContextFlow as h, type MethodContextInstance as i, type MethodContextStep as j, type Method as k, type AppEnvVariables as l, type AppEnv as m, StepDefinition as n, StepInstance as o, StepContext as p };
247
+ export { AutentikarRequest as A, FlowContext as F, IdentitySchemaDto as I, type MethodContextOrganization as M, type PersistentType as P, type Resource as R, StorageItem as S, type Step as a, AutentikarResponse as b, type StepIdentityData as c, StepRequest as d, type IdentityDto as e, type AppEnvironments as f, type Staging as g, type MethodContextFlow as h, type MethodContextInstance as i, type MethodContextStep as j, type Method as k, type StepEvent as l, type AppEnvVariables as m, type AppEnv as n, StepDefinition as o, StepInstance as p, StepContext as q };
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-WQGeKELe.js';
3
+ export { n as AppEnv, m 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, q as StepContext, o as StepDefinition, l as StepEvent, c as StepIdentityData, p as StepInstance, d as StepRequest, S as StorageItem } from './index-bd_H6L1Q.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@autentikar/step",
3
- "version": "2.1.0-alpha.12",
3
+ "version": "2.1.0-alpha.13",
4
4
  "description": "",
5
5
  "files": [
6
6
  "dist"