@creadi/tchatche-react
Advanced tools
Comparing version 1.0.3 to 1.0.5
@@ -22,2 +22,3 @@ "use strict"; | ||
var handleSubmit = function (data, onSubmit, storeAction) { return function (e) { | ||
e.preventDefault(); | ||
return onSubmit(e.target.elements.userinput.value, data, storeAction.setData).then(function (submited) { | ||
@@ -24,0 +25,0 @@ storeAction.userAnswered(submited); |
{ | ||
"name": "@creadi/tchatche-react", | ||
"version": "1.0.3", | ||
"description": "Simple chat bot. Supports button and text input responses.", | ||
"main": "dist/index.js", | ||
"types": "dist/index.d.ts", | ||
"scripts": { | ||
"test": "echo \"Success. Tests passed.\" && exit 0", | ||
"build": "tsc && cp src/types.d.ts dist/types.d.ts", | ||
"prepublish": "npm run build" | ||
"version": "1.0.5", | ||
"author": "Creadi AG <info@creadi.ch>", | ||
"dependencies": { | ||
"redux": "^4.0.4" | ||
}, | ||
"keywords": [ | ||
"chat bot" | ||
], | ||
"author": "Creadi AG <info@creadi.ch>", | ||
"license": "GPL-2.0", | ||
"devDependencies": { | ||
@@ -24,8 +16,20 @@ "@types/react": "^16.9.3", | ||
}, | ||
"keywords": [ | ||
"chat bot" | ||
], | ||
"license": "GPL-2.0", | ||
"main": "dist/index.js", | ||
"peerDependencies": { | ||
"react": "^16.0.0" | ||
}, | ||
"dependencies": { | ||
"redux": "^4.0.4" | ||
} | ||
"repository": { | ||
"type": "git", | ||
"url": "git://github.com/creadi/tchatche-react.git" | ||
}, | ||
"scripts": { | ||
"build": "tsc && cp src/types.d.ts dist/types.d.ts", | ||
"prepublish": "npm run build", | ||
"test": "echo \"Success. Tests passed.\" && exit 0" | ||
}, | ||
"types": "dist/index.d.ts" | ||
} |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
34873
892
0