clawaid 1.1.18 → 1.1.19

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 +3 -4
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "clawaid",
3
- "version": "1.1.18",
3
+ "version": "1.1.19",
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
@@ -1086,10 +1086,9 @@
1086
1086
  // ═══ Paywall ══════════════════════════════════════════════════════════════
1087
1087
  function showPaywall(data) {
1088
1088
  var STRIPE_URL = 'https://buy.stripe.com/8x26oJ6WrdNnd9T4hI0oM01';
1089
- var priceData = data.price || data;
1090
- var priceStr = (typeof priceData === 'object') ? priceData.price : (data.price || '$1.99');
1091
- var credits = (typeof priceData === 'object') ? (priceData.credits || 5) : (data.credits || 5);
1092
- var payMethod = (typeof priceData === 'object') ? (priceData.payMethod || 'stripe') : 'stripe';
1089
+ var priceStr = data.price || '$1.99';
1090
+ var credits = data.credits || 5;
1091
+ var payMethod = data.payMethod || (data.isChinese ? 'xunhupay' : 'stripe');
1093
1092
  var isCN = payMethod === 'xunhupay';
1094
1093
 
1095
1094
  var buyBtnHtml;