From c3c44cd42039ca15b5db190f1d742271f2eef6d4 Mon Sep 17 00:00:00 2001 From: Evan Feenstra Date: Thu, 3 Sep 2020 15:33:59 -0700 Subject: [PATCH] sphinx-bot@0.1.1 --- api/bots/index.ts | 2 +- api/bots/mother.ts | 2 +- dist/api/bots/index.js | 2 +- dist/api/bots/index.js.map | 2 +- dist/api/bots/mother.js | 2 +- dist/api/bots/mother.js.map | 2 +- package-lock.json | 15 +++++++++++++++ package.json | 1 + 8 files changed, 22 insertions(+), 6 deletions(-) diff --git a/api/bots/index.ts b/api/bots/index.ts index f869d00..9fd5194 100644 --- a/api/bots/index.ts +++ b/api/bots/index.ts @@ -1,4 +1,4 @@ -import * as Sphinx from '../../../sphinx-bot' +import * as Sphinx from 'sphinx-bot' import * as MotherBot from './mother' function init(){ diff --git a/api/bots/mother.ts b/api/bots/mother.ts index 7212c6f..74d3e8d 100644 --- a/api/bots/mother.ts +++ b/api/bots/mother.ts @@ -1,4 +1,4 @@ -import * as Sphinx from '../../../sphinx-bot' +import * as Sphinx from 'sphinx-bot' import {Action, finalAction} from '../controllers/actions' const msg_types = Sphinx.MSG_TYPE diff --git a/dist/api/bots/index.js b/dist/api/bots/index.js index d10a192..83a7195 100644 --- a/dist/api/bots/index.js +++ b/dist/api/bots/index.js @@ -1,6 +1,6 @@ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); -const Sphinx = require("../../../sphinx-bot"); +const Sphinx = require("sphinx-bot"); const MotherBot = require("./mother"); exports.MotherBot = MotherBot; function init() { diff --git a/dist/api/bots/index.js.map b/dist/api/bots/index.js.map index 4f0eac8..16bec85 100644 --- a/dist/api/bots/index.js.map +++ b/dist/api/bots/index.js.map @@ -1 +1 @@ -{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../api/bots/index.ts"],"names":[],"mappings":";;AAAA,8CAA6C;AAC7C,sCAAqC;AAqBnB,8BAAS;AAnB3B,SAAS,IAAI;IACT,SAAS,CAAC,IAAI,EAAE,CAAA;AACpB,CAAC;AAiBO,oBAAI;AAfZ,SAAS,IAAI,CAAC,GAAG,EAAE,QAAQ;IACvB,MAAM,GAAG,GAAG,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,CAAA;IAC1B,IAAG,GAAG,CAAC,MAAM,GAAC,CAAC;QAAE,OAAO,KAAK,CAAA;IAC7B,qBAAqB;IACrB,MAAM,CAAC,EAAE,CAAC,IAAI,CAAC,SAAS,EAAC,EAAC,OAAO,EAAC,GAAG,EAAC,QAAQ,EAAC,CAAC,CAAA;IAChD,gBAAgB;IAChB,oBAAoB;IACpB,oCAAoC;IACpC,wCAAwC;IACxC,kBAAkB;IAClB,aAAa;IACb,6CAA6C;IAC7C,KAAK;AACT,CAAC;AAEY,oBAAI"} \ No newline at end of file +{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../api/bots/index.ts"],"names":[],"mappings":";;AAAA,qCAAoC;AACpC,sCAAqC;AAqBnB,8BAAS;AAnB3B,SAAS,IAAI;IACT,SAAS,CAAC,IAAI,EAAE,CAAA;AACpB,CAAC;AAiBO,oBAAI;AAfZ,SAAS,IAAI,CAAC,GAAG,EAAE,QAAQ;IACvB,MAAM,GAAG,GAAG,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,CAAA;IAC1B,IAAG,GAAG,CAAC,MAAM,GAAC,CAAC;QAAE,OAAO,KAAK,CAAA;IAC7B,qBAAqB;IACrB,MAAM,CAAC,EAAE,CAAC,IAAI,CAAC,SAAS,EAAC,EAAC,OAAO,EAAC,GAAG,EAAC,QAAQ,EAAC,CAAC,CAAA;IAChD,gBAAgB;IAChB,oBAAoB;IACpB,oCAAoC;IACpC,wCAAwC;IACxC,kBAAkB;IAClB,aAAa;IACb,6CAA6C;IAC7C,KAAK;AACT,CAAC;AAEY,oBAAI"} \ No newline at end of file diff --git a/dist/api/bots/mother.js b/dist/api/bots/mother.js index a95cb37..8f1c3f3 100644 --- a/dist/api/bots/mother.js +++ b/dist/api/bots/mother.js @@ -9,7 +9,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge }); }; Object.defineProperty(exports, "__esModule", { value: true }); -const Sphinx = require("../../../sphinx-bot"); +const Sphinx = require("sphinx-bot"); const actions_1 = require("../controllers/actions"); const msg_types = Sphinx.MSG_TYPE; function init() { diff --git a/dist/api/bots/mother.js.map b/dist/api/bots/mother.js.map index 1b28f84..bbd5ec3 100644 --- a/dist/api/bots/mother.js.map +++ b/dist/api/bots/mother.js.map @@ -1 +1 @@ -{"version":3,"file":"mother.js","sourceRoot":"","sources":["../../../api/bots/mother.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,8CAA6C;AAC7C,oDAA0D;AAC1D,MAAM,SAAS,GAAG,MAAM,CAAC,QAAQ,CAAA;AAEjC,SAAgB,IAAI;IAElB,MAAM,MAAM,GAAG,IAAI,MAAM,CAAC,MAAM,EAAE,CAAA;IAClC,MAAM,CAAC,KAAK,CAAC,GAAG,EAAE,aAAa,CAAC,CAAA;IAEhC,MAAM,CAAC,EAAE,CAAC,SAAS,CAAC,OAAO,EAAE,CAAO,OAAsB,EAAE,EAAE;QAC5D,OAAO,CAAC,GAAG,CAAC,cAAc,EAAC,OAAO,CAAC,CAAA;QAEnC,MAAM,KAAK,GAAG,IAAI,MAAM,CAAC,YAAY,EAAE;aACpC,SAAS,CAAC,WAAW,CAAC;aACtB,QAAQ,CAAC,eAAe,CAAC;aACzB,SAAS,CAAC;YACT,EAAC,IAAI,EAAC,mBAAmB,EAAC,KAAK,EAAC,wBAAwB,EAAC;YACzD,EAAC,IAAI,EAAC,MAAM,EAAC,KAAK,EAAC,WAAW,EAAC;SAChC,CAAC,CAAA;QAEJ,OAAO,CAAC,OAAO,CAAC,IAAI,CAAC,EAAE,KAAK,EAAE,CAAC,CAAA;IACjC,CAAC,CAAA,CAAC,CAAA;AACJ,CAAC;AAlBD,oBAkBC;AAED,SAAS,aAAa,CAAC,CAAC;IACtB,IAAI,IAAI,GAAG,EAAE,CAAA;IACb,IAAI,OAAO,GAAG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AO,CAAC,IAAI,CAAC,EAAE,KAAK,EAAE,CAAC,CAAA;IACjC,CAAC,CAAA,CAAC,CAAA;AACJ,CAAC;AAlBD,oBAkBC;AAED,SAAS,aAAa,CAAC,CAAC;IACtB,IAAI,IAAI,GAAG,EAAE,CAAA;IACb,IAAI,OAAO,GAAG,KAAK,CAAA;IACnB,IAAG,CAAC,CAAC,KAAK,IAAI,CAAC,CAAC,KAAK,CAAC,IAAI,EAAE;QAC1B,IAAI,GAAG,CAAC,CAAC,KAAK,CAAC,IAAI,CAAA;QACnB,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,MAAM,CAAA;KACzB;SAAM,IAAG,OAAO,CAAC,KAAG,QAAQ,EAAE;QAC7B,IAAI,GAAG,CAAC,CAAA;KACT;IACD,qBAAW,CAAS;QAClB,OAAO;QACP,IAAI,EAAE,MAAM,EAAC,WAAW;KACzB,CAAC,CAAA;AACJ,CAAC;AAED,wBAAwB;AACxB,yBAAyB;AACzB,SAAS;AACT,gEAAgE;AAChE,6DAA6D;AAC7D,UAAU;AACV,gBAAgB;AAChB,IAAI"} \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index 82bb043..06703ef 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10875,6 +10875,21 @@ } } }, + "sphinx-bot": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/sphinx-bot/-/sphinx-bot-0.1.1.tgz", + "integrity": "sha512-MSbNcpq8ZTBoaCyIhNRTMLOLsj99n29PcUylsQYCtb0pZ6SILlQBM5hCnfZbSoHef2boO8gCeB94l0qZCK5Aow==", + "requires": { + "eventemitter3": "^4.0.7" + }, + "dependencies": { + "eventemitter3": { + "version": "4.0.7", + "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-4.0.7.tgz", + "integrity": "sha512-8guHBZCwKnFhYdHr2ysuRWErTwhoN2X8XELRlrRwpmfeY2jjuUN4taQMsULKUVo1K4DvZl+0pgfyoysHxvmvEw==" + } + } + }, "split": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/split/-/split-1.0.1.tgz", diff --git a/package.json b/package.json index 4d7ea23..72588a3 100644 --- a/package.json +++ b/package.json @@ -78,6 +78,7 @@ "short-uuid": "^3.1.1", "sjcl": "^1.0.8", "socket.io": "^2.3.0", + "sphinx-bot": "^0.1.1", "tail": "^2.0.3", "ts-node": "^8.5.4", "tsc": "^1.20150623.0",