@beauraines/rtm-api 1.13.0 → 1.13.1

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
@@ -2,6 +2,13 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ### [1.13.1](https://github.com/beauraines/rtm-api/compare/v1.13.0...v1.13.1) (2025-12-17)
6
+
7
+
8
+ ### Bug Fixes
9
+
10
+ * properly handles undefined rrules ([#72](https://github.com/beauraines/rtm-api/issues/72)) ([c334b48](https://github.com/beauraines/rtm-api/commit/c334b48d1f7a18171754e3c9a37e99f53ef8ba45))
11
+
5
12
  ## [1.13.0](https://github.com/beauraines/rtm-api/compare/v1.12.0...v1.13.0) (2025-12-17)
6
13
 
7
14
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@beauraines/rtm-api",
3
- "version": "1.13.0",
3
+ "version": "1.13.1",
4
4
  "description": "Remember the Milk API Interface",
5
5
  "author": "David Waring <dev@davidwaring.net> (https://davidwaring.net)",
6
6
  "contributors": [
package/src/task/index.js CHANGED
@@ -216,8 +216,8 @@ class RTMTask {
216
216
  * Task recurrence rule
217
217
  * @type {string}}
218
218
  */
219
- this.recurrenceRule = series.rrule?.toString() === '' ? undefined : rruleToISODuration(series.rrule);
220
- this.recurrenceRuleRaw = series.rrule?.toString() === '' ? undefined : JSON.stringify(series.rrule);
219
+ this.recurrenceRule = series.rrule ? rruleToISODuration(series.rrule) : undefined;
220
+ this.recurrenceRuleRaw = series.rrule ? JSON.stringify(series.rrule) : undefined;
221
221
 
222
222
 
223
223