@mondaycom/apps-sdk
Advanced tools
Comparing version 0.2.5 to 0.2.6
"use strict"; | ||
exports.__esModule = true; | ||
exports["default"] = { name: '@mondaycom/apps-sdk', version: '0.2.5' }; | ||
exports["default"] = { name: '@mondaycom/apps-sdk', version: '0.2.6' }; | ||
//# sourceMappingURL=minimal-package.js.map |
{ | ||
"name": "@mondaycom/apps-sdk", | ||
"version": "0.2.5", | ||
"version": "0.2.6", | ||
"description": "monday apps SDK for NodeJS", | ||
@@ -5,0 +5,0 @@ "main": "./dist/cjs/index.js", |
@@ -76,3 +76,3 @@ "use strict"; | ||
}; | ||
QueueDev.prototype.validateMessageOrigin = function (secret) { | ||
QueueDev.prototype.validateMessageSecret = function (secret) { | ||
if (!secret) { | ||
@@ -79,0 +79,0 @@ throw new apps_sdk_error_1.BadRequestError('secret is required.'); |
@@ -77,3 +77,3 @@ "use strict"; | ||
}; | ||
QueueProd.prototype.validateMessageOrigin = function (secret) { | ||
QueueProd.prototype.validateMessageSecret = function (secret) { | ||
var envMessageSecret = process.env.MNDY_TOPIC_MESSAGES_SECRET; | ||
@@ -80,0 +80,0 @@ if (!envMessageSecret) { |
@@ -1,2 +0,2 @@ | ||
export default { name: '@mondaycom/apps-sdk', version: '0.2.5' }; | ||
export default { name: '@mondaycom/apps-sdk', version: '0.2.6' }; | ||
//# sourceMappingURL=minimal-package.js.map |
{ | ||
"name": "@mondaycom/apps-sdk", | ||
"version": "0.2.5", | ||
"version": "0.2.6", | ||
"description": "monday apps SDK for NodeJS", | ||
@@ -5,0 +5,0 @@ "main": "./dist/cjs/index.js", |
@@ -70,3 +70,3 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { | ||
}; | ||
QueueDev.prototype.validateMessageOrigin = function (secret) { | ||
QueueDev.prototype.validateMessageSecret = function (secret) { | ||
if (!secret) { | ||
@@ -73,0 +73,0 @@ throw new BadRequestError('secret is required.'); |
@@ -74,3 +74,3 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { | ||
}; | ||
QueueProd.prototype.validateMessageOrigin = function (secret) { | ||
QueueProd.prototype.validateMessageSecret = function (secret) { | ||
var envMessageSecret = process.env.MNDY_TOPIC_MESSAGES_SECRET; | ||
@@ -77,0 +77,0 @@ if (!envMessageSecret) { |
@@ -8,3 +8,3 @@ import { IQueue } from '../types/queue'; | ||
}): Promise<string>; | ||
validateMessageOrigin(secret: string): boolean; | ||
validateMessageSecret(secret: string): boolean; | ||
} |
@@ -7,3 +7,3 @@ import { IQueue } from '../types/queue'; | ||
}): Promise<string>; | ||
validateMessageOrigin(secret: string): boolean; | ||
validateMessageSecret(secret: string): boolean; | ||
} |
@@ -5,2 +5,3 @@ export type IQueue = { | ||
}) => Promise<string>; | ||
validateMessageSecret: (secret: string) => boolean; | ||
}; |
{ | ||
"name": "@mondaycom/apps-sdk", | ||
"version": "0.2.5", | ||
"version": "0.2.6", | ||
"description": "monday apps SDK for NodeJS", | ||
@@ -5,0 +5,0 @@ "main": "./dist/cjs/index.js", |
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
260326
1302
3502