5.0.0 • Published 8 months ago

@xet/webhook-trigger v5.0.0

Weekly downloads
-
License
MIT
Repository
-
Last release
8 months ago

Trigger - Webhooks TELEPORT

NPM version Build Status Sonar Coverage Sonar Quality

Fires payload to endpoint.

Install

$ npm i @xet/webhook-trigger

Environment variable

VariableTypeRequiredDefaultDescription
TRIGGER_GOT_TIMEOUTnumberno10000The maximum allowed time for request
TRIGGER_GOT_RETRY_LIMITnumberno1The maximum retry count
TRIGGER_GOT_BACKOFF_LIMITnumberno3000The upper limit of the computedValue

API

trigger(event, body, payload, hook): Object

NameTypeDescription
eventstringEvent name
bodyobjectRequest body
payloadobjectPayload data
hookobjectThe hook ObjectId

Response

NameTypeDescription
statusnumberHTTP response status code
messagestringHTTP response status message
sentbooleanSuccess flag
headersobject-
hashstring-
hookobject-
eventstring-
bodyobject-
payloadobject-

Team

Copyright

TEx Tecnologia

5.0.0

8 months ago

4.2.0

1 year ago

3.1.0

1 year ago

3.0.0

2 years ago

2.0.3

2 years ago

4.1.0

1 year ago

4.0.0

1 year ago

2.0.2

2 years ago

2.0.1

2 years ago

2.0.0

3 years ago

1.3.1

3 years ago

1.3.0

3 years ago

1.2.0

3 years ago

1.1.0

3 years ago

1.0.0

3 years ago