@paymanai/payman-ask-sdk 1.0.4 → 1.0.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/index.d.mts CHANGED
@@ -65,6 +65,8 @@ type ChatConfig = {
65
65
  workflowVersion?: number;
66
66
  /** Stage/Environment */
67
67
  stage?: WorkflowStage;
68
+ /** Query param name for stage (default: 'stage'). Use e.g. 'workflowStage' if the API expects that name. */
69
+ stageQueryParam?: string;
68
70
  /** Session params */
69
71
  sessionParams?: SessionParams;
70
72
  /** Custom placeholder text */
package/dist/index.d.ts CHANGED
@@ -65,6 +65,8 @@ type ChatConfig = {
65
65
  workflowVersion?: number;
66
66
  /** Stage/Environment */
67
67
  stage?: WorkflowStage;
68
+ /** Query param name for stage (default: 'stage'). Use e.g. 'workflowStage' if the API expects that name. */
69
+ stageQueryParam?: string;
68
70
  /** Session params */
69
71
  sessionParams?: SessionParams;
70
72
  /** Custom placeholder text */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@paymanai/payman-ask-sdk",
3
- "version": "1.0.4",
3
+ "version": "1.0.5",
4
4
  "description": "Reusable chat SDK for Payman workflows with streaming support (Web & React Native)",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -81,7 +81,7 @@
81
81
  }
82
82
  },
83
83
  "dependencies": {
84
- "@paymanai/payman-typescript-ask-sdk": "^1.0.1",
84
+ "@paymanai/payman-typescript-ask-sdk": "^1.0.2",
85
85
  "clsx": "^2.1.1",
86
86
  "tailwind-merge": "^3.3.1"
87
87
  },