@hcaptcha/vue-hcaptcha
Advanced tools
Comparing version 0.2.3 to 0.2.4
@@ -49,2 +49,10 @@ import {mount, shallowMount} from '@vue/test-utils'; | ||
test('has onOpen function', () => { | ||
expect(typeof VueHcaptcha.methods.onOpen).toBe('function') | ||
}) | ||
test('has onClose function', () => { | ||
expect(typeof VueHcaptcha.methods.onClose).toBe('function') | ||
}) | ||
test('has execute function', () => { | ||
@@ -51,0 +59,0 @@ expect(typeof VueHcaptcha.methods.execute).toBe('function') |
{ | ||
"name": "@hcaptcha/vue-hcaptcha", | ||
"version": "0.2.3", | ||
"version": "0.2.4", | ||
"main": "./src/main.js", | ||
@@ -5,0 +5,0 @@ "author": "hCaptcha team and contributors", |
@@ -53,2 +53,4 @@ # Vue.js hCaptcha Component Library | ||
- `@error="onError"` (The captcha will automatically reset on error) | ||
- `@opened="onOpened"` | ||
- `@closed="onClosed"` | ||
@@ -55,0 +57,0 @@ ### FAQ |
Sorry, the diff of this file is not supported yet
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
832708
254
92
0