@classytic/revenue 0.2.2 → 0.2.3

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@classytic/revenue",
3
- "version": "0.2.2",
3
+ "version": "0.2.3",
4
4
  "description": "Enterprise revenue management system with subscriptions, purchases, proration, payment processing, escrow, and multi-party splits",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -113,9 +113,7 @@ export class MonetizationService {
113
113
  } = params;
114
114
 
115
115
  // Validate required fields
116
- if (!data.organizationId) {
117
- throw new MissingRequiredFieldError('organizationId');
118
- }
116
+ // Note: organizationId is OPTIONAL (only needed for multi-tenant)
119
117
 
120
118
  if (!planKey) {
121
119
  throw new MissingRequiredFieldError('planKey');