@juspay/neurolink 12.21.2 → 12.22.1
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/CHANGELOG.md +2 -4
- package/dist/browser/neurolink.min.js +393 -393
- package/dist/core/baseProvider.d.ts +18 -0
- package/dist/core/baseProvider.js +22 -0
- package/dist/core/constants.js +1 -1
- package/dist/factories/providerFactory.d.ts +20 -0
- package/dist/factories/providerFactory.js +100 -19
- package/dist/models/modelRegistry.d.ts +25 -0
- package/dist/models/modelRegistry.js +39 -0
- package/dist/providers/googleAiStudio/client.js +382 -50
- package/dist/providers/googleNativeGemini3/utils.d.ts +22 -0
- package/dist/providers/googleNativeGemini3/utils.js +24 -0
- package/dist/providers/googleVertex/client.d.ts +3 -12
- package/dist/providers/googleVertex/client.js +15 -34
- package/dist/providers/openaiChatCompletionsClient.d.ts +4 -0
- package/dist/providers/openaiChatCompletionsClient.js +20 -5
- package/dist/types/file.d.ts +13 -0
- package/dist/utils/pdfProcessor.d.ts +21 -3
- package/dist/utils/pdfProcessor.js +124 -48
- package/dist/utils/stringDistance.d.ts +54 -0
- package/dist/utils/stringDistance.js +133 -0
- package/dist/utils/toolCallRepair.js +54 -55
- package/docs-site/static/search-index.json +1 -1
- package/package.json +1 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@juspay/neurolink",
|
|
3
|
-
"version": "12.
|
|
3
|
+
"version": "12.22.1",
|
|
4
4
|
"packageManager": "pnpm@10.15.1",
|
|
5
5
|
"description": "The pipe layer of an AI nervous system: one interface connecting provider neurons to your application, across three inference types — generate, stream and decide. `decide` returns typed, calibrated judgements from a non-generative model (~400ms, ~$0.00002/call) for routing, tool selection and context budgeting. MCP-native (4 transports), voice TTS/STT/realtime, RAG, agents, memory, compaction, 9 observability exporters. OpenAI · Anthropic · Gemini · Bedrock · Azure · Ollama · TypeSafe Jev and more.",
|
|
6
6
|
"author": {
|
|
@@ -490,7 +490,6 @@
|
|
|
490
490
|
"mediabunny": "^1.40.1",
|
|
491
491
|
"music-metadata": "^11.11.2",
|
|
492
492
|
"pdf-parse": "^2.4.5",
|
|
493
|
-
"pdf-to-img": "^5.0.0",
|
|
494
493
|
"pptxgenjs": "^4.0.1",
|
|
495
494
|
"sharp": "^0.35.3"
|
|
496
495
|
},
|
|
@@ -666,7 +665,6 @@
|
|
|
666
665
|
"rollup@>=4.0.0 <4.59.0": ">=4.59.0",
|
|
667
666
|
"shell-quote@<1.8.4": ">=1.8.4",
|
|
668
667
|
"undici@>=8.0.0": ">=7.24.0 <8.0.0",
|
|
669
|
-
"pdfjs-dist": "5.4.624",
|
|
670
668
|
"markdown-it@<14.2.0": ">=14.2.0",
|
|
671
669
|
"@xmldom/xmldom@<0.9.12": ">=0.9.12",
|
|
672
670
|
"protobufjs@<7.6.5": ">=7.6.5",
|