@forklaunch/implementation-billing-base 0.1.6 → 0.1.8
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/__test__/schemaEquality.test.js +44 -20
- package/lib/eject/{schemas → domain/schemas}/billingPortal.schema.ts +7 -5
- package/lib/eject/{schemas → domain/schemas}/checkoutSession.schema.ts +7 -5
- package/lib/eject/{schemas → domain/schemas}/paymentLink.schema.ts +7 -5
- package/lib/eject/{schemas → domain/schemas}/plan.schema.ts +5 -5
- package/lib/eject/{schemas → domain/schemas}/subscription.schema.ts +7 -5
- package/lib/eject/services/billingPortal.service.ts +10 -13
- package/lib/eject/services/checkoutSession.service.ts +8 -11
- package/lib/eject/services/paymentLink.service.ts +11 -14
- package/lib/eject/services/plan.service.ts +11 -14
- package/lib/eject/services/subscription.service.ts +15 -15
- package/lib/schemas/billingPortal.schema.d.ts +10 -2
- package/lib/schemas/billingPortal.schema.d.ts.map +1 -1
- package/lib/schemas/billingPortal.schema.js +3 -3
- package/lib/schemas/checkoutSession.schema.d.ts +10 -2
- package/lib/schemas/checkoutSession.schema.d.ts.map +1 -1
- package/lib/schemas/checkoutSession.schema.js +3 -3
- package/lib/schemas/paymentLink.schema.d.ts +10 -2
- package/lib/schemas/paymentLink.schema.d.ts.map +1 -1
- package/lib/schemas/paymentLink.schema.js +3 -3
- package/lib/schemas/plan.schema.d.ts +10 -2
- package/lib/schemas/plan.schema.d.ts.map +1 -1
- package/lib/schemas/plan.schema.js +3 -3
- package/lib/schemas/subscription.schema.d.ts +10 -2
- package/lib/schemas/subscription.schema.d.ts.map +1 -1
- package/lib/schemas/subscription.schema.js +3 -3
- package/lib/schemas/typebox/billingPortal.schema.d.ts +9 -3
- package/lib/schemas/typebox/billingPortal.schema.d.ts.map +1 -1
- package/lib/schemas/typebox/billingPortal.schema.js +5 -5
- package/lib/schemas/typebox/checkoutSession.schema.d.ts +9 -3
- package/lib/schemas/typebox/checkoutSession.schema.d.ts.map +1 -1
- package/lib/schemas/typebox/checkoutSession.schema.js +5 -5
- package/lib/schemas/typebox/paymentLink.schema.d.ts +9 -3
- package/lib/schemas/typebox/paymentLink.schema.d.ts.map +1 -1
- package/lib/schemas/typebox/paymentLink.schema.js +5 -5
- package/lib/schemas/typebox/plan.schema.d.ts +9 -3
- package/lib/schemas/typebox/plan.schema.d.ts.map +1 -1
- package/lib/schemas/typebox/plan.schema.js +5 -5
- package/lib/schemas/typebox/subscription.schema.d.ts +9 -3
- package/lib/schemas/typebox/subscription.schema.d.ts.map +1 -1
- package/lib/schemas/typebox/subscription.schema.js +5 -5
- package/lib/schemas/zod/billingPortal.schema.d.ts +9 -3
- package/lib/schemas/zod/billingPortal.schema.d.ts.map +1 -1
- package/lib/schemas/zod/billingPortal.schema.js +5 -5
- package/lib/schemas/zod/checkoutSession.schema.d.ts +9 -3
- package/lib/schemas/zod/checkoutSession.schema.d.ts.map +1 -1
- package/lib/schemas/zod/checkoutSession.schema.js +5 -5
- package/lib/schemas/zod/paymentLink.schema.d.ts +9 -3
- package/lib/schemas/zod/paymentLink.schema.d.ts.map +1 -1
- package/lib/schemas/zod/paymentLink.schema.js +5 -5
- package/lib/schemas/zod/plan.schema.d.ts +9 -3
- package/lib/schemas/zod/plan.schema.d.ts.map +1 -1
- package/lib/schemas/zod/plan.schema.js +5 -5
- package/lib/schemas/zod/subscription.schema.d.ts +9 -3
- package/lib/schemas/zod/subscription.schema.d.ts.map +1 -1
- package/lib/schemas/zod/subscription.schema.js +5 -5
- package/lib/services/billingPortal.service.d.ts +3 -3
- package/lib/services/billingPortal.service.d.ts.map +1 -1
- package/lib/services/billingPortal.service.js +11 -11
- package/lib/services/checkoutSession.service.d.ts +3 -3
- package/lib/services/checkoutSession.service.d.ts.map +1 -1
- package/lib/services/checkoutSession.service.js +9 -9
- package/lib/services/paymentLink.service.d.ts +3 -3
- package/lib/services/paymentLink.service.d.ts.map +1 -1
- package/lib/services/paymentLink.service.js +12 -12
- package/lib/services/plan.service.d.ts +3 -3
- package/lib/services/plan.service.d.ts.map +1 -1
- package/lib/services/plan.service.js +12 -12
- package/lib/services/subscription.service.d.ts +3 -3
- package/lib/services/subscription.service.d.ts.map +1 -1
- package/lib/services/subscription.service.js +14 -14
- package/lib/tsconfig.tsbuildinfo +1 -1
- package/package.json +10 -8
- /package/lib/eject/{schemas → domain/schemas}/index.ts +0 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@forklaunch/implementation-billing-base",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.8",
|
|
4
4
|
"description": "Billing basic implementation for forklaunch",
|
|
5
5
|
"homepage": "https://github.com/forklaunch/forklaunch-js#readme",
|
|
6
6
|
"bugs": {
|
|
@@ -14,12 +14,14 @@
|
|
|
14
14
|
"author": "Forklift Technologies, Inc.",
|
|
15
15
|
"exports": {
|
|
16
16
|
"./schemas": {
|
|
17
|
-
"
|
|
18
|
-
"
|
|
17
|
+
"import": "./lib/schemas/index.js",
|
|
18
|
+
"require": "./lib/schemas/index.js",
|
|
19
|
+
"types": "./lib/schemas/index.d.ts"
|
|
19
20
|
},
|
|
20
21
|
"./services": {
|
|
21
|
-
"
|
|
22
|
-
"
|
|
22
|
+
"import": "./lib/services/index.js",
|
|
23
|
+
"require": "./lib/services/index.js",
|
|
24
|
+
"types": "./lib/services/index.d.ts"
|
|
23
25
|
}
|
|
24
26
|
},
|
|
25
27
|
"files": [
|
|
@@ -27,13 +29,13 @@
|
|
|
27
29
|
],
|
|
28
30
|
"dependencies": {
|
|
29
31
|
"@forklaunch/common": "^0.2.6",
|
|
30
|
-
"@forklaunch/core": "^0.6.
|
|
32
|
+
"@forklaunch/core": "^0.6.6",
|
|
31
33
|
"@forklaunch/validator": "^0.4.12",
|
|
32
34
|
"@mikro-orm/core": "^6.4.12",
|
|
33
35
|
"@sinclair/typebox": "^0.34.33",
|
|
34
36
|
"ajv": "^8.17.1",
|
|
35
37
|
"zod": "^3.24.2",
|
|
36
|
-
"@forklaunch/interfaces-billing": "0.1.
|
|
38
|
+
"@forklaunch/interfaces-billing": "0.1.8"
|
|
37
39
|
},
|
|
38
40
|
"devDependencies": {
|
|
39
41
|
"depcheck": "^1.4.7",
|
|
@@ -47,7 +49,7 @@
|
|
|
47
49
|
"format": "prettier --ignore-path=.prettierignore --config .prettierrc '**/*.{ts,tsx,json}' --write",
|
|
48
50
|
"lint": "eslint . -c eslint.config.mjs",
|
|
49
51
|
"lint:fix": "eslint . -c eslint.config.mjs --fix",
|
|
50
|
-
"package:eject": "
|
|
52
|
+
"package:eject": "./eject-package.bash",
|
|
51
53
|
"publish:package": "./publish-package.bash",
|
|
52
54
|
"test": "vitest --passWithNoTests"
|
|
53
55
|
}
|
|
File without changes
|