diff --git a/addon/components/widget/storefront-key-metrics.js b/addon/components/widget/storefront-key-metrics.js index 07cfaef..730d575 100644 --- a/addon/components/widget/storefront-key-metrics.js +++ b/addon/components/widget/storefront-key-metrics.js @@ -4,6 +4,13 @@ import { inject as service } from '@ember/service'; import { task } from 'ember-concurrency-decorators'; export default class WidgetStorefrontKeyMetricsComponent extends Component { + /** + * The widget ID to use for registering. + * + * @memberof WidgetFleetOpsKeyMetricsComponent + */ + static widgetId = 'storefront-key-metrics-widget'; + /** * Inject the fetch service. * diff --git a/addon/engine.js b/addon/engine.js index 35cf13c..85097af 100644 --- a/addon/engine.js +++ b/addon/engine.js @@ -21,7 +21,7 @@ export default class StorefrontEngine extends Engine { // widgets for registry const KeyMetricsWidgetDefinition = { - did: 'storefront-metrics', + widgetId: 'storefront-key-metrics-widget', name: 'Storefront Metrics', description: 'Key metrics from Storefront.', icon: 'store', diff --git a/composer.json b/composer.json index a914af9..7a4244c 100644 --- a/composer.json +++ b/composer.json @@ -1,6 +1,6 @@ { "name": "fleetbase/storefront-api", - "version": "0.2.10", + "version": "0.2.11", "description": "Headless Commerce & Marketplace Extension for Fleetbase", "keywords": [ "fleetbase-extension", @@ -23,7 +23,7 @@ "require": { "php": "^8.0", "fleetbase/core-api": "^1.4.0", - "fleetbase/fleetops-api": "^0.4.5", + "fleetbase/fleetops-api": "^0.4.6", "geocoder-php/google-maps-places-provider": "^1.4", "laravel-notification-channels/apn": "^5.0", "laravel-notification-channels/fcm": "^4.1", diff --git a/extension.json b/extension.json index 12cde13..20460c8 100644 --- a/extension.json +++ b/extension.json @@ -1,6 +1,6 @@ { "name": "Storefront", - "version": "0.2.10", + "version": "0.2.11", "description": "Headless Commerce & Marketplace Extension for Fleetbase", "repository": "https://github.com/fleetbase/storefront", "license": "MIT", diff --git a/package.json b/package.json index 5a81903..865bcab 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@fleetbase/storefront-engine", - "version": "0.2.10", + "version": "0.2.11", "description": "Headless Commerce & Marketplace Extension for Fleetbase", "fleetbase": { "route": "storefront", @@ -43,7 +43,7 @@ "publish:github": "npm config set '@fleetbase:registry' https://npm.pkg.github.com/ && npm publish" }, "dependencies": { - "@fleetbase/ember-core": "^0.2.3", + "@fleetbase/ember-core": "^0.2.4", "@fleetbase/ember-ui": "^0.2.10", "@fleetbase/fleetops-data": "^0.1.8", "@babel/core": "^7.23.2", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 5b61a7c..117c946 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -5,8 +5,8 @@ dependencies: specifier: ^7.23.2 version: 7.23.2 '@fleetbase/ember-core': - specifier: ^0.2.3 - version: 0.2.3(@ember/test-helpers@3.2.0)(ember-source@5.4.0)(webpack@5.89.0) + specifier: ^0.2.4 + version: 0.2.4(@ember/test-helpers@3.2.0)(ember-source@5.4.0)(webpack@5.89.0) '@fleetbase/ember-ui': specifier: ^0.2.10 version: 0.2.10(@ember/test-helpers@3.2.0)(@glimmer/component@1.1.2)(@glimmer/tracking@1.1.2)(ember-source@5.4.0)(postcss@8.4.34)(rollup@4.9.6)(tracked-built-ins@3.3.0)(webpack@5.89.0) @@ -2360,13 +2360,13 @@ packages: - supports-color dev: false - /@fleetbase/ember-core@0.2.3(@ember/test-helpers@3.2.0)(ember-source@5.4.0)(webpack@5.89.0): - resolution: {integrity: sha512-IGeIVmrMfHnd9y/wXJHAtHFgitWbhztQOqsHGFiZ8ks7j3LASRNxJTvWNPW4vEOS7hS1qb3CsYRg3dGUUVyhFQ==} + /@fleetbase/ember-core@0.2.4(@ember/test-helpers@3.2.0)(ember-source@5.4.0)(webpack@5.89.0): + resolution: {integrity: sha512-flOA8Qz/y9gQLEUOw1ZoZ85mRU9+dvcr8aYgDtNc1iLFQcuEwZQcvwviLh3j/xIDcSNKsYL2ACopAXAQP5n7nA==} engines: {node: '>= 18'} dependencies: '@babel/core': 7.23.2 date-fns: 2.30.0 - ember-auto-import: 2.6.3(webpack@5.89.0) + ember-auto-import: 2.7.2(webpack@5.89.0) ember-cli-babel: 8.2.0(@babel/core@7.23.2) ember-cli-htmlbars: 6.3.0 ember-cli-notifications: 9.0.0 @@ -2616,7 +2616,7 @@ packages: broccoli-source: 3.0.1 camel-case: 4.1.2 ember-ast-helpers: 0.3.5 - ember-auto-import: 2.6.3(webpack@5.89.0) + ember-auto-import: 2.7.2(webpack@5.89.0) ember-cli-babel: 7.26.11 ember-cli-htmlbars: 5.7.2 ember-get-config: 2.1.1 @@ -6810,7 +6810,7 @@ packages: '@embroider/util': 1.12.1(ember-source@5.4.0) '@glimmer/component': 1.1.2(@babel/core@7.23.2) '@glimmer/tracking': 1.1.2 - ember-auto-import: 2.6.3(webpack@5.89.0) + ember-auto-import: 2.7.2(webpack@5.89.0) ember-cli-babel: 7.26.11 ember-cli-htmlbars: 6.3.0 ember-cli-typescript: 5.2.1 @@ -7742,7 +7742,7 @@ packages: '@embroider/macros': 1.13.5 '@glimmer/component': 1.1.2(@babel/core@7.23.2) '@glimmer/tracking': 1.1.2 - ember-auto-import: 2.6.3(webpack@5.89.0) + ember-auto-import: 2.7.2(webpack@5.89.0) ember-modifier: 4.1.0(ember-source@5.4.0) tracked-built-ins: 3.3.0 transitivePeerDependencies: @@ -7989,7 +7989,7 @@ packages: '@glimmer/component': 1.1.2(@babel/core@7.23.2) '@glimmer/tracking': 1.1.2 ember-assign-helper: 0.4.0 - ember-auto-import: 2.6.3(webpack@5.89.0) + ember-auto-import: 2.7.2(webpack@5.89.0) ember-basic-dropdown: 7.3.0(@babel/core@7.23.2)(@ember/string@3.1.1)(ember-source@5.4.0)(webpack@5.89.0) ember-cli-babel: 7.26.11 ember-cli-htmlbars: 6.3.0 @@ -8168,7 +8168,7 @@ packages: '@ember/string': ^3.0.1 dependencies: '@ember/string': 3.1.1 - ember-auto-import: 2.6.3(webpack@5.89.0) + ember-auto-import: 2.7.2(webpack@5.89.0) ember-cli-babel: 7.26.11 ember-modifier: 4.1.0(ember-source@5.4.0) transitivePeerDependencies: