New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@bavard/agent-config

Package Overview
Dependencies
Maintainers
1
Versions
316
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bavard/agent-config - npm Package Compare versions

Comparing version 0.0.9 to 0.0.10

dist/widget-settings/index.d.ts

2

dist/agent-config.d.ts

@@ -1,2 +0,1 @@

import { BotSettings } from './agent-settings';
import { BaseAgentAction } from './actions/base-action';

@@ -9,3 +8,2 @@ import { GraphPolicy } from '@bavard/graph-policy';

readonly language: string;
settings?: BotSettings;
private intents;

@@ -12,0 +10,0 @@ private tagTypes;

@@ -85,3 +85,2 @@ "use strict";

language: this.language,
settings: this.settings,
intents: [...this.intents.values()],

@@ -97,3 +96,2 @@ tagTypes: [...this.tagTypes.values()],

const config = new AgentConfig(jsonObj.projectId, jsonObj.uname, jsonObj.language);
config.settings = jsonObj.settings;
for (const intent of jsonObj.intents) {

@@ -100,0 +98,0 @@ config.addIntent(intent.name, intent.defaultActionName);

@@ -6,1 +6,2 @@ export * from './agent-config';

export * from './actions/email-action';
export * from './widget-settings';

@@ -18,1 +18,2 @@ "use strict";

__exportStar(require("./actions/email-action"), exports);
__exportStar(require("./widget-settings"), exports);
import { ResponseOption } from './response-options';
import { BotSettings } from './agent-settings';
import { IGraphPolicy } from '@bavard/graph-policy';

@@ -29,3 +28,2 @@ export declare type IAgentAction = IUtteranceAction | IEmailAction;

language: string;
settings?: BotSettings;
intents: IIntent[];

@@ -32,0 +30,0 @@ tagTypes: string[];

{
"name": "@bavard/agent-config",
"version": "0.0.9",
"version": "0.0.10",
"description": "",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

@@ -1,2 +0,1 @@

import { BotSettings } from './agent-settings';
import { BaseAgentAction } from './actions/base-action';

@@ -12,3 +11,2 @@ import { GraphPolicy } from '@bavard/graph-policy';

readonly language: string;
public settings?: BotSettings;
private intents: IIntent[] = [];

@@ -108,3 +106,2 @@ private tagTypes: Set<string> = new Set();

language: this.language,
settings: this.settings,
intents: [...this.intents.values()],

@@ -122,3 +119,2 @@ tagTypes: [...this.tagTypes.values()],

const config = new AgentConfig(jsonObj.projectId, jsonObj.uname, jsonObj.language);
config.settings = jsonObj.settings;

@@ -125,0 +121,0 @@ for (const intent of jsonObj.intents) {

@@ -6,2 +6,4 @@ export * from './agent-config';

export * from './actions/utterance-action';
export * from './actions/email-action';
export * from './actions/email-action';
export * from './widget-settings';
import { ResponseOption } from './response-options';
import { BotSettings } from './agent-settings';
import { IGraphPolicy } from '@bavard/graph-policy';

@@ -35,3 +34,2 @@

language: string;
settings?: BotSettings;
intents: IIntent[];

@@ -38,0 +36,0 @@ tagTypes: string[];

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