@artisan-commerce/analytics-web 0.2.0-canary.117 → 0.2.0-canary.121

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
@@ -5786,4 +5786,5 @@ declare const identifyUser: (identify: Segment$1.Traits) => void;
5786
5786
  */
5787
5787
  declare const checkInit: () => boolean;
5788
5788
 
5789
- export { type AnalyticsMeta, type AnalyticsProvidersConfigs, type AuthProviderMethods, type FacebookConversionsApiConfig, type FacebookPixelCommonEventParams, type FacebookPixelCustomEventParams, type FacebookPixelProvider, type FacebookPixelProviderConfig, Fbq, type GoogleAnalyticsCommonEventParams, type GoogleAnalyticsCustomEventParams, type GoogleAnalyticsProvider, type GoogleAnalyticsProviderConfig, Gtag, type InitAnalyticsConfig, type InitAnalyticsConfigMeta, Providers, Segment$1 as Segment, type SegmentCommonEventParams, type SegmentCustomEventParams, type SegmentProvider, type SegmentProviderConfig, type SupportedProviders, checkInit, events, identifyUser, initAnalytics, updateActiveVendor };
5789
+ export { Fbq, Gtag, Providers, Segment$1 as Segment, checkInit, events, identifyUser, initAnalytics, updateActiveVendor };
5790
+ export type { AnalyticsMeta, AnalyticsProvidersConfigs, AuthProviderMethods, FacebookConversionsApiConfig, FacebookPixelCommonEventParams, FacebookPixelCustomEventParams, FacebookPixelProvider, FacebookPixelProviderConfig, GoogleAnalyticsCommonEventParams, GoogleAnalyticsCustomEventParams, GoogleAnalyticsProvider, GoogleAnalyticsProviderConfig, InitAnalyticsConfig, InitAnalyticsConfigMeta, SegmentCommonEventParams, SegmentCustomEventParams, SegmentProvider, SegmentProviderConfig, SupportedProviders };
package/dist/bundle.mjs CHANGED
@@ -48,89 +48,9 @@ const _State = class {
48
48
  let State$1 = _State;
49
49
  State$1._instance = null;
50
50
 
51
- var name = "@artisan-commerce/analytics-web";
52
- var description = "Artisn commerce analytics web library";
53
- var version = "0.2.0-canary.116";
54
- var type = "module";
55
- var main = "./dist/bundle.cjs";
56
- var module = "./dist/bundle.mjs";
57
- var types = "./dist/bundle.d.ts";
58
- var files = [
59
- "dist"
60
- ];
61
- var sideEffects = false;
62
- var scripts = {
63
- compile: "rollup -c && npx agadoo",
64
- dev: "yarn compile -w",
65
- clean: "rimraf dist",
66
- prebuild: "yarn clean",
67
- build: "yarn compile",
68
- test: "jest --watchAll --runInBand",
69
- "test:all": "yarn test --watchAll=false --coverage",
70
- "test:ci": "cross-env CI=true jest --runInBand",
71
- "test:staged": "yarn test:ci",
72
- "check-types": "tsc --noEmit",
73
- lint: "eslint --ignore-path .gitignore --ignore-pattern !cypress/.eslintrc.cjs --ext .js,jsx,.ts,.tsx .",
74
- "lint:staged": "yarn lint --max-warnings=0",
75
- prettier: "prettier --ignore-path .gitignore \"**/*.+(js|jsx|ts|tsx|json|css|scss|html)\"",
76
- format: "yarn prettier --write",
77
- "check-format": "yarn prettier --list-different",
78
- validate: "cross-env CI=true npm-run-all --parallel test:ci check-types check-format lint build",
79
- "validate:ci": "npm-run-all --parallel check-types check-format lint"
80
- };
81
- var author = "Luis Eduardo Andrade";
82
- var license = "MIT";
83
- var dependencies = {
84
- "snake-case": "^3.0.4"
85
- };
86
- var devDependencies = {
87
- "@artisan-commerce/products": "0.9.0-canary.73",
88
- "@artisan-commerce/shopping-cart-core": "0.12.0-canary.109",
89
- "@artisan-commerce/state": "0.3.0-canary.22",
90
- "@artisan-commerce/types": "0.14.0-canary.50"
91
- };
92
- var peerDependencies = {
93
- "@artisan-commerce/products": "*",
94
- "@artisan-commerce/shopping-cart-core": "*",
95
- "@artisan-commerce/state": "*"
96
- };
97
- var nx = {
98
- targets: {
99
- build: {
100
- outputs: [
101
- "{projectRoot}/dist"
102
- ]
103
- },
104
- compile: {
105
- outputs: [
106
- "{projectRoot}/dist"
107
- ]
108
- },
109
- "test:all": {
110
- outputs: [
111
- "{projectRoot}/coverage"
112
- ]
113
- }
114
- }
115
- };
51
+ var version = "0.2.0-canary.120";
116
52
  var packageJSON = {
117
- name: name,
118
- description: description,
119
- version: version,
120
- type: type,
121
- main: main,
122
- module: module,
123
- types: types,
124
- files: files,
125
- sideEffects: sideEffects,
126
- scripts: scripts,
127
- author: author,
128
- license: license,
129
- dependencies: dependencies,
130
- devDependencies: devDependencies,
131
- peerDependencies: peerDependencies,
132
- nx: nx
133
- };
53
+ version: version};
134
54
 
135
55
  const initialState = {
136
56
  providers: [],