@oracle/bots-node-sdk
Advanced tools
Comparing version 2.3.0 to 2.3.1
@@ -16,7 +16,3 @@ 'use strict'; | ||
ruleParameters: joi.any(), | ||
enumValues: joi.when('type', { | ||
is: 'ENUMVALUES', | ||
then: joi.string().required(), | ||
otherwise: joi.any() | ||
}) | ||
enumValues: joi.any() | ||
}).required(), | ||
@@ -23,0 +19,0 @@ otherwise: joi.string().required() |
@@ -7,3 +7,3 @@ 'use strict'; | ||
const sdkVersion = '1.1'; //server compatibility version | ||
const sdkVersion = require('../../package.json').version | ||
@@ -10,0 +10,0 @@ // Response template |
@@ -16,7 +16,3 @@ 'use strict'; | ||
ruleParameters: joi.any(), | ||
enumValues: joi.when('type', { | ||
is: 'ENUMVALUES', | ||
then: joi.string().required(), | ||
otherwise: joi.any() | ||
}) | ||
enumValues: joi.any() | ||
}).required(), | ||
@@ -23,0 +19,0 @@ otherwise: joi.string().required() |
{ | ||
"name": "@oracle/bots-node-sdk", | ||
"version": "2.3.0", | ||
"version": "2.3.1", | ||
"description": "Oracle Bots SDK for custom component development and webhook integrations", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -55,3 +55,3 @@ import { BaseContext } from './baseContext'; | ||
*/ | ||
static sdkVersion(): string; | ||
static sdkVersion(): any; | ||
/** | ||
@@ -58,0 +58,0 @@ * @param {object} requestBody - The request body |
@@ -7,3 +7,3 @@ export declare function ComponentShell(config: any, registry: any): { | ||
getAllComponentMetadata: () => { | ||
version: string; | ||
version: any; | ||
components: any[]; | ||
@@ -10,0 +10,0 @@ }; |
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
295112
7403