Skip to content

Commit 9f3755d

Browse files
committed
fix cache circular JSON bug
1 parent ce26aab commit 9f3755d

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

dist/react-simple-chatbot.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/storage.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
const JSON = require('circular-json');
2+
13
const getData = ({ cache, firstStep, steps }, callback) => {
24
const currentStep = firstStep;
35
const renderedSteps = [steps[currentStep.id]];

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-simple-chatbot",
3-
"version": "0.2.3",
3+
"version": "0.2.4",
44
"description": "React Simple Chatbot",
55
"main": "dist/react-simple-chatbot.js",
66
"scripts": {

0 commit comments

Comments
 (0)