neru-alpha
Advanced tools
Comparing version 2.1.0 to 2.2.0
import { Config } from './config.js'; | ||
import { Session } from './session.js'; | ||
import { State } from './providers/state.js'; | ||
export * from './providers/voice.js'; | ||
export * from './session.js'; | ||
export * from './jwt.js'; | ||
export * from './config.js'; | ||
export * from './commandService.js'; | ||
export * from './bridge.js'; | ||
export * from './providers/assets.js'; | ||
export * from './providers/constants.js'; | ||
export * from './providers/messages.js'; | ||
export * from './providers/requestInterface.js'; | ||
export * from './providers/scheduler.js'; | ||
export * from './providers/state.js'; | ||
export * from './providers/voice.js'; | ||
export * from './providers/vonageAI.js'; | ||
export * from './providers/vonageApi.js'; | ||
export * from './providers/vonageAI.js'; | ||
export declare class LogContext { | ||
@@ -10,0 +19,0 @@ actionName: string; |
@@ -20,7 +20,16 @@ "use strict"; | ||
const state_js_1 = require("./providers/state.js"); | ||
__exportStar(require("./providers/voice.js"), exports); | ||
__exportStar(require("./session.js"), exports); | ||
__exportStar(require("./jwt.js"), exports); | ||
__exportStar(require("./config.js"), exports); | ||
__exportStar(require("./commandService.js"), exports); | ||
__exportStar(require("./bridge.js"), exports); | ||
__exportStar(require("./providers/assets.js"), exports); | ||
__exportStar(require("./providers/constants.js"), exports); | ||
__exportStar(require("./providers/messages.js"), exports); | ||
__exportStar(require("./providers/requestInterface.js"), exports); | ||
__exportStar(require("./providers/scheduler.js"), exports); | ||
__exportStar(require("./providers/state.js"), exports); | ||
__exportStar(require("./providers/voice.js"), exports); | ||
__exportStar(require("./providers/vonageAI.js"), exports); | ||
__exportStar(require("./providers/vonageApi.js"), exports); | ||
__exportStar(require("./providers/vonageAI.js"), exports); | ||
class LogContext { | ||
@@ -27,0 +36,0 @@ constructor(actionName, payload, result) { |
@@ -21,3 +21,3 @@ import { CommandService } from '../commandService.js'; | ||
} | ||
export declare class Command { | ||
export declare class StateCommand { | ||
operation: OPERATIONS; | ||
@@ -24,0 +24,0 @@ namespace: string; |
@@ -12,3 +12,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.State = exports.Command = exports.OPERATIONS = void 0; | ||
exports.State = exports.StateCommand = exports.OPERATIONS = void 0; | ||
const constants_js_1 = require("./constants.js"); | ||
@@ -32,3 +32,3 @@ var OPERATIONS; | ||
})(OPERATIONS = exports.OPERATIONS || (exports.OPERATIONS = {})); | ||
class Command { | ||
class StateCommand { | ||
constructor(operation, namespace, key, args) { | ||
@@ -41,3 +41,3 @@ this.operation = operation; | ||
} | ||
exports.Command = Command; | ||
exports.StateCommand = StateCommand; | ||
class State { | ||
@@ -52,3 +52,3 @@ constructor(session, commandService, bridge, config, namespace) { | ||
createCommand(op, key, args) { | ||
return new Command(op, this.namespace, key, args); | ||
return new StateCommand(op, this.namespace, key, args); | ||
} | ||
@@ -55,0 +55,0 @@ executeCommand(command) { |
import { Config } from './config.js'; | ||
import { Session } from './session.js'; | ||
import { State } from './providers/state.js'; | ||
export * from './providers/voice.js'; | ||
export * from './session.js'; | ||
export * from './jwt.js'; | ||
export * from './config.js'; | ||
export * from './commandService.js'; | ||
export * from './bridge.js'; | ||
export * from './providers/assets.js'; | ||
export * from './providers/constants.js'; | ||
export * from './providers/messages.js'; | ||
export * from './providers/requestInterface.js'; | ||
export * from './providers/scheduler.js'; | ||
export * from './providers/state.js'; | ||
export * from './providers/voice.js'; | ||
export * from './providers/vonageAI.js'; | ||
export * from './providers/vonageApi.js'; | ||
export * from './providers/vonageAI.js'; | ||
export declare class LogContext { | ||
@@ -10,0 +19,0 @@ actionName: string; |
@@ -7,7 +7,16 @@ import { Config } from './config.js'; | ||
import { State } from './providers/state.js'; | ||
export * from './providers/voice.js'; | ||
export * from './session.js'; | ||
export * from './jwt.js'; | ||
export * from './config.js'; | ||
export * from './commandService.js'; | ||
export * from './bridge.js'; | ||
export * from './providers/assets.js'; | ||
export * from './providers/constants.js'; | ||
export * from './providers/messages.js'; | ||
export * from './providers/requestInterface.js'; | ||
export * from './providers/scheduler.js'; | ||
export * from './providers/state.js'; | ||
export * from './providers/voice.js'; | ||
export * from './providers/vonageAI.js'; | ||
export * from './providers/vonageApi.js'; | ||
export * from './providers/vonageAI.js'; | ||
var LogContext = /** @class */ (function () { | ||
@@ -14,0 +23,0 @@ function LogContext(actionName, payload, result) { |
@@ -21,3 +21,3 @@ import { CommandService } from '../commandService.js'; | ||
} | ||
export declare class Command { | ||
export declare class StateCommand { | ||
operation: OPERATIONS; | ||
@@ -24,0 +24,0 @@ namespace: string; |
@@ -55,4 +55,4 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { | ||
})(OPERATIONS || (OPERATIONS = {})); | ||
var Command = /** @class */ (function () { | ||
function Command(operation, namespace, key, args) { | ||
var StateCommand = /** @class */ (function () { | ||
function StateCommand(operation, namespace, key, args) { | ||
this.operation = operation; | ||
@@ -63,5 +63,5 @@ this.namespace = namespace; | ||
} | ||
return Command; | ||
return StateCommand; | ||
}()); | ||
export { Command }; | ||
export { StateCommand }; | ||
var State = /** @class */ (function () { | ||
@@ -76,3 +76,3 @@ function State(session, commandService, bridge, config, namespace) { | ||
State.prototype.createCommand = function (op, key, args) { | ||
return new Command(op, this.namespace, key, args); | ||
return new StateCommand(op, this.namespace, key, args); | ||
}; | ||
@@ -79,0 +79,0 @@ State.prototype.executeCommand = function (command) { |
{ | ||
"name": "neru-alpha", | ||
"type": "module", | ||
"version": "2.1.0", | ||
"version": "2.2.0", | ||
"description": "", | ||
@@ -6,0 +6,0 @@ "main": "dist/cjs/neru.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
383427
5617