@sprucelabs/spruce-appointment-utils 7.3.13 → 7.4.0

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.
@@ -118,8 +118,8 @@ export default class AbstractCapabilityCardViewController extends AbstractViewCo
118
118
  yield this.activeRecordCardVc.load();
119
119
  });
120
120
  }
121
- calculateDuration(timeblocks) {
122
- const duration = timeblocks
121
+ calculateDuration(timeBlocks) {
122
+ const duration = timeBlocks
123
123
  .map((a) => a.durationMinutes)
124
124
  .reduce(function (a, b) {
125
125
  return a + b;
@@ -105,8 +105,8 @@ class AbstractCapabilityCardViewController extends heartwood_view_controllers_1.
105
105
  await this.loadCapabilities();
106
106
  await this.activeRecordCardVc.load();
107
107
  }
108
- calculateDuration(timeblocks) {
109
- const duration = timeblocks
108
+ calculateDuration(timeBlocks) {
109
+ const duration = timeBlocks
110
110
  .map((a) => a.durationMinutes)
111
111
  .reduce(function (a, b) {
112
112
  return a + b;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@sprucelabs/spruce-appointment-utils",
3
3
  "description": "Utils for working with appointments and Sprucebot.",
4
- "version": "7.3.13",
4
+ "version": "7.4.0",
5
5
  "skill": {
6
6
  "namespace": "appointments"
7
7
  },