@artisan-commerce/analytics-rn 0.3.0-canary.126 → 0.3.0-canary.130
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 +2 -1
- package/dist/bundle.mjs +2 -104
- package/package.json +6 -6
package/dist/bundle.d.ts
CHANGED
|
@@ -5472,4 +5472,5 @@ declare const events: {
|
|
|
5472
5472
|
*/
|
|
5473
5473
|
declare const updateActiveVendor: (vendor: Vendor | Vendor["id"] | -1 | undefined) => void;
|
|
5474
5474
|
|
|
5475
|
-
export {
|
|
5475
|
+
export { Gtag, Providers, events, initAnalytics, updateActiveVendor };
|
|
5476
|
+
export type { AnalyticsMeta, AuthProviderMethods, FacebookConversionsApiConfig, FacebookPixelCommonEventParams, FacebookPixelCustomEventParams, FacebookPixelProvider, FacebookPixelProviderConfig, GoogleAnalyticsCommonEventParams, GoogleAnalyticsCustomEventParams, GoogleAnalyticsProvider, GoogleAnalyticsProviderConfig, InitAnalyticsConfig, InitAnalyticsConfigMeta, SupportedProviders };
|
package/dist/bundle.mjs
CHANGED
|
@@ -51,111 +51,9 @@ const _State = class {
|
|
|
51
51
|
let State$1 = _State;
|
|
52
52
|
State$1._instance = null;
|
|
53
53
|
|
|
54
|
-
var
|
|
55
|
-
var description = "Artisn commerce analytics react native library";
|
|
56
|
-
var version = "0.3.0-canary.126";
|
|
57
|
-
var type = "module";
|
|
58
|
-
var main = "./dist/bundle.mjs";
|
|
59
|
-
var module = "./dist/bundle.mjs";
|
|
60
|
-
var types = "./dist/bundle.d.ts";
|
|
61
|
-
var files = [
|
|
62
|
-
"dist"
|
|
63
|
-
];
|
|
64
|
-
var sideEffects = false;
|
|
65
|
-
var scripts = {
|
|
66
|
-
compile: "rollup -c",
|
|
67
|
-
dev: "yarn compile -w",
|
|
68
|
-
clean: "rimraf dist",
|
|
69
|
-
prebuild: "yarn clean",
|
|
70
|
-
build: "yarn compile",
|
|
71
|
-
test: "echo --skip",
|
|
72
|
-
"test:all": "echo --skip",
|
|
73
|
-
"test:ci": "echo --skip",
|
|
74
|
-
"test:staged": "echo --skip",
|
|
75
|
-
"check-types": "tsc --noEmit",
|
|
76
|
-
lint: "eslint --ignore-path .gitignore --ignore-pattern !cypress/.eslintrc.cjs --ext .js,jsx,.ts,.tsx .",
|
|
77
|
-
"lint:staged": "yarn lint --max-warnings=0",
|
|
78
|
-
prettier: "prettier --ignore-path .gitignore \"**/*.+(js|jsx|ts|tsx|json|css|scss|html)\"",
|
|
79
|
-
format: "yarn prettier --write",
|
|
80
|
-
"check-format": "yarn prettier --list-different",
|
|
81
|
-
validate: "cross-env CI=true npm-run-all --parallel test:ci check-types check-format lint build",
|
|
82
|
-
"validate:ci": "npm-run-all --parallel check-types check-format lint",
|
|
83
|
-
prepare: "yarn build"
|
|
84
|
-
};
|
|
85
|
-
var author = "Luis Eduardo Andrade";
|
|
86
|
-
var license = "MIT";
|
|
87
|
-
var dependencies = {
|
|
88
|
-
"snake-case": "^3.0.4"
|
|
89
|
-
};
|
|
90
|
-
var devDependencies = {
|
|
91
|
-
"@artisan-commerce/products": "0.9.0-canary.74",
|
|
92
|
-
"@artisan-commerce/shopping-cart-core": "0.12.0-canary.110",
|
|
93
|
-
"@artisan-commerce/state": "0.3.0-canary.23",
|
|
94
|
-
"@artisan-commerce/types": "0.14.0-canary.51",
|
|
95
|
-
"@babel/core": "^7.13.15",
|
|
96
|
-
"@babel/preset-env": "^7.10.4",
|
|
97
|
-
"@babel/preset-react": "^7.10.4",
|
|
98
|
-
"@react-native-async-storage/async-storage": "^1.17.11",
|
|
99
|
-
"@react-native-firebase/analytics": "^12.8.0",
|
|
100
|
-
"@react-native-firebase/app": "^12.8.0",
|
|
101
|
-
"@segment/analytics-react-native": "^2.13.1",
|
|
102
|
-
"@segment/sovran-react-native": "^0.4.5",
|
|
103
|
-
"babel-preset-expo": "^8.3.0",
|
|
104
|
-
"jest-expo": "^40.0.2",
|
|
105
|
-
"react-native": "0.63.2",
|
|
106
|
-
"react-native-fbsdk-next": "11.2.1"
|
|
107
|
-
};
|
|
108
|
-
var peerDependencies = {
|
|
109
|
-
"@artisan-commerce/products": "*",
|
|
110
|
-
"@artisan-commerce/shopping-cart-core": "*",
|
|
111
|
-
"@artisan-commerce/state": "*",
|
|
112
|
-
"@react-native-async-storage/async-storage": "*",
|
|
113
|
-
"@react-native-firebase/analytics": "*",
|
|
114
|
-
"@react-native-firebase/app": "*",
|
|
115
|
-
"@segment/analytics-react-native": "*",
|
|
116
|
-
"@segment/sovran-react-native": "*",
|
|
117
|
-
react: ">=16.8.6",
|
|
118
|
-
"react-native-fbsdk-next": "*"
|
|
119
|
-
};
|
|
120
|
-
var nx = {
|
|
121
|
-
targets: {
|
|
122
|
-
build: {
|
|
123
|
-
outputs: [
|
|
124
|
-
"{projectRoot}/dist"
|
|
125
|
-
]
|
|
126
|
-
},
|
|
127
|
-
compile: {
|
|
128
|
-
outputs: [
|
|
129
|
-
"{projectRoot}/dist"
|
|
130
|
-
]
|
|
131
|
-
},
|
|
132
|
-
"test:all": {
|
|
133
|
-
outputs: [
|
|
134
|
-
"{projectRoot}/coverage"
|
|
135
|
-
]
|
|
136
|
-
}
|
|
137
|
-
}
|
|
138
|
-
};
|
|
139
|
-
var gitHead = "dc9c6871ee7e26d4bb2052aeff48305e7b9890f2";
|
|
54
|
+
var version = "0.3.0-canary.130";
|
|
140
55
|
var packageJSON = {
|
|
141
|
-
|
|
142
|
-
description: description,
|
|
143
|
-
version: version,
|
|
144
|
-
type: type,
|
|
145
|
-
main: main,
|
|
146
|
-
module: module,
|
|
147
|
-
types: types,
|
|
148
|
-
files: files,
|
|
149
|
-
sideEffects: sideEffects,
|
|
150
|
-
scripts: scripts,
|
|
151
|
-
author: author,
|
|
152
|
-
license: license,
|
|
153
|
-
dependencies: dependencies,
|
|
154
|
-
devDependencies: devDependencies,
|
|
155
|
-
peerDependencies: peerDependencies,
|
|
156
|
-
nx: nx,
|
|
157
|
-
gitHead: gitHead
|
|
158
|
-
};
|
|
56
|
+
version: version};
|
|
159
57
|
|
|
160
58
|
const initialState = {
|
|
161
59
|
providers: [],
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@artisan-commerce/analytics-rn",
|
|
3
3
|
"description": "Artisn commerce analytics react native library",
|
|
4
|
-
"version": "0.3.0-canary.
|
|
4
|
+
"version": "0.3.0-canary.130",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/bundle.mjs",
|
|
7
7
|
"module": "./dist/bundle.mjs",
|
|
@@ -36,10 +36,10 @@
|
|
|
36
36
|
"snake-case": "^3.0.4"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
|
-
"@artisan-commerce/products": "0.9.0-canary.
|
|
40
|
-
"@artisan-commerce/shopping-cart-core": "0.12.0-canary.
|
|
41
|
-
"@artisan-commerce/state": "0.3.0-canary.
|
|
42
|
-
"@artisan-commerce/types": "0.14.0-canary.
|
|
39
|
+
"@artisan-commerce/products": "0.9.0-canary.78",
|
|
40
|
+
"@artisan-commerce/shopping-cart-core": "0.12.0-canary.114",
|
|
41
|
+
"@artisan-commerce/state": "0.3.0-canary.27",
|
|
42
|
+
"@artisan-commerce/types": "0.14.0-canary.55",
|
|
43
43
|
"@babel/core": "^7.13.15",
|
|
44
44
|
"@babel/preset-env": "^7.10.4",
|
|
45
45
|
"@babel/preset-react": "^7.10.4",
|
|
@@ -84,5 +84,5 @@
|
|
|
84
84
|
}
|
|
85
85
|
}
|
|
86
86
|
},
|
|
87
|
-
"gitHead": "
|
|
87
|
+
"gitHead": "84bec16c67d1912b28b687ea4b1e0e422f4e5332"
|
|
88
88
|
}
|