@prosopo/vue-procaptcha-wrapper 1.1.35 → 1.1.36
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +11 -0
- package/dist/index.d.ts +2 -2
- package/dist/index.js +7 -44
- package/dist/procaptchaComponent.vue.d.ts +3 -5
- package/dist/procaptchaComponent.vue.d.ts.map +1 -1
- package/dist/procaptchaComponent.vue.js +47 -11
- package/package.json +4 -4
- package/dist/_virtual/_plugin-vue_export-helper.js +0 -10
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
# @prosopo/vue-procaptcha-wrapper
|
|
2
2
|
|
|
3
|
+
## 1.1.36
|
|
4
|
+
### Patch Changes
|
|
5
|
+
|
|
6
|
+
- 8ce9205: Change engine requirements
|
|
7
|
+
- b6e98b2: Run npm audit
|
|
8
|
+
- Updated dependencies [8ce9205]
|
|
9
|
+
- Updated dependencies [df79c03]
|
|
10
|
+
- Updated dependencies [b6e98b2]
|
|
11
|
+
- @prosopo/procaptcha-wrapper@2.6.38
|
|
12
|
+
- @prosopo/config@3.1.22
|
|
13
|
+
|
|
3
14
|
## 1.1.35
|
|
4
15
|
### Patch Changes
|
|
5
16
|
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ProcaptchaLanguages, ProcaptchaRenderOptions, ProcaptchaType } from
|
|
2
|
-
import
|
|
1
|
+
import type { ProcaptchaLanguages, ProcaptchaRenderOptions, ProcaptchaType } from "@prosopo/procaptcha-wrapper";
|
|
2
|
+
import ProcaptchaComponent from "./procaptchaComponent.vue";
|
|
3
3
|
export { ProcaptchaComponent, type ProcaptchaRenderOptions, type ProcaptchaType, type ProcaptchaLanguages, };
|
|
4
4
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.js
CHANGED
|
@@ -1,44 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
theme: {},
|
|
9
|
-
captchaType: {},
|
|
10
|
-
callback: { type: [String, Function] },
|
|
11
|
-
"challenge-valid-length": {},
|
|
12
|
-
"chalexpired-callback": { type: [String, Function] },
|
|
13
|
-
"expired-callback": { type: [String, Function] },
|
|
14
|
-
"open-callback": { type: [String, Function] },
|
|
15
|
-
"close-callback": { type: [String, Function] },
|
|
16
|
-
"error-callback": { type: [String, Function] },
|
|
17
|
-
"failed-callback": { type: [String, Function] },
|
|
18
|
-
"reset-callback": { type: [String, Function] },
|
|
19
|
-
language: {},
|
|
20
|
-
size: {},
|
|
21
|
-
web3: { type: Boolean },
|
|
22
|
-
userAccountAddress: {},
|
|
23
|
-
htmlAttributes: {}
|
|
24
|
-
},
|
|
25
|
-
setup(r) {
|
|
26
|
-
const c = r, t = o(null);
|
|
27
|
-
l(() => {
|
|
28
|
-
n();
|
|
29
|
-
}), p(() => {
|
|
30
|
-
n();
|
|
31
|
-
});
|
|
32
|
-
function n() {
|
|
33
|
-
const e = t.value;
|
|
34
|
-
e instanceof HTMLElement && m(e, c);
|
|
35
|
-
}
|
|
36
|
-
return (e, d) => (s(), i("div", u({
|
|
37
|
-
ref_key: "wrapper",
|
|
38
|
-
ref: t
|
|
39
|
-
}, e.htmlAttributes), null, 16));
|
|
40
|
-
}
|
|
41
|
-
});
|
|
42
|
-
export {
|
|
43
|
-
h as ProcaptchaComponent
|
|
44
|
-
};
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ProcaptchaComponent = void 0;
|
|
4
|
+
var tslib_1 = require("tslib");
|
|
5
|
+
var procaptchaComponent_vue_1 = tslib_1.__importDefault(require("./procaptchaComponent.vue"));
|
|
6
|
+
exports.ProcaptchaComponent = procaptchaComponent_vue_1.default;
|
|
7
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -1,13 +1,11 @@
|
|
|
1
|
-
import { HTMLAttributes } from
|
|
2
|
-
import { ProcaptchaRenderOptions } from
|
|
1
|
+
import { HTMLAttributes } from "vue";
|
|
2
|
+
import { type ProcaptchaRenderOptions } from "@prosopo/procaptcha-wrapper";
|
|
3
3
|
type ProcaptchaComponentProperties = ProcaptchaRenderOptions & {
|
|
4
4
|
htmlAttributes?: AllHtmlAttributes;
|
|
5
5
|
};
|
|
6
6
|
type AllHtmlAttributes = HTMLAttributes & {
|
|
7
7
|
[key: string]: any;
|
|
8
8
|
};
|
|
9
|
-
declare const _default: import(
|
|
10
|
-
wrapper: HTMLDivElement;
|
|
11
|
-
}, any>;
|
|
9
|
+
declare const _default: import("vue").DefineComponent<ProcaptchaComponentProperties, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ProcaptchaComponentProperties> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
12
10
|
export default _default;
|
|
13
11
|
//# sourceMappingURL=procaptchaComponent.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"procaptchaComponent.vue.d.ts","sourceRoot":"","sources":["../src/procaptchaComponent.vue"],"names":[],"mappings":"AA8CA,OAAO,EAAC,cAAc,EAAC,MAAM,KAAK,CAAA;AAClC,OAAO,EAAC,KAAK,uBAAuB,EAAmB,MAAM,6BAA6B,CAAC;AAE3F,KAAK,6BAA6B,GAAG,uBAAuB,GAAG;IAC7D,cAAc,CAAC,EAAE,iBAAiB,CAAC;CACpC,CAAA;AAED,KAAK,iBAAiB,GAAG,cAAc,GAAG;IAExC,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;CACnB,CAAC
|
|
1
|
+
{"version":3,"file":"procaptchaComponent.vue.d.ts","sourceRoot":"","sources":["../src/procaptchaComponent.vue"],"names":[],"mappings":"AA8CA,OAAO,EAAC,cAAc,EAAC,MAAM,KAAK,CAAA;AAClC,OAAO,EAAC,KAAK,uBAAuB,EAAmB,MAAM,6BAA6B,CAAC;AAE3F,KAAK,6BAA6B,GAAG,uBAAuB,GAAG;IAC7D,cAAc,CAAC,EAAE,iBAAiB,CAAC;CACpC,CAAA;AAED,KAAK,iBAAiB,GAAG,cAAc,GAAG;IAExC,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;CACnB,CAAC;;AA8DF,wBAMG"}
|
|
@@ -1,11 +1,47 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
var tslib_1 = require("tslib");
|
|
4
|
+
var vue_1 = require("vue");
|
|
5
|
+
var procaptcha_wrapper_1 = require("@prosopo/procaptcha-wrapper");
|
|
6
|
+
var properties = defineProps();
|
|
7
|
+
var wrapper = (0, vue_1.ref)(null);
|
|
8
|
+
defineOptions({
|
|
9
|
+
inheritAttrs: false
|
|
10
|
+
});
|
|
11
|
+
(0, vue_1.onMounted)(function () {
|
|
12
|
+
render();
|
|
13
|
+
});
|
|
14
|
+
(0, vue_1.onUpdated)(function () {
|
|
15
|
+
render();
|
|
16
|
+
});
|
|
17
|
+
function render() {
|
|
18
|
+
var wrapperElement = wrapper.value;
|
|
19
|
+
if (wrapperElement instanceof HTMLElement) {
|
|
20
|
+
(0, procaptcha_wrapper_1.renderProcaptcha)(wrapperElement, properties);
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
debugger;
|
|
24
|
+
var __VLS_ctx = {};
|
|
25
|
+
var __VLS_elements;
|
|
26
|
+
var __VLS_components;
|
|
27
|
+
var __VLS_directives;
|
|
28
|
+
__VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)(tslib_1.__assign({ ref: "wrapper" }, (__VLS_ctx.htmlAttributes)));
|
|
29
|
+
;
|
|
30
|
+
[htmlAttributes, wrapper,];
|
|
31
|
+
var __VLS_dollars;
|
|
32
|
+
var __VLS_self = (await Promise.resolve().then(function () { return tslib_1.__importStar(require('vue')); })).defineComponent({
|
|
33
|
+
setup: function () {
|
|
34
|
+
return {
|
|
35
|
+
wrapper: wrapper,
|
|
36
|
+
};
|
|
37
|
+
},
|
|
38
|
+
__typeProps: {},
|
|
39
|
+
});
|
|
40
|
+
exports.default = (await Promise.resolve().then(function () { return tslib_1.__importStar(require('vue')); })).defineComponent({
|
|
41
|
+
setup: function () {
|
|
42
|
+
return {};
|
|
43
|
+
},
|
|
44
|
+
__typeProps: {},
|
|
45
|
+
});
|
|
46
|
+
;
|
|
47
|
+
//# sourceMappingURL=procaptchaComponent.vue.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@prosopo/vue-procaptcha-wrapper",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.36",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"engines": {
|
|
6
6
|
"node": ">=v20.0.0",
|
|
@@ -23,12 +23,12 @@
|
|
|
23
23
|
"clean": "del-cli --verbose dist tsconfig.tsbuildinfo"
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@prosopo/procaptcha-wrapper": "2.6.
|
|
27
|
-
"@prosopo/config": "3.1.
|
|
26
|
+
"@prosopo/procaptcha-wrapper": "2.6.38",
|
|
27
|
+
"@prosopo/config": "3.1.22",
|
|
28
28
|
"vue": "3.5.13"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
|
-
"@prosopo/procaptcha-integration-build-config": "1.1.
|
|
31
|
+
"@prosopo/procaptcha-integration-build-config": "1.1.23",
|
|
32
32
|
"@types/node": "22.10.2",
|
|
33
33
|
"@vitejs/plugin-vue": "5.2.3",
|
|
34
34
|
"del-cli": "6.0.0",
|