@indra.ai/deva.veda 0.5.1 → 0.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/func/index.js +1 -1
- package/methods/index.js +1 -1
- package/package.json +2 -2
package/func/index.js
CHANGED
|
@@ -137,7 +137,7 @@ export const func = {
|
|
|
137
137
|
const book = opts.meta.params[1] || false;
|
|
138
138
|
this.action('func', `book:${book}:${opts.id.uid}`);
|
|
139
139
|
return new Promise((resolve, reject) => {
|
|
140
|
-
if (!book) return resolve(this.vars.messages.nobook);
|
|
140
|
+
if (!book) return resolve({text:this.vars.messages.nobook});
|
|
141
141
|
const key = book.length < 2 ? `0${book}` : book;
|
|
142
142
|
|
|
143
143
|
this.state('try', `book:${book}:${opts.id.uid}`); // set state try
|
package/methods/index.js
CHANGED
|
@@ -84,7 +84,7 @@ export const methods = {
|
|
|
84
84
|
const agent = this.agent();
|
|
85
85
|
const data = {};
|
|
86
86
|
this.func.book(packet.q).then(book => {
|
|
87
|
-
console.log('getting to resolve');
|
|
87
|
+
console.log('getting to resolve', book);
|
|
88
88
|
data.book = book;
|
|
89
89
|
return this.question(`${this.askChr}feecting parse ${book.text}`);
|
|
90
90
|
}).then(feecting => {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"id": "49633069290486712918",
|
|
3
3
|
"name": "@indra.ai/deva.veda",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.6.0",
|
|
5
5
|
"license": "VLA:49633069290486712918 LICENSE.md",
|
|
6
6
|
"VLA": {
|
|
7
7
|
"uid": "49633069290486712918",
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
},
|
|
64
64
|
"homepage": "https://indra.ai",
|
|
65
65
|
"dependencies": {
|
|
66
|
-
"@indra.ai/deva": "^1.
|
|
66
|
+
"@indra.ai/deva": "^1.24.0",
|
|
67
67
|
"cheerio": "^1.0.0",
|
|
68
68
|
"he": "^1.2.0"
|
|
69
69
|
},
|