@crvouga/mockingbird-service-paddle 0.1.0
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/CHANGELOG.md +5 -0
- package/README.md +223 -0
- package/dist/chunk-GZYZKVKY.js +6635 -0
- package/dist/chunk-GZYZKVKY.js.map +7 -0
- package/dist/chunk-XBICSMA7.js +372 -0
- package/dist/chunk-XBICSMA7.js.map +7 -0
- package/dist/cli.js +19 -0
- package/dist/cli.js.map +7 -0
- package/dist/index.d.ts +1494 -0
- package/dist/index.js +29 -0
- package/dist/index.js.map +7 -0
- package/dist/server.d.ts +1836 -0
- package/dist/server.js +12 -0
- package/dist/server.js.map +7 -0
- package/package.json +102 -0
package/dist/server.js
ADDED
package/package.json
ADDED
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@crvouga/mockingbird-service-paddle",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "Stateful mock of the Paddle Billing API (customers, addresses, businesses, products, prices, transactions with computed totals, subscriptions with pause/resume/cancel and renewals, events) with Paddle-Signature webhooks and admin routes that simulate checkout, renewals and failed payments (Mockingbird service contract).",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"type": "module",
|
|
7
|
+
"sideEffects": false,
|
|
8
|
+
"files": [
|
|
9
|
+
"dist",
|
|
10
|
+
"README.md",
|
|
11
|
+
"CHANGELOG.md"
|
|
12
|
+
],
|
|
13
|
+
"main": "./dist/index.js",
|
|
14
|
+
"types": "./dist/index.d.ts",
|
|
15
|
+
"exports": {
|
|
16
|
+
".": {
|
|
17
|
+
"types": "./dist/index.d.ts",
|
|
18
|
+
"default": "./dist/index.js"
|
|
19
|
+
},
|
|
20
|
+
"./server": {
|
|
21
|
+
"types": "./dist/server.d.ts",
|
|
22
|
+
"default": "./dist/server.js"
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
"bin": {
|
|
26
|
+
"mockingbird-paddle": "./dist/cli.js"
|
|
27
|
+
},
|
|
28
|
+
"publishConfig": {
|
|
29
|
+
"access": "public",
|
|
30
|
+
"provenance": true
|
|
31
|
+
},
|
|
32
|
+
"repository": {
|
|
33
|
+
"type": "git",
|
|
34
|
+
"url": "git+https://github.com/crvouga/mockingbird.git",
|
|
35
|
+
"directory": "packages/service/paddle"
|
|
36
|
+
},
|
|
37
|
+
"homepage": "https://github.com/crvouga/mockingbird/tree/main/packages/service/paddle#readme",
|
|
38
|
+
"keywords": [
|
|
39
|
+
"mockingbird",
|
|
40
|
+
"service",
|
|
41
|
+
"paddle",
|
|
42
|
+
"billing",
|
|
43
|
+
"subscriptions",
|
|
44
|
+
"payments",
|
|
45
|
+
"webhooks",
|
|
46
|
+
"mock"
|
|
47
|
+
],
|
|
48
|
+
"mockingbird": {
|
|
49
|
+
"runtime": "portable",
|
|
50
|
+
"entries": {
|
|
51
|
+
"server": "node",
|
|
52
|
+
"cli": "node"
|
|
53
|
+
},
|
|
54
|
+
"layer": "service",
|
|
55
|
+
"category": "payments",
|
|
56
|
+
"displayName": "Paddle",
|
|
57
|
+
"vendor": {
|
|
58
|
+
"website": "https://www.paddle.com/billing",
|
|
59
|
+
"docs": "https://developer.paddle.com/api-reference/overview"
|
|
60
|
+
},
|
|
61
|
+
"status": "ready",
|
|
62
|
+
"parityTier": "cold",
|
|
63
|
+
"playground": {
|
|
64
|
+
"operation": "CreateCustomer",
|
|
65
|
+
"headers": {
|
|
66
|
+
"authorization": "Bearer pdl_sdbx_apikey_mockingbird"
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
},
|
|
70
|
+
"scripts": {
|
|
71
|
+
"generate": "bun ../../openapi/codegen/dist/cli.js",
|
|
72
|
+
"generate:check": "bun ../../openapi/codegen/dist/cli.js --check",
|
|
73
|
+
"openapi:check": "bun ../../openapi/codegen/dist/cli.js --validate",
|
|
74
|
+
"build": "bun ../../../scripts/bundle-service.ts",
|
|
75
|
+
"typecheck": "tsc -p tsconfig.json --noEmit",
|
|
76
|
+
"lint": "biome check .",
|
|
77
|
+
"test": "bun test",
|
|
78
|
+
"parity": "bun scripts/parity.ts",
|
|
79
|
+
"portability": "bun ../../../scripts/portability.ts",
|
|
80
|
+
"pack:check": "bun ../../../scripts/pack-check.ts"
|
|
81
|
+
},
|
|
82
|
+
"dependencies": {
|
|
83
|
+
"@crvouga/mockingbird-service-sqlite": "1.1.0",
|
|
84
|
+
"hono": "4.11.9"
|
|
85
|
+
},
|
|
86
|
+
"devDependencies": {
|
|
87
|
+
"@crvouga/mockingbird-adapter-node": "0.0.0-development",
|
|
88
|
+
"@crvouga/mockingbird-core": "0.0.0-development",
|
|
89
|
+
"@crvouga/mockingbird-credentials": "0.0.0-development",
|
|
90
|
+
"@crvouga/mockingbird-http-codec": "0.0.0-development",
|
|
91
|
+
"@crvouga/mockingbird-openapi": "0.0.0-development",
|
|
92
|
+
"@crvouga/mockingbird-openapi-codegen": "0.1.0",
|
|
93
|
+
"@crvouga/mockingbird-openapi-metadata": "0.0.0-development",
|
|
94
|
+
"@crvouga/mockingbird-parity": "0.0.0-development",
|
|
95
|
+
"@crvouga/mockingbird-service": "0.0.0-development",
|
|
96
|
+
"@crvouga/mockingbird-service-sqlite": "0.0.0-development",
|
|
97
|
+
"@crvouga/mockingbird-sqlite": "0.0.0-development",
|
|
98
|
+
"@crvouga/mockingbird-testing": "0.1.0",
|
|
99
|
+
"@paddle/paddle-node-sdk": "3.10.0",
|
|
100
|
+
"fast-check": "4.9.0"
|
|
101
|
+
}
|
|
102
|
+
}
|