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.
- package/package.json +1 -1
- package/web/index.html +3 -4
package/package.json
CHANGED
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
|
|
1090
|
-
var
|
|
1091
|
-
var
|
|
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;
|