@artisan-commerce/analytics-rn 0.1.1-canary.6 → 0.1.1-canary.7
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/CHANGELOG.md +8 -0
- package/build/main.bundle.js +1 -1
- package/build/report.json +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,14 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
### [0.1.1-canary.7](https://bitbucket.org/tradesystem/artisan_monorepo/compare/@artisan-commerce/analytics-rn@0.1.1-canary.6...@artisan-commerce/analytics-rn@0.1.1-canary.7) (2021-04-14)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @artisan-commerce/analytics-rn
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
6
14
|
### [0.1.1-canary.6](https://bitbucket.org/tradesystem/artisan_monorepo/compare/@artisan-commerce/analytics-rn@0.1.1-canary.5...@artisan-commerce/analytics-rn@0.1.1-canary.6) (2021-04-14)
|
|
7
15
|
|
|
8
16
|
**Note:** Version bump only for package @artisan-commerce/analytics-rn
|
package/build/main.bundle.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("react-native"),require("@react-native-firebase/analytics")):"function"==typeof define&&define.amd?define("analytics-rn",["react-native","@react-native-firebase/analytics"],e):"object"==typeof exports?exports["analytics-rn"]=e(require("react-native"),require("@react-native-firebase/analytics")):t["analytics-rn"]=e(t["react-native"],t["@react-native-firebase/analytics"])}(this,(function(t,e){return function(t){var e={};function r(n){if(e[n])return e[n].exports;var o=e[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=t,r.c=e,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)r.d(n,o,function(e){return t[e]}.bind(null,o));return n},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s=13)}([function(e,r){e.exports=t},function(t,e,r){"use strict";var n=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0}),e.setState=e.getState=e.setInitialState=void 0;var o=r(0),i=r(9),u=r(9),a=r(9),s=n(r(11)),c={providers:[],activeVendor:void 0,vendors:[],debug:!1,meta:{accountId:void 0,vendorId:void 0,vendorName:void 0,storeId:void 0,storeName:void 0,catalogueId:void 0,catalogueName:void 0,appName:void 0,platform:o.Platform.OS,versionApp:void 0,versionSDK:s.default.version}};e.setInitialState=function(){i.initState(c)};e.getState=function(){return u.getState()};e.setState=function(t){return a.setState(t)}},function(t,e,r){"use strict";var n=this&&this.__assign||function(){return(n=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var o in e=arguments[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0}),e.eventParamsToSnakeCase=void 0;var o=r(66);e.eventParamsToSnakeCase=function(t){return Object.entries(t).reduce((function(t,e){var r,i=e[0],u=e[1],a=o.snakeCase(i);return n(n({},t),((r={})[a]=u,r))}),{})}},function(t,e,r){"use strict";t.exports=r(40)},function(t,r){t.exports=e},function(t,e,r){"use strict";t.exports={get ShareOpenGraphAction(){return r(27)},get ShareOpenGraphObject(){return r(28)},get ShareOpenGraphValueContainer(){return r(10)},get AccessToken(){return r(29)},get AppEventsLogger(){return r(30)},get AppLink(){return r(31)},get GameRequestDialog(){return r(32)},get GraphRequest(){return r(33)},get GraphRequestManager(){return r(34)},get LoginManager(){return r(35)},get MessageDialog(){return r(36)},get Settings(){return r(37)},get ShareDialog(){return r(38)},get LoginButton(){return r(39)},get SendButton(){return r(42)},get ShareButton(){return r(43)}}},function(t,e,r){"use strict";var n=this&&this.__assign||function(){return(n=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var o in e=arguments[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)},o=this&&this.__spreadArray||function(t,e){for(var r=0,n=e.length,o=t.length;r<n;r++,o++)t[o]=e[r];return t};Object.defineProperty(e,"__esModule",{value:!0}),e.mapProductToGoogleItem=e.mapProductsToGoogleItems=e.getProductContent=e.getProductContentFromShoppingCart=e.getProductIdsFromShoppingCart=e.triageEventToProviders=void 0;var i=r(44),u=r(45),a=r(7),s=r(1),c=r(46);e.triageEventToProviders=function(t,e,r){var i=r.facebookPixelHandler,u=r.googleAnalyticsHandler,f=s.getState().providers,l=n(n({},e),{artisanEvent:t}),h=f.reduce((function(e,r){if(c.skipVendor(t,r))return e;switch(r.type){case"FACEBOOK_PIXEL":i(r,l);break;case"GOOGLE_ANALYTICS":u(r,l);break;default:throw new Error("Provider of type "+r.type+" is not supported")}return o(o([],e),[r])}),[]);a.eventSent(t,h)};e.getProductIdsFromShoppingCart=function(t){return i.getShoppingCartProducts(t).map((function(t){return t.productId}))};e.getProductContentFromShoppingCart=function(t){return i.getShoppingCartProducts(t).map((function(t){return e.getProductContent(t)}))};e.getProductContent=function(t){var e=u.getProductTotals(t);return t.name+":"+e.netPrice};e.mapProductsToGoogleItems=function(t,r){return i.getShoppingCartProducts(t).map((function(t){return e.mapProductToGoogleItem(t,r)}))};e.mapProductToGoogleItem=function(t,e){var r=u.getProductTotals(t);return{item_id:t.productId,item_name:t.name,quantity:t.amount,price:r.netPrice,currency:e}}},function(t,e,r){"use strict";var n=this&&this.__assign||function(){return(n=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var o in e=arguments[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)},o=this&&this.__spreadArray||function(t,e){for(var r=0,n=e.length,o=t.length;r<n;r++,o++)t[o]=e[r];return t};Object.defineProperty(e,"__esModule",{value:!0}),e.logProviderConfigUpdated=e.logProvidersSDKNotLoaded=e.eventSent=e.vendorNotIncluded=e.noActiveVendor=e.logMessage=void 0;var i=r(1);e.logMessage=function(t,e){var r=i.getState().debug,n="artisan-commerce/analytics";if("debug"!==e||r)switch(e){case"debug":console.log("%c(Debug) %c"+n+":\n"+t,"font-weight: bold","font-weight: normal");break;case"log":console.log("%c(Log) %c"+n+":\n"+t,"font-weight: bold","font-weight: normal");break;case"warn":console.warn("%c(Warning) %c"+n+":\n"+t,"font-weight: bold","font-weight: normal");break;case"error":console.error("%c(Error) %c"+n+":\n"+t,"font-weight: bold","font-weight: normal");break;case"severe":throw new Error(n+": \n"+t);default:throw new Error("Log message "+t+" of type "+e+" is not a supported type.")}};e.noActiveVendor=function(){e.logMessage("No active vendor is set. Please make sure you configure an active vendor before trying to emit an event","warn")};e.vendorNotIncluded=function(t,r){var n=i.getState().activeVendor;e.logMessage("Skipping vendor "+n+" for event "+t+" of provider "+r.name+" as configured","debug")};e.eventSent=function(t,r){var i=r.reduce((function(t,e){var r,i,u=e.name,a=e.type,s=null!==(i=t[a])&&void 0!==i?i:[];return n(n({},t),((r={})[a]=o(o([],s),[u]),r))}),{}),u=Object.entries(i).reduce((function(t,e){var r=e[0],n=e[1];return""+t+(r.charAt(0).toUpperCase()+r.slice(1))+": "+n.join(", ")+"\n"}),"");e.logMessage("Event "+t+" was successfully sent to the following providers "+u,"debug")};e.logProvidersSDKNotLoaded=function(t){e.logMessage(t+" SDK not initialized. Please make sure the SDK is initialized before trying to emit an event","severe")};e.logProviderConfigUpdated=function(t,r){var n=Object.entries(r).reduce((function(t,e,r){var n=e[0],o=e[1];return 0===r?n+": "+o:t+"\n"+n+": "+o}),"");e.logMessage(t.name+" config updated for the following fields.\n "+n,"debug")}},function(t,e){t.exports=function(t){if(!t.webpackPolyfill){var e=Object.create(t);e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),Object.defineProperty(e,"exports",{enumerable:!0}),e.webpackPolyfill=1}return e}},function(t,e,r){"use strict";t.exports=function(t){var e={};function r(n){if(e[n])return e[n].exports;var o=e[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=t,r.c=e,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)r.d(n,o,function(e){return t[e]}.bind(null,o));return n},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s=1)}([,function(t,e,r){r.r(e),r.d(e,"initState",(function(){return i})),r.d(e,"getState",(function(){return a})),r.d(e,"setState",(function(){return u}));var n=function(){return(n=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var o in e=arguments[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)},o={},i=function(t){Object.freeze(t),o=n({},t),Object.seal(o)},u=function(t){o=n(n({},o),t)},a=function(){return n({},o)}}])},function(t,e,r){"use strict";t.exports=class{constructor(t){var e,r,n;n=void 0,(r="_properties")in(e=this)?Object.defineProperty(e,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[r]=n,this._properties=t||{}}putNumber(t,e){this._properties[t]={type:"number",value:e}}putObject(t,e){this._properties[t]={type:"open-graph-object",value:e}}putPhoto(t,e){this._properties[t]={type:"photo",value:e}}putString(t,e){this._properties[t]={type:"string",value:e}}getEntry(t){return this._properties[t]}}},function(t){t.exports=JSON.parse('{"name":"@artisan-commerce/analytics-rn","description":"Artisan commerce analytics react native library","version":"0.1.1-canary.6","main":"./build/main.bundle.js","types":"./build/index.d.ts","files":["build/","LICENSE","README.md"],"scripts":{"start":"webpack --config webpack.dev.js","dev":"webpack --watch --config webpack.dev.js","build":"webpack --config webpack.prod.js","start:build":"nodemon ./build/main.bundle.js","test":"jest --watchAll --runInBand --passWithNoTests","test:all":"yarn test -- --watchAll=false --coverage","test:ci":"cross-env CI=true jest --runInBand --passWithNoTests","test:staged":"yarn test:ci --findRelatedTests ./src","check-types":"tsc --noEmit","lint":"eslint --ignore-path .gitignore --ignore-pattern !cypress/.eslintrc.js --ext .js,jsx,.ts,.tsx .","lint:staged":"yarn lint --max-warnings=0","prettier":"prettier --ignore-path .gitignore \\"**/*.+(js|jsx|ts|tsx|json|css|scss|html)\\"","format":"yarn prettier -- --write","check-format":"yarn prettier -- --list-different","validate":"cross-env CI=true npm-run-all --parallel test:ci check-types check-format lint build","validate:ci":"npm-run-all --parallel check-types check-format lint","prepare":"yarn build"},"author":"Luis Eduardo Andrade","license":"MIT","devDependencies":{"@artisan-commerce/types":"0.13.0-canary.4","@babel/core":"^7.13.15","@babel/preset-env":"^7.10.4","@babel/preset-react":"^7.10.4","@react-native-firebase/analytics":"^11.2.0","@react-native-firebase/app":"^11.2.0","@types/faker":"^4.1.12","@types/jest":"^26.0.5","@types/jest-in-case":"^1.0.2","@types/node":"^14.0.24","@types/react-native":"0.63.2","@typescript-eslint/eslint-plugin":"^4.15.2","@typescript-eslint/parser":"^4.15.2","avn":"^0.2.4","avn-nvm":"^0.2.2","babel-preset-expo":"^8.3.0","clean-webpack-plugin":"^3.0.0","cross-env":"^7.0.2","dotenv-webpack":"^2.0.0","env-cmd":"^10.1.0","eslint":"^7.5.0","eslint-config-prettier":"^6.11.0","eslint-config-react-app":"^5.2.1","eslint-config-universe":"^4.0.0","eslint-plugin-cypress":"^2.11.1","eslint-plugin-flowtype":"^5.2.0","eslint-plugin-import":"^2.22.0","eslint-plugin-jsx-a11y":"^6.3.1","eslint-plugin-react":"^7.20.3","eslint-plugin-react-hooks":"^4.0.8","is-ci-cli":"^2.1.2","jest-axe":"^3.5.0","jest-expo":"^40.0.2","jest-in-case":"^1.0.2","jest-styled-components":"^7.0.2","nodemon":"^2.0.4","npm-run-all":"^4.1.5","prettier":"^2.0.5","react":"16.13.1","react-native":"0.63.2","react-native-fbsdk":"^3.0.0","start-server-and-test":"^1.11.2","test-data-bot":"^0.8.0","ts-jest":"^26.1.4","ts-loader":"^8.0.2","webpack":"^4.43.0","webpack-bundle-analyzer":"^4.4.0","webpack-cli":"^3.3.12","webpack-dev-server":"^3.11.0","webpack-merge":"^5.0.9","webpack-node-externals":"^2.5.2"},"peerDependencies":{"@react-native-firebase/app":"*","react":">= 16.8.6","react-native-fbsdk":"*"},"gitHead":"385056de16fef8d960cf7e9344ee9b9fef6acfa0"}')},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(7),o=r(1),i=function(){function t(t){var e=t.type,r=t.name,n=t.vendors;this.type=e,this.name=r,this._vendors=n}return Object.defineProperty(t.prototype,"vendors",{get:function(){var t,e=o.getState().vendors;return null!==(t=this._vendors)&&void 0!==t?t:e},enumerable:!1,configurable:!0}),t.prototype.updateConfig=function(t){n.logProviderConfigUpdated(this,t)},t}();e.default=i},function(t,e,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(t,e,r,n){void 0===n&&(n=r),Object.defineProperty(t,n,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,n){void 0===n&&(n=r),t[n]=e[r]}),o=this&&this.__exportStar||function(t,e){for(var r in t)"default"===r||Object.prototype.hasOwnProperty.call(e,r)||n(e,t,r)},i=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0}),e.events=e.Providers=void 0;var u=r(1),a=i(r(14));e.Providers=a.default,o(r(17),e),o(r(19),e),o(r(20),e),o(r(21),e);var s=r(22);Object.defineProperty(e,"events",{enumerable:!0,get:function(){return i(s).default}}),o(r(65),e),u.setInitialState()},function(t,e,r){"use strict";var n=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var o=n(r(15)),i=n(r(16)),u={FacebookPixel:o.default,GoogleAnalytics:i.default};e.default=u},function(t,e,r){"use strict";var n,o=this&&this.__extends||(n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),i=this&&this.__assign||function(){return(i=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var o in e=arguments[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)},u=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var a=function(t){function e(e){var r=this,n=e.version,o=e.currency;return(r=t.call(this,i(i({},e),{type:"FACEBOOK_PIXEL"}))||this)._version=null!=n?n:"10.0",r._currency=null!=o?o:"USD",r}return o(e,t),Object.defineProperty(e.prototype,"version",{get:function(){return this._version},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"currency",{get:function(){return this._currency},enumerable:!1,configurable:!0}),e.prototype.updateConfig=function(e){void 0===e&&(e={});var r=Object.entries(e).filter((function(t){return void 0!==t[1]})).map((function(t){return t[0]})),n=e.currency;r.includes("currency")&&(this._currency=n),t.prototype.updateConfig.call(this,e)},e}(u(r(12)).default);e.default=a},function(t,e,r){"use strict";var n,o=this&&this.__extends||(n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),i=this&&this.__assign||function(){return(i=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var o in e=arguments[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)},u=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var a=function(t){function e(e){var r=t.call(this,i(i({},e),{type:"GOOGLE_ANALYTICS"}))||this,n=e.userId,o=e.currency,u=e.language,a=e.sampleRate;return r._sampleRate=a,r._userId=n,r._language=u,r._currency=null!=o?o:"USD",r}return o(e,t),Object.defineProperty(e.prototype,"sampleRate",{get:function(){return this._sampleRate},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"userId",{get:function(){return this._userId},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"language",{get:function(){return this._language},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"currency",{get:function(){return this._currency},enumerable:!1,configurable:!0}),e.prototype.updateConfig=function(e){void 0===e&&(e={});var r=Object.entries(e).filter((function(t){return void 0!==t[1]})).map((function(t){return t[0]})),n=e.userId,o=e.currency,i=e.language;r.includes("userId")&&(this._userId=n),r.includes("currency")&&(this._currency=o),r.includes("language")&&(this._language=i),t.prototype.updateConfig.call(this,e)},e}(u(r(12)).default);e.default=a},function(t,e,r){"use strict";var n=this&&this.__assign||function(){return(n=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var o in e=arguments[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)},o=this&&this.__rest||function(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(t);o<n.length;o++)e.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(t,n[o])&&(r[n[o]]=t[n[o]])}return r},i=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0}),e.initAnalytics=void 0;var u=r(0),a=r(1),s=r(7),c=i(r(11)),f=r(18),l=!1;e.initAnalytics=function(t){if(l)s.logMessage("initAnalytics has been called more than once. This behaviour will very likely result in unexpected outcomes so its call was skipped. Please make sure initAnalytics is only called once.","warn");else{l=!0;var e=t.providers;if(!e.length)return s.logMessage("At least one provider should be included but none were found","severe");if(!f.checkUniqueProvider(e))return s.logMessage("Providers must be unique, check that no provider are repeated","severe");var r=t.meta,i=o(t,["meta"]),h=n(n({},i),{providers:e,meta:n(n({},r),{vendorId:i.activeVendor,platform:u.Platform.OS,versionSDK:c.default.version})});a.setState(h),e.forEach((function(t){t.init()}))}}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.checkUniqueProvider=void 0;e.checkUniqueProvider=function(t){var e=t.map((function(t){return t.type}));return new Set(e).size===e.length}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0})},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0})},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0})},function(t,e,r){"use strict";var n=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var o={auth:n(r(23)).default};e.default=o},function(t,e,r){"use strict";var n=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var o=n(r(24)),i=n(r(47)),u=n(r(50)),a=n(r(53)),s=n(r(56)),c=n(r(59)),f=n(r(62)),l={logChangePasswordAttempt:o.default,logSignUpAttempt:i.default,logChangePasswordFail:u.default,logChangePasswordSuccess:a.default,logSignIn:s.default,logSignOut:c.default,logSignUp:f.default};e.default=l},function(t,e,r){"use strict";var n=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var o=n(r(25)),i=n(r(26)),u=r(6);e.default=function(t){u.triageEventToProviders("changePasswordAttempt",t,{googleAnalyticsHandler:o.default,facebookPixelHandler:i.default})}},function(t,e,r){"use strict";var n=this&&this.__assign||function(){return(n=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var o in e=arguments[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)},o=this&&this.__rest||function(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(t);o<n.length;o++)e.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(t,n[o])&&(r[n[o]]=t[n[o]])}return r},i=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var u=i(r(4)),a=r(2),s=r(1);e.default=function(t,e){var r=t.userId,i=(e.callback,e.userId),c=o(e,["callback","userId"]),f=null!=i?i:r,l=n(n({},c),{userId:f}),h=a.eventParamsToSnakeCase(l),p=s.getState().meta,d=a.eventParamsToSnakeCase(p);u.default().logEvent("change_password_attempt",n(n({},h),d))}},function(t,e,r){"use strict";var n=this&&this.__assign||function(){return(n=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var o in e=arguments[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)},o=this&&this.__rest||function(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(t);o<n.length;o++)e.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(t,n[o])&&(r[n[o]]=t[n[o]])}return r};Object.defineProperty(e,"__esModule",{value:!0});var i=r(5),u=r(2),a=r(1);e.default=function(t,e){var r=o(e,[]);delete r.userId;var s=n({},r),c=u.eventParamsToSnakeCase(s),f=a.getState().meta,l=u.eventParamsToSnakeCase(f);i.AppEventsLogger.logEvent("ChangePasswordAttempt",n(n({},c),l))}},function(t,e,r){"use strict";const n=r(10);t.exports=class extends n{constructor(t){var e,r,n;super(null),n=void 0,(r="actionType")in(e=this)?Object.defineProperty(e,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[r]=n,this.actionType=t}}},function(t,e,r){"use strict";const n=r(10);t.exports=class extends n{}},function(t,e,r){"use strict";function n(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}const o=r(0).NativeModules.FBAccessToken,i=new(0,r(0).NativeEventEmitter)(o);class u{constructor(t){n(this,"accessToken",void 0),n(this,"permissions",void 0),n(this,"declinedPermissions",void 0),n(this,"expiredPermissions",void 0),n(this,"applicationID",void 0),n(this,"userID",void 0),n(this,"expirationTime",void 0),n(this,"lastRefreshTime",void 0),n(this,"dataAccessExpirationTime",void 0),n(this,"accessTokenSource",void 0),this.accessToken=t.accessToken,this.permissions=t.permissions,this.declinedPermissions=t.declinedPermissions,this.expiredPermissions=t.expiredPermissions,this.applicationID=t.applicationID,this.userID=t.userID,this.expirationTime=t.expirationTime,this.lastRefreshTime=t.lastRefreshTime,this.dataAccessExpirationTime=t.dataAccessExpirationTime,this.accessTokenSource=t.accessTokenSource,Object.freeze(this)}static getCurrentAccessToken(){return new Promise((t,e)=>{o.getCurrentAccessToken(e=>{t(e?new u(e):null)})})}static setCurrentAccessToken(t){o.setCurrentAccessToken(t)}static refreshCurrentAccessTokenAsync(){return o.refreshCurrentAccessTokenAsync()}static addListener(t){const e=i.addListener("fbsdk.accessTokenDidChange",e=>{t(e?new u(e):null)});return()=>e.remove()}getExpires(){return this.expirationTime}getPermissions(){return this.permissions}getDeclinedPermissions(){return this.declinedPermissions}getExpiredPermissions(){return this.expiredPermissions}getLastRefresh(){return this.lastRefreshTime}getDataAccessExpiration(){return this.dataAccessExpirationTime}getApplicationId(){return this.applicationID}getUserId(){return this.userID}}t.exports=u},function(t,e,r){"use strict";const n=r(0).NativeModules.FBAppEventsLogger,{Platform:o}=r(0);t.exports={setFlushBehavior(t){n.setFlushBehavior(t)},logEvent(t,...e){let r=0;"number"==typeof e[0]&&(r=e.shift());let o=null;"object"==typeof e[0]&&(o=e[0]),n.logEvent(t,r,o)},logPurchase(t,e,r){n.logPurchase(t,e,r)},logPushNotificationOpen(t){n.logPushNotificationOpen(t)},flush(){n.flush()},setUserID(t){n.setUserID(t)},getUserID:async()=>await n.getUserID(),getAnonymousID:async()=>await n.getAnonymousID(),getAdvertiserID:async()=>await n.getAdvertiserID(),getAttributionID:async()=>"ios"===o.OS?null:await n.getAttributionID(),updateUserProperties(t){n.updateUserProperties(t)},setUserData(t){n.setUserData(t)},setPushNotificationsDeviceToken(t){n.setPushNotificationsDeviceToken(t)},setPushNotificationsRegistrationId(t){n.setPushNotificationsRegistrationId(t)}}},function(t,e,r){"use strict";const n=r(0).NativeModules.FBAppLink;t.exports={fetchDeferredAppLink:()=>n.fetchDeferredAppLink()}},function(t,e,r){"use strict";const n=r(0).NativeModules.FBGameRequestDialog;t.exports={canShow:()=>n.canShow(),show:t=>n.show(t)}},function(t,e,r){"use strict";function n(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}t.exports=class{constructor(t,e,r){n(this,"graphPath",void 0),n(this,"config",void 0),n(this,"callback",void 0),this.graphPath=t,this.config=e||{},this.callback=r||(()=>{})}addStringParameter(t,e){null!=this.config&&null!=this.config.parameters&&(this.config.parameters[e]={string:t})}}},function(t,e,r){"use strict";function n(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}const o=r(0).NativeModules.FBGraphRequest;t.exports=class{constructor(){n(this,"requestBatch",void 0),n(this,"requestCallbacks",void 0),n(this,"batchCallback",void 0),this.requestBatch=[],this.requestCallbacks=[]}addRequest(t){return function(t){if(t.config&&t.config.parameters)for(var e in t.config.parameters){var r=t.config.parameters[e];if("object"!=typeof r||!r.string)throw new Error("Unexpected value for parameter '"+e+"'. Request parameters need to be objects with a 'string' field.")}}(t),this.requestBatch.push(t),this.requestCallbacks.push(t.callback),this}addBatchCallback(t){return this.batchCallback=t,this}start(t){const e=this;o.start(this.requestBatch,t||0,(t,r,n)=>{n&&e.requestCallbacks.forEach((t,e,r)=>{t&&t(n[e][0],n[e][1])}),e.batchCallback&&e.batchCallback(t,r)})}}},function(t,e,r){"use strict";const{NativeModules:n,Platform:o}=r(0),i=n.FBLoginManager;t.exports={logInWithPermissions:t=>i.logInWithPermissions(t),getLoginBehavior:()=>"ios"===o.OS?Promise.resolve("browser"):i.getLoginBehavior(),setLoginBehavior(t){"ios"!==o.OS&&i.setLoginBehavior(t)},getDefaultAudience:()=>i.getDefaultAudience(),setDefaultAudience(t){i.setDefaultAudience(t)},logOut(){i.logOut()}}},function(t,e,r){"use strict";const n=r(0).NativeModules.FBMessageDialog;t.exports={canShow:t=>n.canShow(t),show:t=>n.show(t),setShouldFailOnDataError(t){n.setShouldFailOnDataError(t)}}},function(t,e,r){"use strict";r.r(e),function(t){var e=r(0);const n=r(0).NativeModules.FBSettings;t.exports={getAdvertiserTrackingEnabled:()=>"ios"===e.Platform.OS?n.getAdvertiserTrackingEnabled():Promise.resolve(!0),setAdvertiserTrackingEnabled:t=>"ios"===e.Platform.OS?n.setAdvertiserTrackingEnabled(t):Promise.resolve(!1),setDataProcessingOptions(t,...e){let r=0;"number"==typeof e[0]&&(r=e[0]);let o=0;"number"==typeof e[1]&&(o=e[1]),n.setDataProcessingOptions(t,r,o)}}}.call(this,r(8)(t))},function(t,e,r){"use strict";const n=r(0).NativeModules.FBShareDialog;t.exports={canShow:t=>n.canShow(t),show:t=>n.show(t),setMode(t){n.setMode(t)},setShouldFailOnDataError(t){n.setShouldFailOnDataError(t)}}},function(t,e,r){"use strict";r.r(e),function(t){var e,n,o,i=r(3),u=r(0);function a(){return(a=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}class s extends i.Component{_eventHandler(t){const e=t.nativeEvent;"loginFinished"===e.type?this.props.onLoginFinished&&this.props.onLoginFinished(e.error,e.result):"logoutFinished"===e.type&&this.props.onLogoutFinished&&this.props.onLogoutFinished()}render(){return i.createElement(f,a({},this.props,{onChange:this._eventHandler.bind(this)}))}}o=void 0,(n="defaultProps")in(e=s)?Object.defineProperty(e,n,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[n]=o;const c=u.StyleSheet.create({defaultButtonStyle:{height:30,width:190}});s.defaultProps={style:c.defaultButtonStyle};const f=Object(u.requireNativeComponent)("RCTFBLoginButton");t.exports=s}.call(this,r(8)(t))},function(t,e,r){"use strict";
|
|
1
|
+
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("react-native"),require("@react-native-firebase/analytics")):"function"==typeof define&&define.amd?define("analytics-rn",["react-native","@react-native-firebase/analytics"],e):"object"==typeof exports?exports["analytics-rn"]=e(require("react-native"),require("@react-native-firebase/analytics")):t["analytics-rn"]=e(t["react-native"],t["@react-native-firebase/analytics"])}(this,(function(t,e){return function(t){var e={};function r(n){if(e[n])return e[n].exports;var o=e[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=t,r.c=e,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)r.d(n,o,function(e){return t[e]}.bind(null,o));return n},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s=13)}([function(e,r){e.exports=t},function(t,e,r){"use strict";var n=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0}),e.setState=e.getState=e.setInitialState=void 0;var o=r(0),i=r(9),u=r(9),a=r(9),s=n(r(11)),c={providers:[],activeVendor:void 0,vendors:[],debug:!1,meta:{accountId:void 0,vendorId:void 0,vendorName:void 0,storeId:void 0,storeName:void 0,catalogueId:void 0,catalogueName:void 0,appName:void 0,platform:o.Platform.OS,versionApp:void 0,versionSDK:s.default.version}};e.setInitialState=function(){i.initState(c)};e.getState=function(){return u.getState()};e.setState=function(t){return a.setState(t)}},function(t,e,r){"use strict";var n=this&&this.__assign||function(){return(n=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var o in e=arguments[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0}),e.eventParamsToSnakeCase=void 0;var o=r(66);e.eventParamsToSnakeCase=function(t){return Object.entries(t).reduce((function(t,e){var r,i=e[0],u=e[1],a=o.snakeCase(i);return n(n({},t),((r={})[a]=u,r))}),{})}},function(t,e,r){"use strict";t.exports=r(40)},function(t,r){t.exports=e},function(t,e,r){"use strict";t.exports={get ShareOpenGraphAction(){return r(27)},get ShareOpenGraphObject(){return r(28)},get ShareOpenGraphValueContainer(){return r(10)},get AccessToken(){return r(29)},get AppEventsLogger(){return r(30)},get AppLink(){return r(31)},get GameRequestDialog(){return r(32)},get GraphRequest(){return r(33)},get GraphRequestManager(){return r(34)},get LoginManager(){return r(35)},get MessageDialog(){return r(36)},get Settings(){return r(37)},get ShareDialog(){return r(38)},get LoginButton(){return r(39)},get SendButton(){return r(42)},get ShareButton(){return r(43)}}},function(t,e,r){"use strict";var n=this&&this.__assign||function(){return(n=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var o in e=arguments[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)},o=this&&this.__spreadArray||function(t,e){for(var r=0,n=e.length,o=t.length;r<n;r++,o++)t[o]=e[r];return t};Object.defineProperty(e,"__esModule",{value:!0}),e.mapProductToGoogleItem=e.mapProductsToGoogleItems=e.getProductContent=e.getProductContentFromShoppingCart=e.getProductIdsFromShoppingCart=e.triageEventToProviders=void 0;var i=r(44),u=r(45),a=r(7),s=r(1),c=r(46);e.triageEventToProviders=function(t,e,r){var i=r.facebookPixelHandler,u=r.googleAnalyticsHandler,f=s.getState().providers,l=n(n({},e),{artisanEvent:t}),h=f.reduce((function(e,r){if(c.skipVendor(t,r))return e;switch(r.type){case"FACEBOOK_PIXEL":i(r,l);break;case"GOOGLE_ANALYTICS":u(r,l);break;default:throw new Error("Provider of type "+r.type+" is not supported")}return o(o([],e),[r])}),[]);a.eventSent(t,h)};e.getProductIdsFromShoppingCart=function(t){return i.getShoppingCartProducts(t).map((function(t){return t.productId}))};e.getProductContentFromShoppingCart=function(t){return i.getShoppingCartProducts(t).map((function(t){return e.getProductContent(t)}))};e.getProductContent=function(t){var e=u.getProductTotals(t);return t.name+":"+e.netPrice};e.mapProductsToGoogleItems=function(t,r){return i.getShoppingCartProducts(t).map((function(t){return e.mapProductToGoogleItem(t,r)}))};e.mapProductToGoogleItem=function(t,e){var r=u.getProductTotals(t);return{item_id:t.productId,item_name:t.name,quantity:t.amount,price:r.netPrice,currency:e}}},function(t,e,r){"use strict";var n=this&&this.__assign||function(){return(n=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var o in e=arguments[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)},o=this&&this.__spreadArray||function(t,e){for(var r=0,n=e.length,o=t.length;r<n;r++,o++)t[o]=e[r];return t};Object.defineProperty(e,"__esModule",{value:!0}),e.logProviderConfigUpdated=e.logProvidersSDKNotLoaded=e.eventSent=e.vendorNotIncluded=e.noActiveVendor=e.logMessage=void 0;var i=r(1);e.logMessage=function(t,e){var r=i.getState().debug,n="artisan-commerce/analytics";if("debug"!==e||r)switch(e){case"debug":console.log("%c(Debug) %c"+n+":\n"+t,"font-weight: bold","font-weight: normal");break;case"log":console.log("%c(Log) %c"+n+":\n"+t,"font-weight: bold","font-weight: normal");break;case"warn":console.warn("%c(Warning) %c"+n+":\n"+t,"font-weight: bold","font-weight: normal");break;case"error":console.error("%c(Error) %c"+n+":\n"+t,"font-weight: bold","font-weight: normal");break;case"severe":throw new Error(n+": \n"+t);default:throw new Error("Log message "+t+" of type "+e+" is not a supported type.")}};e.noActiveVendor=function(){e.logMessage("No active vendor is set. Please make sure you configure an active vendor before trying to emit an event","warn")};e.vendorNotIncluded=function(t,r){var n=i.getState().activeVendor;e.logMessage("Skipping vendor "+n+" for event "+t+" of provider "+r.name+" as configured","debug")};e.eventSent=function(t,r){var i=r.reduce((function(t,e){var r,i,u=e.name,a=e.type,s=null!==(i=t[a])&&void 0!==i?i:[];return n(n({},t),((r={})[a]=o(o([],s),[u]),r))}),{}),u=Object.entries(i).reduce((function(t,e){var r=e[0],n=e[1];return""+t+(r.charAt(0).toUpperCase()+r.slice(1))+": "+n.join(", ")+"\n"}),"");e.logMessage("Event "+t+" was successfully sent to the following providers "+u,"debug")};e.logProvidersSDKNotLoaded=function(t){e.logMessage(t+" SDK not initialized. Please make sure the SDK is initialized before trying to emit an event","severe")};e.logProviderConfigUpdated=function(t,r){var n=Object.entries(r).reduce((function(t,e,r){var n=e[0],o=e[1];return 0===r?n+": "+o:t+"\n"+n+": "+o}),"");e.logMessage(t.name+" config updated for the following fields.\n "+n,"debug")}},function(t,e){t.exports=function(t){if(!t.webpackPolyfill){var e=Object.create(t);e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),Object.defineProperty(e,"exports",{enumerable:!0}),e.webpackPolyfill=1}return e}},function(t,e,r){"use strict";t.exports=function(t){var e={};function r(n){if(e[n])return e[n].exports;var o=e[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=t,r.c=e,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)r.d(n,o,function(e){return t[e]}.bind(null,o));return n},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s=1)}([,function(t,e,r){r.r(e),r.d(e,"initState",(function(){return i})),r.d(e,"getState",(function(){return a})),r.d(e,"setState",(function(){return u}));var n=function(){return(n=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var o in e=arguments[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)},o={},i=function(t){Object.freeze(t),o=n({},t),Object.seal(o)},u=function(t){o=n(n({},o),t)},a=function(){return n({},o)}}])},function(t,e,r){"use strict";t.exports=class{constructor(t){var e,r,n;n=void 0,(r="_properties")in(e=this)?Object.defineProperty(e,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[r]=n,this._properties=t||{}}putNumber(t,e){this._properties[t]={type:"number",value:e}}putObject(t,e){this._properties[t]={type:"open-graph-object",value:e}}putPhoto(t,e){this._properties[t]={type:"photo",value:e}}putString(t,e){this._properties[t]={type:"string",value:e}}getEntry(t){return this._properties[t]}}},function(t){t.exports=JSON.parse('{"name":"@artisan-commerce/analytics-rn","description":"Artisan commerce analytics react native library","version":"0.1.1-canary.7","main":"./build/main.bundle.js","types":"./build/analytics-rn/src/index.d.ts","files":["build/","LICENSE","README.md"],"scripts":{"start":"webpack --config webpack.dev.js","dev":"webpack --watch --config webpack.dev.js","build":"webpack --config webpack.prod.js","start:build":"nodemon ./build/main.bundle.js","test":"jest --watchAll --runInBand --passWithNoTests","test:all":"yarn test -- --watchAll=false --coverage","test:ci":"cross-env CI=true jest --runInBand --passWithNoTests","test:staged":"yarn test:ci --findRelatedTests ./src","check-types":"tsc --noEmit","lint":"eslint --ignore-path .gitignore --ignore-pattern !cypress/.eslintrc.js --ext .js,jsx,.ts,.tsx .","lint:staged":"yarn lint --max-warnings=0","prettier":"prettier --ignore-path .gitignore \\"**/*.+(js|jsx|ts|tsx|json|css|scss|html)\\"","format":"yarn prettier -- --write","check-format":"yarn prettier -- --list-different","validate":"cross-env CI=true npm-run-all --parallel test:ci check-types check-format lint build","validate:ci":"npm-run-all --parallel check-types check-format lint","prepare":"yarn build"},"author":"Luis Eduardo Andrade","license":"MIT","devDependencies":{"@artisan-commerce/types":"0.13.0-canary.4","@babel/core":"^7.13.15","@babel/preset-env":"^7.10.4","@babel/preset-react":"^7.10.4","@react-native-firebase/analytics":"^11.2.0","@react-native-firebase/app":"^11.2.0","@types/faker":"^4.1.12","@types/jest":"^26.0.5","@types/jest-in-case":"^1.0.2","@types/node":"^14.0.24","@types/react-native":"0.63.2","@typescript-eslint/eslint-plugin":"^4.15.2","@typescript-eslint/parser":"^4.15.2","avn":"^0.2.4","avn-nvm":"^0.2.2","babel-preset-expo":"^8.3.0","clean-webpack-plugin":"^3.0.0","cross-env":"^7.0.2","dotenv-webpack":"^2.0.0","env-cmd":"^10.1.0","eslint":"^7.5.0","eslint-config-prettier":"^6.11.0","eslint-config-react-app":"^5.2.1","eslint-config-universe":"^4.0.0","eslint-plugin-cypress":"^2.11.1","eslint-plugin-flowtype":"^5.2.0","eslint-plugin-import":"^2.22.0","eslint-plugin-jsx-a11y":"^6.3.1","eslint-plugin-react":"^7.20.3","eslint-plugin-react-hooks":"^4.0.8","is-ci-cli":"^2.1.2","jest-axe":"^3.5.0","jest-expo":"^40.0.2","jest-in-case":"^1.0.2","jest-styled-components":"^7.0.2","nodemon":"^2.0.4","npm-run-all":"^4.1.5","prettier":"^2.0.5","react":"16.13.1","react-native":"0.63.2","react-native-fbsdk":"^3.0.0","start-server-and-test":"^1.11.2","test-data-bot":"^0.8.0","ts-jest":"^26.1.4","ts-loader":"^8.0.2","webpack":"^4.43.0","webpack-bundle-analyzer":"^4.4.0","webpack-cli":"^3.3.12","webpack-dev-server":"^3.11.0","webpack-merge":"^5.0.9","webpack-node-externals":"^2.5.2"},"peerDependencies":{"@react-native-firebase/app":"*","react":">= 16.8.6","react-native-fbsdk":"*"},"gitHead":"5b35addec6ba05bd2c9d1c0900fc650fd07e1900"}')},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(7),o=r(1),i=function(){function t(t){var e=t.type,r=t.name,n=t.vendors;this.type=e,this.name=r,this._vendors=n}return Object.defineProperty(t.prototype,"vendors",{get:function(){var t,e=o.getState().vendors;return null!==(t=this._vendors)&&void 0!==t?t:e},enumerable:!1,configurable:!0}),t.prototype.updateConfig=function(t){n.logProviderConfigUpdated(this,t)},t}();e.default=i},function(t,e,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(t,e,r,n){void 0===n&&(n=r),Object.defineProperty(t,n,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,n){void 0===n&&(n=r),t[n]=e[r]}),o=this&&this.__exportStar||function(t,e){for(var r in t)"default"===r||Object.prototype.hasOwnProperty.call(e,r)||n(e,t,r)},i=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0}),e.events=e.Providers=void 0;var u=r(1),a=i(r(14));e.Providers=a.default,o(r(17),e),o(r(19),e),o(r(20),e),o(r(21),e);var s=r(22);Object.defineProperty(e,"events",{enumerable:!0,get:function(){return i(s).default}}),o(r(65),e),u.setInitialState()},function(t,e,r){"use strict";var n=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var o=n(r(15)),i=n(r(16)),u={FacebookPixel:o.default,GoogleAnalytics:i.default};e.default=u},function(t,e,r){"use strict";var n,o=this&&this.__extends||(n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),i=this&&this.__assign||function(){return(i=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var o in e=arguments[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)},u=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var a=function(t){function e(e){var r=this,n=e.version,o=e.currency;return(r=t.call(this,i(i({},e),{type:"FACEBOOK_PIXEL"}))||this)._version=null!=n?n:"10.0",r._currency=null!=o?o:"USD",r}return o(e,t),Object.defineProperty(e.prototype,"version",{get:function(){return this._version},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"currency",{get:function(){return this._currency},enumerable:!1,configurable:!0}),e.prototype.updateConfig=function(e){void 0===e&&(e={});var r=Object.entries(e).filter((function(t){return void 0!==t[1]})).map((function(t){return t[0]})),n=e.currency;r.includes("currency")&&(this._currency=n),t.prototype.updateConfig.call(this,e)},e}(u(r(12)).default);e.default=a},function(t,e,r){"use strict";var n,o=this&&this.__extends||(n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),i=this&&this.__assign||function(){return(i=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var o in e=arguments[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)},u=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var a=function(t){function e(e){var r=t.call(this,i(i({},e),{type:"GOOGLE_ANALYTICS"}))||this,n=e.userId,o=e.currency,u=e.language,a=e.sampleRate;return r._sampleRate=a,r._userId=n,r._language=u,r._currency=null!=o?o:"USD",r}return o(e,t),Object.defineProperty(e.prototype,"sampleRate",{get:function(){return this._sampleRate},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"userId",{get:function(){return this._userId},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"language",{get:function(){return this._language},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"currency",{get:function(){return this._currency},enumerable:!1,configurable:!0}),e.prototype.updateConfig=function(e){void 0===e&&(e={});var r=Object.entries(e).filter((function(t){return void 0!==t[1]})).map((function(t){return t[0]})),n=e.userId,o=e.currency,i=e.language;r.includes("userId")&&(this._userId=n),r.includes("currency")&&(this._currency=o),r.includes("language")&&(this._language=i),t.prototype.updateConfig.call(this,e)},e}(u(r(12)).default);e.default=a},function(t,e,r){"use strict";var n=this&&this.__assign||function(){return(n=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var o in e=arguments[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)},o=this&&this.__rest||function(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(t);o<n.length;o++)e.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(t,n[o])&&(r[n[o]]=t[n[o]])}return r},i=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0}),e.initAnalytics=void 0;var u=r(0),a=r(1),s=r(7),c=i(r(11)),f=r(18),l=!1;e.initAnalytics=function(t){if(l)s.logMessage("initAnalytics has been called more than once. This behaviour will very likely result in unexpected outcomes so its call was skipped. Please make sure initAnalytics is only called once.","warn");else{l=!0;var e=t.providers;if(!e.length)return s.logMessage("At least one provider should be included but none were found","severe");if(!f.checkUniqueProvider(e))return s.logMessage("Providers must be unique, check that no provider are repeated","severe");var r=t.meta,i=o(t,["meta"]),h=n(n({},i),{providers:e,meta:n(n({},r),{vendorId:i.activeVendor,platform:u.Platform.OS,versionSDK:c.default.version})});a.setState(h),e.forEach((function(t){t.init()}))}}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.checkUniqueProvider=void 0;e.checkUniqueProvider=function(t){var e=t.map((function(t){return t.type}));return new Set(e).size===e.length}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0})},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0})},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0})},function(t,e,r){"use strict";var n=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var o={auth:n(r(23)).default};e.default=o},function(t,e,r){"use strict";var n=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var o=n(r(24)),i=n(r(47)),u=n(r(50)),a=n(r(53)),s=n(r(56)),c=n(r(59)),f=n(r(62)),l={logChangePasswordAttempt:o.default,logSignUpAttempt:i.default,logChangePasswordFail:u.default,logChangePasswordSuccess:a.default,logSignIn:s.default,logSignOut:c.default,logSignUp:f.default};e.default=l},function(t,e,r){"use strict";var n=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var o=n(r(25)),i=n(r(26)),u=r(6);e.default=function(t){u.triageEventToProviders("changePasswordAttempt",t,{googleAnalyticsHandler:o.default,facebookPixelHandler:i.default})}},function(t,e,r){"use strict";var n=this&&this.__assign||function(){return(n=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var o in e=arguments[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)},o=this&&this.__rest||function(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(t);o<n.length;o++)e.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(t,n[o])&&(r[n[o]]=t[n[o]])}return r},i=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var u=i(r(4)),a=r(2),s=r(1);e.default=function(t,e){var r=t.userId,i=(e.callback,e.userId),c=o(e,["callback","userId"]),f=null!=i?i:r,l=n(n({},c),{userId:f}),h=a.eventParamsToSnakeCase(l),p=s.getState().meta,d=a.eventParamsToSnakeCase(p);u.default().logEvent("change_password_attempt",n(n({},h),d))}},function(t,e,r){"use strict";var n=this&&this.__assign||function(){return(n=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var o in e=arguments[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)},o=this&&this.__rest||function(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(t);o<n.length;o++)e.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(t,n[o])&&(r[n[o]]=t[n[o]])}return r};Object.defineProperty(e,"__esModule",{value:!0});var i=r(5),u=r(2),a=r(1);e.default=function(t,e){var r=o(e,[]);delete r.userId;var s=n({},r),c=u.eventParamsToSnakeCase(s),f=a.getState().meta,l=u.eventParamsToSnakeCase(f);i.AppEventsLogger.logEvent("ChangePasswordAttempt",n(n({},c),l))}},function(t,e,r){"use strict";const n=r(10);t.exports=class extends n{constructor(t){var e,r,n;super(null),n=void 0,(r="actionType")in(e=this)?Object.defineProperty(e,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[r]=n,this.actionType=t}}},function(t,e,r){"use strict";const n=r(10);t.exports=class extends n{}},function(t,e,r){"use strict";function n(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}const o=r(0).NativeModules.FBAccessToken,i=new(0,r(0).NativeEventEmitter)(o);class u{constructor(t){n(this,"accessToken",void 0),n(this,"permissions",void 0),n(this,"declinedPermissions",void 0),n(this,"expiredPermissions",void 0),n(this,"applicationID",void 0),n(this,"userID",void 0),n(this,"expirationTime",void 0),n(this,"lastRefreshTime",void 0),n(this,"dataAccessExpirationTime",void 0),n(this,"accessTokenSource",void 0),this.accessToken=t.accessToken,this.permissions=t.permissions,this.declinedPermissions=t.declinedPermissions,this.expiredPermissions=t.expiredPermissions,this.applicationID=t.applicationID,this.userID=t.userID,this.expirationTime=t.expirationTime,this.lastRefreshTime=t.lastRefreshTime,this.dataAccessExpirationTime=t.dataAccessExpirationTime,this.accessTokenSource=t.accessTokenSource,Object.freeze(this)}static getCurrentAccessToken(){return new Promise((t,e)=>{o.getCurrentAccessToken(e=>{t(e?new u(e):null)})})}static setCurrentAccessToken(t){o.setCurrentAccessToken(t)}static refreshCurrentAccessTokenAsync(){return o.refreshCurrentAccessTokenAsync()}static addListener(t){const e=i.addListener("fbsdk.accessTokenDidChange",e=>{t(e?new u(e):null)});return()=>e.remove()}getExpires(){return this.expirationTime}getPermissions(){return this.permissions}getDeclinedPermissions(){return this.declinedPermissions}getExpiredPermissions(){return this.expiredPermissions}getLastRefresh(){return this.lastRefreshTime}getDataAccessExpiration(){return this.dataAccessExpirationTime}getApplicationId(){return this.applicationID}getUserId(){return this.userID}}t.exports=u},function(t,e,r){"use strict";const n=r(0).NativeModules.FBAppEventsLogger,{Platform:o}=r(0);t.exports={setFlushBehavior(t){n.setFlushBehavior(t)},logEvent(t,...e){let r=0;"number"==typeof e[0]&&(r=e.shift());let o=null;"object"==typeof e[0]&&(o=e[0]),n.logEvent(t,r,o)},logPurchase(t,e,r){n.logPurchase(t,e,r)},logPushNotificationOpen(t){n.logPushNotificationOpen(t)},flush(){n.flush()},setUserID(t){n.setUserID(t)},getUserID:async()=>await n.getUserID(),getAnonymousID:async()=>await n.getAnonymousID(),getAdvertiserID:async()=>await n.getAdvertiserID(),getAttributionID:async()=>"ios"===o.OS?null:await n.getAttributionID(),updateUserProperties(t){n.updateUserProperties(t)},setUserData(t){n.setUserData(t)},setPushNotificationsDeviceToken(t){n.setPushNotificationsDeviceToken(t)},setPushNotificationsRegistrationId(t){n.setPushNotificationsRegistrationId(t)}}},function(t,e,r){"use strict";const n=r(0).NativeModules.FBAppLink;t.exports={fetchDeferredAppLink:()=>n.fetchDeferredAppLink()}},function(t,e,r){"use strict";const n=r(0).NativeModules.FBGameRequestDialog;t.exports={canShow:()=>n.canShow(),show:t=>n.show(t)}},function(t,e,r){"use strict";function n(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}t.exports=class{constructor(t,e,r){n(this,"graphPath",void 0),n(this,"config",void 0),n(this,"callback",void 0),this.graphPath=t,this.config=e||{},this.callback=r||(()=>{})}addStringParameter(t,e){null!=this.config&&null!=this.config.parameters&&(this.config.parameters[e]={string:t})}}},function(t,e,r){"use strict";function n(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}const o=r(0).NativeModules.FBGraphRequest;t.exports=class{constructor(){n(this,"requestBatch",void 0),n(this,"requestCallbacks",void 0),n(this,"batchCallback",void 0),this.requestBatch=[],this.requestCallbacks=[]}addRequest(t){return function(t){if(t.config&&t.config.parameters)for(var e in t.config.parameters){var r=t.config.parameters[e];if("object"!=typeof r||!r.string)throw new Error("Unexpected value for parameter '"+e+"'. Request parameters need to be objects with a 'string' field.")}}(t),this.requestBatch.push(t),this.requestCallbacks.push(t.callback),this}addBatchCallback(t){return this.batchCallback=t,this}start(t){const e=this;o.start(this.requestBatch,t||0,(t,r,n)=>{n&&e.requestCallbacks.forEach((t,e,r)=>{t&&t(n[e][0],n[e][1])}),e.batchCallback&&e.batchCallback(t,r)})}}},function(t,e,r){"use strict";const{NativeModules:n,Platform:o}=r(0),i=n.FBLoginManager;t.exports={logInWithPermissions:t=>i.logInWithPermissions(t),getLoginBehavior:()=>"ios"===o.OS?Promise.resolve("browser"):i.getLoginBehavior(),setLoginBehavior(t){"ios"!==o.OS&&i.setLoginBehavior(t)},getDefaultAudience:()=>i.getDefaultAudience(),setDefaultAudience(t){i.setDefaultAudience(t)},logOut(){i.logOut()}}},function(t,e,r){"use strict";const n=r(0).NativeModules.FBMessageDialog;t.exports={canShow:t=>n.canShow(t),show:t=>n.show(t),setShouldFailOnDataError(t){n.setShouldFailOnDataError(t)}}},function(t,e,r){"use strict";r.r(e),function(t){var e=r(0);const n=r(0).NativeModules.FBSettings;t.exports={getAdvertiserTrackingEnabled:()=>"ios"===e.Platform.OS?n.getAdvertiserTrackingEnabled():Promise.resolve(!0),setAdvertiserTrackingEnabled:t=>"ios"===e.Platform.OS?n.setAdvertiserTrackingEnabled(t):Promise.resolve(!1),setDataProcessingOptions(t,...e){let r=0;"number"==typeof e[0]&&(r=e[0]);let o=0;"number"==typeof e[1]&&(o=e[1]),n.setDataProcessingOptions(t,r,o)}}}.call(this,r(8)(t))},function(t,e,r){"use strict";const n=r(0).NativeModules.FBShareDialog;t.exports={canShow:t=>n.canShow(t),show:t=>n.show(t),setMode(t){n.setMode(t)},setShouldFailOnDataError(t){n.setShouldFailOnDataError(t)}}},function(t,e,r){"use strict";r.r(e),function(t){var e,n,o,i=r(3),u=r(0);function a(){return(a=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}class s extends i.Component{_eventHandler(t){const e=t.nativeEvent;"loginFinished"===e.type?this.props.onLoginFinished&&this.props.onLoginFinished(e.error,e.result):"logoutFinished"===e.type&&this.props.onLogoutFinished&&this.props.onLogoutFinished()}render(){return i.createElement(f,a({},this.props,{onChange:this._eventHandler.bind(this)}))}}o=void 0,(n="defaultProps")in(e=s)?Object.defineProperty(e,n,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[n]=o;const c=u.StyleSheet.create({defaultButtonStyle:{height:30,width:190}});s.defaultProps={style:c.defaultButtonStyle};const f=Object(u.requireNativeComponent)("RCTFBLoginButton");t.exports=s}.call(this,r(8)(t))},function(t,e,r){"use strict";
|
|
2
2
|
/** @license React v16.13.1
|
|
3
3
|
* react.production.min.js
|
|
4
4
|
*
|
package/build/report.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
[{"label":"main.bundle.js","isAsset":true,"statSize":645940,"parsedSize":349955,"gzipSize":66555,"groups":[{"label":"src","path":"./src","statSize":70046,"groups":[{"label":"utils","path":"./src/utils","statSize":15211,"groups":[{"id":1,"label":"state.utils.ts","path":"./src/utils/state.utils.ts","statSize":1432,"parsedSize":657,"gzipSize":352},{"id":2,"label":"common.utils.ts","path":"./src/utils/common.utils.ts","statSize":1155,"parsedSize":516,"gzipSize":330},{"id":6,"label":"events.utils.ts","path":"./src/utils/events.utils.ts","statSize":5417,"parsedSize":1682,"gzipSize":750},{"id":7,"label":"logs.utils.ts","path":"./src/utils/logs.utils.ts","statSize":6069,"parsedSize":2292,"gzipSize":982},{"id":46,"label":"validations.utils.ts","path":"./src/utils/validations.utils.ts","statSize":1138,"parsedSize":276,"gzipSize":215}],"parsedSize":5423,"gzipSize":1732},{"label":"lib","path":"./src/lib","statSize":53130,"groups":[{"label":"providers","path":"./src/lib/providers","statSize":40340,"groups":[{"label":"AnalyticsProvider","path":"./src/lib/providers/AnalyticsProvider","statSize":1785,"groups":[{"id":12,"label":"AnalyticsProvider.ts","path":"./src/lib/providers/AnalyticsProvider/AnalyticsProvider.ts","statSize":1785,"parsedSize":464,"gzipSize":294}],"parsedSize":464,"gzipSize":294},{"id":14,"label":"providers.ts","path":"./src/lib/providers/providers.ts","statSize":579,"parsedSize":254,"gzipSize":207},{"label":"FacebookPixel","path":"./src/lib/providers/FacebookPixel","statSize":17329,"groups":[{"id":15,"label":"FacebookPixel.ts","path":"./src/lib/providers/FacebookPixel/FacebookPixel.ts","statSize":3525,"parsedSize":1580,"gzipSize":723},{"id":20,"label":"FacebookPixel.types.ts","path":"./src/lib/providers/FacebookPixel/FacebookPixel.types.ts","statSize":79,"parsedSize":78,"gzipSize":97},{"label":"events/auth","path":"./src/lib/providers/FacebookPixel/events/auth","statSize":13725,"groups":[{"label":"changePasswordAttempt","path":"./src/lib/providers/FacebookPixel/events/auth/changePasswordAttempt","statSize":1998,"groups":[{"id":26,"label":"changePasswordAttempt.ts","path":"./src/lib/providers/FacebookPixel/events/auth/changePasswordAttempt/changePasswordAttempt.ts","statSize":1998,"parsedSize":900,"gzipSize":500}],"parsedSize":900,"gzipSize":500},{"label":"signUpAttempt","path":"./src/lib/providers/FacebookPixel/events/auth/signUpAttempt","statSize":1958,"groups":[{"id":49,"label":"signUpAttempt.ts","path":"./src/lib/providers/FacebookPixel/events/auth/signUpAttempt/signUpAttempt.ts","statSize":1958,"parsedSize":892,"gzipSize":494}],"parsedSize":892,"gzipSize":494},{"label":"changePasswordFail","path":"./src/lib/providers/FacebookPixel/events/auth/changePasswordFail","statSize":1983,"groups":[{"id":52,"label":"changePasswordFail.ts","path":"./src/lib/providers/FacebookPixel/events/auth/changePasswordFail/changePasswordFail.ts","statSize":1983,"parsedSize":897,"gzipSize":498}],"parsedSize":897,"gzipSize":498},{"label":"changePasswordSuccess","path":"./src/lib/providers/FacebookPixel/events/auth/changePasswordSuccess","statSize":1998,"groups":[{"id":55,"label":"changePasswordSuccess.ts","path":"./src/lib/providers/FacebookPixel/events/auth/changePasswordSuccess/changePasswordSuccess.ts","statSize":1998,"parsedSize":900,"gzipSize":500}],"parsedSize":900,"gzipSize":500},{"label":"signIn","path":"./src/lib/providers/FacebookPixel/events/auth/signIn","statSize":1923,"groups":[{"id":58,"label":"signIn.ts","path":"./src/lib/providers/FacebookPixel/events/auth/signIn/signIn.ts","statSize":1923,"parsedSize":885,"gzipSize":488}],"parsedSize":885,"gzipSize":488},{"label":"signOut","path":"./src/lib/providers/FacebookPixel/events/auth/signOut","statSize":1928,"groups":[{"id":61,"label":"signOut.ts","path":"./src/lib/providers/FacebookPixel/events/auth/signOut/signOut.ts","statSize":1928,"parsedSize":886,"gzipSize":489}],"parsedSize":886,"gzipSize":489},{"label":"signUp","path":"./src/lib/providers/FacebookPixel/events/auth/signUp","statSize":1937,"groups":[{"id":64,"label":"signUp.ts","path":"./src/lib/providers/FacebookPixel/events/auth/signUp/signUp.ts","statSize":1937,"parsedSize":899,"gzipSize":497}],"parsedSize":899,"gzipSize":497}],"parsedSize":6259,"gzipSize":596}],"parsedSize":7917,"gzipSize":1094},{"label":"GoogleAnalytics","path":"./src/lib/providers/GoogleAnalytics","statSize":20647,"groups":[{"id":16,"label":"GoogleAnalytics.ts","path":"./src/lib/providers/GoogleAnalytics/GoogleAnalytics.ts","statSize":4251,"parsedSize":1957,"gzipSize":786},{"id":21,"label":"GoogleAnalytics.types.ts","path":"./src/lib/providers/GoogleAnalytics/GoogleAnalytics.types.ts","statSize":79,"parsedSize":78,"gzipSize":97},{"label":"events/auth","path":"./src/lib/providers/GoogleAnalytics/events/auth","statSize":16317,"groups":[{"label":"changePasswordAttempt","path":"./src/lib/providers/GoogleAnalytics/events/auth/changePasswordAttempt","statSize":2371,"groups":[{"id":25,"label":"changePasswordAttempt.ts","path":"./src/lib/providers/GoogleAnalytics/events/auth/changePasswordAttempt/changePasswordAttempt.ts","statSize":2371,"parsedSize":1041,"gzipSize":551}],"parsedSize":1041,"gzipSize":551},{"label":"signUpAttempt","path":"./src/lib/providers/GoogleAnalytics/events/auth/signUpAttempt","statSize":2331,"groups":[{"id":48,"label":"signUpAttempt.ts","path":"./src/lib/providers/GoogleAnalytics/events/auth/signUpAttempt/signUpAttempt.ts","statSize":2331,"parsedSize":1033,"gzipSize":544}],"parsedSize":1033,"gzipSize":544},{"label":"changePasswordFail","path":"./src/lib/providers/GoogleAnalytics/events/auth/changePasswordFail","statSize":2356,"groups":[{"id":51,"label":"changePasswordFail.ts","path":"./src/lib/providers/GoogleAnalytics/events/auth/changePasswordFail/changePasswordFail.ts","statSize":2356,"parsedSize":1038,"gzipSize":549}],"parsedSize":1038,"gzipSize":549},{"label":"changePasswordSuccess","path":"./src/lib/providers/GoogleAnalytics/events/auth/changePasswordSuccess","statSize":2371,"groups":[{"id":54,"label":"changePasswordSuccess.ts","path":"./src/lib/providers/GoogleAnalytics/events/auth/changePasswordSuccess/changePasswordSuccess.ts","statSize":2371,"parsedSize":1041,"gzipSize":551}],"parsedSize":1041,"gzipSize":551},{"label":"signIn","path":"./src/lib/providers/GoogleAnalytics/events/auth/signIn","statSize":2293,"groups":[{"id":57,"label":"signIn.ts","path":"./src/lib/providers/GoogleAnalytics/events/auth/signIn/signIn.ts","statSize":2293,"parsedSize":1023,"gzipSize":537}],"parsedSize":1023,"gzipSize":537},{"label":"signOut","path":"./src/lib/providers/GoogleAnalytics/events/auth/signOut","statSize":2300,"groups":[{"id":60,"label":"signOut.ts","path":"./src/lib/providers/GoogleAnalytics/events/auth/signOut/signOut.ts","statSize":2300,"parsedSize":1026,"gzipSize":539}],"parsedSize":1026,"gzipSize":539},{"label":"signUp","path":"./src/lib/providers/GoogleAnalytics/events/auth/signUp","statSize":2295,"groups":[{"id":63,"label":"signUp.ts","path":"./src/lib/providers/GoogleAnalytics/events/auth/signUp/signUp.ts","statSize":2295,"parsedSize":1025,"gzipSize":539}],"parsedSize":1025,"gzipSize":539}],"parsedSize":7227,"gzipSize":641}],"parsedSize":9262,"gzipSize":1173}],"parsedSize":17897,"gzipSize":1628},{"label":"initAnalytics","path":"./src/lib/initAnalytics","statSize":3767,"groups":[{"id":17,"label":"initAnalytics.ts","path":"./src/lib/initAnalytics/initAnalytics.ts","statSize":3057,"parsedSize":1512,"gzipSize":797},{"id":18,"label":"initAnalytics.helpers.ts","path":"./src/lib/initAnalytics/initAnalytics.helpers.ts","statSize":631,"parsedSize":218,"gzipSize":172},{"id":19,"label":"initAnalytics.types.ts","path":"./src/lib/initAnalytics/initAnalytics.types.ts","statSize":79,"parsedSize":78,"gzipSize":97}],"parsedSize":1808,"gzipSize":850},{"label":"events","path":"./src/lib/events","statSize":9023,"groups":[{"id":22,"label":"events.ts","path":"./src/lib/events/events.ts","statSize":361,"parsedSize":204,"gzipSize":172},{"label":"auth","path":"./src/lib/events/auth","statSize":8662,"groups":[{"id":23,"label":"index.ts","path":"./src/lib/events/auth/index.ts","statSize":1199,"parsedSize":449,"gzipSize":269},{"label":"changePasswordAttempt","path":"./src/lib/events/auth/changePasswordAttempt","statSize":1170,"groups":[{"id":24,"label":"changePasswordAttempt.ts","path":"./src/lib/events/auth/changePasswordAttempt/changePasswordAttempt.ts","statSize":1170,"parsedSize":336,"gzipSize":253}],"parsedSize":336,"gzipSize":253},{"label":"signUpAttempt","path":"./src/lib/events/auth/signUpAttempt","statSize":1109,"groups":[{"id":47,"label":"signUpAttempt.ts","path":"./src/lib/events/auth/signUpAttempt/signUpAttempt.ts","statSize":1109,"parsedSize":328,"gzipSize":248}],"parsedSize":328,"gzipSize":248},{"label":"changePasswordFail","path":"./src/lib/events/auth/changePasswordFail","statSize":1119,"groups":[{"id":50,"label":"changePasswordFail.ts","path":"./src/lib/events/auth/changePasswordFail/changePasswordFail.ts","statSize":1119,"parsedSize":333,"gzipSize":251}],"parsedSize":333,"gzipSize":251},{"label":"changePasswordSuccess","path":"./src/lib/events/auth/changePasswordSuccess","statSize":1176,"groups":[{"id":53,"label":"changePasswordSuccess.ts","path":"./src/lib/events/auth/changePasswordSuccess/changePasswordSuccess.ts","statSize":1176,"parsedSize":336,"gzipSize":253}],"parsedSize":336,"gzipSize":253},{"label":"signIn","path":"./src/lib/events/auth/signIn","statSize":958,"groups":[{"id":56,"label":"signIn.ts","path":"./src/lib/events/auth/signIn/signIn.ts","statSize":958,"parsedSize":321,"gzipSize":243}],"parsedSize":321,"gzipSize":243},{"label":"signOut","path":"./src/lib/events/auth/signOut","statSize":973,"groups":[{"id":59,"label":"signOut.ts","path":"./src/lib/events/auth/signOut/signOut.ts","statSize":973,"parsedSize":322,"gzipSize":242}],"parsedSize":322,"gzipSize":242},{"label":"signUp","path":"./src/lib/events/auth/signUp","statSize":958,"groups":[{"id":62,"label":"signUp.ts","path":"./src/lib/events/auth/signUp/signUp.ts","statSize":958,"parsedSize":321,"gzipSize":241}],"parsedSize":321,"gzipSize":241}],"parsedSize":2746,"gzipSize":432}],"parsedSize":2950,"gzipSize":451}],"parsedSize":22655,"gzipSize":2331},{"id":13,"label":"index.ts","path":"./src/index.ts","statSize":1626,"parsedSize":732,"gzipSize":380},{"label":"types","path":"./src/types","statSize":79,"groups":[{"id":65,"label":"common.types.ts","path":"./src/types/common.types.ts","statSize":79,"parsedSize":78,"gzipSize":97}],"parsedSize":78,"gzipSize":97}],"parsedSize":28888,"gzipSize":3755},{"label":"node_modules","path":"./node_modules","statSize":51690,"groups":[{"label":"react","path":"./node_modules/react","statSize":6865,"groups":[{"id":3,"label":"index.js","path":"./node_modules/react/index.js","statSize":190,"parsedSize":45,"gzipSize":65},{"label":"cjs","path":"./node_modules/react/cjs","statSize":6675,"groups":[{"id":40,"label":"react.production.min.js","path":"./node_modules/react/cjs/react.production.min.js","statSize":6675,"parsedSize":6434,"gzipSize":2623}],"parsedSize":6434,"gzipSize":2623}],"parsedSize":6479,"gzipSize":2633},{"label":"react-native-fbsdk/lib/module","path":"./node_modules/react-native-fbsdk/lib/module","statSize":42717,"groups":[{"id":5,"label":"index.js","path":"./node_modules/react-native-fbsdk/lib/module/index.js","statSize":2438,"parsedSize":602,"gzipSize":255},{"label":"models","path":"./node_modules/react-native-fbsdk/lib/module/models","statSize":5739,"groups":[{"id":10,"label":"FBShareOpenGraphValueContainer.js","path":"./node_modules/react-native-fbsdk/lib/module/models/FBShareOpenGraphValueContainer.js","statSize":2520,"parsedSize":502,"gzipSize":268},{"id":27,"label":"FBShareOpenGraphAction.js","path":"./node_modules/react-native-fbsdk/lib/module/models/FBShareOpenGraphAction.js","statSize":1800,"parsedSize":248,"gzipSize":200},{"id":28,"label":"FBShareOpenGraphObject.js","path":"./node_modules/react-native-fbsdk/lib/module/models/FBShareOpenGraphObject.js","statSize":1419,"parsedSize":71,"gzipSize":88}],"parsedSize":821,"gzipSize":321},{"id":29,"label":"FBAccessToken.js","path":"./node_modules/react-native-fbsdk/lib/module/FBAccessToken.js","statSize":6724,"parsedSize":1742,"gzipSize":588},{"id":30,"label":"FBAppEventsLogger.js","path":"./node_modules/react-native-fbsdk/lib/module/FBAppEventsLogger.js","statSize":4739,"parsedSize":863,"gzipSize":399},{"id":31,"label":"FBAppLink.js","path":"./node_modules/react-native-fbsdk/lib/module/FBAppLink.js","statSize":1334,"parsedSize":128,"gzipSize":123},{"id":32,"label":"FBGameRequestDialog.js","path":"./node_modules/react-native-fbsdk/lib/module/FBGameRequestDialog.js","statSize":1552,"parsedSize":130,"gzipSize":133},{"id":33,"label":"FBGraphRequest.js","path":"./node_modules/react-native-fbsdk/lib/module/FBGraphRequest.js","statSize":2351,"parsedSize":436,"gzipSize":261},{"id":34,"label":"FBGraphRequestManager.js","path":"./node_modules/react-native-fbsdk/lib/module/FBGraphRequestManager.js","statSize":3839,"parsedSize":941,"gzipSize":479},{"id":35,"label":"FBLoginManager.js","path":"./node_modules/react-native-fbsdk/lib/module/FBLoginManager.js","statSize":2345,"parsedSize":402,"gzipSize":244},{"id":36,"label":"FBMessageDialog.js","path":"./node_modules/react-native-fbsdk/lib/module/FBMessageDialog.js","statSize":1777,"parsedSize":185,"gzipSize":151},{"id":37,"label":"FBSettings.js","path":"./node_modules/react-native-fbsdk/lib/module/FBSettings.js","statSize":1336,"parsedSize":493,"gzipSize":277},{"id":38,"label":"FBShareDialog.js","path":"./node_modules/react-native-fbsdk/lib/module/FBShareDialog.js","statSize":1871,"parsedSize":208,"gzipSize":158},{"id":39,"label":"FBLoginButton.js","path":"./node_modules/react-native-fbsdk/lib/module/FBLoginButton.js","statSize":2792,"parsedSize":954,"gzipSize":534},{"id":42,"label":"FBSendButton.js","path":"./node_modules/react-native-fbsdk/lib/module/FBSendButton.js","statSize":1936,"parsedSize":475,"gzipSize":328},{"id":43,"label":"FBShareButton.js","path":"./node_modules/react-native-fbsdk/lib/module/FBShareButton.js","statSize":1944,"parsedSize":476,"gzipSize":329}],"parsedSize":8856,"gzipSize":2338},{"label":"object-assign","path":"./node_modules/object-assign","statSize":2108,"groups":[{"id":41,"label":"index.js","path":"./node_modules/object-assign/index.js","statSize":2108,"parsedSize":990,"gzipSize":558}],"parsedSize":990,"gzipSize":558}],"parsedSize":16325,"gzipSize":5160},{"id":4,"label":"analytics\"","path":"./analytics\"","statSize":42,"parsedSize":26,"gzipSize":46},{"label":"buildin","path":"./buildin","statSize":573,"groups":[{"id":8,"label":"harmony-module.js","path":"./buildin/harmony-module.js","statSize":573,"parsedSize":341,"gzipSize":185}],"parsedSize":341,"gzipSize":185},{"label":"state/build","path":"./state/build","statSize":2099,"groups":[{"id":9,"label":"main.bundle.js","path":"./state/build/main.bundle.js","statSize":2099,"parsedSize":1440,"gzipSize":623}],"parsedSize":1440,"gzipSize":623},{"id":11,"label":"package.json","path":"./package.json","statSize":3370,"parsedSize":2906,"gzipSize":1201},{"label":"shopping-cart/build","path":"./shopping-cart/build","statSize":339209,"groups":[{"id":44,"label":"main.bundle.js","path":"./shopping-cart/build/main.bundle.js","statSize":339209,"parsedSize":197018,"gzipSize":38075}],"parsedSize":197018,"gzipSize":38075},{"label":"products/build","path":"./products/build","statSize":164158,"groups":[{"id":45,"label":"main.bundle.js","path":"./products/build/main.bundle.js","statSize":164158,"parsedSize":100515,"gzipSize":18469}],"parsedSize":100515,"gzipSize":18469},{"label":"Users/DanielFryy/Documents/Projects/Libraries/artisan_monorepo/node_modules/snake-case/dist.es2015","path":"./Users/DanielFryy/Documents/Projects/Libraries/artisan_monorepo/node_modules/snake-case/dist.es2015","statSize":14753,"groups":[{"id":66,"label":"index.js + 4 modules (concatenated)","path":"./Users/DanielFryy/Documents/Projects/Libraries/artisan_monorepo/node_modules/snake-case/dist.es2015/index.js + 4 modules (concatenated)","statSize":14753,"parsedSize":986,"gzipSize":530,"concatenated":true,"groups":[{"label":"Users/DanielFryy/Documents/Projects/Libraries/artisan_monorepo/node_modules","path":"./Users/DanielFryy/Documents/Projects/Libraries/artisan_monorepo/node_modules/snake-case/dist.es2015/index.js + 4 modules (concatenated)/Users/DanielFryy/Documents/Projects/Libraries/artisan_monorepo/node_modules","statSize":14753,"groups":[{"label":"snake-case/dist.es2015","path":"./Users/DanielFryy/Documents/Projects/Libraries/artisan_monorepo/node_modules/snake-case/dist.es2015/index.js + 4 modules (concatenated)/Users/DanielFryy/Documents/Projects/Libraries/artisan_monorepo/node_modules/snake-case/dist.es2015","statSize":261,"groups":[{"id":null,"label":"index.js","path":"./Users/DanielFryy/Documents/Projects/Libraries/artisan_monorepo/node_modules/snake-case/dist.es2015/index.js + 4 modules (concatenated)/Users/DanielFryy/Documents/Projects/Libraries/artisan_monorepo/node_modules/snake-case/dist.es2015/index.js","statSize":261,"parsedSize":17,"gzipSize":9,"inaccurateSizes":true}],"parsedSize":17,"gzipSize":9,"inaccurateSizes":true},{"label":"tslib","path":"./Users/DanielFryy/Documents/Projects/Libraries/artisan_monorepo/node_modules/snake-case/dist.es2015/index.js + 4 modules (concatenated)/Users/DanielFryy/Documents/Projects/Libraries/artisan_monorepo/node_modules/tslib","statSize":11605,"groups":[{"id":null,"label":"tslib.es6.js","path":"./Users/DanielFryy/Documents/Projects/Libraries/artisan_monorepo/node_modules/snake-case/dist.es2015/index.js + 4 modules (concatenated)/Users/DanielFryy/Documents/Projects/Libraries/artisan_monorepo/node_modules/tslib/tslib.es6.js","statSize":11605,"parsedSize":775,"gzipSize":416,"inaccurateSizes":true}],"parsedSize":775,"gzipSize":416,"inaccurateSizes":true},{"label":"dot-case/dist.es2015","path":"./Users/DanielFryy/Documents/Projects/Libraries/artisan_monorepo/node_modules/snake-case/dist.es2015/index.js + 4 modules (concatenated)/Users/DanielFryy/Documents/Projects/Libraries/artisan_monorepo/node_modules/dot-case/dist.es2015","statSize":256,"groups":[{"id":null,"label":"index.js","path":"./Users/DanielFryy/Documents/Projects/Libraries/artisan_monorepo/node_modules/snake-case/dist.es2015/index.js + 4 modules (concatenated)/Users/DanielFryy/Documents/Projects/Libraries/artisan_monorepo/node_modules/dot-case/dist.es2015/index.js","statSize":256,"parsedSize":17,"gzipSize":9,"inaccurateSizes":true}],"parsedSize":17,"gzipSize":9,"inaccurateSizes":true},{"label":"no-case/dist.es2015","path":"./Users/DanielFryy/Documents/Projects/Libraries/artisan_monorepo/node_modules/snake-case/dist.es2015/index.js + 4 modules (concatenated)/Users/DanielFryy/Documents/Projects/Libraries/artisan_monorepo/node_modules/no-case/dist.es2015","statSize":1490,"groups":[{"id":null,"label":"index.js","path":"./Users/DanielFryy/Documents/Projects/Libraries/artisan_monorepo/node_modules/snake-case/dist.es2015/index.js + 4 modules (concatenated)/Users/DanielFryy/Documents/Projects/Libraries/artisan_monorepo/node_modules/no-case/dist.es2015/index.js","statSize":1490,"parsedSize":99,"gzipSize":53,"inaccurateSizes":true}],"parsedSize":99,"gzipSize":53,"inaccurateSizes":true},{"label":"lower-case/dist.es2015","path":"./Users/DanielFryy/Documents/Projects/Libraries/artisan_monorepo/node_modules/snake-case/dist.es2015/index.js + 4 modules (concatenated)/Users/DanielFryy/Documents/Projects/Libraries/artisan_monorepo/node_modules/lower-case/dist.es2015","statSize":1141,"groups":[{"id":null,"label":"index.js","path":"./Users/DanielFryy/Documents/Projects/Libraries/artisan_monorepo/node_modules/snake-case/dist.es2015/index.js + 4 modules (concatenated)/Users/DanielFryy/Documents/Projects/Libraries/artisan_monorepo/node_modules/lower-case/dist.es2015/index.js","statSize":1141,"parsedSize":76,"gzipSize":40,"inaccurateSizes":true}],"parsedSize":76,"gzipSize":40,"inaccurateSizes":true}],"parsedSize":986,"gzipSize":530,"inaccurateSizes":true}]}],"parsedSize":986,"gzipSize":530}]}]
|
|
1
|
+
[{"label":"main.bundle.js","isAsset":true,"statSize":645957,"parsedSize":349972,"gzipSize":66562,"groups":[{"label":"src","path":"./src","statSize":70046,"groups":[{"label":"utils","path":"./src/utils","statSize":15211,"groups":[{"id":1,"label":"state.utils.ts","path":"./src/utils/state.utils.ts","statSize":1432,"parsedSize":657,"gzipSize":352},{"id":2,"label":"common.utils.ts","path":"./src/utils/common.utils.ts","statSize":1155,"parsedSize":516,"gzipSize":330},{"id":6,"label":"events.utils.ts","path":"./src/utils/events.utils.ts","statSize":5417,"parsedSize":1682,"gzipSize":750},{"id":7,"label":"logs.utils.ts","path":"./src/utils/logs.utils.ts","statSize":6069,"parsedSize":2292,"gzipSize":982},{"id":46,"label":"validations.utils.ts","path":"./src/utils/validations.utils.ts","statSize":1138,"parsedSize":276,"gzipSize":215}],"parsedSize":5423,"gzipSize":1732},{"label":"lib","path":"./src/lib","statSize":53130,"groups":[{"label":"providers","path":"./src/lib/providers","statSize":40340,"groups":[{"label":"AnalyticsProvider","path":"./src/lib/providers/AnalyticsProvider","statSize":1785,"groups":[{"id":12,"label":"AnalyticsProvider.ts","path":"./src/lib/providers/AnalyticsProvider/AnalyticsProvider.ts","statSize":1785,"parsedSize":464,"gzipSize":294}],"parsedSize":464,"gzipSize":294},{"id":14,"label":"providers.ts","path":"./src/lib/providers/providers.ts","statSize":579,"parsedSize":254,"gzipSize":207},{"label":"FacebookPixel","path":"./src/lib/providers/FacebookPixel","statSize":17329,"groups":[{"id":15,"label":"FacebookPixel.ts","path":"./src/lib/providers/FacebookPixel/FacebookPixel.ts","statSize":3525,"parsedSize":1580,"gzipSize":723},{"id":20,"label":"FacebookPixel.types.ts","path":"./src/lib/providers/FacebookPixel/FacebookPixel.types.ts","statSize":79,"parsedSize":78,"gzipSize":97},{"label":"events/auth","path":"./src/lib/providers/FacebookPixel/events/auth","statSize":13725,"groups":[{"label":"changePasswordAttempt","path":"./src/lib/providers/FacebookPixel/events/auth/changePasswordAttempt","statSize":1998,"groups":[{"id":26,"label":"changePasswordAttempt.ts","path":"./src/lib/providers/FacebookPixel/events/auth/changePasswordAttempt/changePasswordAttempt.ts","statSize":1998,"parsedSize":900,"gzipSize":500}],"parsedSize":900,"gzipSize":500},{"label":"signUpAttempt","path":"./src/lib/providers/FacebookPixel/events/auth/signUpAttempt","statSize":1958,"groups":[{"id":49,"label":"signUpAttempt.ts","path":"./src/lib/providers/FacebookPixel/events/auth/signUpAttempt/signUpAttempt.ts","statSize":1958,"parsedSize":892,"gzipSize":494}],"parsedSize":892,"gzipSize":494},{"label":"changePasswordFail","path":"./src/lib/providers/FacebookPixel/events/auth/changePasswordFail","statSize":1983,"groups":[{"id":52,"label":"changePasswordFail.ts","path":"./src/lib/providers/FacebookPixel/events/auth/changePasswordFail/changePasswordFail.ts","statSize":1983,"parsedSize":897,"gzipSize":498}],"parsedSize":897,"gzipSize":498},{"label":"changePasswordSuccess","path":"./src/lib/providers/FacebookPixel/events/auth/changePasswordSuccess","statSize":1998,"groups":[{"id":55,"label":"changePasswordSuccess.ts","path":"./src/lib/providers/FacebookPixel/events/auth/changePasswordSuccess/changePasswordSuccess.ts","statSize":1998,"parsedSize":900,"gzipSize":500}],"parsedSize":900,"gzipSize":500},{"label":"signIn","path":"./src/lib/providers/FacebookPixel/events/auth/signIn","statSize":1923,"groups":[{"id":58,"label":"signIn.ts","path":"./src/lib/providers/FacebookPixel/events/auth/signIn/signIn.ts","statSize":1923,"parsedSize":885,"gzipSize":488}],"parsedSize":885,"gzipSize":488},{"label":"signOut","path":"./src/lib/providers/FacebookPixel/events/auth/signOut","statSize":1928,"groups":[{"id":61,"label":"signOut.ts","path":"./src/lib/providers/FacebookPixel/events/auth/signOut/signOut.ts","statSize":1928,"parsedSize":886,"gzipSize":489}],"parsedSize":886,"gzipSize":489},{"label":"signUp","path":"./src/lib/providers/FacebookPixel/events/auth/signUp","statSize":1937,"groups":[{"id":64,"label":"signUp.ts","path":"./src/lib/providers/FacebookPixel/events/auth/signUp/signUp.ts","statSize":1937,"parsedSize":899,"gzipSize":497}],"parsedSize":899,"gzipSize":497}],"parsedSize":6259,"gzipSize":596}],"parsedSize":7917,"gzipSize":1094},{"label":"GoogleAnalytics","path":"./src/lib/providers/GoogleAnalytics","statSize":20647,"groups":[{"id":16,"label":"GoogleAnalytics.ts","path":"./src/lib/providers/GoogleAnalytics/GoogleAnalytics.ts","statSize":4251,"parsedSize":1957,"gzipSize":786},{"id":21,"label":"GoogleAnalytics.types.ts","path":"./src/lib/providers/GoogleAnalytics/GoogleAnalytics.types.ts","statSize":79,"parsedSize":78,"gzipSize":97},{"label":"events/auth","path":"./src/lib/providers/GoogleAnalytics/events/auth","statSize":16317,"groups":[{"label":"changePasswordAttempt","path":"./src/lib/providers/GoogleAnalytics/events/auth/changePasswordAttempt","statSize":2371,"groups":[{"id":25,"label":"changePasswordAttempt.ts","path":"./src/lib/providers/GoogleAnalytics/events/auth/changePasswordAttempt/changePasswordAttempt.ts","statSize":2371,"parsedSize":1041,"gzipSize":551}],"parsedSize":1041,"gzipSize":551},{"label":"signUpAttempt","path":"./src/lib/providers/GoogleAnalytics/events/auth/signUpAttempt","statSize":2331,"groups":[{"id":48,"label":"signUpAttempt.ts","path":"./src/lib/providers/GoogleAnalytics/events/auth/signUpAttempt/signUpAttempt.ts","statSize":2331,"parsedSize":1033,"gzipSize":544}],"parsedSize":1033,"gzipSize":544},{"label":"changePasswordFail","path":"./src/lib/providers/GoogleAnalytics/events/auth/changePasswordFail","statSize":2356,"groups":[{"id":51,"label":"changePasswordFail.ts","path":"./src/lib/providers/GoogleAnalytics/events/auth/changePasswordFail/changePasswordFail.ts","statSize":2356,"parsedSize":1038,"gzipSize":549}],"parsedSize":1038,"gzipSize":549},{"label":"changePasswordSuccess","path":"./src/lib/providers/GoogleAnalytics/events/auth/changePasswordSuccess","statSize":2371,"groups":[{"id":54,"label":"changePasswordSuccess.ts","path":"./src/lib/providers/GoogleAnalytics/events/auth/changePasswordSuccess/changePasswordSuccess.ts","statSize":2371,"parsedSize":1041,"gzipSize":551}],"parsedSize":1041,"gzipSize":551},{"label":"signIn","path":"./src/lib/providers/GoogleAnalytics/events/auth/signIn","statSize":2293,"groups":[{"id":57,"label":"signIn.ts","path":"./src/lib/providers/GoogleAnalytics/events/auth/signIn/signIn.ts","statSize":2293,"parsedSize":1023,"gzipSize":537}],"parsedSize":1023,"gzipSize":537},{"label":"signOut","path":"./src/lib/providers/GoogleAnalytics/events/auth/signOut","statSize":2300,"groups":[{"id":60,"label":"signOut.ts","path":"./src/lib/providers/GoogleAnalytics/events/auth/signOut/signOut.ts","statSize":2300,"parsedSize":1026,"gzipSize":539}],"parsedSize":1026,"gzipSize":539},{"label":"signUp","path":"./src/lib/providers/GoogleAnalytics/events/auth/signUp","statSize":2295,"groups":[{"id":63,"label":"signUp.ts","path":"./src/lib/providers/GoogleAnalytics/events/auth/signUp/signUp.ts","statSize":2295,"parsedSize":1025,"gzipSize":539}],"parsedSize":1025,"gzipSize":539}],"parsedSize":7227,"gzipSize":641}],"parsedSize":9262,"gzipSize":1173}],"parsedSize":17897,"gzipSize":1628},{"label":"initAnalytics","path":"./src/lib/initAnalytics","statSize":3767,"groups":[{"id":17,"label":"initAnalytics.ts","path":"./src/lib/initAnalytics/initAnalytics.ts","statSize":3057,"parsedSize":1512,"gzipSize":797},{"id":18,"label":"initAnalytics.helpers.ts","path":"./src/lib/initAnalytics/initAnalytics.helpers.ts","statSize":631,"parsedSize":218,"gzipSize":172},{"id":19,"label":"initAnalytics.types.ts","path":"./src/lib/initAnalytics/initAnalytics.types.ts","statSize":79,"parsedSize":78,"gzipSize":97}],"parsedSize":1808,"gzipSize":850},{"label":"events","path":"./src/lib/events","statSize":9023,"groups":[{"id":22,"label":"events.ts","path":"./src/lib/events/events.ts","statSize":361,"parsedSize":204,"gzipSize":172},{"label":"auth","path":"./src/lib/events/auth","statSize":8662,"groups":[{"id":23,"label":"index.ts","path":"./src/lib/events/auth/index.ts","statSize":1199,"parsedSize":449,"gzipSize":269},{"label":"changePasswordAttempt","path":"./src/lib/events/auth/changePasswordAttempt","statSize":1170,"groups":[{"id":24,"label":"changePasswordAttempt.ts","path":"./src/lib/events/auth/changePasswordAttempt/changePasswordAttempt.ts","statSize":1170,"parsedSize":336,"gzipSize":253}],"parsedSize":336,"gzipSize":253},{"label":"signUpAttempt","path":"./src/lib/events/auth/signUpAttempt","statSize":1109,"groups":[{"id":47,"label":"signUpAttempt.ts","path":"./src/lib/events/auth/signUpAttempt/signUpAttempt.ts","statSize":1109,"parsedSize":328,"gzipSize":248}],"parsedSize":328,"gzipSize":248},{"label":"changePasswordFail","path":"./src/lib/events/auth/changePasswordFail","statSize":1119,"groups":[{"id":50,"label":"changePasswordFail.ts","path":"./src/lib/events/auth/changePasswordFail/changePasswordFail.ts","statSize":1119,"parsedSize":333,"gzipSize":251}],"parsedSize":333,"gzipSize":251},{"label":"changePasswordSuccess","path":"./src/lib/events/auth/changePasswordSuccess","statSize":1176,"groups":[{"id":53,"label":"changePasswordSuccess.ts","path":"./src/lib/events/auth/changePasswordSuccess/changePasswordSuccess.ts","statSize":1176,"parsedSize":336,"gzipSize":253}],"parsedSize":336,"gzipSize":253},{"label":"signIn","path":"./src/lib/events/auth/signIn","statSize":958,"groups":[{"id":56,"label":"signIn.ts","path":"./src/lib/events/auth/signIn/signIn.ts","statSize":958,"parsedSize":321,"gzipSize":243}],"parsedSize":321,"gzipSize":243},{"label":"signOut","path":"./src/lib/events/auth/signOut","statSize":973,"groups":[{"id":59,"label":"signOut.ts","path":"./src/lib/events/auth/signOut/signOut.ts","statSize":973,"parsedSize":322,"gzipSize":242}],"parsedSize":322,"gzipSize":242},{"label":"signUp","path":"./src/lib/events/auth/signUp","statSize":958,"groups":[{"id":62,"label":"signUp.ts","path":"./src/lib/events/auth/signUp/signUp.ts","statSize":958,"parsedSize":321,"gzipSize":241}],"parsedSize":321,"gzipSize":241}],"parsedSize":2746,"gzipSize":432}],"parsedSize":2950,"gzipSize":451}],"parsedSize":22655,"gzipSize":2331},{"id":13,"label":"index.ts","path":"./src/index.ts","statSize":1626,"parsedSize":732,"gzipSize":380},{"label":"types","path":"./src/types","statSize":79,"groups":[{"id":65,"label":"common.types.ts","path":"./src/types/common.types.ts","statSize":79,"parsedSize":78,"gzipSize":97}],"parsedSize":78,"gzipSize":97}],"parsedSize":28888,"gzipSize":3755},{"label":"node_modules","path":"./node_modules","statSize":51690,"groups":[{"label":"react","path":"./node_modules/react","statSize":6865,"groups":[{"id":3,"label":"index.js","path":"./node_modules/react/index.js","statSize":190,"parsedSize":45,"gzipSize":65},{"label":"cjs","path":"./node_modules/react/cjs","statSize":6675,"groups":[{"id":40,"label":"react.production.min.js","path":"./node_modules/react/cjs/react.production.min.js","statSize":6675,"parsedSize":6434,"gzipSize":2623}],"parsedSize":6434,"gzipSize":2623}],"parsedSize":6479,"gzipSize":2633},{"label":"react-native-fbsdk/lib/module","path":"./node_modules/react-native-fbsdk/lib/module","statSize":42717,"groups":[{"id":5,"label":"index.js","path":"./node_modules/react-native-fbsdk/lib/module/index.js","statSize":2438,"parsedSize":602,"gzipSize":255},{"label":"models","path":"./node_modules/react-native-fbsdk/lib/module/models","statSize":5739,"groups":[{"id":10,"label":"FBShareOpenGraphValueContainer.js","path":"./node_modules/react-native-fbsdk/lib/module/models/FBShareOpenGraphValueContainer.js","statSize":2520,"parsedSize":502,"gzipSize":268},{"id":27,"label":"FBShareOpenGraphAction.js","path":"./node_modules/react-native-fbsdk/lib/module/models/FBShareOpenGraphAction.js","statSize":1800,"parsedSize":248,"gzipSize":200},{"id":28,"label":"FBShareOpenGraphObject.js","path":"./node_modules/react-native-fbsdk/lib/module/models/FBShareOpenGraphObject.js","statSize":1419,"parsedSize":71,"gzipSize":88}],"parsedSize":821,"gzipSize":321},{"id":29,"label":"FBAccessToken.js","path":"./node_modules/react-native-fbsdk/lib/module/FBAccessToken.js","statSize":6724,"parsedSize":1742,"gzipSize":588},{"id":30,"label":"FBAppEventsLogger.js","path":"./node_modules/react-native-fbsdk/lib/module/FBAppEventsLogger.js","statSize":4739,"parsedSize":863,"gzipSize":399},{"id":31,"label":"FBAppLink.js","path":"./node_modules/react-native-fbsdk/lib/module/FBAppLink.js","statSize":1334,"parsedSize":128,"gzipSize":123},{"id":32,"label":"FBGameRequestDialog.js","path":"./node_modules/react-native-fbsdk/lib/module/FBGameRequestDialog.js","statSize":1552,"parsedSize":130,"gzipSize":133},{"id":33,"label":"FBGraphRequest.js","path":"./node_modules/react-native-fbsdk/lib/module/FBGraphRequest.js","statSize":2351,"parsedSize":436,"gzipSize":261},{"id":34,"label":"FBGraphRequestManager.js","path":"./node_modules/react-native-fbsdk/lib/module/FBGraphRequestManager.js","statSize":3839,"parsedSize":941,"gzipSize":479},{"id":35,"label":"FBLoginManager.js","path":"./node_modules/react-native-fbsdk/lib/module/FBLoginManager.js","statSize":2345,"parsedSize":402,"gzipSize":244},{"id":36,"label":"FBMessageDialog.js","path":"./node_modules/react-native-fbsdk/lib/module/FBMessageDialog.js","statSize":1777,"parsedSize":185,"gzipSize":151},{"id":37,"label":"FBSettings.js","path":"./node_modules/react-native-fbsdk/lib/module/FBSettings.js","statSize":1336,"parsedSize":493,"gzipSize":277},{"id":38,"label":"FBShareDialog.js","path":"./node_modules/react-native-fbsdk/lib/module/FBShareDialog.js","statSize":1871,"parsedSize":208,"gzipSize":158},{"id":39,"label":"FBLoginButton.js","path":"./node_modules/react-native-fbsdk/lib/module/FBLoginButton.js","statSize":2792,"parsedSize":954,"gzipSize":534},{"id":42,"label":"FBSendButton.js","path":"./node_modules/react-native-fbsdk/lib/module/FBSendButton.js","statSize":1936,"parsedSize":475,"gzipSize":328},{"id":43,"label":"FBShareButton.js","path":"./node_modules/react-native-fbsdk/lib/module/FBShareButton.js","statSize":1944,"parsedSize":476,"gzipSize":329}],"parsedSize":8856,"gzipSize":2338},{"label":"object-assign","path":"./node_modules/object-assign","statSize":2108,"groups":[{"id":41,"label":"index.js","path":"./node_modules/object-assign/index.js","statSize":2108,"parsedSize":990,"gzipSize":558}],"parsedSize":990,"gzipSize":558}],"parsedSize":16325,"gzipSize":5160},{"id":4,"label":"analytics\"","path":"./analytics\"","statSize":42,"parsedSize":26,"gzipSize":46},{"label":"buildin","path":"./buildin","statSize":573,"groups":[{"id":8,"label":"harmony-module.js","path":"./buildin/harmony-module.js","statSize":573,"parsedSize":341,"gzipSize":185}],"parsedSize":341,"gzipSize":185},{"label":"state/build","path":"./state/build","statSize":2099,"groups":[{"id":9,"label":"main.bundle.js","path":"./state/build/main.bundle.js","statSize":2099,"parsedSize":1440,"gzipSize":623}],"parsedSize":1440,"gzipSize":623},{"id":11,"label":"package.json","path":"./package.json","statSize":3387,"parsedSize":2923,"gzipSize":1205},{"label":"shopping-cart/build","path":"./shopping-cart/build","statSize":339209,"groups":[{"id":44,"label":"main.bundle.js","path":"./shopping-cart/build/main.bundle.js","statSize":339209,"parsedSize":197018,"gzipSize":38075}],"parsedSize":197018,"gzipSize":38075},{"label":"products/build","path":"./products/build","statSize":164158,"groups":[{"id":45,"label":"main.bundle.js","path":"./products/build/main.bundle.js","statSize":164158,"parsedSize":100515,"gzipSize":18469}],"parsedSize":100515,"gzipSize":18469},{"label":"Users/DanielFryy/Documents/Projects/Libraries/artisan_monorepo/node_modules/snake-case/dist.es2015","path":"./Users/DanielFryy/Documents/Projects/Libraries/artisan_monorepo/node_modules/snake-case/dist.es2015","statSize":14753,"groups":[{"id":66,"label":"index.js + 4 modules (concatenated)","path":"./Users/DanielFryy/Documents/Projects/Libraries/artisan_monorepo/node_modules/snake-case/dist.es2015/index.js + 4 modules (concatenated)","statSize":14753,"parsedSize":986,"gzipSize":530,"concatenated":true,"groups":[{"label":"Users/DanielFryy/Documents/Projects/Libraries/artisan_monorepo/node_modules","path":"./Users/DanielFryy/Documents/Projects/Libraries/artisan_monorepo/node_modules/snake-case/dist.es2015/index.js + 4 modules (concatenated)/Users/DanielFryy/Documents/Projects/Libraries/artisan_monorepo/node_modules","statSize":14753,"groups":[{"label":"snake-case/dist.es2015","path":"./Users/DanielFryy/Documents/Projects/Libraries/artisan_monorepo/node_modules/snake-case/dist.es2015/index.js + 4 modules (concatenated)/Users/DanielFryy/Documents/Projects/Libraries/artisan_monorepo/node_modules/snake-case/dist.es2015","statSize":261,"groups":[{"id":null,"label":"index.js","path":"./Users/DanielFryy/Documents/Projects/Libraries/artisan_monorepo/node_modules/snake-case/dist.es2015/index.js + 4 modules (concatenated)/Users/DanielFryy/Documents/Projects/Libraries/artisan_monorepo/node_modules/snake-case/dist.es2015/index.js","statSize":261,"parsedSize":17,"gzipSize":9,"inaccurateSizes":true}],"parsedSize":17,"gzipSize":9,"inaccurateSizes":true},{"label":"tslib","path":"./Users/DanielFryy/Documents/Projects/Libraries/artisan_monorepo/node_modules/snake-case/dist.es2015/index.js + 4 modules (concatenated)/Users/DanielFryy/Documents/Projects/Libraries/artisan_monorepo/node_modules/tslib","statSize":11605,"groups":[{"id":null,"label":"tslib.es6.js","path":"./Users/DanielFryy/Documents/Projects/Libraries/artisan_monorepo/node_modules/snake-case/dist.es2015/index.js + 4 modules (concatenated)/Users/DanielFryy/Documents/Projects/Libraries/artisan_monorepo/node_modules/tslib/tslib.es6.js","statSize":11605,"parsedSize":775,"gzipSize":416,"inaccurateSizes":true}],"parsedSize":775,"gzipSize":416,"inaccurateSizes":true},{"label":"dot-case/dist.es2015","path":"./Users/DanielFryy/Documents/Projects/Libraries/artisan_monorepo/node_modules/snake-case/dist.es2015/index.js + 4 modules (concatenated)/Users/DanielFryy/Documents/Projects/Libraries/artisan_monorepo/node_modules/dot-case/dist.es2015","statSize":256,"groups":[{"id":null,"label":"index.js","path":"./Users/DanielFryy/Documents/Projects/Libraries/artisan_monorepo/node_modules/snake-case/dist.es2015/index.js + 4 modules (concatenated)/Users/DanielFryy/Documents/Projects/Libraries/artisan_monorepo/node_modules/dot-case/dist.es2015/index.js","statSize":256,"parsedSize":17,"gzipSize":9,"inaccurateSizes":true}],"parsedSize":17,"gzipSize":9,"inaccurateSizes":true},{"label":"no-case/dist.es2015","path":"./Users/DanielFryy/Documents/Projects/Libraries/artisan_monorepo/node_modules/snake-case/dist.es2015/index.js + 4 modules (concatenated)/Users/DanielFryy/Documents/Projects/Libraries/artisan_monorepo/node_modules/no-case/dist.es2015","statSize":1490,"groups":[{"id":null,"label":"index.js","path":"./Users/DanielFryy/Documents/Projects/Libraries/artisan_monorepo/node_modules/snake-case/dist.es2015/index.js + 4 modules (concatenated)/Users/DanielFryy/Documents/Projects/Libraries/artisan_monorepo/node_modules/no-case/dist.es2015/index.js","statSize":1490,"parsedSize":99,"gzipSize":53,"inaccurateSizes":true}],"parsedSize":99,"gzipSize":53,"inaccurateSizes":true},{"label":"lower-case/dist.es2015","path":"./Users/DanielFryy/Documents/Projects/Libraries/artisan_monorepo/node_modules/snake-case/dist.es2015/index.js + 4 modules (concatenated)/Users/DanielFryy/Documents/Projects/Libraries/artisan_monorepo/node_modules/lower-case/dist.es2015","statSize":1141,"groups":[{"id":null,"label":"index.js","path":"./Users/DanielFryy/Documents/Projects/Libraries/artisan_monorepo/node_modules/snake-case/dist.es2015/index.js + 4 modules (concatenated)/Users/DanielFryy/Documents/Projects/Libraries/artisan_monorepo/node_modules/lower-case/dist.es2015/index.js","statSize":1141,"parsedSize":76,"gzipSize":40,"inaccurateSizes":true}],"parsedSize":76,"gzipSize":40,"inaccurateSizes":true}],"parsedSize":986,"gzipSize":530,"inaccurateSizes":true}]}],"parsedSize":986,"gzipSize":530}]}]
|
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@artisan-commerce/analytics-rn",
|
|
3
3
|
"description": "Artisan commerce analytics react native library",
|
|
4
|
-
"version": "0.1.1-canary.
|
|
4
|
+
"version": "0.1.1-canary.7",
|
|
5
5
|
"main": "./build/main.bundle.js",
|
|
6
|
-
"types": "./build/index.d.ts",
|
|
6
|
+
"types": "./build/analytics-rn/src/index.d.ts",
|
|
7
7
|
"files": [
|
|
8
8
|
"build/",
|
|
9
9
|
"LICENSE",
|
|
@@ -88,5 +88,5 @@
|
|
|
88
88
|
"react": ">= 16.8.6",
|
|
89
89
|
"react-native-fbsdk": "*"
|
|
90
90
|
},
|
|
91
|
-
"gitHead": "
|
|
91
|
+
"gitHead": "5b35addec6ba05bd2c9d1c0900fc650fd07e1900"
|
|
92
92
|
}
|