Releases: adrien2p/nestjs-dialogflow
Releases · adrien2p/nestjs-dialogflow
v1.1.7
v1.1.6
v1.1.5
Added
DialogFlowService
in order to handle the controller logic and dispatch intent- tests suite
Decorators/
testedmodule/[provider, component, controller]
tested
Update
DialogFlowController
logic now delegated to theDialogFlowService
Fixes
Handlers
provider stored handler method when no intent or action was found
v1.1.4
v1.1.3
v1.1.2
v1.1.1
Fixes
- Regenerate the lib directory
Added
DialogFlowAuthorizationMiddleware
the middleware compare the token sent byDialogFlow
to the token set in the env variable
DIALOG_FLOW_AUTHORIZATION_TOKEN
Update
DialogFlowModule
now apply theDialogFlowAuthorizationMiddleware
middleware to validate the token sent byDialogFlow
Changing library name
1.0.1 Upgrade version
v1.0.0
Added
- Decorators to handle the intent/action sent from
DialogFlow
@DialogFlowIntent()
decorator to define the concerned intent instead of the action.@DialogFlowAction()
decorator to define the concerned action instead of the intent.
DialogFlowModule
Which provide the featuresDialogFlowController
configurable controller throughDialogFlowModule.forRoute(webHookConfig)
Handlers
provider which get the metadata from the components in order to store and return the handlers map
- Some interfaces to defined the response get from
DialogFlow
and the expected result await byDialogflow
DialogFlowFulfilmentResponse
which defined the expected response await byDialogFlow
DialogFlowResponse
the response sent fromDialogFlow
and pass as argument to the handlerWebHookConfig
which defined the expected parameters in order to configure the controller ofDialogFlowModule
- Base files as
README
,CHANGELOG
,LICENCE