@meeovi/layer-commerce 1.0.14 → 1.1.0

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.
@@ -232,9 +232,7 @@
232
232
  </template>
233
233
 
234
234
  <script setup>
235
- import shorts from '#social/app/components/related/short.vue'
236
- import spaces from '#social/app/components/related/space.vue'
237
- import productCard from '#commerce/app/components/catalog/product/productCard.vue'
235
+ import productCard from '#commerce/app/components/catalog/product/productCard.vue'
238
236
  import travel from '@/components/categories/travel.vue'
239
237
  import deals from '@/components/categories/deals.vue'
240
238
  import timeComponent from '@/components/categories/time/time.vue'
@@ -77,7 +77,7 @@
77
77
  import stations from '~/components/categories/stations.vue'
78
78
  import eats from '~/components/categories/eats.vue'
79
79
  import restaurants from '~/components/categories/restaurants.vue'
80
- import productCard from '#commerce/app/components/catalog/product/productCard.vue'
80
+ import productCard from '~/components/catalog/product/productCard.vue'
81
81
 
82
82
  const route = useRoute()
83
83
  const {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@meeovi/layer-commerce",
3
- "version": "1.0.14",
3
+ "version": "1.1.0",
4
4
  "description": "Commerce Layer for the Alternate Framework",
5
5
  "keywords": [
6
6
  "commerce",
@@ -24,11 +24,9 @@
24
24
  "dependencies": {
25
25
  "@better-auth/stripe": "^1.4.15",
26
26
  "@meeovi/adapter-magento": "^1.0.2",
27
- "@meeovi/api": "^1.0.1",
28
- "@meeovi/core": "^1.0.1",
29
27
  "@meeovi/layer-social": "^1.0.4",
30
28
  "@meeovi/sdk": "^1.0.2",
31
- "@meeovi/types": "file:../shared/types",
29
+ "@meeovi/core": "^1.0.4",
32
30
  "@polar-sh/better-auth": "^1.6.4",
33
31
  "@polar-sh/sdk": "^0.42.2",
34
32
  "@storefront-ui/nuxt": "^3.1.1",
@@ -1,2 +0,0 @@
1
- export * from '../app/composables/useAuth'
2
- export { default } from '../app/composables/useAuth'
@@ -1,2 +0,0 @@
1
- export * from '../app/composables/useCache'
2
- export { default } from '../app/composables/useCache'
@@ -1,2 +0,0 @@
1
- export * from '../app/composables/useInventory'
2
- export { default } from '../app/composables/useInventory'
@@ -1,2 +0,0 @@
1
- export * from '../app/composables/useLoading'
2
- export { default } from '../app/composables/useLoading'
@@ -1,2 +0,0 @@
1
- export * from '../app/composables/useNotification'
2
- export { default } from '../app/composables/useNotification'
@@ -1,2 +0,0 @@
1
- export * from '../app/composables/useTax'
2
- export { default } from '../app/composables/useTax'
@@ -1,2 +0,0 @@
1
- export * from '../app/services/magento'
2
- export { default } from '../app/services/magento'
package/types/checkout.ts DELETED
@@ -1,6 +0,0 @@
1
- export interface CheckoutState {
2
- shippingAddress: string | null
3
- paymentMethod: string | null
4
- orderId: string
5
- isLoading: boolean
6
- }
@@ -1,5 +0,0 @@
1
- declare module '#imports' {
2
- import { Ref } from 'vue'
3
- export function useNuxtApp(): any
4
- export function useAsyncData<T = any>(key?: string | symbol, handler?: () => Promise<T> | T): { data: Ref<T | undefined> }
5
- }
package/types/product.ts DELETED
@@ -1,3 +0,0 @@
1
- export interface Price { amount: number; currency: string }
2
- export interface ProductVariant { id: string; sku: string; price: Price; attributes?: Record<string, any> }
3
- export interface Product { id: string; sku: string; name: string; variants?: ProductVariant[]; price?: Price | number }
package/types/review.ts DELETED
@@ -1 +0,0 @@
1
- export interface Review { id: string; productId: string; rating: number; comment?: string; author?: string }
@@ -1 +0,0 @@
1
- export interface StoreInPickUp { id: string; name: string; address: string; phone?: string }
package/types/wishlist.ts DELETED
@@ -1 +0,0 @@
1
- export interface WishlistItem { id: string; productSku: string; addedAt: string }
@@ -1,2 +0,0 @@
1
- export * from '../app/utils/errorHandler'
2
- export { default } from '../app/utils/errorHandler'
File without changes
File without changes
File without changes
File without changes
File without changes