@usereactify/search 5.15.2 → 5.16.0

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 CHANGED
@@ -2,6 +2,13 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ## [5.16.0](https://bitbucket.org/usereactify/reactify-search-ui/compare/release-v5.15.2...release-v5.16.0) (2022-12-08)
6
+
7
+
8
+ ### Features
9
+
10
+ * implement ga-gtag ([ff0bcb2](https://bitbucket.org/usereactify/reactify-search-ui/commit/ff0bcb2d8490f6a428769c21b8f9472207c8792f))
11
+
5
12
  ### [5.15.2](https://bitbucket.org/usereactify/reactify-search-ui/compare/release-v5.15.1...release-v5.15.2) (2022-12-07)
6
13
 
7
14
  ### [5.15.1](https://bitbucket.org/usereactify/reactify-search-ui/compare/release-v5.15.0...release-v5.15.1) (2022-12-07)
package/dist/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@usereactify/search",
3
3
  "description": "React UI library for Reactify Search",
4
- "version": "5.15.2",
4
+ "version": "5.16.0",
5
5
  "license": "MIT",
6
6
  "main": "dist/src/index.js",
7
7
  "types": "dist/src/index.d.ts",
@@ -35,6 +35,7 @@
35
35
  "axios": "0.26.1",
36
36
  "currency.js": "2.0.4",
37
37
  "debug": "4.3.2",
38
+ "ga-gtag": "1.1.5",
38
39
  "react-intersection-observer": "9.1.0",
39
40
  "react-slider": "2.0.4"
40
41
  },
package/dist/src/index.js CHANGED
@@ -27,9 +27,12 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
27
27
  Object.defineProperty(exports, "__esModule", { value: true });
28
28
  const Sentry = __importStar(require("@sentry/react"));
29
29
  const tracing_1 = require("@sentry/tracing");
30
+ // @ts-expect-error missing types
31
+ const GaGtag = __importStar(require("ga-gtag"));
30
32
  const utility_1 = require("./utility");
31
33
  const package_json_1 = __importDefault(require("../package.json"));
32
34
  utility_1.debug.log("package", `${package_json_1.default.name} v${package_json_1.default.version}`);
35
+ GaGtag.install("G-DV00Z0X5VP");
33
36
  Sentry.init({
34
37
  dsn: "https://f591e13196ad4d6bbcd8abbeb2e023db@o1280055.ingest.sentry.io/6482743",
35
38
  integrations: [new tracing_1.BrowserTracing()],
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sDAAwC;AACxC,6CAAiD;AAEjD,uCAAkC;AAClC,mEAAkC;AAElC,eAAK,CAAC,GAAG,CAAC,SAAS,EAAE,GAAG,sBAAG,CAAC,IAAI,KAAK,sBAAG,CAAC,OAAO,EAAE,CAAC,CAAC;AAEpD,MAAM,CAAC,IAAI,CAAC;IACV,GAAG,EAAE,4EAA4E;IACjF,YAAY,EAAE,CAAC,IAAI,wBAAc,EAAE,CAAC;IACpC,gBAAgB,EAAE,GAAG;IACrB,OAAO,EAAE,sBAAG,CAAC,OAAO;IACpB,UAAU,EAAE,CAAC,KAAK,EAAE,EAAE;;QACpB,eAAK,CAAC,GAAG,CAAC,QAAQ,EAAE,KAAK,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC;QACxC,kDAAkD;QAClD,MAAM,SAAS,GAAG,MAAA,MAAA,KAAK,CAAC,SAAS,0CAAE,MAAM,0CAAG,CAAC,CAAC,CAAC;QAC/C,KAAK,MAAM,KAAK,IAAI,MAAA,MAAA,SAAS,aAAT,SAAS,uBAAT,SAAS,CAAE,UAAU,0CAAE,MAAM,mCAAI,EAAE,EAAE;YACvD,IAAI,KAAK,CAAC,QAAQ,EAAE;gBAClB,KAAK,CAAC,QAAQ,GAAG,KAAK,CAAC,QAAQ,CAAC,OAAO,CACrC,kCAAkC,EAClC,GAAG,CACJ,CAAC;aACH;SACF;QAED,OAAO,KAAK,CAAC;IACf,CAAC;IACD,gBAAgB,EAAE,CAAC,UAAU,EAAE,EAAE;;QAC/B,IAAI,MAAA,UAAU,CAAC,QAAQ,0CAAE,QAAQ,CAAC,iBAAiB,CAAC,EAAE;YACpD,eAAK,CAAC,GAAG,CAAC,QAAQ,EAAE,YAAY,EAAE,UAAU,CAAC,CAAC;SAC/C;QAED,OAAO,UAAU,CAAC;IACpB,CAAC;CACF,CAAC,CAAC;AAEH,+CAA6B;AAC7B,0CAAwB;AACxB,0CAAwB;AACxB,mDAAiC","sourcesContent":["import * as Sentry from \"@sentry/react\";\nimport { BrowserTracing } from \"@sentry/tracing\";\n\nimport { debug } from \"./utility\";\nimport pkg from \"../package.json\";\n\ndebug.log(\"package\", `${pkg.name} v${pkg.version}`);\n\nSentry.init({\n dsn: \"https://f591e13196ad4d6bbcd8abbeb2e023db@o1280055.ingest.sentry.io/6482743\",\n integrations: [new BrowserTracing()],\n tracesSampleRate: 1.0,\n release: pkg.version,\n beforeSend: (event) => {\n debug.log(\"sentry\", event.level, event);\n // rename stacktrace frames to point to sourcemaps\n const exception = event.exception?.values?.[0];\n for (const frame of exception?.stacktrace?.frames ?? []) {\n if (frame.filename) {\n frame.filename = frame.filename.replace(\n /^(.*?)@usereactify\\/search\\/dist/,\n \"~\"\n );\n }\n }\n\n return event;\n },\n beforeBreadcrumb: (breadcrumb) => {\n if (breadcrumb.category?.includes(\"reactify-search\")) {\n debug.log(\"sentry\", \"breadcrumb\", breadcrumb);\n }\n\n return breadcrumb;\n },\n});\n\nexport * from \"./components\";\nexport * from \"./hooks\";\nexport * from \"./types\";\nexport * from \"./utility/liquid\";\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sDAAwC;AACxC,6CAAiD;AACjD,iCAAiC;AACjC,gDAAkC;AAElC,uCAAkC;AAClC,mEAAkC;AAElC,eAAK,CAAC,GAAG,CAAC,SAAS,EAAE,GAAG,sBAAG,CAAC,IAAI,KAAK,sBAAG,CAAC,OAAO,EAAE,CAAC,CAAC;AAEpD,MAAM,CAAC,OAAO,CAAC,cAAc,CAAC,CAAC;AAE/B,MAAM,CAAC,IAAI,CAAC;IACV,GAAG,EAAE,4EAA4E;IACjF,YAAY,EAAE,CAAC,IAAI,wBAAc,EAAE,CAAC;IACpC,gBAAgB,EAAE,GAAG;IACrB,OAAO,EAAE,sBAAG,CAAC,OAAO;IACpB,UAAU,EAAE,CAAC,KAAK,EAAE,EAAE;;QACpB,eAAK,CAAC,GAAG,CAAC,QAAQ,EAAE,KAAK,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC;QACxC,kDAAkD;QAClD,MAAM,SAAS,GAAG,MAAA,MAAA,KAAK,CAAC,SAAS,0CAAE,MAAM,0CAAG,CAAC,CAAC,CAAC;QAC/C,KAAK,MAAM,KAAK,IAAI,MAAA,MAAA,SAAS,aAAT,SAAS,uBAAT,SAAS,CAAE,UAAU,0CAAE,MAAM,mCAAI,EAAE,EAAE;YACvD,IAAI,KAAK,CAAC,QAAQ,EAAE;gBAClB,KAAK,CAAC,QAAQ,GAAG,KAAK,CAAC,QAAQ,CAAC,OAAO,CACrC,kCAAkC,EAClC,GAAG,CACJ,CAAC;aACH;SACF;QAED,OAAO,KAAK,CAAC;IACf,CAAC;IACD,gBAAgB,EAAE,CAAC,UAAU,EAAE,EAAE;;QAC/B,IAAI,MAAA,UAAU,CAAC,QAAQ,0CAAE,QAAQ,CAAC,iBAAiB,CAAC,EAAE;YACpD,eAAK,CAAC,GAAG,CAAC,QAAQ,EAAE,YAAY,EAAE,UAAU,CAAC,CAAC;SAC/C;QAED,OAAO,UAAU,CAAC;IACpB,CAAC;CACF,CAAC,CAAC;AAEH,+CAA6B;AAC7B,0CAAwB;AACxB,0CAAwB;AACxB,mDAAiC","sourcesContent":["import * as Sentry from \"@sentry/react\";\nimport { BrowserTracing } from \"@sentry/tracing\";\n// @ts-expect-error missing types\nimport * as GaGtag from \"ga-gtag\";\n\nimport { debug } from \"./utility\";\nimport pkg from \"../package.json\";\n\ndebug.log(\"package\", `${pkg.name} v${pkg.version}`);\n\nGaGtag.install(\"G-DV00Z0X5VP\");\n\nSentry.init({\n dsn: \"https://f591e13196ad4d6bbcd8abbeb2e023db@o1280055.ingest.sentry.io/6482743\",\n integrations: [new BrowserTracing()],\n tracesSampleRate: 1.0,\n release: pkg.version,\n beforeSend: (event) => {\n debug.log(\"sentry\", event.level, event);\n // rename stacktrace frames to point to sourcemaps\n const exception = event.exception?.values?.[0];\n for (const frame of exception?.stacktrace?.frames ?? []) {\n if (frame.filename) {\n frame.filename = frame.filename.replace(\n /^(.*?)@usereactify\\/search\\/dist/,\n \"~\"\n );\n }\n }\n\n return event;\n },\n beforeBreadcrumb: (breadcrumb) => {\n if (breadcrumb.category?.includes(\"reactify-search\")) {\n debug.log(\"sentry\", \"breadcrumb\", breadcrumb);\n }\n\n return breadcrumb;\n },\n});\n\nexport * from \"./components\";\nexport * from \"./hooks\";\nexport * from \"./types\";\nexport * from \"./utility/liquid\";\n"]}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@usereactify/search",
3
3
  "description": "React UI library for Reactify Search",
4
- "version": "5.15.2",
4
+ "version": "5.16.0",
5
5
  "license": "MIT",
6
6
  "main": "dist/src/index.js",
7
7
  "types": "dist/src/index.d.ts",
@@ -35,6 +35,7 @@
35
35
  "axios": "0.26.1",
36
36
  "currency.js": "2.0.4",
37
37
  "debug": "4.3.2",
38
+ "ga-gtag": "1.1.5",
38
39
  "react-intersection-observer": "9.1.0",
39
40
  "react-slider": "2.0.4"
40
41
  },