ask-sdk-core
Advanced tools
Comparing version 2.2.0 to 2.3.0
@@ -6,2 +6,13 @@ # Change Log | ||
# [2.3.0](https://github.com/alexa/alexa-skills-kit-sdk-for-nodejs/compare/v2.2.0...v2.3.0) (2018-11-05) | ||
### Features | ||
* add support for CanFulfillIntentRequest ([f38c3d0](https://github.com/alexa/alexa-skills-kit-sdk-for-nodejs/commit/f38c3d0)) | ||
# [2.2.0](https://github.com/alexa/alexa-skills-kit-sdk-for-nodejs/compare/v2.1.0...v2.2.0) (2018-10-30) | ||
@@ -8,0 +19,0 @@ |
@@ -1,3 +0,4 @@ | ||
import { Directive, Intent, interfaces, Response } from 'ask-sdk-model'; | ||
import { canfulfill, Directive, Intent, interfaces, Response } from 'ask-sdk-model'; | ||
import AudioItemMetadata = interfaces.audioplayer.AudioItemMetadata; | ||
import CanFulfillIntent = canfulfill.CanFulfillIntent; | ||
/** | ||
@@ -136,2 +137,8 @@ * An interface which helps building a response. | ||
/** | ||
* Adds canFulfillIntent to response. | ||
* @param {canfulfill.CanFulfillIntent} canFulfillIntent | ||
* @return {ResponseBuilder} | ||
*/ | ||
withCanFulfillIntent(canFulfillIntent: CanFulfillIntent): this; | ||
/** | ||
* Sets shouldEndSession value to null/false/true | ||
@@ -138,0 +145,0 @@ * @param {boolean} val |
@@ -231,2 +231,6 @@ "use strict"; | ||
}, | ||
withCanFulfillIntent: function (canFulfillIntent) { | ||
response.canFulfillIntent = canFulfillIntent; | ||
return this; | ||
}, | ||
withShouldEndSession: function (val) { | ||
@@ -233,0 +237,0 @@ if (!isVideoAppLaunchDirectivePresent()) { |
{ | ||
"name": "ask-sdk-core", | ||
"version": "2.2.0", | ||
"version": "2.3.0", | ||
"description": "Core package for Alexa Skills Kit SDK", | ||
@@ -52,3 +52,3 @@ "main": "dist/index.js", | ||
"homepage": "https://github.com/alexa/alexa-skill-sdk-for-nodejs#readme", | ||
"gitHead": "d2b4be810f7a993b448bf795730ce9a49075a30d" | ||
"gitHead": "f4f5f25f5ff78cf04512b4baffd08cef9c337fc8" | ||
} |
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
134473
1997