@moneybar.online/moneybar 5.0.3 → 5.0.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.
@@ -8,7 +8,7 @@
8
8
 
9
9
  // Self-contained bundle (works without import map)
10
10
  // Use specific version to avoid CDN cache issues
11
- import { MoneyBar } from 'https://cdn.jsdelivr.net/npm/@moneybar.online/moneybar@5.0.1/dist/index.bundle.js';
11
+ import { MoneyBar } from 'https://cdn.jsdelivr.net/npm/@moneybar.online/moneybar@5.0.3/dist/index.bundle.js';
12
12
 
13
13
  // For NPM projects:
14
14
  // import { MoneyBar } from '@moneybar.online/moneybar';
@@ -21,7 +21,10 @@ const CONFIG = {
21
21
  // Security key from Supabase (contains your app identifier)
22
22
  // Generate using: SELECT generate_security_key('my-app', 'yourdomain.com', 'your@email.com', 3)
23
23
  // The app name in the security key will be used throughout MoneyBar
24
- security_key: 'sk_YOUR_SECURITY_KEY_HERE',
24
+ security_key: 'sk_c1d2cc257c1930c205a67c62e4a787797664ba5e6eff5c7b920218291390fc10',
25
+
26
+ // Label for your action (shown in UI: "PDF Generations: 2/3")
27
+ actionLabel: 'PDF Generations', // e.g., 'Image Exports', 'iPad Syncs', 'Conversions'
25
28
 
26
29
  // Number of free attempts before paywall
27
30
  freeAttemptLimit: 3,
@@ -33,11 +36,11 @@ const CONFIG = {
33
36
  },
34
37
 
35
38
  // Payment configuration (optional)
36
- payment: [{
39
+ payment: [{
37
40
  provider: 'dodo',
38
- productId: 'pdt_YOUR_PRODUCT_ID',
39
- mode: 'test' // or 'live'
40
- }],
41
+ productId: 'pdt_U8cQ7xFXw2IsAL0jpuI6e',
42
+ mode: 'live'
43
+ } ],
41
44
 
42
45
  // Feedback form (optional)
43
46
  feedback: {
@@ -63,7 +66,7 @@ const CONFIG = {
63
66
 
64
67
  // Title bar configuration (optional)
65
68
  titleBar: {
66
- title: '🚀 My App',
69
+ title: '🚀 My App1',
67
70
  links: [
68
71
  { text: 'Features', url: '#features', target: '_self' },
69
72
  { text: 'Pricing', url: '#pricing', target: '_self' }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@moneybar.online/moneybar",
3
- "version": "5.0.3",
3
+ "version": "5.0.4",
4
4
  "description": "The navbar of monetization. Fix the 3 money-blocking stages: forced sign-ins, silent drop-offs, and broken payment flows. Turn browsers into buyers.",
5
5
  "main": "dist/index.esm.js",
6
6
  "module": "dist/index.esm.js",