@pushwoosh/dumb-components 1.1.184 → 1.1.185

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.
@@ -15,9 +15,14 @@ export type CappingOption = {
15
15
  /**
16
16
  * How the counting window is anchored: a window measured back from each send,
17
17
  * or calendar days that reset at local midnight.
18
+ *
19
+ * The values are the wire values of `CappingMode` in `uds/objects`, so a form value
20
+ * can be sent as is. Rolling is empty there: a capping stored without a mode keeps
21
+ * its legacy rolling behaviour, and writing the word instead would store a value
22
+ * the backend only understands through its "anything else is rolling" fallback.
18
23
  */
19
24
  export declare enum CappingCountingMode {
20
- ROLLING = "rolling",
25
+ ROLLING = "",
21
26
  CALENDAR_DAY = "calendar_day"
22
27
  }
23
28
  /** Per-message capping config (exported publicly as `LocalCapping`). */
@@ -8,9 +8,14 @@ export var CappingTypes;
8
8
  /**
9
9
  * How the counting window is anchored: a window measured back from each send,
10
10
  * or calendar days that reset at local midnight.
11
+ *
12
+ * The values are the wire values of `CappingMode` in `uds/objects`, so a form value
13
+ * can be sent as is. Rolling is empty there: a capping stored without a mode keeps
14
+ * its legacy rolling behaviour, and writing the word instead would store a value
15
+ * the backend only understands through its "anything else is rolling" fallback.
11
16
  */
12
17
  export var CappingCountingMode;
13
18
  (function (CappingCountingMode) {
14
- CappingCountingMode["ROLLING"] = "rolling";
19
+ CappingCountingMode["ROLLING"] = "";
15
20
  CappingCountingMode["CALENDAR_DAY"] = "calendar_day";
16
21
  })(CappingCountingMode || (CappingCountingMode = {}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pushwoosh/dumb-components",
3
- "version": "1.1.184",
3
+ "version": "1.1.185",
4
4
  "description": "React components to build Pushwoosh products",
5
5
  "main": "index.js",
6
6
  "module": "index.js",