@mspcopilot/n8n-nodes-connectwise 0.2.1-beta.6 → 0.2.1-beta.7

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.
@@ -117,10 +117,10 @@ class ConnectWisePsaApi {
117
117
  name: "checkForUpdates",
118
118
  type: "boolean",
119
119
  default: !0,
120
- hint: "Current version: 0.2.1-beta.6 (beta edition)",
120
+ hint: "Current version: 0.2.1-beta.7 (beta edition)",
121
121
  description: "Check for new versions of this node package and show notifications when updates are available"
122
122
  } ] : [], ...process.env.MSPCOPILOT_BETA === "true" ? [ {
123
- displayName: "Current version: 0.2.1-beta.6 (beta)",
123
+ displayName: "Current version: 0.2.1-beta.7 (beta)",
124
124
  name: "versionInfo",
125
125
  type: "notice",
126
126
  default: ""
@@ -85,7 +85,7 @@ const resources = {
85
85
 
86
86
  class ConnectWisePsa {
87
87
  constructor() {
88
- console.log(`🔌 ConnectWise PSA Node Loaded | 📦 v0.2.1-beta.6 | 🏗️ Build: ${"beta".toUpperCase()} (${"prod".toUpperCase()} mode)`);
88
+ console.log(`🔌 ConnectWise PSA Node Loaded | 📦 v0.2.1-beta.7 | 🏗️ Build: ${"beta".toUpperCase()} (${"prod".toUpperCase()} mode)`);
89
89
  }
90
90
  description={
91
91
  displayName: "ConnectWise PSA",
@@ -37,7 +37,7 @@ __export(common_descriptions_exports, {
37
37
 
38
38
  module.exports = __toCommonJS(common_descriptions_exports);
39
39
 
40
- const DOCURL_PREFIX = "mspcopilot.io/docs/n8n-nodes-connectwise", DOCURL_SUFFIX = "?utm_source=n8n_node_connectwise", PACKAGE_NAME = "@mspcopilot/n8n-nodes-connectwise", CHANGELOG_URL = "mspcopilot.io/changelog${DOCURL_SUFFIX}", SUPPORTER_URL = "mspcopilot.io/support?utm_source=n8n", VERSION_CHECK_URL = "https://api.mspcopilot.io/version-check/n8n-nodes-connectwise", VERSION_CHECK_CACHE_TTL = 36e5;
40
+ const DOCURL_PREFIX = "mspcopilot.io/docs/n8n-nodes-connectwise", DOCURL_SUFFIX = "?utm_source=n8n_node_connectwise", PACKAGE_NAME = "@mspcopilot/n8n-nodes-connectwise", CHANGELOG_URL = `mspcopilot.io/changelog${DOCURL_SUFFIX}`, SUPPORTER_URL = "mspcopilot.io/support?utm_source=n8n", VERSION_CHECK_URL = "https://api.mspcopilot.io/version-check/n8n-nodes-connectwise", VERSION_CHECK_CACHE_TTL = 3600 * 1e3;
41
41
 
42
42
  0 && (module.exports = {
43
43
  CHANGELOG_URL: CHANGELOG_URL,
@@ -39,7 +39,7 @@ module.exports = __toCommonJS(version_check_exports);
39
39
 
40
40
  var fs = __toESM(require("fs/promises")), path = __toESM(require("path")), os = __toESM(require("os")), import_common = require("../descriptions/common.descriptions"), import_hint_collector = require("../helpers/hint-collector");
41
41
 
42
- const CACHE_FILE_PATH = path.join(os.tmpdir(), "connectwise-n8n-version-cache.json"), CURRENT_VERSION = "0.2.1-beta.6";
42
+ const CACHE_FILE_PATH = path.join(os.tmpdir(), "connectwise-n8n-version-cache.json"), CURRENT_VERSION = "0.2.1-beta.7";
43
43
 
44
44
  let inMemoryCache = null, cacheLoadPromise = null, fetchInProgress = !1;
45
45
 
@@ -47,7 +47,7 @@ async function initializeCache() {
47
47
  try {
48
48
  const fileContent = await fs.readFile(CACHE_FILE_PATH, "utf-8"), cacheEntry = JSON.parse(fileContent);
49
49
  if (Date.now() < cacheEntry.expires ? (inMemoryCache = cacheEntry.data, inMemoryCache.updateAvailable && (console.log(`🎉 ConnectWise PSA Node v${inMemoryCache.latest} is available! (current: v${CURRENT_VERSION})`),
50
- console.log(` View changelog: https://${import_common.CHANGELOG_URL}`))) : cacheEntry.data?.accessKeyInfo && (inMemoryCache = cacheEntry.data),
50
+ console.log(` Beta upgrade guide: https://${import_common.DOCURL_PREFIX}/beta-upgrade${import_common.DOCURL_SUFFIX}`))) : cacheEntry.data?.accessKeyInfo && (inMemoryCache = cacheEntry.data),
51
51
  inMemoryCache?.accessKeyInfo) try {
52
52
  const {updateAccessKeyFromServer: updateAccessKeyFromServer} = await import("./access-key.js");
53
53
  updateAccessKeyFromServer(inMemoryCache.accessKeyInfo);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mspcopilot/n8n-nodes-connectwise",
3
- "version": "0.2.1-beta.6",
3
+ "version": "0.2.1-beta.7",
4
4
  "description": "n8n node to integrate with ConnectWise PSA",
5
5
  "keywords": [
6
6
  "n8n-community-node-package"