Skip to content

Commit

Permalink
fix: empty display on test tool (#56)
Browse files Browse the repository at this point in the history
* fix: empty display on test tool

* refactor: use next handler

* chore: update client
  • Loading branch information
leartgjoni-voiceflow authored May 12, 2020
1 parent da4b4b3 commit 1931de7
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 7 deletions.
13 changes: 12 additions & 1 deletion lib/services/test/handlers/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,14 @@
import { CodeHandler, EndHandler, FlowHandler, IfHandler, IntegrationsHandler, RandomHandler, SetHandler, StartHandler } from '@voiceflow/client';
import {
CodeHandler,
EndHandler,
FlowHandler,
IfHandler,
IntegrationsHandler,
NextHandler,
RandomHandler,
SetHandler,
StartHandler,
} from '@voiceflow/client';

import AccountLinkingHandler from '@/lib/services/voiceflow/handlers/accountLinking';
import CaptureHandler from '@/lib/services/voiceflow/handlers/capture';
Expand Down Expand Up @@ -42,4 +52,5 @@ export default ({ API_HANDLER_ENDPOINT, INTEGRATIONS_HANDLER_ENDPOINT, CODE_HAND
RandomHandler(),
SetHandler(),
StartHandler(),
NextHandler(),
];
13 changes: 12 additions & 1 deletion lib/services/voiceflow/handlers/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,14 @@
import { CodeHandler, EndHandler, FlowHandler, IfHandler, IntegrationsHandler, RandomHandler, SetHandler, StartHandler } from '@voiceflow/client';
import {
CodeHandler,
EndHandler,
FlowHandler,
IfHandler,
IntegrationsHandler,
NextHandler,
RandomHandler,
SetHandler,
StartHandler,
} from '@voiceflow/client';

import { Config } from '@/types';

Expand Down Expand Up @@ -50,4 +60,5 @@ export default ({ API_HANDLER_ENDPOINT, INTEGRATIONS_HANDLER_ENDPOINT, CODE_HAND
RandomHandler(),
SetHandler(),
StartHandler(),
NextHandler(),
];
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
},
"dependencies": {
"@voiceflow/backend-utils": "2.0.0",
"@voiceflow/client": "^1.6.3",
"@voiceflow/client": "^1.7.0",
"@voiceflow/common": "^6.2.0",
"@voiceflow/logger": "^1.1.0",
"@voiceflow/secrets-provider": "^1.6.2",
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -890,10 +890,10 @@
randomstring "^1.1.5"
sinon "^7.5.0"

"@voiceflow/client@^1.6.3":
version "1.6.3"
resolved "https://registry.yarnpkg.com/@voiceflow/client/-/client-1.6.3.tgz#a566334cb58f15405d7480310f0b16b6078896bb"
integrity sha512-K7VZDptmpCXXGeucTkCx48WdpvwQq1UqroQd8YYbqrckrH/CMng+PP6wW0/hFUohVHaJXH/oY9ZDKkl6IrAREw==
"@voiceflow/client@^1.7.0":
version "1.7.0"
resolved "https://registry.yarnpkg.com/@voiceflow/client/-/client-1.7.0.tgz#5d326234840a9367d2c3cd956ebab9eaf70397b0"
integrity sha512-LrkTlI4AThDVwn8lbw7+dUajZckKXuG7/oLVhfAJFBmfTSQmVCmszZleKCpHBi8utiH8wh7VQs0R6lIrKO9QJw==
dependencies:
"@types/safe-json-stringify" "^1.1.0"
axios "^0.19.0"
Expand Down

0 comments on commit 1931de7

Please sign in to comment.