@salutejs/scenario
Advanced tools
Comparing version 1.0.2 to 1.1.0-canary.127.8044914491.0
@@ -232,2 +232,5 @@ "use strict"; | ||
}, | ||
setPayload: function (payload, messageName) { | ||
message = __assign(__assign({}, message), { payload: payload, messageName: messageName || message.messageName }); | ||
}, | ||
overrideFrontendEndpoint: function (frontendEndpoint) { | ||
@@ -234,0 +237,0 @@ if (message.messageName !== 'ANSWER_TO_USER') { |
@@ -94,2 +94,3 @@ import { AppInfo, CharacterId, AppState, Message, SmartAppErrorCommand, EmotionId, Card, Bubble, Button, ASRHints, PolicyRunAppComand } from './systemMessage'; | ||
setEmotion: (emotion: EmotionId) => void; | ||
setPayload: (payload: NLPResponse['payload'], messageName?: string) => void; | ||
getProfileData: () => void; | ||
@@ -96,0 +97,0 @@ chooseProfileData: (fields: NLPResponseCPD['payload']['fields']) => void; |
{ | ||
"name": "@salutejs/scenario", | ||
"version": "1.0.2", | ||
"version": "1.1.0-canary.127.8044914491.0", | ||
"description": "Tiny helpers to make scenario for Salute family", | ||
@@ -40,3 +40,3 @@ "author": "Salute Frontend Team <salute.developers@gmail.com>", | ||
}, | ||
"gitHead": "14390add013d0dc36a5b849f3227598d6a8a2681" | ||
"gitHead": "caea0f697e11a0733a01b80b59853dfb60dde75f" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
299977
5001
1