polyv-rum-sdk 0.1.18 → 0.1.19

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -372,7 +372,7 @@ var transformDataForSLS = (data, context = {}) => {
372
372
  };
373
373
  };
374
374
  var shouldReport = (data) => {
375
- if (data.type === "init") {
375
+ if (data.type === "init" || data.category === "init") {
376
376
  return false;
377
377
  }
378
378
  const dataType = data.type;
package/dist/index.mjs CHANGED
@@ -299,7 +299,7 @@ var transformDataForSLS = (data, context = {}) => {
299
299
  };
300
300
  };
301
301
  var shouldReport = (data) => {
302
- if (data.type === "init") {
302
+ if (data.type === "init" || data.category === "init") {
303
303
  return false;
304
304
  }
305
305
  const dataType = data.type;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "polyv-rum-sdk",
3
- "version": "0.1.18",
3
+ "version": "0.1.19",
4
4
  "private": false,
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",