@prosopo/vue-procaptcha-wrapper 1.0.0 → 1.1.4

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 ADDED
@@ -0,0 +1,34 @@
1
+ # @prosopo/vue-procaptcha-wrapper
2
+
3
+ ## 1.1.4
4
+ ### Patch Changes
5
+
6
+ - @prosopo/procaptcha-wrapper@2.6.6
7
+
8
+ ## 1.1.3
9
+ ### Patch Changes
10
+
11
+ - @prosopo/procaptcha-wrapper@2.6.5
12
+
13
+ ## 1.1.2
14
+ ### Patch Changes
15
+
16
+ - @prosopo/procaptcha-wrapper@2.6.4
17
+
18
+ ## 1.1.1
19
+ ### Patch Changes
20
+
21
+ - dead520: fix dep versions
22
+ - Updated dependencies [dead520]
23
+ - @prosopo/procaptcha-wrapper@2.6.3
24
+
25
+ ## 1.1.0
26
+
27
+ ### Minor Changes
28
+
29
+ - a0bfc8a: bump all pkg versions since independent versioning applied
30
+
31
+ ### Patch Changes
32
+
33
+ - Updated dependencies [a0bfc8a]
34
+ - @prosopo/procaptcha-wrapper@2.6.0
package/dist/index.js CHANGED
@@ -1,6 +1,6 @@
1
- import { defineComponent as a, useTemplateRef as o, onMounted as p, onUpdated as l, createElementBlock as i, openBlock as s, mergeProps as u } from "vue";
1
+ import { defineComponent as a, ref as o, onMounted as l, onUpdated as p, createElementBlock as i, openBlock as s, mergeProps as u } from "vue";
2
2
  import { renderProcaptcha as m } from "@prosopo/procaptcha-wrapper";
3
- const d = /* @__PURE__ */ a({
3
+ const h = /* @__PURE__ */ a({
4
4
  inheritAttrs: !1,
5
5
  __name: "procaptchaComponent",
6
6
  props: {
@@ -18,25 +18,27 @@ const d = /* @__PURE__ */ a({
18
18
  "reset-callback": { type: [String, Function] },
19
19
  language: {},
20
20
  size: {},
21
+ web3: { type: Boolean },
22
+ userAccountAddress: {},
21
23
  htmlAttributes: {}
22
24
  },
23
25
  setup(r) {
24
- const c = r, t = o("wrapper");
25
- p(() => {
26
+ const c = r, t = o(null);
27
+ l(() => {
26
28
  n();
27
- }), l(() => {
29
+ }), p(() => {
28
30
  n();
29
31
  });
30
32
  function n() {
31
33
  const e = t.value;
32
34
  e instanceof HTMLElement && m(e, c);
33
35
  }
34
- return (e, g) => (s(), i("div", u({
36
+ return (e, d) => (s(), i("div", u({
35
37
  ref_key: "wrapper",
36
38
  ref: t
37
39
  }, e.htmlAttributes), null, 16));
38
40
  }
39
41
  });
40
42
  export {
41
- d as ProcaptchaComponent
43
+ h as ProcaptchaComponent
42
44
  };
@@ -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;;;;AAkEF,wBAOG"}
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;;;;AAmEF,wBAOG"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prosopo/vue-procaptcha-wrapper",
3
- "version": "1.0.0",
3
+ "version": "1.1.4",
4
4
  "type": "module",
5
5
  "engines": {
6
6
  "node": "20",
@@ -11,18 +11,18 @@
11
11
  "scripts": {
12
12
  "test": "echo \"No test specified\"",
13
13
  "clean": "del-cli ./dist",
14
- "build": "npx vite build"
14
+ "build": "vue-tsc",
15
+ "bundle": "vite build"
15
16
  },
16
17
  "dependencies": {
17
- "@prosopo/procaptcha-wrapper": ">=2.5.4"
18
- },
19
- "peerDependencies": {
20
- "vue": "^3.5.13"
18
+ "@prosopo/procaptcha-wrapper": "2.6.6",
19
+ "vue": "3.5.13"
21
20
  },
22
21
  "devDependencies": {
23
- "@prosopo/procaptcha-integration-build-config": "1.0.0",
22
+ "@prosopo/procaptcha-integration-build-config": "1.1.0",
24
23
  "@vitejs/plugin-vue": "5.2.3",
25
- "del-cli": "6.0.0"
24
+ "del-cli": "6.0.0",
25
+ "vue-tsc": "2.2.10"
26
26
  },
27
27
  "author": "PROSOPO LIMITED <info@prosopo.io>",
28
28
  "license": "Apache-2.0",