@prosopo/vue-procaptcha-wrapper 1.0.0 → 1.1.5

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,40 @@
1
+ # @prosopo/vue-procaptcha-wrapper
2
+
3
+ ## 1.1.5
4
+ ### Patch Changes
5
+
6
+ - Updated dependencies [913b69a]
7
+ - @prosopo/procaptcha-wrapper@2.6.7
8
+
9
+ ## 1.1.4
10
+ ### Patch Changes
11
+
12
+ - @prosopo/procaptcha-wrapper@2.6.6
13
+
14
+ ## 1.1.3
15
+ ### Patch Changes
16
+
17
+ - @prosopo/procaptcha-wrapper@2.6.5
18
+
19
+ ## 1.1.2
20
+ ### Patch Changes
21
+
22
+ - @prosopo/procaptcha-wrapper@2.6.4
23
+
24
+ ## 1.1.1
25
+ ### Patch Changes
26
+
27
+ - dead520: fix dep versions
28
+ - Updated dependencies [dead520]
29
+ - @prosopo/procaptcha-wrapper@2.6.3
30
+
31
+ ## 1.1.0
32
+
33
+ ### Minor Changes
34
+
35
+ - a0bfc8a: bump all pkg versions since independent versioning applied
36
+
37
+ ### Patch Changes
38
+
39
+ - Updated dependencies [a0bfc8a]
40
+ - @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.5",
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.7",
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",