@mondaycom/apps-sdk
Advanced tools
Comparing version 3.0.3-beta.1 to 3.0.3-beta.2
@@ -26,3 +26,3 @@ "use strict"; | ||
var dataFileName = process.env.SECRET_NAME; | ||
_this = _super.call(this, 'EnvironmentVariablesManager', dataFileName, 'secrets') || this; | ||
_this = _super.call(this, 'EnvironmentVariablesManager', dataFileName, '/secrets') || this; | ||
_this.shouldUpdateProcessEnv = Boolean(options === null || options === void 0 ? void 0 : options.updateProcessEnv); | ||
@@ -29,0 +29,0 @@ _this.initData(); |
@@ -47,4 +47,4 @@ "use strict"; | ||
KeyValueManager.prototype.readData = function () { | ||
var isSecretsFileExists = fs_1["default"].existsSync(this.dataFilePath); | ||
if (!isSecretsFileExists) { | ||
var isDataFileExists = fs_1["default"].existsSync(this.dataFilePath); | ||
if (!isDataFileExists) { | ||
this.logger.error("[".concat(this.tag, "] Data file does not exist in path")); | ||
@@ -51,0 +51,0 @@ return; |
"use strict"; | ||
exports.__esModule = true; | ||
exports["default"] = { name: '@mondaycom/apps-sdk', version: '3.0.3-beta.1' }; | ||
exports["default"] = { name: '@mondaycom/apps-sdk', version: '3.0.3-beta.2' }; | ||
//# sourceMappingURL=minimal-package.js.map |
{ | ||
"name": "@mondaycom/apps-sdk", | ||
"version": "3.0.3-beta.1", | ||
"version": "3.0.3-beta.2", | ||
"description": "monday apps SDK for NodeJS", | ||
@@ -5,0 +5,0 @@ "main": "./dist/cjs/index.js", |
@@ -26,4 +26,4 @@ "use strict"; | ||
var _this = this; | ||
var dataFileName = process.env.SECRET_NAME; // TODO this should change for secrets (both file and folder name) | ||
_this = _super.call(this, 'SecretsManager', dataFileName, 'secrets') || this; | ||
var dataFileName = process.env.SECRET_NAME; | ||
_this = _super.call(this, 'SecretsManager', dataFileName, '/secrets-v2') || this; | ||
_this.initData(); | ||
@@ -30,0 +30,0 @@ return _this; |
@@ -23,3 +23,3 @@ var __extends = (this && this.__extends) || (function () { | ||
var dataFileName = process.env.SECRET_NAME; | ||
_this = _super.call(this, 'EnvironmentVariablesManager', dataFileName, 'secrets') || this; | ||
_this = _super.call(this, 'EnvironmentVariablesManager', dataFileName, '/secrets') || this; | ||
_this.shouldUpdateProcessEnv = Boolean(options === null || options === void 0 ? void 0 : options.updateProcessEnv); | ||
@@ -26,0 +26,0 @@ _this.initData(); |
@@ -18,4 +18,4 @@ import fs from 'fs'; | ||
KeyValueManager.prototype.readData = function () { | ||
var isSecretsFileExists = fs.existsSync(this.dataFilePath); | ||
if (!isSecretsFileExists) { | ||
var isDataFileExists = fs.existsSync(this.dataFilePath); | ||
if (!isDataFileExists) { | ||
this.logger.error("[".concat(this.tag, "] Data file does not exist in path")); | ||
@@ -22,0 +22,0 @@ return; |
@@ -1,2 +0,2 @@ | ||
export default { name: '@mondaycom/apps-sdk', version: '3.0.3-beta.1' }; | ||
export default { name: '@mondaycom/apps-sdk', version: '3.0.3-beta.2' }; | ||
//# sourceMappingURL=minimal-package.js.map |
{ | ||
"name": "@mondaycom/apps-sdk", | ||
"version": "3.0.3-beta.1", | ||
"version": "3.0.3-beta.2", | ||
"description": "monday apps SDK for NodeJS", | ||
@@ -5,0 +5,0 @@ "main": "./dist/cjs/index.js", |
@@ -23,4 +23,4 @@ var __extends = (this && this.__extends) || (function () { | ||
var _this = this; | ||
var dataFileName = process.env.SECRET_NAME; // TODO this should change for secrets (both file and folder name) | ||
_this = _super.call(this, 'SecretsManager', dataFileName, 'secrets') || this; | ||
var dataFileName = process.env.SECRET_NAME; | ||
_this = _super.call(this, 'SecretsManager', dataFileName, '/secrets-v2') || this; | ||
_this.initData(); | ||
@@ -27,0 +27,0 @@ return _this; |
{ | ||
"name": "@mondaycom/apps-sdk", | ||
"version": "3.0.3-beta.1", | ||
"version": "3.0.3-beta.2", | ||
"description": "monday apps SDK for NodeJS", | ||
@@ -5,0 +5,0 @@ "main": "./dist/cjs/index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1302
295765