@waline/client 2.15.2 → 2.15.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@waline/client",
3
- "version": "2.15.2",
3
+ "version": "2.15.4",
4
4
  "description": "client for waline comment system",
5
5
  "keywords": [
6
6
  "valine",
@@ -93,6 +93,19 @@
93
93
  "dist",
94
94
  "src"
95
95
  ],
96
+ "scripts": {
97
+ "build": "pnpm rollup && pnpm style",
98
+ "clean": "rimraf ./dist",
99
+ "dev": "vite",
100
+ "prepublishOnly": "pnpm clean && pnpm build",
101
+ "rollup": "rollup -c",
102
+ "style": "pnpm style:main && pnpm style:meta",
103
+ "style:main": "sass ./src/styles/index.scss ./dist/waline.css --style=compressed",
104
+ "style:meta": "sass ./src/styles/meta.scss ./dist/waline-meta.css --style=compressed"
105
+ },
106
+ "publishConfig": {
107
+ "provenance": true
108
+ },
96
109
  "browserslist": {
97
110
  "production": [
98
111
  ">0.5%",
@@ -127,14 +140,5 @@
127
140
  },
128
141
  "engines": {
129
142
  "node": ">=14"
130
- },
131
- "scripts": {
132
- "build": "pnpm rollup && pnpm style",
133
- "clean": "rimraf ./dist",
134
- "dev": "vite",
135
- "rollup": "rollup -c",
136
- "style": "pnpm style:main && pnpm style:meta",
137
- "style:main": "sass ./src/styles/index.scss ./dist/waline.css --style=compressed",
138
- "style:meta": "sass ./src/styles/meta.scss ./dist/waline-meta.css --style=compressed"
139
143
  }
140
- }
144
+ }
@@ -41,6 +41,9 @@ export const useTurnstile = (key: string): Turnstile => {
41
41
  turnstile?.ready(() =>
42
42
  turnstile?.render('.wl-captcha-container', options)
43
43
  );
44
+ },
45
+ {
46
+ async: false,
44
47
  }
45
48
  );
46
49
  });