Socket
Socket
Sign inDemoInstall

@salutejs/scenario

Package Overview
Dependencies
Maintainers
3
Versions
244
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@salutejs/scenario - npm Package Compare versions

Comparing version 0.14.0-canary.208.519f6468bc6e2b48c8ee3d191bcabe61caeed891.0 to 0.14.0-canary.208.67e29cee591e1338c4ece530b8979f644e1fb844.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.519f6468bc6e2b48c8ee3d191bcabe61caeed891.0",
"version": "0.14.0-canary.208.67e29cee591e1338c4ece530b8979f644e1fb844.0",
"description": "Tiny helpers to make scenario for Salute family",

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

},
"gitHead": "519f6468bc6e2b48c8ee3d191bcabe61caeed891"
"gitHead": "67e29cee591e1338c4ece530b8979f644e1fb844"
}

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc