@artisan-commerce/analytics-rn 0.3.0-canary.75 → 0.3.0-canary.77

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/bundle.d.ts CHANGED
@@ -9,7 +9,7 @@ import { Account, Vendor, Store, Catalogue, ArtisnPlatform, CurrencyCodes, Produ
9
9
  /**
10
10
  * Analytics event metadata to be included in every sent event.
11
11
  *
12
- * @interface ArtisnPlatform
12
+ * @interface AnalyticsMeta
13
13
  * @since 0.1.0
14
14
  * @property {number} accountId the id of the account it is running on
15
15
  * @property {number} vendorId the id of the active vendor
@@ -39,7 +39,7 @@ interface AnalyticsMeta {
39
39
  /**
40
40
  * Analytics supported providers.
41
41
  *
42
- * @typedef ArtisnPlatform
42
+ * @typedef SupportedProviders
43
43
  * @since 0.1.0
44
44
  */
45
45
  declare type SupportedProviders = "GOOGLE_ANALYTICS" | "FACEBOOK_PIXEL" | "SEGMENT";
@@ -3,12 +3,12 @@ import { Platform } from 'react-native';
3
3
  import { initState, getState as getState$1, setState as setState$1 } from '@artisan-commerce/state';
4
4
  import analytics from '@segment/analytics-react-native';
5
5
  import analytics$1 from '@react-native-firebase/analytics';
6
- import { getShoppingCartProducts, getShoppingCartTotal } from '@artisan-commerce/shopping-cart';
6
+ import { getShoppingCartProducts, getShoppingCartTotal } from '@artisan-commerce/shopping-cart-core';
7
7
  import { getProductTotals } from '@artisan-commerce/products';
8
8
 
9
9
  var name = "@artisan-commerce/analytics-rn";
10
10
  var description = "Artisn commerce analytics react native library";
11
- var version = "0.3.0-canary.75";
11
+ var version = "0.3.0-canary.77";
12
12
  var main = "./dist/bundle.cjs.js";
13
13
  var module = "./dist/bundle.esm.js";
14
14
  var types = "./dist/bundle.d.ts";
@@ -42,10 +42,10 @@ var dependencies = {
42
42
  "snake-case": "^3.0.4"
43
43
  };
44
44
  var devDependencies = {
45
- "@artisan-commerce/products": "0.9.0-canary.48",
46
- "@artisan-commerce/shopping-cart": "0.12.0-canary.71",
47
- "@artisan-commerce/state": "0.3.0-canary.8",
48
- "@artisan-commerce/types": "0.14.0-canary.37",
45
+ "@artisan-commerce/products": "0.9.0-canary.50",
46
+ "@artisan-commerce/shopping-cart-core": "0.12.0-canary.73",
47
+ "@artisan-commerce/state": "0.3.0-canary.9",
48
+ "@artisan-commerce/types": "0.14.0-canary.38",
49
49
  "@babel/core": "^7.13.15",
50
50
  "@babel/preset-env": "^7.10.4",
51
51
  "@babel/preset-react": "^7.10.4",
@@ -59,7 +59,7 @@ var devDependencies = {
59
59
  };
60
60
  var peerDependencies = {
61
61
  "@artisan-commerce/products": "*",
62
- "@artisan-commerce/shopping-cart": "*",
62
+ "@artisan-commerce/shopping-cart-core": "*",
63
63
  "@artisan-commerce/state": "*",
64
64
  "@react-native-firebase/analytics": "*",
65
65
  "@react-native-firebase/app": "*",
@@ -86,7 +86,7 @@ var nx = {
86
86
  }
87
87
  }
88
88
  };
89
- var gitHead = "25af34fd4c25f1d34cf09358c0bb82b43da946ab";
89
+ var gitHead = "3ae7512fd09b7e59227b159b7e0e3853964a03c0";
90
90
  var packageJSON = {
91
91
  name: name,
92
92
  description: description,