@tagadapay/plugin-sdk 3.1.9 → 3.1.10

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/build-cdn.js CHANGED
@@ -131,6 +131,8 @@ if (typeof window !== 'undefined' && TagadaSDKBundle) {
131
131
  window.onConfigUpdate = TagadaSDKBundle.onConfigUpdate; // Listen for config changes
132
132
  window.sendConfigUpdate = TagadaSDKBundle.sendConfigUpdate; // Send config updates to iframes
133
133
  window.broadcastConfigUpdate = TagadaSDKBundle.broadcastConfigUpdate;
134
+ // Currency utilities
135
+ window.formatMoney = TagadaSDKBundle.formatMoney; // Format minor units to currency string
134
136
  }
135
137
  `.trim(),
136
138
  },
@@ -138,7 +140,7 @@ if (typeof window !== 'undefined' && TagadaSDKBundle) {
138
140
  js: `/**
139
141
  * TagadaPay SDK v${require('./package.json').version}
140
142
  * CDN Bundle - Full standalone SDK for external/vanilla pages
141
- * Includes: createTagadaClient, getPluginConfig, onConfigUpdate (hot reload)
143
+ * Includes: createTagadaClient, getPluginConfig, formatMoney, onConfigUpdate (hot reload)
142
144
  * @license MIT
143
145
  */`,
144
146
  },
@@ -171,6 +173,7 @@ if (typeof window !== 'undefined' && TagadaSDKBundle) {
171
173
  window.onConfigUpdate = TagadaSDKBundle.onConfigUpdate;
172
174
  window.sendConfigUpdate = TagadaSDKBundle.sendConfigUpdate;
173
175
  window.broadcastConfigUpdate = TagadaSDKBundle.broadcastConfigUpdate;
176
+ window.formatMoney = TagadaSDKBundle.formatMoney;
174
177
  }
175
178
  `.trim(),
176
179
  },
@@ -1,5 +1,5 @@
1
1
  /**
2
- * TagadaPay External Tracker v3.1.9
2
+ * TagadaPay External Tracker v3.1.10
3
3
  * CDN Bundle - Standalone tracking for external pages (Debug Build)
4
4
  * @license MIT
5
5
  */