clawaid 1.1.20 โ†’ 1.1.22

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/web/index.html +5 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "clawaid",
3
- "version": "1.1.20",
3
+ "version": "1.1.22",
4
4
  "description": "AI-powered diagnostic and repair tool for OpenClaw",
5
5
  "main": "dist/index.js",
6
6
  "bin": {
package/web/index.html CHANGED
@@ -604,7 +604,7 @@
604
604
  feedbackYes: isZh ? '๐Ÿ‘ ่งฃๅ†ณไบ†' : '๐Ÿ‘ Yes',
605
605
  feedbackNo: isZh ? '๐Ÿ‘Ž ๆฒก่งฃๅ†ณ' : '๐Ÿ‘Ž No',
606
606
  thanksYes: isZh ? 'ๅคชๅฅฝไบ†๏ผๅพˆ้ซ˜ๅ…ดๅธฎๅˆฐไฝ ' : 'Great! Glad it helped.',
607
- thanksNo: isZh ? 'ๆŠฑๆญ‰ๆฒก่งฃๅ†ณ๏ผŒ่”็ณปๆˆ‘ไปฌๅธฎไฝ ๆžๅฎš' : "Sorry to hear that. Reach out โ€” we'll help.",
607
+ thanksNo: isZh ? 'ๆŠฑๆญ‰ๆฒก่งฃๅ†ณ<br><span style="font-size:14px;margin-top:8px;display:inline-block;">WeChat: <b>oliver56666</b> ยท <a href="https://github.com/jjj5666/clawaid/issues" target="_blank">GitHub Issues</a></span>' : 'Sorry about that<br><span style="font-size:14px;margin-top:8px;display:inline-block;">WeChat: <b>oliver56666</b> ยท <a href="https://github.com/jjj5666/clawaid/issues" target="_blank">GitHub Issues</a></span>',
608
608
  contact: isZh ? 'ๆœ‰้—ฎ้ข˜๏ผŸ' : 'Questions?',
609
609
  allowQ: isZh ? '่ฟ™ๅฐ†ไฟฎๆ”นไฝ ็š„็ณป็ปŸ๏ผŒๅ…่ฎธๆ‰ง่กŒๅ—๏ผŸ' : 'This will modify your system. Allow?',
610
610
  allow: isZh ? 'โœ“ ๅ…่ฎธ' : 'โœ“ Allow',
@@ -1190,10 +1190,13 @@
1190
1190
  // โ•โ•โ• Paywall โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•
1191
1191
  function showPaywall(data) {
1192
1192
  var STRIPE_URL = 'https://buy.stripe.com/8x26oJ6WrdNnd9T4hI0oM01';
1193
- var priceStr = data.price || '$1.99';
1194
1193
  var credits = data.credits || 5;
1194
+ // Chinese users often use proxies (for OpenClaw API access), so CF-IPCountry
1195
+ // may incorrectly report US/JP/etc. Use frontend language detection as override.
1195
1196
  var payMethod = data.payMethod || (data.isChinese ? 'xunhupay' : 'stripe');
1197
+ if (isZh && payMethod !== 'xunhupay') payMethod = 'xunhupay';
1196
1198
  var isCN = payMethod === 'xunhupay';
1199
+ var priceStr = isCN ? 'ยฅ9.9' : (data.price || '$1.99');
1197
1200
 
1198
1201
  var buyBtnHtml;
1199
1202
  if (isCN) {