flowrix 1.0.1-beta.109 → 1.0.1-beta.110

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/dist/module.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "flowrix",
3
3
  "configKey": "flowrix",
4
- "version": "1.0.1-beta.109",
4
+ "version": "1.0.1-beta.110",
5
5
  "builder": {
6
6
  "@nuxt/module-builder": "1.0.2",
7
7
  "unbuild": "3.6.1"
package/dist/module.mjs CHANGED
@@ -8,7 +8,6 @@ const module$1 = defineNuxtModule({
8
8
  defaults: {},
9
9
  async setup(_options, nuxt) {
10
10
  const env = process.env;
11
- console.log("envenvenvenvenvenvenv", env);
12
11
  const runtimeConfig = nuxt.options.runtimeConfig;
13
12
  runtimeConfig.FLOWRIX_API_KEY = env.KEY || runtimeConfig.FLOWRIX_API_KEY || "";
14
13
  runtimeConfig.FLOWRIX_API_SECRET = env.SECRET || runtimeConfig.FLOWRIX_API_SECRET || "";
@@ -18,7 +18,6 @@ export default function(inputData) {
18
18
  let shipping_method = shippingmethods.filter((method) => method.selected == true)[0];
19
19
  let deliverymethods = checkoutStore.config.preferences;
20
20
  let delivery_method = deliverymethods.filter((method) => method.selected == true)[0];
21
- console.log("delivery_method", shipping_method);
22
21
  if (delivery_method.id == 2) {
23
22
  shipping_method = {
24
23
  "id": 0,
@@ -106,7 +106,6 @@ export const useQuotationCheckout = () => {
106
106
  try {
107
107
  responseData.value = [];
108
108
  errorResponseData.value = [];
109
- console.log("Data", slug, quotationData);
110
109
  const response = await $fetch(`/api/checkout/quotation/submit/${slug}`, {
111
110
  method: "POST",
112
111
  body: quotationData
@@ -89,22 +89,22 @@ await productStore.refreshProduct()
89
89
  const productStore = useProductSlugStore()
90
90
 
91
91
  // Check if product exists
92
- console.log(productStore.hasProduct)
92
+ // console.log(productStore.hasProduct)
93
93
 
94
94
  // Get product name safely
95
- console.log(productStore.productName)
95
+ // console.log(productStore.productName)
96
96
 
97
97
  // Check if product has discount
98
- console.log(productStore.hasDiscount)
98
+ // console.log(productStore.hasDiscount)
99
99
 
100
100
  // Check loading state
101
- console.log(productStore.isProductLoading)
101
+ // console.log(productStore.isProductLoading)
102
102
 
103
103
  // Get error message
104
- console.log(productStore.productError)
104
+ // console.log(productStore.productError)
105
105
 
106
106
  // Check if product is valid
107
- console.log(productStore.isValidProduct)
107
+ // console.log(productStore.isValidProduct)
108
108
  ```
109
109
 
110
110
  ## API Endpoint Format
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "flowrix",
3
- "version": "1.0.1-beta.109",
3
+ "version": "1.0.1-beta.110",
4
4
  "description": "Plug-and-play Nuxt eCommerce cart powered by FLOWRiX. Subscription required.",
5
5
  "license": "MIT",
6
6
  "type": "module",