Socket
Socket
Sign inDemoInstall

@salutejs/scenario

Package Overview
Dependencies
1
Maintainers
3
Versions
239
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.14.0-canary.208.7205c01370f61a5d472f1894ec03a5fc93fb4e9e.0 to 0.14.0

19

CHANGELOG.md

@@ -0,1 +1,20 @@

# v0.14.0 (Thu Aug 12 2021)
#### ๐Ÿš€ Enhancement
- feat: dump policyRunApp in favor of runApp [#208](https://github.com/sberdevices/salutejs/pull/208) ([@Turanchoks](https://github.com/Turanchoks))
- feat: policyRunApp [#208](https://github.com/sberdevices/salutejs/pull/208) (ASSabotovich@sberbank.ru)
#### ๐Ÿ› Bug Fix
- chore: added dimensions in system message [#207](https://github.com/sberdevices/salutejs/pull/207) ([@ivan-ushatsky](https://github.com/ivan-ushatsky))
#### Authors: 3
- Anton Sabotovich (ASSabotovich@sberbank.ru)
- Ivan Ushatsky ([@ivan-ushatsky](https://github.com/ivan-ushatsky))
- Pavel Remizov ([@Turanchoks](https://github.com/Turanchoks))
---
# v0.13.0 (Wed Aug 04 2021)

@@ -2,0 +21,0 @@

30

dist/lib/createSaluteResponse.js

@@ -30,3 +30,3 @@ "use strict";

};
var policyRunApp = function (server_action) {
var runApp = function (server_action) {
message = {

@@ -44,18 +44,2 @@ messageId: messageId,

};
var runApp = function (appInfo, parameters) {
message = {
messageId: messageId,
sessionId: sessionId,
uuid: uuid,
messageName: 'POLICY_RUN_APP',
payload: {
projectName: payload.projectName,
device: payload.device,
server_action: {
app_info: appInfo,
parameters: parameters,
},
},
};
};
return {

@@ -122,6 +106,9 @@ appendBubble: function (bubble, options) {

askPayment: function (invoiceId) {
runApp({ systemName: 'payment_app' }, {
invoice_id: invoiceId.toString(),
app_info: {
projectId: req.payload.app_info.projectId,
runApp({
app_info: { systemName: 'payment_app' },
parameters: {
invoice_id: invoiceId.toString(),
app_info: {
projectId: req.payload.app_info.projectId,
},
},

@@ -137,3 +124,2 @@ });

runApp: runApp,
policyRunApp: policyRunApp,
setIntent: function (intent) {

@@ -140,0 +126,0 @@ if (message.messageName !== 'ANSWER_TO_USER') {

@@ -76,8 +76,3 @@ import { AppInfo, CharacterId, AppState, Message, SmartAppErrorCommand, EmotionId, Card, Bubble, Button, ASRHints, PolicyRunAppComand } from './systemMessage';

finish: () => void;
runApp: (appInfo: {
systemName: string;
} | {
projectId: string;
}, parameters: Record<string, unknown>) => void;
policyRunApp: (server_action: PolicyRunAppComand['nodes']['server_action']) => void;
runApp: (server_action: PolicyRunAppComand['nodes']['server_action']) => void;
setIntent: (text: string) => void;

@@ -84,0 +79,0 @@ setPronounceText: (text: string, options?: {

{
"name": "@salutejs/scenario",
"version": "0.14.0-canary.208.7205c01370f61a5d472f1894ec03a5fc93fb4e9e.0",
"version": "0.14.0",
"description": "Tiny helpers to make scenario for Salute family",

@@ -39,3 +39,3 @@ "author": "SberDevices Frontend Team <sberdevices.frontend@gmail.com>",

},
"gitHead": "7205c01370f61a5d472f1894ec03a5fc93fb4e9e"
"gitHead": "b1c572dcc86228f35a19bf8b1bcc15d31d4cb2e7"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with โšก๏ธ by Socket Inc