@autentikar/step 2.1.0-alpha.14 → 2.1.0-alpha.15

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.
Files changed (2) hide show
  1. package/dist/context.d.ts +14 -0
  2. package/package.json +1 -1
package/dist/context.d.ts CHANGED
@@ -23,8 +23,22 @@ interface Preference {
23
23
 
24
24
  interface System {
25
25
  get<TValue = unknown>(name: string): Promise<TValue | undefined>;
26
+ /**
27
+ * Get the current stage of the step system.
28
+ * This method returns a string representing the current stage of the step system.
29
+ */
26
30
  stage(): string;
31
+ /**
32
+ * Dispatch a method to the step system.
33
+ * This method is used to trigger actions or events within the step system.
34
+ * It is typically used to execute a specific action or to notify the system of an event
35
+ */
27
36
  dispatchStepMethod(method: string): Promise<void>;
37
+ /**
38
+ * Put an object in the step system. public access to the step system.
39
+ */
40
+ putObject<TValue = unknown>(name: string, value: TValue): Promise<void>;
41
+ getObject<TValue = unknown>(name: string): Promise<TValue | undefined>;
28
42
  }
29
43
 
30
44
  declare let step: Step;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@autentikar/step",
3
- "version": "2.1.0-alpha.14",
3
+ "version": "2.1.0-alpha.15",
4
4
  "description": "",
5
5
  "files": [
6
6
  "dist"