@flightdev/payments 0.0.2 → 0.0.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.
Files changed (2) hide show
  1. package/README.md +7 -7
  2. package/package.json +7 -1
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # @flight-framework/payments
1
+ # @flightdev/payments
2
2
 
3
3
  Payment processing for Flight Framework. Unified API for Stripe, Paddle, and LemonSqueezy.
4
4
 
@@ -32,7 +32,7 @@ Payment processing for Flight Framework. Unified API for Stripe, Paddle, and Lem
32
32
  ## Installation
33
33
 
34
34
  ```bash
35
- npm install @flight-framework/payments
35
+ npm install @flightdev/payments
36
36
 
37
37
  # Install your provider's SDK
38
38
  npm install stripe # For Stripe
@@ -44,8 +44,8 @@ npm install @paddle/paddle-node-sdk # For Paddle
44
44
  ## Quick Start
45
45
 
46
46
  ```typescript
47
- import { createPayments } from '@flight-framework/payments';
48
- import { stripe } from '@flight-framework/payments/stripe';
47
+ import { createPayments } from '@flightdev/payments';
48
+ import { stripe } from '@flightdev/payments/stripe';
49
49
 
50
50
  const payments = createPayments(stripe({
51
51
  secretKey: process.env.STRIPE_SECRET_KEY,
@@ -73,7 +73,7 @@ const session = await payments.createCheckout({
73
73
  Full-featured payment processing.
74
74
 
75
75
  ```typescript
76
- import { stripe } from '@flight-framework/payments/stripe';
76
+ import { stripe } from '@flightdev/payments/stripe';
77
77
 
78
78
  const adapter = stripe({
79
79
  secretKey: process.env.STRIPE_SECRET_KEY,
@@ -87,7 +87,7 @@ const adapter = stripe({
87
87
  Merchant of record for global sales.
88
88
 
89
89
  ```typescript
90
- import { paddle } from '@flight-framework/payments/paddle';
90
+ import { paddle } from '@flightdev/payments/paddle';
91
91
 
92
92
  const adapter = paddle({
93
93
  apiKey: process.env.PADDLE_API_KEY,
@@ -101,7 +101,7 @@ const adapter = paddle({
101
101
  Digital products and subscriptions.
102
102
 
103
103
  ```typescript
104
- import { lemonsqueezy } from '@flight-framework/payments/lemonsqueezy';
104
+ import { lemonsqueezy } from '@flightdev/payments/lemonsqueezy';
105
105
 
106
106
  const adapter = lemonsqueezy({
107
107
  apiKey: process.env.LEMON_SQUEEZY_API_KEY,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flightdev/payments",
3
- "version": "0.0.2",
3
+ "version": "0.0.3",
4
4
  "description": "Agnostic payments layer for Flight Framework. Choose your processor: Stripe, Paddle, MercadoPago.",
5
5
  "type": "module",
6
6
  "exports": {
@@ -30,6 +30,12 @@
30
30
  "vitest": "^2.0.0"
31
31
  },
32
32
  "license": "MIT",
33
+ "homepage": "https://github.com/EliosLT/FlightDev",
34
+ "repository": {
35
+ "url": "https://github.com/EliosLT/FlightDev.git",
36
+ "directory": "packages/payments",
37
+ "type": "git"
38
+ },
33
39
  "scripts": {
34
40
  "build": "tsup",
35
41
  "test": "vitest run",