@eventvisor/module-console 0.8.0 → 0.10.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
@@ -3,6 +3,25 @@
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.10.0](https://github.com/eventvisor/eventvisor/compare/v0.9.0...v0.10.0) (2025-11-01)
7
+
8
+ **Note:** Version bump only for package @eventvisor/module-console
9
+
10
+
11
+
12
+
13
+
14
+ # [0.9.0](https://github.com/eventvisor/eventvisor/compare/v0.8.0...v0.9.0) (2025-11-01)
15
+
16
+
17
+ ### Features
18
+
19
+ * New Relic Browser module ([#26](https://github.com/eventvisor/eventvisor/issues/26)) ([d6ad9ed](https://github.com/eventvisor/eventvisor/commit/d6ad9edd4fd895f48070fffad4ac3f8967671229))
20
+
21
+
22
+
23
+
24
+
6
25
  # [0.8.0](https://github.com/eventvisor/eventvisor/compare/v0.7.0...v0.8.0) (2025-10-28)
7
26
 
8
27
  **Note:** Version bump only for package @eventvisor/module-console
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { Module } from "@eventvisor/sdk";
1
+ import type { Module } from "@eventvisor/sdk";
2
2
  export type ConsoleModuleOptions = {
3
3
  name?: string;
4
4
  console?: Console;
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","mappings":"CAAA,SAA2CA,EAAMC,GAC1B,iBAAZC,SAA0C,iBAAXC,OACxCA,OAAOD,QAAUD,IACQ,mBAAXG,QAAyBA,OAAOC,IAC9CD,OAAO,GAAIH,GACe,iBAAZC,QACdA,QAAiC,wBAAID,IAErCD,EAA8B,wBAAIC,GACnC,CATD,CASGK,KAAM,I,uBCNLC,EAAsB,CAAC,E,miDCK3B,+BAAoCC,GAApC,gBAAoC,IAAAA,IAAAA,EAAA,IAC1B,MAA6EA,EAAO,KAApFC,OAAI,IAAG,YAAS,EAAE,EAA2DD,EAAO,OAAlEE,OAAM,IAAG,kBAAe,EAAE,EAAiCF,EAAO,QAAxCG,OAAO,IAAG,EAAAC,WAAWD,QAAO,EAEhF,MAAO,CACLF,KAAI,EAEJI,UAAW,2CAAO,G,MAAEC,EAAS,YAAEC,EAAU,aAAEC,EAAO,UAAEC,EAAK,Q,0BAGvD,OAFMC,EAAU,UAAGR,EAAM,YAAII,EAAS,KAElCG,GACFN,EAAQM,MAAMC,EAASD,EAAOD,GAE9B,MAGiB,UAAfD,EACFJ,EAAQM,MAAMC,EAASF,GACC,YAAfD,EACTJ,EAAQQ,KAAKD,EAASF,GACE,SAAfD,EACTJ,EAAQS,KAAKF,EAASF,GACE,UAAfD,EACTJ,EAAQU,MAAMH,EAASF,GAEvBL,EAAQW,IAAIJ,EAASF,G,UAI7B,C,GDhCoB,KAAK,EAAGT,G","sources":["webpack://EventvisorConsoleModule/webpack/universalModuleDefinition","webpack://EventvisorConsoleModule/webpack/startup","webpack://EventvisorConsoleModule/./src/index.ts"],"sourcesContent":["(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory();\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"EventvisorConsoleModule\"] = factory();\n\telse\n\t\troot[\"EventvisorConsoleModule\"] = factory();\n})(this, () => {\nreturn ","// startup\n// Load entry module and return exports\n// This entry module is referenced by other modules so it can't be inlined\nvar __webpack_exports__ = {};\n__webpack_modules__[166](0, __webpack_exports__);\n","import { Module } from \"@eventvisor/sdk\";\n\nexport type ConsoleModuleOptions = {\n name?: string;\n console?: Console;\n prefix?: string;\n};\n\nexport function createConsoleModule(options: ConsoleModuleOptions = {}): Module {\n const { name = \"console\", prefix = \"[Eventvisor] \", console = globalThis.console } = options;\n\n return {\n name,\n\n transport: async ({ eventName, eventLevel, payload, error }) => {\n const message = `${prefix}[${eventName}]`;\n\n if (error) {\n console.error(message, error, payload);\n\n return;\n }\n\n if (eventLevel === \"error\") {\n console.error(message, payload);\n } else if (eventLevel === \"warning\") {\n console.warn(message, payload);\n } else if (eventLevel === \"info\") {\n console.info(message, payload);\n } else if (eventLevel === \"debug\") {\n console.debug(message, payload);\n } else {\n console.log(message, payload);\n }\n },\n };\n}\n"],"names":["root","factory","exports","module","define","amd","this","__webpack_exports__","options","name","prefix","console","globalThis","transport","eventName","eventLevel","payload","error","message","warn","info","debug","log"],"sourceRoot":""}
1
+ {"version":3,"file":"index.js","mappings":"CAAA,SAA2CA,EAAMC,GAC1B,iBAAZC,SAA0C,iBAAXC,OACxCA,OAAOD,QAAUD,IACQ,mBAAXG,QAAyBA,OAAOC,IAC9CD,OAAO,GAAIH,GACe,iBAAZC,QACdA,QAAiC,wBAAID,IAErCD,EAA8B,wBAAIC,GACnC,CATD,CASGK,KAAM,I,uBCNLC,EAAsB,CAAC,E,miDCK3B,+BAAoCC,GAApC,gBAAoC,IAAAA,IAAAA,EAAA,IAC1B,MAA6EA,EAAO,KAApFC,OAAI,IAAG,YAAS,EAAE,EAA2DD,EAAO,OAAlEE,OAAM,IAAG,kBAAe,EAAE,EAAiCF,EAAO,QAAxCG,OAAO,IAAG,EAAAC,WAAWD,QAAO,EAEhF,MAAO,CACLF,KAAI,EAEJI,UAAW,2CAAO,G,MAAEC,EAAS,YAAEC,EAAU,aAAEC,EAAO,UAAEC,EAAK,Q,0BAGvD,OAFMC,EAAU,UAAGR,EAAM,YAAII,EAAS,KAElCG,GACFN,EAAQM,MAAMC,EAASD,EAAOD,GAE9B,MAGiB,UAAfD,EACFJ,EAAQM,MAAMC,EAASF,GACC,YAAfD,EACTJ,EAAQQ,KAAKD,EAASF,GACE,SAAfD,EACTJ,EAAQS,KAAKF,EAASF,GACE,UAAfD,EACTJ,EAAQU,MAAMH,EAASF,GAEvBL,EAAQW,IAAIJ,EAASF,G,UAI7B,C,GDhCoB,KAAK,EAAGT,G","sources":["webpack://EventvisorConsoleModule/webpack/universalModuleDefinition","webpack://EventvisorConsoleModule/webpack/startup","webpack://EventvisorConsoleModule/./src/index.ts"],"sourcesContent":["(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory();\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"EventvisorConsoleModule\"] = factory();\n\telse\n\t\troot[\"EventvisorConsoleModule\"] = factory();\n})(this, () => {\nreturn ","// startup\n// Load entry module and return exports\n// This entry module is referenced by other modules so it can't be inlined\nvar __webpack_exports__ = {};\n__webpack_modules__[166](0, __webpack_exports__);\n","import type { Module } from \"@eventvisor/sdk\";\n\nexport type ConsoleModuleOptions = {\n name?: string;\n console?: Console;\n prefix?: string;\n};\n\nexport function createConsoleModule(options: ConsoleModuleOptions = {}): Module {\n const { name = \"console\", prefix = \"[Eventvisor] \", console = globalThis.console } = options;\n\n return {\n name,\n\n transport: async ({ eventName, eventLevel, payload, error }) => {\n const message = `${prefix}[${eventName}]`;\n\n if (error) {\n console.error(message, error, payload);\n\n return;\n }\n\n if (eventLevel === \"error\") {\n console.error(message, payload);\n } else if (eventLevel === \"warning\") {\n console.warn(message, payload);\n } else if (eventLevel === \"info\") {\n console.info(message, payload);\n } else if (eventLevel === \"debug\") {\n console.debug(message, payload);\n } else {\n console.log(message, payload);\n }\n },\n };\n}\n"],"names":["root","factory","exports","module","define","amd","this","__webpack_exports__","options","name","prefix","console","globalThis","transport","eventName","eventLevel","payload","error","message","warn","info","debug","log"],"sourceRoot":""}
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","mappings":"AACA,IAAIA,EAAsB,CCA1BA,EAAwB,CAACC,EAASC,KACjC,IAAI,IAAIC,KAAOD,EACXF,EAAoBI,EAAEF,EAAYC,KAASH,EAAoBI,EAAEH,EAASE,IAC5EE,OAAOC,eAAeL,EAASE,EAAK,CAAEI,YAAY,EAAMC,IAAKN,EAAWC,MCJ3EH,EAAwB,CAACS,EAAKC,IAAUL,OAAOM,UAAUC,eAAeC,KAAKJ,EAAKC,I,4TCQ3E,SAASI,EAAoBC,EAAgC,CAAC,GACnE,MAAM,KAAEC,EAAO,UAAS,OAAEC,EAAS,gBAAe,QAAEC,EAAUC,WAAWD,SAAYH,EAErF,MAAO,CACLC,OAEAI,UAAW,GAAqD,EAAD,2BAA7C,UAAEC,EAAS,WAAEC,EAAU,QAAEC,EAAO,MAAEC,IAClD,MAAMC,EAAU,GAAGR,KAAUI,KAEzBG,EACFN,EAAQM,MAAMC,EAASD,EAAOD,GAKb,UAAfD,EACFJ,EAAQM,MAAMC,EAASF,GACC,YAAfD,EACTJ,EAAQQ,KAAKD,EAASF,GACE,SAAfD,EACTJ,EAAQS,KAAKF,EAASF,GACE,UAAfD,EACTJ,EAAQU,MAAMH,EAASF,GAEvBL,EAAQW,IAAIJ,EAASF,EAEzB,GAEJ,C","sources":["webpack://@eventvisor/module-console/webpack/bootstrap","webpack://@eventvisor/module-console/webpack/runtime/define property getters","webpack://@eventvisor/module-console/webpack/runtime/hasOwnProperty shorthand","webpack://@eventvisor/module-console/./src/index.ts"],"sourcesContent":["// The require scope\nvar __webpack_require__ = {};\n\n","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","import { Module } from \"@eventvisor/sdk\";\n\nexport type ConsoleModuleOptions = {\n name?: string;\n console?: Console;\n prefix?: string;\n};\n\nexport function createConsoleModule(options: ConsoleModuleOptions = {}): Module {\n const { name = \"console\", prefix = \"[Eventvisor] \", console = globalThis.console } = options;\n\n return {\n name,\n\n transport: async ({ eventName, eventLevel, payload, error }) => {\n const message = `${prefix}[${eventName}]`;\n\n if (error) {\n console.error(message, error, payload);\n\n return;\n }\n\n if (eventLevel === \"error\") {\n console.error(message, payload);\n } else if (eventLevel === \"warning\") {\n console.warn(message, payload);\n } else if (eventLevel === \"info\") {\n console.info(message, payload);\n } else if (eventLevel === \"debug\") {\n console.debug(message, payload);\n } else {\n console.log(message, payload);\n }\n },\n };\n}\n"],"names":["__webpack_require__","exports","definition","key","o","Object","defineProperty","enumerable","get","obj","prop","prototype","hasOwnProperty","call","createConsoleModule","options","name","prefix","console","globalThis","transport","eventName","eventLevel","payload","error","message","warn","info","debug","log"],"sourceRoot":""}
1
+ {"version":3,"file":"index.mjs","mappings":"AACA,IAAIA,EAAsB,CCA1BA,EAAwB,CAACC,EAASC,KACjC,IAAI,IAAIC,KAAOD,EACXF,EAAoBI,EAAEF,EAAYC,KAASH,EAAoBI,EAAEH,EAASE,IAC5EE,OAAOC,eAAeL,EAASE,EAAK,CAAEI,YAAY,EAAMC,IAAKN,EAAWC,MCJ3EH,EAAwB,CAACS,EAAKC,IAAUL,OAAOM,UAAUC,eAAeC,KAAKJ,EAAKC,I,4TCQ3E,SAASI,EAAoBC,EAAgC,CAAC,GACnE,MAAM,KAAEC,EAAO,UAAS,OAAEC,EAAS,gBAAe,QAAEC,EAAUC,WAAWD,SAAYH,EAErF,MAAO,CACLC,OAEAI,UAAW,GAAqD,EAAD,2BAA7C,UAAEC,EAAS,WAAEC,EAAU,QAAEC,EAAO,MAAEC,IAClD,MAAMC,EAAU,GAAGR,KAAUI,KAEzBG,EACFN,EAAQM,MAAMC,EAASD,EAAOD,GAKb,UAAfD,EACFJ,EAAQM,MAAMC,EAASF,GACC,YAAfD,EACTJ,EAAQQ,KAAKD,EAASF,GACE,SAAfD,EACTJ,EAAQS,KAAKF,EAASF,GACE,UAAfD,EACTJ,EAAQU,MAAMH,EAASF,GAEvBL,EAAQW,IAAIJ,EAASF,EAEzB,GAEJ,C","sources":["webpack://@eventvisor/module-console/webpack/bootstrap","webpack://@eventvisor/module-console/webpack/runtime/define property getters","webpack://@eventvisor/module-console/webpack/runtime/hasOwnProperty shorthand","webpack://@eventvisor/module-console/./src/index.ts"],"sourcesContent":["// The require scope\nvar __webpack_require__ = {};\n\n","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","import type { Module } from \"@eventvisor/sdk\";\n\nexport type ConsoleModuleOptions = {\n name?: string;\n console?: Console;\n prefix?: string;\n};\n\nexport function createConsoleModule(options: ConsoleModuleOptions = {}): Module {\n const { name = \"console\", prefix = \"[Eventvisor] \", console = globalThis.console } = options;\n\n return {\n name,\n\n transport: async ({ eventName, eventLevel, payload, error }) => {\n const message = `${prefix}[${eventName}]`;\n\n if (error) {\n console.error(message, error, payload);\n\n return;\n }\n\n if (eventLevel === \"error\") {\n console.error(message, payload);\n } else if (eventLevel === \"warning\") {\n console.warn(message, payload);\n } else if (eventLevel === \"info\") {\n console.info(message, payload);\n } else if (eventLevel === \"debug\") {\n console.debug(message, payload);\n } else {\n console.log(message, payload);\n }\n },\n };\n}\n"],"names":["__webpack_require__","exports","definition","key","o","Object","defineProperty","enumerable","get","obj","prop","prototype","hasOwnProperty","call","createConsoleModule","options","name","prefix","console","globalThis","transport","eventName","eventLevel","payload","error","message","warn","info","debug","log"],"sourceRoot":""}
package/lib/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { Module } from "@eventvisor/sdk";
1
+ import type { Module } from "@eventvisor/sdk";
2
2
  export type ConsoleModuleOptions = {
3
3
  name?: string;
4
4
  console?: Console;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eventvisor/module-console",
3
- "version": "0.8.0",
3
+ "version": "0.10.0",
4
4
  "description": "Eventvisor Console module",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.mjs",
@@ -38,8 +38,8 @@
38
38
  "url": "https://github.com/eventvisor/eventvisor/issues"
39
39
  },
40
40
  "devDependencies": {
41
- "@eventvisor/sdk": "0.8.0"
41
+ "@eventvisor/sdk": "0.10.0"
42
42
  },
43
43
  "license": "MIT",
44
- "gitHead": "576d9aad61a71d542a0c574b1cd343c1f78ec9ca"
44
+ "gitHead": "7f0d14c5ee3b2727deb93aead60f108d068da406"
45
45
  }
package/src/index.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { Module } from "@eventvisor/sdk";
1
+ import type { Module } from "@eventvisor/sdk";
2
2
 
3
3
  export type ConsoleModuleOptions = {
4
4
  name?: string;