Skip to content

Commit

Permalink
adding typing for new config item disableAutocomplete
Browse files Browse the repository at this point in the history
  • Loading branch information
tomgobich committed Apr 29, 2023
1 parent 150b3f3 commit 9f3d111
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions adonis-typings/honeypot.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ declare module '@ioc:Adocasts/Honeypot' {
import { HttpContextContract } from '@ioc:Adonis/Core/HttpContext'

export type HoneypotConfig = {
disableAutocomplete: boolean
fields: string[]
flashOnFailure: boolean
flashMessage: string | null
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@adocasts.com/adonisjs-honeypot",
"version": "1.0.11",
"version": "1.0.12",
"description": "Bot protection with Honeypot form fields in AdonisJS",
"main": "build/providers/HoneypotProvider.js",
"types": "build/adonis-typings/index.d.ts",
Expand Down

0 comments on commit 9f3d111

Please sign in to comment.