@projectcaluma/ember-distribution 13.0.2 → 13.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,5 +1,4 @@
1
1
  import { inject as service } from "@ember/service";
2
- import { waitForPromise } from "@ember/test-waiters";
3
2
  import Component from "@glimmer/component";
4
3
  import { queryManager, getObservable } from "ember-apollo-client";
5
4
  import { dropTask } from "ember-concurrency";
@@ -85,7 +84,7 @@ export default class CdInquiryDialogComponent extends Component {
85
84
 
86
85
  yield this.distribution.createInquiry.perform([this.args.to]);
87
86
 
88
- yield waitForPromise(getObservable(this._inquiries.value).refetch());
87
+ yield getObservable(this._inquiries.value).refetch();
89
88
 
90
89
  this.router.transitionTo(
91
90
  "inquiry.detail.index",
@@ -1,5 +1,4 @@
1
1
  import Service, { inject as service } from "@ember/service";
2
- import { waitForPromise } from "@ember/test-waiters";
3
2
  import { tracked } from "@glimmer/tracking";
4
3
  import { queryManager, getObservable } from "ember-apollo-client";
5
4
  import { dropTask } from "ember-concurrency";
@@ -45,15 +44,11 @@ export default class DistributionService extends Service {
45
44
  }
46
45
 
47
46
  async refetchNavigation() {
48
- await waitForPromise(
49
- getObservable(this.navigation.value)?.refetch() ?? Promise.resolve(),
50
- );
47
+ await getObservable(this.navigation.value)?.refetch();
51
48
  }
52
49
 
53
50
  async refetchControls() {
54
- await waitForPromise(
55
- getObservable(this.controls.value)?.refetch() ?? Promise.resolve(),
56
- );
51
+ await getObservable(this.controls.value)?.refetch();
57
52
  }
58
53
 
59
54
  @dropTask
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@projectcaluma/ember-distribution",
3
- "version": "13.0.2",
3
+ "version": "13.1.0",
4
4
  "description": "Ember engine for the Caluma distribution module.",
5
5
  "keywords": [
6
6
  "ember-addon",
@@ -18,15 +18,15 @@
18
18
  "@glimmer/tracking": "^1.1.2",
19
19
  "ember-apollo-client": "~4.0.2",
20
20
  "ember-auto-import": "^2.7.4",
21
- "ember-can": "^5.0.4",
21
+ "ember-can": "^6.0.0",
22
22
  "ember-cli-babel": "^8.2.0",
23
23
  "ember-cli-htmlbars": "^6.3.0",
24
24
  "ember-concurrency": "^4.0.2",
25
25
  "ember-engines-router-service": "^0.6.0",
26
26
  "ember-fetch": "^8.1.2",
27
- "ember-flatpickr": "^8.0.0",
28
- "ember-intl": "^7.0.4",
29
- "ember-svg-jar": "^2.4.9",
27
+ "ember-flatpickr": "^8.0.1",
28
+ "ember-intl": "^7.0.5",
29
+ "ember-svg-jar": "^2.5.0",
30
30
  "ember-test-selectors": "^7.0.0",
31
31
  "ember-uikit": "^9.1.2",
32
32
  "flatpickr": "^4.6.13",
@@ -36,9 +36,9 @@
36
36
  "luxon": "^3.5.0",
37
37
  "reactiveweb": "^1.3.0",
38
38
  "tracked-toolbox": "^2.0.0",
39
- "@projectcaluma/ember-core": "^13.0.2",
40
- "@projectcaluma/ember-form": "^13.0.2",
41
- "@projectcaluma/ember-workflow": "^13.0.2"
39
+ "@projectcaluma/ember-core": "^13.1.0",
40
+ "@projectcaluma/ember-form": "^13.1.0",
41
+ "@projectcaluma/ember-workflow": "^13.1.0"
42
42
  },
43
43
  "devDependencies": {
44
44
  "@ember/optional-features": "2.1.0",
@@ -46,9 +46,9 @@
46
46
  "@embroider/test-setup": "4.0.0",
47
47
  "@faker-js/faker": "8.4.1",
48
48
  "broccoli-asset-rev": "3.0.0",
49
- "ember-cli": "5.10.0",
49
+ "ember-cli": "5.11.0",
50
50
  "ember-cli-clean-css": "3.0.0",
51
- "ember-cli-code-coverage": "3.0.0",
51
+ "ember-cli-code-coverage": "3.0.1",
52
52
  "ember-cli-dependency-checker": "3.3.2",
53
53
  "ember-cli-inject-live-reload": "2.1.0",
54
54
  "ember-cli-mirage": "3.0.3",
@@ -59,17 +59,17 @@
59
59
  "ember-load-initializers": "2.1.2",
60
60
  "ember-qunit": "8.1.0",
61
61
  "ember-resolver": "12.0.1",
62
- "ember-source": "5.10.1",
62
+ "ember-source": "5.11.0",
63
63
  "ember-source-channel-url": "3.0.0",
64
64
  "ember-try": "3.0.0",
65
65
  "loader.js": "4.7.0",
66
66
  "miragejs": "0.1.48",
67
- "qunit": "2.21.1",
67
+ "qunit": "2.22.0",
68
68
  "qunit-dom": "3.2.0",
69
69
  "sass": "1.77.8",
70
- "uikit": "3.21.9",
71
- "webpack": "5.93.0",
72
- "@projectcaluma/ember-testing": "13.0.2"
70
+ "uikit": "3.21.10",
71
+ "webpack": "5.94.0",
72
+ "@projectcaluma/ember-testing": "13.1.0"
73
73
  },
74
74
  "peerDependencies": {
75
75
  "ember-engines": "^0.11.0",