@forklaunch/implementation-billing-base 0.7.2 → 0.7.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/lib/services/index.d.mts
CHANGED
|
@@ -2,6 +2,7 @@ import { IdDto, IdsDto } from '@forklaunch/common';
|
|
|
2
2
|
import { TtlCache } from '@forklaunch/core/cache';
|
|
3
3
|
import { OpenTelemetryCollector, MetricsDefinition, TelemetryOptions } from '@forklaunch/core/http';
|
|
4
4
|
import { BillingPortalService, CheckoutSessionService, PaymentLinkService, PlanService, SubscriptionService } from '@forklaunch/interfaces-billing/interfaces';
|
|
5
|
+
export * from '@forklaunch/interfaces-billing/interfaces';
|
|
5
6
|
import { CreateBillingPortalDto, UpdateBillingPortalDto, CreateCheckoutSessionDto, CreatePaymentLinkDto, UpdatePaymentLinkDto, CreatePlanDto, UpdatePlanDto, CreateSubscriptionDto, UpdateSubscriptionDto } from '@forklaunch/interfaces-billing/types';
|
|
6
7
|
import { AnySchemaValidator } from '@forklaunch/validator';
|
|
7
8
|
import { EntityManager } from '@mikro-orm/core';
|
package/lib/services/index.d.ts
CHANGED
|
@@ -2,6 +2,7 @@ import { IdDto, IdsDto } from '@forklaunch/common';
|
|
|
2
2
|
import { TtlCache } from '@forklaunch/core/cache';
|
|
3
3
|
import { OpenTelemetryCollector, MetricsDefinition, TelemetryOptions } from '@forklaunch/core/http';
|
|
4
4
|
import { BillingPortalService, CheckoutSessionService, PaymentLinkService, PlanService, SubscriptionService } from '@forklaunch/interfaces-billing/interfaces';
|
|
5
|
+
export * from '@forklaunch/interfaces-billing/interfaces';
|
|
5
6
|
import { CreateBillingPortalDto, UpdateBillingPortalDto, CreateCheckoutSessionDto, CreatePaymentLinkDto, UpdatePaymentLinkDto, CreatePlanDto, UpdatePlanDto, CreateSubscriptionDto, UpdateSubscriptionDto } from '@forklaunch/interfaces-billing/types';
|
|
6
7
|
import { AnySchemaValidator } from '@forklaunch/validator';
|
|
7
8
|
import { EntityManager } from '@mikro-orm/core';
|
package/lib/services/index.js
CHANGED
|
@@ -15,6 +15,7 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
15
15
|
}
|
|
16
16
|
return to;
|
|
17
17
|
};
|
|
18
|
+
var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
|
|
18
19
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
20
|
|
|
20
21
|
// services/index.ts
|
|
@@ -597,11 +598,15 @@ var BaseSubscriptionService = class {
|
|
|
597
598
|
});
|
|
598
599
|
}
|
|
599
600
|
};
|
|
601
|
+
|
|
602
|
+
// services/index.ts
|
|
603
|
+
__reExport(services_exports, require("@forklaunch/interfaces-billing/interfaces"), module.exports);
|
|
600
604
|
// Annotate the CommonJS export names for ESM import in node:
|
|
601
605
|
0 && (module.exports = {
|
|
602
606
|
BaseBillingPortalService,
|
|
603
607
|
BaseCheckoutSessionService,
|
|
604
608
|
BasePaymentLinkService,
|
|
605
609
|
BasePlanService,
|
|
606
|
-
BaseSubscriptionService
|
|
610
|
+
BaseSubscriptionService,
|
|
611
|
+
...require("@forklaunch/interfaces-billing/interfaces")
|
|
607
612
|
});
|
package/lib/services/index.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@forklaunch/implementation-billing-base",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.3",
|
|
4
4
|
"description": "Billing basic implementation for forklaunch",
|
|
5
5
|
"homepage": "https://github.com/forklaunch/forklaunch-js#readme",
|
|
6
6
|
"bugs": {
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"@sinclair/typebox": "^0.34.41",
|
|
45
45
|
"ajv": "^8.17.1",
|
|
46
46
|
"zod": "^4.1.11",
|
|
47
|
-
"@forklaunch/interfaces-billing": "0.7.
|
|
47
|
+
"@forklaunch/interfaces-billing": "0.7.3"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
50
|
"@typescript/native-preview": "7.0.0-dev.20250930.1",
|