@mondaycom/apps-sdk
Advanced tools
Comparing version 0.1.0 to 0.1.1-beta.1
"use strict"; | ||
exports.__esModule = true; | ||
exports.Storage = exports.SecureStorage = void 0; | ||
exports.Logger = exports.EnvironmentVariablesManager = exports.Storage = exports.SecureStorage = void 0; | ||
var environment_variables_manager_1 = require("./environment-variables-manager/index.js"); | ||
exports.EnvironmentVariablesManager = environment_variables_manager_1.EnvironmentVariablesManager; | ||
var logger_1 = require("./logger/index.js"); | ||
exports.Logger = logger_1.Logger; | ||
var secure_storage_1 = require("./secure-storage/index.js"); | ||
@@ -5,0 +9,0 @@ exports.SecureStorage = secure_storage_1.SecureStorage; |
{ | ||
"name": "@mondaycom/apps-sdk", | ||
"version": "0.1.0", | ||
"version": "0.1.1-beta.1", | ||
"description": "monday apps SDK for NodeJS", | ||
@@ -5,0 +5,0 @@ "main": "./dist/cjs/index.js", |
@@ -6,8 +6,8 @@ "use strict"; | ||
(function (LogMethods) { | ||
LogMethods["INFO"] = "info"; | ||
LogMethods["ERROR"] = "error"; | ||
LogMethods["DEBUG"] = "debug"; | ||
LogMethods["WARNING"] = "warn"; | ||
LogMethods["INFO"] = "INFO"; | ||
LogMethods["ERROR"] = "ERROR"; | ||
LogMethods["DEBUG"] = "DEBUG"; | ||
LogMethods["WARNING"] = "WARNING"; | ||
})(LogMethods = exports.LogMethods || (exports.LogMethods = {})); | ||
console.warn(); | ||
//# sourceMappingURL=logger.js.map |
@@ -29,5 +29,6 @@ "use strict"; | ||
} | ||
Logger.prototype.logMessage = function (method, message, options) { | ||
Logger.prototype.logMessage = function (severity, message, options) { | ||
var _a; | ||
var logOptions = __assign(__assign({}, this.options), options); | ||
console[method](JSON.stringify(__assign({ tag: this.tag, message: message }, logOptions))); | ||
console.log(JSON.stringify(__assign(__assign({ severity: severity, tag: this.tag, message: message }, logOptions), logOptions.error && { stack: (_a = logOptions.error) === null || _a === void 0 ? void 0 : _a.stack }))); | ||
}; | ||
@@ -34,0 +35,0 @@ Logger.prototype.debug = function (message, options) { |
@@ -0,4 +1,6 @@ | ||
import { EnvironmentVariablesManager } from './environment-variables-manager/index.js'; | ||
import { Logger } from './logger/index.js'; | ||
import { SecureStorage } from './secure-storage/index.js'; | ||
import { Storage } from './storage/index.js'; | ||
export { SecureStorage, Storage }; | ||
export { SecureStorage, Storage, EnvironmentVariablesManager, Logger }; | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "@mondaycom/apps-sdk", | ||
"version": "0.1.0", | ||
"version": "0.1.1-beta.1", | ||
"description": "monday apps SDK for NodeJS", | ||
@@ -5,0 +5,0 @@ "main": "./dist/cjs/index.js", |
export var LogMethods; | ||
(function (LogMethods) { | ||
LogMethods["INFO"] = "info"; | ||
LogMethods["ERROR"] = "error"; | ||
LogMethods["DEBUG"] = "debug"; | ||
LogMethods["WARNING"] = "warn"; | ||
LogMethods["INFO"] = "INFO"; | ||
LogMethods["ERROR"] = "ERROR"; | ||
LogMethods["DEBUG"] = "DEBUG"; | ||
LogMethods["WARNING"] = "WARNING"; | ||
})(LogMethods || (LogMethods = {})); | ||
console.warn(); | ||
//# sourceMappingURL=logger.js.map |
@@ -26,5 +26,6 @@ var __assign = (this && this.__assign) || function () { | ||
} | ||
Logger.prototype.logMessage = function (method, message, options) { | ||
Logger.prototype.logMessage = function (severity, message, options) { | ||
var _a; | ||
var logOptions = __assign(__assign({}, this.options), options); | ||
console[method](JSON.stringify(__assign({ tag: this.tag, message: message }, logOptions))); | ||
console.log(JSON.stringify(__assign(__assign({ severity: severity, tag: this.tag, message: message }, logOptions), logOptions.error && { stack: (_a = logOptions.error) === null || _a === void 0 ? void 0 : _a.stack }))); | ||
}; | ||
@@ -31,0 +32,0 @@ Logger.prototype.debug = function (message, options) { |
@@ -0,3 +1,5 @@ | ||
import { EnvironmentVariablesManager } from './environment-variables-manager'; | ||
import { Logger } from './logger'; | ||
import { SecureStorage } from './secure-storage'; | ||
import { Storage } from './storage'; | ||
export { SecureStorage, Storage }; | ||
export { SecureStorage, Storage, EnvironmentVariablesManager, Logger }; |
@@ -7,6 +7,6 @@ export type Options = { | ||
export declare enum LogMethods { | ||
INFO = "info", | ||
ERROR = "error", | ||
DEBUG = "debug", | ||
WARNING = "warn" | ||
INFO = "INFO", | ||
ERROR = "ERROR", | ||
DEBUG = "DEBUG", | ||
WARNING = "WARNING" | ||
} |
{ | ||
"name": "@mondaycom/apps-sdk", | ||
"version": "0.1.0", | ||
"version": "0.1.1-beta.1", | ||
"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
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 2 instances in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
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
216080
150
2914
18