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.17.3 to 0.17.4-canary.225.819e25b792945b09c8adcf62e91d57f2441c4bc8.0

4

dist/lib/createUserScenario.d.ts
import { SaluteRequest, ScenarioSchema } from './types/salute';
export declare function createUserScenario<R extends SaluteRequest = SaluteRequest>(scenarioSchema: ScenarioSchema): {
getByPath: (path: string[]) => {
match: (req: SaluteRequest<Record<string, string | string[]>, import("..").AppState, {
match: (req: SaluteRequest<Record<string, string | string[] | undefined>, import("..").AppState, {
payload: unknown;

@@ -9,3 +9,3 @@ type: string;

schema?: string | undefined;
handle: import("./types/salute").SaluteHandler<SaluteRequest<Record<string, string | string[]>, import("..").AppState, {
handle: import("./types/salute").SaluteHandler<SaluteRequest<Record<string, string | string[] | undefined>, import("..").AppState, {
payload: unknown;

@@ -12,0 +12,0 @@ type: string;

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

}
export declare type SaluteRequestVariable = Record<string, string | string[]>;
export declare type SaluteRequestVariable = Record<string, string | string[] | undefined>;
export interface SaluteRequest<V = SaluteRequestVariable, S = AppState, A = {

@@ -41,0 +41,0 @@ payload: unknown;

{
"name": "@salutejs/scenario",
"version": "0.17.3",
"version": "0.17.4-canary.225.819e25b792945b09c8adcf62e91d57f2441c4bc8.0",
"description": "Tiny helpers to make scenario for Salute family",

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

},
"gitHead": "1ec87879e01b1f0ab03b1ac7a1cf805af9d317cd"
"gitHead": "819e25b792945b09c8adcf62e91d57f2441c4bc8"
}

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