@eventvisor/module-uuid 0.8.0 → 0.9.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,17 @@
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.9.0](https://github.com/eventvisor/eventvisor/compare/v0.8.0...v0.9.0) (2025-11-01)
7
+
8
+
9
+ ### Features
10
+
11
+ * New Relic Browser module ([#26](https://github.com/eventvisor/eventvisor/issues/26)) ([d6ad9ed](https://github.com/eventvisor/eventvisor/commit/d6ad9edd4fd895f48070fffad4ac3f8967671229))
12
+
13
+
14
+
15
+
16
+
6
17
  # [0.8.0](https://github.com/eventvisor/eventvisor/compare/v0.7.0...v0.8.0) (2025-10-28)
7
18
 
8
19
  **Note:** Version bump only for package @eventvisor/module-uuid
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 UUIDModuleOptions = {
3
3
  name?: string;
4
4
  prefix?: string;
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,QAA8B,qBAAID,IAElCD,EAA2B,qBAAIC,GAChC,CATD,CASGK,KAAM,I,uBCNLC,EAAsB,CAAC,E,k/CC4B3B,SAAgBC,IACd,GAAsB,oBAAXC,OACT,OAAOA,OAAOC,aAId,IAGE,OAFa,wGAKf,CAAE,MAAOC,GAET,CAGF,OAzCF,WAKE,IAJA,IAAMC,EAAY,mBACdC,EAAO,GAGFC,EAAI,EAAGA,EAAI,GAAIA,IAAK,CAC3B,IAAMC,EAAaC,KAAKC,MAAsB,GAAhBD,KAAKE,UAEzB,IAANJ,GAAiB,KAANA,GAAkB,KAANA,GAAkB,KAANA,IACrCD,GAAQ,KAIRA,GADQ,KAANC,EACM,IACO,KAANA,EACDF,EAAwB,EAAbG,EAAoB,GAE/BH,EAAUG,EAEtB,CAEA,OAAOF,CACT,CAmBSM,EACT,C,iDAlBA,iBAoBA,4BAAiCC,GAAjC,gBAAiC,IAAAA,IAAAA,EAAA,IACvB,MAAkBA,EAAO,KAEjC,MAAO,CACLC,UAHU,IAAG,SAAM,EAKnBC,OAAQ,+C,0BACN,MAAO,CAAP,EAAOd,I,MAGb,C,GDzDoB,KAAK,EAAGD,G","sources":["webpack://EventvisorUUIDModule/webpack/universalModuleDefinition","webpack://EventvisorUUIDModule/webpack/startup","webpack://EventvisorUUIDModule/./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[\"EventvisorUUIDModule\"] = factory();\n\telse\n\t\troot[\"EventvisorUUIDModule\"] = 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 UUIDModuleOptions = {\n name?: string;\n prefix?: string;\n};\n\nfunction generateCustomUUID(): string {\n const hexDigits = \"0123456789abcdef\";\n let uuid = \"\";\n\n // Generate 32 hex digits and format as UUID\n for (let i = 0; i < 32; i++) {\n const randomByte = Math.floor(Math.random() * 16);\n // Insert dashes according to UUID format (8-4-4-4-12)\n if (i === 8 || i === 12 || i === 16 || i === 20) {\n uuid += \"-\";\n }\n // Set version 4 and variant bits\n if (i === 12) {\n uuid += \"4\"; // Version 4\n } else if (i === 16) {\n uuid += hexDigits[(randomByte & 0x3) | 0x8]; // Variant bits\n } else {\n uuid += hexDigits[randomByte];\n }\n }\n\n return uuid;\n}\n\nexport function generateUUID(): string {\n if (typeof crypto !== \"undefined\") {\n return crypto.randomUUID();\n }\n\n if (typeof require !== \"undefined\") {\n try {\n const uuid = require(\"crypto\").randomUUID();\n\n return uuid;\n\n // eslint-disable-next-line\n } catch (e) {\n // do nothing\n }\n }\n\n return generateCustomUUID();\n}\n\nexport function createUUIDModule(options: UUIDModuleOptions = {}): Module {\n const { name = \"uuid\" } = options;\n\n return {\n name,\n\n lookup: async () => {\n return generateUUID();\n },\n };\n}\n"],"names":["root","factory","exports","module","define","amd","this","__webpack_exports__","generateUUID","crypto","randomUUID","e","hexDigits","uuid","i","randomByte","Math","floor","random","generateCustomUUID","options","name","lookup"],"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,QAA8B,qBAAID,IAElCD,EAA2B,qBAAIC,GAChC,CATD,CASGK,KAAM,I,uBCNLC,EAAsB,CAAC,E,k/CC4B3B,SAAgBC,IACd,GAAsB,oBAAXC,OACT,OAAOA,OAAOC,aAId,IAGE,OAFa,wGAKf,CAAE,MAAOC,GAET,CAGF,OAzCF,WAKE,IAJA,IAAMC,EAAY,mBACdC,EAAO,GAGFC,EAAI,EAAGA,EAAI,GAAIA,IAAK,CAC3B,IAAMC,EAAaC,KAAKC,MAAsB,GAAhBD,KAAKE,UAEzB,IAANJ,GAAiB,KAANA,GAAkB,KAANA,GAAkB,KAANA,IACrCD,GAAQ,KAIRA,GADQ,KAANC,EACM,IACO,KAANA,EACDF,EAAwB,EAAbG,EAAoB,GAE/BH,EAAUG,EAEtB,CAEA,OAAOF,CACT,CAmBSM,EACT,C,iDAlBA,iBAoBA,4BAAiCC,GAAjC,gBAAiC,IAAAA,IAAAA,EAAA,IACvB,MAAkBA,EAAO,KAEjC,MAAO,CACLC,UAHU,IAAG,SAAM,EAKnBC,OAAQ,+C,0BACN,MAAO,CAAP,EAAOd,I,MAGb,C,GDzDoB,KAAK,EAAGD,G","sources":["webpack://EventvisorUUIDModule/webpack/universalModuleDefinition","webpack://EventvisorUUIDModule/webpack/startup","webpack://EventvisorUUIDModule/./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[\"EventvisorUUIDModule\"] = factory();\n\telse\n\t\troot[\"EventvisorUUIDModule\"] = 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 UUIDModuleOptions = {\n name?: string;\n prefix?: string;\n};\n\nfunction generateCustomUUID(): string {\n const hexDigits = \"0123456789abcdef\";\n let uuid = \"\";\n\n // Generate 32 hex digits and format as UUID\n for (let i = 0; i < 32; i++) {\n const randomByte = Math.floor(Math.random() * 16);\n // Insert dashes according to UUID format (8-4-4-4-12)\n if (i === 8 || i === 12 || i === 16 || i === 20) {\n uuid += \"-\";\n }\n // Set version 4 and variant bits\n if (i === 12) {\n uuid += \"4\"; // Version 4\n } else if (i === 16) {\n uuid += hexDigits[(randomByte & 0x3) | 0x8]; // Variant bits\n } else {\n uuid += hexDigits[randomByte];\n }\n }\n\n return uuid;\n}\n\nexport function generateUUID(): string {\n if (typeof crypto !== \"undefined\") {\n return crypto.randomUUID();\n }\n\n if (typeof require !== \"undefined\") {\n try {\n const uuid = require(\"crypto\").randomUUID();\n\n return uuid;\n\n // eslint-disable-next-line\n } catch (e) {\n // do nothing\n }\n }\n\n return generateCustomUUID();\n}\n\nexport function createUUIDModule(options: UUIDModuleOptions = {}): Module {\n const { name = \"uuid\" } = options;\n\n return {\n name,\n\n lookup: async () => {\n return generateUUID();\n },\n };\n}\n"],"names":["root","factory","exports","module","define","amd","this","__webpack_exports__","generateUUID","crypto","randomUUID","e","hexDigits","uuid","i","randomByte","Math","floor","random","generateCustomUUID","options","name","lookup"],"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,oUC+B3E,SAASI,IACd,GAAsB,oBAAXC,OACT,OAAOA,OAAOC,aAId,IAGE,OAFa,wGAKf,CAAE,MAAOC,GAET,CAGF,OAzCF,WACE,MAAMC,EAAY,mBAClB,IAAIC,EAAO,GAGX,IAAK,IAAIC,EAAI,EAAGA,EAAI,GAAIA,IAAK,CAC3B,MAAMC,EAAaC,KAAKC,MAAsB,GAAhBD,KAAKE,UAEzB,IAANJ,GAAiB,KAANA,GAAkB,KAANA,GAAkB,KAANA,IACrCD,GAAQ,KAIRA,GADQ,KAANC,EACM,IACO,KAANA,EACDF,EAAwB,EAAbG,EAAoB,GAE/BH,EAAUG,EAEtB,CAEA,OAAOF,CACT,CAmBSM,EACT,CAEO,SAASC,EAAiBC,EAA6B,CAAC,GAC7D,MAAM,KAAEC,EAAO,QAAWD,EAE1B,MAAO,CACLC,OAEAC,OAAQ,IAAY,EAAD,+BACjB,OAAOf,GACT,GAEJ,C","sources":["webpack://@eventvisor/module-uuid/webpack/bootstrap","webpack://@eventvisor/module-uuid/webpack/runtime/define property getters","webpack://@eventvisor/module-uuid/webpack/runtime/hasOwnProperty shorthand","webpack://@eventvisor/module-uuid/./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 UUIDModuleOptions = {\n name?: string;\n prefix?: string;\n};\n\nfunction generateCustomUUID(): string {\n const hexDigits = \"0123456789abcdef\";\n let uuid = \"\";\n\n // Generate 32 hex digits and format as UUID\n for (let i = 0; i < 32; i++) {\n const randomByte = Math.floor(Math.random() * 16);\n // Insert dashes according to UUID format (8-4-4-4-12)\n if (i === 8 || i === 12 || i === 16 || i === 20) {\n uuid += \"-\";\n }\n // Set version 4 and variant bits\n if (i === 12) {\n uuid += \"4\"; // Version 4\n } else if (i === 16) {\n uuid += hexDigits[(randomByte & 0x3) | 0x8]; // Variant bits\n } else {\n uuid += hexDigits[randomByte];\n }\n }\n\n return uuid;\n}\n\nexport function generateUUID(): string {\n if (typeof crypto !== \"undefined\") {\n return crypto.randomUUID();\n }\n\n if (typeof require !== \"undefined\") {\n try {\n const uuid = require(\"crypto\").randomUUID();\n\n return uuid;\n\n // eslint-disable-next-line\n } catch (e) {\n // do nothing\n }\n }\n\n return generateCustomUUID();\n}\n\nexport function createUUIDModule(options: UUIDModuleOptions = {}): Module {\n const { name = \"uuid\" } = options;\n\n return {\n name,\n\n lookup: async () => {\n return generateUUID();\n },\n };\n}\n"],"names":["__webpack_require__","exports","definition","key","o","Object","defineProperty","enumerable","get","obj","prop","prototype","hasOwnProperty","call","generateUUID","crypto","randomUUID","e","hexDigits","uuid","i","randomByte","Math","floor","random","generateCustomUUID","createUUIDModule","options","name","lookup"],"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,oUC+B3E,SAASI,IACd,GAAsB,oBAAXC,OACT,OAAOA,OAAOC,aAId,IAGE,OAFa,wGAKf,CAAE,MAAOC,GAET,CAGF,OAzCF,WACE,MAAMC,EAAY,mBAClB,IAAIC,EAAO,GAGX,IAAK,IAAIC,EAAI,EAAGA,EAAI,GAAIA,IAAK,CAC3B,MAAMC,EAAaC,KAAKC,MAAsB,GAAhBD,KAAKE,UAEzB,IAANJ,GAAiB,KAANA,GAAkB,KAANA,GAAkB,KAANA,IACrCD,GAAQ,KAIRA,GADQ,KAANC,EACM,IACO,KAANA,EACDF,EAAwB,EAAbG,EAAoB,GAE/BH,EAAUG,EAEtB,CAEA,OAAOF,CACT,CAmBSM,EACT,CAEO,SAASC,EAAiBC,EAA6B,CAAC,GAC7D,MAAM,KAAEC,EAAO,QAAWD,EAE1B,MAAO,CACLC,OAEAC,OAAQ,IAAY,EAAD,+BACjB,OAAOf,GACT,GAEJ,C","sources":["webpack://@eventvisor/module-uuid/webpack/bootstrap","webpack://@eventvisor/module-uuid/webpack/runtime/define property getters","webpack://@eventvisor/module-uuid/webpack/runtime/hasOwnProperty shorthand","webpack://@eventvisor/module-uuid/./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 UUIDModuleOptions = {\n name?: string;\n prefix?: string;\n};\n\nfunction generateCustomUUID(): string {\n const hexDigits = \"0123456789abcdef\";\n let uuid = \"\";\n\n // Generate 32 hex digits and format as UUID\n for (let i = 0; i < 32; i++) {\n const randomByte = Math.floor(Math.random() * 16);\n // Insert dashes according to UUID format (8-4-4-4-12)\n if (i === 8 || i === 12 || i === 16 || i === 20) {\n uuid += \"-\";\n }\n // Set version 4 and variant bits\n if (i === 12) {\n uuid += \"4\"; // Version 4\n } else if (i === 16) {\n uuid += hexDigits[(randomByte & 0x3) | 0x8]; // Variant bits\n } else {\n uuid += hexDigits[randomByte];\n }\n }\n\n return uuid;\n}\n\nexport function generateUUID(): string {\n if (typeof crypto !== \"undefined\") {\n return crypto.randomUUID();\n }\n\n if (typeof require !== \"undefined\") {\n try {\n const uuid = require(\"crypto\").randomUUID();\n\n return uuid;\n\n // eslint-disable-next-line\n } catch (e) {\n // do nothing\n }\n }\n\n return generateCustomUUID();\n}\n\nexport function createUUIDModule(options: UUIDModuleOptions = {}): Module {\n const { name = \"uuid\" } = options;\n\n return {\n name,\n\n lookup: async () => {\n return generateUUID();\n },\n };\n}\n"],"names":["__webpack_require__","exports","definition","key","o","Object","defineProperty","enumerable","get","obj","prop","prototype","hasOwnProperty","call","generateUUID","crypto","randomUUID","e","hexDigits","uuid","i","randomByte","Math","floor","random","generateCustomUUID","createUUIDModule","options","name","lookup"],"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 UUIDModuleOptions = {
3
3
  name?: string;
4
4
  prefix?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eventvisor/module-uuid",
3
- "version": "0.8.0",
3
+ "version": "0.9.0",
4
4
  "description": "Eventvisor UUID 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.9.0"
42
42
  },
43
43
  "license": "MIT",
44
- "gitHead": "576d9aad61a71d542a0c574b1cd343c1f78ec9ca"
44
+ "gitHead": "3db931cbbadad1db56a99caabf9424c288f8f8d3"
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 UUIDModuleOptions = {
4
4
  name?: string;