@wexio/messenger-widget-ember 1.0.26 → 1.0.28

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/index.cjs +8 -1
  2. package/package.json +1 -10
package/dist/index.cjs CHANGED
@@ -70,4 +70,11 @@ class WexioWidgetService {
70
70
  }
71
71
  }
72
72
 
73
- module.exports = { WexioWidgetService };
73
+ // Safety-net `name` field so ember-cli's package-info-cache, which
74
+ // occasionally introspects every installed package's main export for
75
+ // addon shape (looking for an addon-like object with a `name`
76
+ // property), doesn't crash with "An addon must define a name
77
+ // property" if it ever decides our package looks addon-ish despite
78
+ // missing the `ember-addon` keyword. Picking the actual npm name
79
+ // matches the standard addon convention without lying.
80
+ module.exports = { WexioWidgetService, name: "@wexio/messenger-widget-ember" };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wexio/messenger-widget-ember",
3
- "version": "1.0.26",
3
+ "version": "1.0.28",
4
4
  "description": "Ember integration for the Wexio web messenger. Service helper around the <wexio-widget> custom element.",
5
5
  "license": "MIT",
6
6
  "private": false,
@@ -20,14 +20,6 @@
20
20
  "README.md",
21
21
  "LICENSE"
22
22
  ],
23
- "peerDependencies": {
24
- "ember-source": ">=4.0.0"
25
- },
26
- "peerDependenciesMeta": {
27
- "ember-source": {
28
- "optional": true
29
- }
30
- },
31
23
  "repository": {
32
24
  "type": "git",
33
25
  "url": "https://github.com/wexiohub/messenger-widget-ember.git"
@@ -46,7 +38,6 @@
46
38
  "wexio",
47
39
  "chat",
48
40
  "messenger",
49
- "ember",
50
41
  "custom-element"
51
42
  ]
52
43
  }