Socket
Socket
Sign inDemoInstall

alice-types

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

alice-types - npm Package Compare versions

Comparing version 1.0.1 to 1.1.0

2

package.json
{
"name": "alice-types",
"description": "Types for Yandex Alice",
"version": "1.0.1",
"version": "1.1.0",
"types": "src/index.d.ts",

@@ -6,0 +6,0 @@ "files": [

export * from './request';
export * from './response';
export * from './nlu';
export * from './images';
// See: https://yandex.ru/dev/dialogs/alice/doc/protocol.html#request
import { Nlu } from './nlu';
export * from './nlu';

@@ -50,5 +51,5 @@ export interface ReqBody {

export interface State {
session?: unknown;
application?: unknown;
user?: unknown;
session?: Record<string, unknown>;
application?: Record<string, unknown>;
user?: Record<string, unknown>;
}
// See: https://yandex.ru/dev/dialogs/alice/doc/protocol.html#response
import { Card } from './images';
export * from './images';

@@ -9,5 +10,5 @@ export interface ResBody {

analytics?: Analytics;
session_state?: unknown;
application_state?: unknown;
user_state_update?: unknown;
session_state?: Record<string, unknown>;
application_state?: Record<string, unknown>;
user_state_update?: Record<string, unknown>;
}

@@ -14,0 +15,0 @@

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