@sedoo/unidoo 0.1.20 → 0.1.21

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sedoo/unidoo",
3
- "version": "0.1.20",
3
+ "version": "0.1.21",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "build": "npm run build:unidoo && npm run build:auth",
package/src/plugin.js CHANGED
@@ -23,10 +23,9 @@ function install(Vue) {
23
23
  // Globally register the component
24
24
  Vue.component(componentName, componentConfig.default || componentConfig);
25
25
  // Use Vue.customElement to enable the be able to use the component UnidooMapGeoFeatures as a custom element in WordPress
26
- if (componentName === "UnidooMapGeoFeatures") {
27
- const kebabCaseComponentName = "unidoo-map-geo-features";
26
+ if (componentName === "unidoo-map-geo-features") {
28
27
  Vue.customElement(
29
- kebabCaseComponentName,
28
+ componentName,
30
29
  componentConfig.default || componentConfig
31
30
  );
32
31
  }