@fleetbase/storefront-engine 0.3.2 → 0.3.3

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/composer.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fleetbase/storefront-api",
3
- "version": "0.3.2",
3
+ "version": "0.3.3",
4
4
  "description": "Headless Commerce & Marketplace Extension for Fleetbase",
5
5
  "keywords": [
6
6
  "fleetbase-extension",
@@ -22,8 +22,8 @@
22
22
  ],
23
23
  "require": {
24
24
  "php": "^8.0",
25
- "fleetbase/core-api": "^1.4.9",
26
- "fleetbase/fleetops-api": "^0.4.15",
25
+ "fleetbase/core-api": "^1.4.10",
26
+ "fleetbase/fleetops-api": "^0.4.16",
27
27
  "geocoder-php/google-maps-places-provider": "^1.4",
28
28
  "laravel-notification-channels/apn": "^5.0",
29
29
  "laravel-notification-channels/fcm": "^4.1",
package/extension.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "Storefront",
3
- "version": "0.3.2",
3
+ "version": "0.3.3",
4
4
  "description": "Headless Commerce & Marketplace Extension for Fleetbase",
5
5
  "repository": "https://github.com/fleetbase/storefront",
6
6
  "license": "MIT",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fleetbase/storefront-engine",
3
- "version": "0.3.2",
3
+ "version": "0.3.3",
4
4
  "description": "Headless Commerce & Marketplace Extension for Fleetbase",
5
5
  "fleetbase": {
6
6
  "route": "storefront",
@@ -21,7 +21,7 @@ class ContactFilterExpansion implements Expansion
21
21
  *
22
22
  * @return \Closure
23
23
  */
24
- public function storefront()
24
+ public static function storefront()
25
25
  {
26
26
  return function (?string $storefront) {
27
27
  /* @var \Fleetbase\FleetOps\Http\Filter\ContactFilter $this */
@@ -23,7 +23,7 @@ class EntityExpansion implements Expansion
23
23
  *
24
24
  * @return Entity
25
25
  */
26
- public function fromStorefrontProduct()
26
+ public static function fromStorefrontProduct()
27
27
  {
28
28
  return static function (Product $product) {
29
29
  return new Entity([
@@ -21,7 +21,7 @@ class OrderFilterExpansion implements Expansion
21
21
  *
22
22
  * @return \Closure
23
23
  */
24
- public function storefront()
24
+ public static function storefront()
25
25
  {
26
26
  return function (?string $storefront) {
27
27
  /* @var \Fleetbase\FleetOps\Http\Filter\OrderFilter $this */
@@ -21,7 +21,7 @@ class VendorFilterExpansion implements Expansion
21
21
  *
22
22
  * @return \Closure
23
23
  */
24
- public function storefront()
24
+ public static function storefront()
25
25
  {
26
26
  return function (?string $storefront) {
27
27
  /* @var \Fleetbase\FleetOps\Http\Filter\VendorFilter $this */