@dominusnode/openai-functions 1.1.0 → 1.3.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/README.md +32 -29
- package/dist/handler.d.ts +3 -0
- package/dist/handler.js +916 -62
- package/functions.json +13 -1
- package/package.json +3 -1
package/functions.json
CHANGED
|
@@ -447,7 +447,19 @@
|
|
|
447
447
|
"currency": {
|
|
448
448
|
"type": "string",
|
|
449
449
|
"description": "Cryptocurrency to pay with: BTC, ETH, LTC, XMR, ZEC, USDC, SOL, USDT, DAI, BNB, or LINK.",
|
|
450
|
-
"enum": [
|
|
450
|
+
"enum": [
|
|
451
|
+
"BTC",
|
|
452
|
+
"ETH",
|
|
453
|
+
"LTC",
|
|
454
|
+
"XMR",
|
|
455
|
+
"ZEC",
|
|
456
|
+
"USDC",
|
|
457
|
+
"SOL",
|
|
458
|
+
"USDT",
|
|
459
|
+
"DAI",
|
|
460
|
+
"BNB",
|
|
461
|
+
"LINK"
|
|
462
|
+
]
|
|
451
463
|
}
|
|
452
464
|
},
|
|
453
465
|
"required": ["amount_usd", "currency"]
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dominusnode/openai-functions",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.3.0",
|
|
4
4
|
"description": "Dominus Node OpenAI-compatible function calling handler — dispatches LLM function calls to the Dominus Node REST API",
|
|
5
5
|
"main": "dist/handler.js",
|
|
6
6
|
"types": "dist/handler.d.ts",
|
|
@@ -8,10 +8,12 @@
|
|
|
8
8
|
"license": "MIT",
|
|
9
9
|
"scripts": {
|
|
10
10
|
"build": "tsc",
|
|
11
|
+
"prepare": "npm run build",
|
|
11
12
|
"test": "vitest run",
|
|
12
13
|
"test:py": "python -m pytest test_handler.py -v"
|
|
13
14
|
},
|
|
14
15
|
"devDependencies": {
|
|
16
|
+
"@types/node": "^22.0.0",
|
|
15
17
|
"typescript": "^5.4.0",
|
|
16
18
|
"vitest": "^1.6.0"
|
|
17
19
|
},
|