@joshuanode/n8n-nodes-immybot 0.0.3 → 0.0.4

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.
@@ -0,0 +1,3 @@
1
+ import type { IExecuteFunctions } from 'n8n-workflow';
2
+ export declare function getBaseURL(context: IExecuteFunctions): Promise<string>;
3
+ //# sourceMappingURL=utils.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../src/nodes/ImmyBot/utils.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAe,MAAM,cAAc,CAAC;AAEnE,wBAAsB,UAAU,CAAC,OAAO,EAAE,iBAAiB,GAAG,OAAO,CAAC,MAAM,CAAC,CAG5E"}
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.getBaseURL = getBaseURL;
4
+ async function getBaseURL(context) {
5
+ const credentials = await context.getCredentials('immyDotBotOAuth2Api');
6
+ return `https://${credentials.subdomain}.immy.bot`;
7
+ }
8
+ //# sourceMappingURL=utils.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"utils.js","sourceRoot":"","sources":["../../../src/nodes/ImmyBot/utils.ts"],"names":[],"mappings":";;AAEA,gCAGC;AAHM,KAAK,UAAU,UAAU,CAAC,OAA0B;IAC1D,MAAM,WAAW,GAAG,MAAM,OAAO,CAAC,cAAc,CAAC,qBAAqB,CAAC,CAAC;IACxE,OAAO,WAAW,WAAW,CAAC,SAAS,WAAW,CAAC;AACpD,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@joshuanode/n8n-nodes-immybot",
3
- "version": "0.0.3",
3
+ "version": "0.0.4",
4
4
  "description": "n8n community node for ImmyBot IT automation and management platform",
5
5
  "keywords": [
6
6
  "n8n-community-node-package",