Skip to content

Commit

Permalink
#4 refactored code to fix issue with close-ended chat + added tests (#5)
Browse files Browse the repository at this point in the history
* #4 refactored code to fix issue with close-ended chat + added tests

* adding main entrypoint and updated package.json
  • Loading branch information
pranav-kural authored Jul 8, 2024
1 parent c5198f9 commit 605356b
Show file tree
Hide file tree
Showing 13 changed files with 6,874 additions and 4,050 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

23 changes: 20 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
{
"name": "@oconva/qvikchat",
"version": "1.0.1",
"version": "1.0.2",
"repository": {
"type": "git",
"url": "https://github.com/oconva/qvikchat.git"
},
"bugs": {
"url": "ttps://github.com/oconva/qvikchat/issues"
},
"homepage": "https://qvikchat.pkural.ca",
"main": "lib/index.js",
"scripts": {
"start": "node lib/index.js",
Expand All @@ -18,6 +22,7 @@
"predeploy": "pnpm lint && pnpm format && pnpm build && pnpm test"
},
"keywords": [
"qvikchat",
"conversational ai",
"chat",
"chatbot",
Expand All @@ -38,10 +43,22 @@
"src/*"
],
"exports": {
".": {
"types": "./lib/index.d.ts",
"import": "./lib/index.js",
"require": "./lib/index.js",
"default": "./lib/index.js"
},
"./agents": {
"types": "./lib/agents/chat-agents.d.ts",
"import": "./lib/agents/chat-agent.js",
"require": "./lib/agents/chat-agent.js",
"import": {
"default": "./lib/agents/chat-agents.js",
"types": "./lib/agents/chat-agents.d.ts"
},
"require": {
"default": "./lib/agents/chat-agents.js",
"types": "./lib/agents/chat-agents.d.ts"
},
"default": "./lib/agents/chat-agent.js"
},
"./auth": {
Expand Down
Loading

0 comments on commit 605356b

Please sign in to comment.