@forklaunch/implementation-billing-base 0.1.11 → 0.1.13

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.
Files changed (51) hide show
  1. package/lib/__test__/schemaEquality.test.d.ts +1 -1
  2. package/lib/__test__/schemaEquality.test.js +146 -305
  3. package/lib/eject/domain/schemas/billingPortal.schema.ts +7 -1
  4. package/lib/jest.config.d.ts +1 -1
  5. package/lib/jest.config.js +16 -16
  6. package/lib/schemas/billingPortal.schema.d.ts +34 -107
  7. package/lib/schemas/billingPortal.schema.js +1 -4
  8. package/lib/schemas/checkoutSession.schema.d.ts +54 -169
  9. package/lib/schemas/checkoutSession.schema.js +1 -4
  10. package/lib/schemas/index.d.ts +1 -1
  11. package/lib/schemas/paymentLink.schema.d.ts +64 -210
  12. package/lib/schemas/paymentLink.schema.js +1 -4
  13. package/lib/schemas/plan.schema.d.ts +76 -326
  14. package/lib/schemas/plan.schema.js +1 -4
  15. package/lib/schemas/subscription.schema.d.ts +88 -364
  16. package/lib/schemas/subscription.schema.js +1 -4
  17. package/lib/schemas/typebox/billingPortal.schema.d.ts +38 -172
  18. package/lib/schemas/typebox/billingPortal.schema.js +17 -23
  19. package/lib/schemas/typebox/checkoutSession.schema.d.ts +55 -197
  20. package/lib/schemas/typebox/checkoutSession.schema.js +13 -25
  21. package/lib/schemas/typebox/paymentLink.schema.d.ts +65 -275
  22. package/lib/schemas/typebox/paymentLink.schema.js +15 -27
  23. package/lib/schemas/typebox/plan.schema.d.ts +77 -409
  24. package/lib/schemas/typebox/plan.schema.js +17 -31
  25. package/lib/schemas/typebox/subscription.schema.d.ts +89 -481
  26. package/lib/schemas/typebox/subscription.schema.js +19 -31
  27. package/lib/schemas/zod/billingPortal.schema.d.ts +38 -42
  28. package/lib/schemas/zod/billingPortal.schema.js +17 -23
  29. package/lib/schemas/zod/checkoutSession.schema.d.ts +55 -107
  30. package/lib/schemas/zod/checkoutSession.schema.js +13 -25
  31. package/lib/schemas/zod/paymentLink.schema.d.ts +65 -99
  32. package/lib/schemas/zod/paymentLink.schema.js +15 -27
  33. package/lib/schemas/zod/plan.schema.d.ts +77 -177
  34. package/lib/schemas/zod/plan.schema.js +17 -31
  35. package/lib/schemas/zod/subscription.schema.d.ts +89 -181
  36. package/lib/schemas/zod/subscription.schema.js +19 -31
  37. package/lib/services/billingPortal.service.d.ts +28 -77
  38. package/lib/services/billingPortal.service.js +45 -64
  39. package/lib/services/checkoutSession.service.d.ts +29 -77
  40. package/lib/services/checkoutSession.service.js +43 -54
  41. package/lib/services/index.d.ts +1 -1
  42. package/lib/services/paymentLink.service.d.ts +32 -82
  43. package/lib/services/paymentLink.service.js +66 -84
  44. package/lib/services/plan.service.d.ts +26 -73
  45. package/lib/services/plan.service.js +40 -45
  46. package/lib/services/subscription.service.d.ts +44 -136
  47. package/lib/services/subscription.service.js +88 -111
  48. package/lib/tsconfig.tsbuildinfo +1 -1
  49. package/lib/vitest.config.d.ts +2 -2
  50. package/lib/vitest.config.js +4 -4
  51. package/package.json +5 -5
@@ -1,3 +1,3 @@
1
- declare const _default: import('vite').UserConfig;
1
+ declare const _default: import("vite").UserConfig;
2
2
  export default _default;
3
- //# sourceMappingURL=vitest.config.d.ts.map
3
+ //# sourceMappingURL=vitest.config.d.ts.map
@@ -1,7 +1,7 @@
1
1
  import { defineConfig } from 'vitest/config';
2
2
  export default defineConfig({
3
- test: {
4
- globals: true,
5
- exclude: ['**/lib/**', '**/node_modules/**']
6
- }
3
+ test: {
4
+ globals: true,
5
+ exclude: ['**/lib/**', '**/node_modules/**']
6
+ }
7
7
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forklaunch/implementation-billing-base",
3
- "version": "0.1.11",
3
+ "version": "0.1.13",
4
4
  "description": "Billing basic implementation for forklaunch",
5
5
  "homepage": "https://github.com/forklaunch/forklaunch-js#readme",
6
6
  "bugs": {
@@ -28,14 +28,14 @@
28
28
  "lib/**"
29
29
  ],
30
30
  "dependencies": {
31
- "@forklaunch/common": "link:../../../../framework/common",
32
- "@forklaunch/core": "link:../../../../framework/core",
33
- "@forklaunch/validator": "link:../../../../framework/validator",
31
+ "@forklaunch/common": "^0.2.11",
32
+ "@forklaunch/core": "^0.7.4",
33
+ "@forklaunch/validator": "^0.5.4",
34
34
  "@mikro-orm/core": "^6.4.13",
35
35
  "@sinclair/typebox": "^0.34.33",
36
36
  "ajv": "^8.17.1",
37
37
  "zod": "^3.24.3",
38
- "@forklaunch/interfaces-billing": "0.1.11"
38
+ "@forklaunch/interfaces-billing": "0.1.13"
39
39
  },
40
40
  "devDependencies": {
41
41
  "depcheck": "^1.4.7",