@symfony/ux-notify 3.2.0 → 3.5.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.
Files changed (2) hide show
  1. package/dist/controller.js +8 -11
  2. package/package.json +1 -1
@@ -1,10 +1,11 @@
1
1
  import { Controller } from "@hotwired/stimulus";
2
- var _Class = class extends Controller {
3
- constructor(..._args) {
4
- super(..._args);
5
- this.eventSources = [];
6
- this.listeners = /* @__PURE__ */ new WeakMap();
7
- }
2
+ var controller_default = class extends Controller {
3
+ static values = {
4
+ hub: String,
5
+ topics: Array
6
+ };
7
+ eventSources = [];
8
+ listeners = /* @__PURE__ */ new WeakMap();
8
9
  initialize() {
9
10
  const errorMessages = [];
10
11
  if (!this.hasHubValue) errorMessages.push("A \"hub\" value pointing to the Mercure hub must be provided.");
@@ -56,8 +57,4 @@ var _Class = class extends Controller {
56
57
  });
57
58
  }
58
59
  };
59
- _Class.values = {
60
- hub: String,
61
- topics: Array
62
- };
63
- export { _Class as default };
60
+ export { controller_default as default };
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@symfony/ux-notify",
3
3
  "description": "Native notification integration for Symfony using Mercure",
4
4
  "license": "MIT",
5
- "version": "3.2.0",
5
+ "version": "3.5.1",
6
6
  "keywords": [
7
7
  "symfony-ux"
8
8
  ],