diff --git a/lib/services/test/handlers/index.ts b/lib/services/test/handlers/index.ts index 90c66500..c9c3091f 100644 --- a/lib/services/test/handlers/index.ts +++ b/lib/services/test/handlers/index.ts @@ -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'; @@ -42,4 +52,5 @@ export default ({ API_HANDLER_ENDPOINT, INTEGRATIONS_HANDLER_ENDPOINT, CODE_HAND RandomHandler(), SetHandler(), StartHandler(), + NextHandler(), ]; diff --git a/lib/services/voiceflow/handlers/index.ts b/lib/services/voiceflow/handlers/index.ts index 3622e2fd..7e816377 100644 --- a/lib/services/voiceflow/handlers/index.ts +++ b/lib/services/voiceflow/handlers/index.ts @@ -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'; @@ -50,4 +60,5 @@ export default ({ API_HANDLER_ENDPOINT, INTEGRATIONS_HANDLER_ENDPOINT, CODE_HAND RandomHandler(), SetHandler(), StartHandler(), + NextHandler(), ]; diff --git a/package.json b/package.json index 69c26473..9f9f0695 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/yarn.lock b/yarn.lock index 31f2cb62..1fab0102 100644 --- a/yarn.lock +++ b/yarn.lock @@ -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"