@spiffcommerce/core 29.1.0-beta.d9317506-22b0-55b7-8508-fbedf60b9d27 → 29.1.1-beta.1070aece-0a80-54e4-b717-197225c42d3c

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/CHANGELOG.md CHANGED
@@ -14,6 +14,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
14
14
  - `Fixed` for any bug fixes.
15
15
  - `Security` in case of vulnerabilities.
16
16
 
17
+ ## [30.0.0] - 21-08-2025
18
+
19
+ ## Added
20
+
21
+ - The `updateRecipient` method now has extra arguments, primarily for custom fields.
22
+
23
+ ## [29.1.1] - 20-08-2025
24
+
25
+ ## Fixed
26
+
27
+ - Inputting an incorrect code when calling `verifyCode` will no longer prevent you from succeeding if you then input the correct code in a subsequent request.
28
+
17
29
  ## [29.0.4] - 14-08-2025
18
30
 
19
31
  ## Fixed
package/dist/index.d.ts CHANGED
@@ -2726,7 +2726,9 @@ interface WorkflowManager {
2726
2726
  /**
2727
2727
  * Returns the context object used for text templating.
2728
2728
  */
2729
- getTemplatingContext(): any;
2729
+ getTemplatingContext(): Promise<{
2730
+ [key: string]: any;
2731
+ }>;
2730
2732
  }
2731
2733
 
2732
2734
  declare enum AssetType {
@@ -3469,7 +3471,9 @@ interface RenderingConfiguration {
3469
3471
  /**
3470
3472
  * Contents variables for templating text.
3471
3473
  */
3472
- templatingContext?: any;
3474
+ templatingContext?: {
3475
+ [key: string]: any;
3476
+ };
3473
3477
  }
3474
3478
  interface ColorProfileProps {
3475
3479
  name: string;
@@ -5069,7 +5073,9 @@ declare class DigitalContentStepService implements StepService<DigitalContentSte
5069
5073
  declare const digitalContentStepService: DigitalContentStepService;
5070
5074
 
5071
5075
  declare class MockWorkflowManager implements WorkflowManager {
5072
- getTemplatingContext: () => void;
5076
+ getTemplatingContext: () => Promise<{
5077
+ [key: string]: any;
5078
+ }>;
5073
5079
  removeRecipientCallback: (callback: RecipientCallback) => void;
5074
5080
  addRecipientCallback: (callback: RecipientCallback) => void;
5075
5081
  updateRecipient(_firstName?: string, _lastName?: string, _address?: string, _suburb?: string, _state?: string, _email?: string, _postalCode?: string, _country?: string, _mobile?: string, _company?: string, _apartment?: string, _customField1?: string, _customField2?: string, _customField3?: string, _customField4?: string, _customField5?: string, _conversionConfigurationId?: string): Promise<void>;