@jargon/alexa-skill-sdk
Advanced tools
Comparing version 1.0.4 to 1.0.5
@@ -0,1 +1,5 @@ | ||
### 1.0.5 | ||
Move functionality that isn't specific to the Alexa Skill Kit to sdk-core. | ||
### 1.0.4 | ||
@@ -2,0 +6,0 @@ #### Suport RenderItem instances as RenderParams values |
export { DefaultSkillBuilderOptions, JargonSkillBuilder, SkillBuilderOptions } from './skillBuilder'; | ||
export { JargonHandlerInput } from './requestInterceptor'; | ||
export { DefaultResourceManagerOptions, RenderItem, RenderOptions, RenderParams, ResourceManagerOptions, ri } from './resourceManager'; | ||
export { DefaultResourceManagerOptions, RenderItem, RenderOptions, RenderParams, ResourceManagerOptions, ri } from '@jargon/sdk-core'; | ||
export { JargonResponseBuilder } from './responseBuilder'; |
@@ -18,5 +18,5 @@ "use strict"; | ||
exports.JargonSkillBuilder = skillBuilder_1.JargonSkillBuilder; | ||
var resourceManager_1 = require("./resourceManager"); | ||
exports.DefaultResourceManagerOptions = resourceManager_1.DefaultResourceManagerOptions; | ||
exports.ri = resourceManager_1.ri; | ||
var sdk_core_1 = require("@jargon/sdk-core"); | ||
exports.DefaultResourceManagerOptions = sdk_core_1.DefaultResourceManagerOptions; | ||
exports.ri = sdk_core_1.ri; | ||
//# sourceMappingURL=index.js.map |
import { HandlerInput, RequestInterceptor } from 'ask-sdk-core'; | ||
import { ResourceManagerFactory, ResourceManager } from '../resourceManager'; | ||
import { ResourceManagerFactory, ResourceManager } from '@jargon/sdk-core'; | ||
import { JargonResponseBuilder } from '../responseBuilder'; | ||
@@ -4,0 +4,0 @@ export interface JargonHandlerInput extends HandlerInput { |
import { Directive, Intent, interfaces, Response } from 'ask-sdk-model'; | ||
import AudioItemMetadata = interfaces.audioplayer.AudioItemMetadata; | ||
import { RenderItem } from '../resourceManager'; | ||
import { RenderItem } from '@jargon/sdk-core'; | ||
export interface JargonResponseBuilder { | ||
@@ -5,0 +5,0 @@ /** |
import { ResponseBuilder } from 'ask-sdk-core'; | ||
import { Directive, Intent, interfaces, Response } from 'ask-sdk-model'; | ||
import { JargonResponseBuilder } from '.'; | ||
import { RenderItem, ResourceManager } from '../resourceManager'; | ||
import { RenderItem, ResourceManager } from '@jargon/sdk-core'; | ||
import AudioItemMetadata = interfaces.audioplayer.AudioItemMetadata; | ||
@@ -6,0 +6,0 @@ export declare class JRB implements JargonResponseBuilder { |
import { BaseSkillBuilder } from 'ask-sdk-core'; | ||
import { ResourceManagerOptions } from '../resourceManager'; | ||
import { ResourceManagerOptions } from '@jargon/sdk-core'; | ||
export interface SkillBuilderOptions extends ResourceManagerOptions { | ||
@@ -4,0 +4,0 @@ } |
@@ -26,5 +26,5 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
var resourceManager_1 = require("../resourceManager"); | ||
var sdk_core_1 = require("@jargon/sdk-core"); | ||
var requestInterceptor_1 = require("../requestInterceptor"); | ||
exports.DefaultSkillBuilderOptions = __assign({}, resourceManager_1.DefaultResourceManagerOptions); | ||
exports.DefaultSkillBuilderOptions = __assign({}, sdk_core_1.DefaultResourceManagerOptions); | ||
var JargonSkillBuilder = /** @class */ (function () { | ||
@@ -34,3 +34,3 @@ function JargonSkillBuilder(opts) { | ||
this._options = Object.assign({}, exports.DefaultSkillBuilderOptions, opts); | ||
this._rmf = new resourceManager_1.I18NextResourceManagerFactory(this._options); | ||
this._rmf = new sdk_core_1.DefaultResourceManagerFactory(this._options); | ||
} | ||
@@ -37,0 +37,0 @@ JargonSkillBuilder.prototype.wrap = function (base) { |
{ | ||
"name": "@jargon/alexa-skill-sdk", | ||
"version": "1.0.4", | ||
"version": "1.0.5", | ||
"description": "The Jargon Alexa Skill SDK makes it easy to manage the content of your custom Alexa skill", | ||
@@ -24,6 +24,3 @@ "main": "dist/index.js", | ||
"dependencies": { | ||
"i18next": "^11.9.0", | ||
"i18next-icu": "^0.6.0", | ||
"i18next-sync-fs-backend": "^1.1.0", | ||
"intl-messageformat": "^2.2.0" | ||
"@jargon/sdk-core": "1.0.5" | ||
}, | ||
@@ -36,3 +33,2 @@ "peerDependencies": { | ||
"@types/chai": "^4.1.5", | ||
"@types/i18next": "^11.9.0", | ||
"@types/mocha": "^5.2.5", | ||
@@ -52,5 +48,11 @@ "@types/node": "^10.11.0", | ||
}, | ||
"repository": "github:JargonInc/jargon-sdk-nodejs", | ||
"publishConfig": { | ||
"access": "public" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/JargonInc/jargon-sdk-nodejs.git" | ||
}, | ||
"bugs": "https://github.com/JargonInc/jargon-sdk-nodejs/issues", | ||
"homepage": "https://github.com/JargonInc/jargon-sdk-nodejs/tree/master/packages/alexa-skill-sdk#readme" | ||
} |
@@ -200,2 +200,5 @@ # Jargon SDK for Amazon Alexa (nodejs) | ||
`ResourceManager` is part of the package [@jargon/sdk-core](https://github.com/JargonInc/jargon-sdk-nodejs/tree/master/packages/sdk-core), | ||
and can be used directly from code that isn't based on ASKv2. | ||
## Adding to an existing skill | ||
@@ -202,0 +205,0 @@ |
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
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
108602
3
14
240
0
26
670
+ Added@jargon/sdk-core@1.0.5
+ Added@jargon/sdk-core@1.0.5(transitive)
- Removedi18next@^11.9.0
- Removedi18next-icu@^0.6.0
- Removedi18next-sync-fs-backend@^1.1.0
- Removedintl-messageformat@^2.2.0