@autentikar/step 2.0.0-alpha.26 → 2.0.0-alpha.28

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-p0IacgKK.js';
1
+ import { S as StorageItem, a as Step } from './index-0YZ6BXc5.js';
2
2
  import 'file-type/core';
3
3
  import 'zod';
4
4
 
@@ -2,7 +2,7 @@ import * as file_type_core from 'file-type/core';
2
2
  import { z } from 'zod';
3
3
 
4
4
  interface Step {
5
- params<TValue = unknown>(): Promise<TValue | undefined>;
5
+ params<TValue = unknown>(extend?: unknown): Promise<TValue | undefined>;
6
6
  milestone(type: string, status: string, success: boolean): Promise<void>;
7
7
  future(type: string, id: string, ttl: number): Promise<void>;
8
8
  identity(organization_id: string, instance_id: string, link_session: string | undefined, identity: IdentityDto, data: StepIdentityData): Promise<any>;
@@ -98,6 +98,7 @@ type MethodContext = {
98
98
  flow: MethodContextFlow;
99
99
  instance: MethodContextInstance;
100
100
  step: MethodContextStep;
101
+ link_session: string | undefined;
101
102
  };
102
103
  type Method = (req: Request, output: Record<string, string>, context: MethodContext) => Promise<unknown>;
103
104
  type AppEnvVariables = {
package/dist/index.d.ts CHANGED
@@ -1,3 +1,3 @@
1
1
  import 'file-type/core';
2
2
  import 'zod';
3
- export { l as AppEnv, k as AppEnvVariables, A as AppEnvironments, F as FlowContext, d as IdentityDto, I as IdentitySchemaDto, j as Method, i as MethodContext, f as MethodContextFlow, g as MethodContextInstance, M as MethodContextOrganization, h as MethodContextStep, P as PersistentType, e as Staging, o as StepContext, m as StepDefinition, b as StepIdentityData, n as StepInstance, c as StepRequest, S as StorageItem } from './index-p0IacgKK.js';
3
+ export { l as AppEnv, k as AppEnvVariables, A as AppEnvironments, F as FlowContext, d as IdentityDto, I as IdentitySchemaDto, j as Method, i as MethodContext, f as MethodContextFlow, g as MethodContextInstance, M as MethodContextOrganization, h as MethodContextStep, P as PersistentType, e as Staging, o as StepContext, m as StepDefinition, b as StepIdentityData, n as StepInstance, c as StepRequest, S as StorageItem } from './index-0YZ6BXc5.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@autentikar/step",
3
- "version": "2.0.0-alpha.26",
3
+ "version": "2.0.0-alpha.28",
4
4
  "description": "",
5
5
  "files": [
6
6
  "dist"