@indra.ai/deva.feecting 0.0.3 → 0.0.5
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/index.js +23 -16
- package/package.json +2 -2
package/index.js
CHANGED
|
@@ -1,22 +1,29 @@
|
|
|
1
|
-
// Copyright (c)
|
|
1
|
+
// Copyright (c)2025 Quinn Michaels
|
|
2
2
|
// The Feecting Deva
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
import needle from 'needle';
|
|
4
|
+
import pkg from './package.json' with {type:'json'};
|
|
5
|
+
import data from './data.json' with {type:'json'};
|
|
6
|
+
const {agent, vars} = data.DATA;
|
|
7
|
+
|
|
8
|
+
import {dirname} from 'node:path';
|
|
9
|
+
import {fileURLToPath} from 'node:url';
|
|
10
|
+
const __dirname = dirname(fileURLToPath(import.meta.url));
|
|
11
|
+
|
|
5
12
|
const info = {
|
|
6
|
-
id:
|
|
7
|
-
name:
|
|
8
|
-
describe:
|
|
9
|
-
version:
|
|
13
|
+
id: pkg.id,
|
|
14
|
+
name: pkg.name,
|
|
15
|
+
describe: pkg.description,
|
|
16
|
+
version: pkg.version,
|
|
10
17
|
dir: __dirname,
|
|
11
|
-
url:
|
|
12
|
-
git:
|
|
13
|
-
bugs:
|
|
14
|
-
author:
|
|
15
|
-
license:
|
|
16
|
-
copyright:
|
|
18
|
+
url: pkg.homepage,
|
|
19
|
+
git: pkg.repository.url,
|
|
20
|
+
bugs: pkg.bugs.url,
|
|
21
|
+
author: pkg.author,
|
|
22
|
+
license: pkg.license,
|
|
23
|
+
copyright: pkg.copyright,
|
|
17
24
|
};
|
|
18
|
-
|
|
19
|
-
|
|
25
|
+
|
|
26
|
+
|
|
20
27
|
const FEECTING = new Deva({
|
|
21
28
|
info,
|
|
22
29
|
agent,
|
|
@@ -139,4 +146,4 @@ const FEECTING = new Deva({
|
|
|
139
146
|
console.log('FEECTING ERROR', err);
|
|
140
147
|
}
|
|
141
148
|
});
|
|
142
|
-
|
|
149
|
+
export default FEECTING
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"id": 5461868899003,
|
|
3
3
|
"name": "@indra.ai/deva.feecting",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.5",
|
|
5
5
|
"author": "Quinn Michaels",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"description": "The Feecting Deva manages all the parsing of feecting language in deva.world.",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
},
|
|
28
28
|
"homepage": "https://deva.space/devas/feecting",
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@indra.ai/deva": "^1.2.
|
|
30
|
+
"@indra.ai/deva": "^1.2.27",
|
|
31
31
|
"needle": "^3.2.0"
|
|
32
32
|
}
|
|
33
33
|
}
|