@hello-bill/node 1.0.0 → 1.0.1
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 +33 -0
- package/LICENSE +21 -0
- package/README.md +216 -0
- package/dist/express/index.d.cts +34 -0
- package/dist/express/index.d.ts +34 -0
- package/dist/express/index.js +1019 -0
- package/dist/express/index.js.map +1 -0
- package/dist/express/index.mjs +1016 -0
- package/dist/express/index.mjs.map +1 -0
- package/dist/hono/index.d.cts +37 -0
- package/dist/hono/index.d.ts +37 -0
- package/dist/hono/index.js +1036 -0
- package/dist/hono/index.js.map +1 -0
- package/dist/hono/index.mjs +1033 -0
- package/dist/hono/index.mjs.map +1 -0
- package/dist/index-BrfG82zs.d.cts +341 -0
- package/dist/index-EXetQn1f.d.ts +341 -0
- package/dist/index.d.cts +164 -0
- package/dist/index.d.ts +164 -0
- package/dist/index.js +1178 -0
- package/dist/index.js.map +1 -0
- package/dist/index.mjs +1164 -0
- package/dist/index.mjs.map +1 -0
- package/dist/koa/index.d.cts +42 -0
- package/dist/koa/index.d.ts +42 -0
- package/dist/koa/index.js +1042 -0
- package/dist/koa/index.js.map +1 -0
- package/dist/koa/index.mjs +1039 -0
- package/dist/koa/index.mjs.map +1 -0
- package/dist/next/index.d.cts +60 -0
- package/dist/next/index.d.ts +60 -0
- package/dist/next/index.js +1092 -0
- package/dist/next/index.js.map +1 -0
- package/dist/next/index.mjs +1090 -0
- package/dist/next/index.mjs.map +1 -0
- package/dist/types/index.d.cts +51 -0
- package/dist/types/index.d.ts +51 -0
- package/dist/types/index.js +12 -0
- package/dist/types/index.js.map +1 -0
- package/dist/types/index.mjs +9 -0
- package/dist/types/index.mjs.map +1 -0
- package/dist/webhook/index.d.cts +2 -0
- package/dist/webhook/index.d.ts +2 -0
- package/dist/webhook/index.js +342 -0
- package/dist/webhook/index.js.map +1 -0
- package/dist/webhook/index.mjs +336 -0
- package/dist/webhook/index.mjs.map +1 -0
- package/dist/webhooks-DPpqf7d2.d.cts +751 -0
- package/dist/webhooks-DPpqf7d2.d.ts +751 -0
- package/package.json +164 -7
package/package.json
CHANGED
|
@@ -1,12 +1,169 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hello-bill/node",
|
|
3
|
-
"version": "1.0.
|
|
4
|
-
"description": "",
|
|
5
|
-
"license": "
|
|
6
|
-
"
|
|
7
|
-
"
|
|
8
|
-
"
|
|
3
|
+
"version": "1.0.1",
|
|
4
|
+
"description": "Server-side SDK for the HelloBill Partner API. Framework-agnostic core with an Express adapter; ships a webhook verifier and the spec-derived TypeScript types.",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"type": "module",
|
|
7
|
+
"main": "./dist/index.js",
|
|
8
|
+
"module": "./dist/index.mjs",
|
|
9
|
+
"types": "./dist/index.d.ts",
|
|
10
|
+
"exports": {
|
|
11
|
+
".": {
|
|
12
|
+
"import": {
|
|
13
|
+
"types": "./dist/index.d.ts",
|
|
14
|
+
"default": "./dist/index.mjs"
|
|
15
|
+
},
|
|
16
|
+
"require": {
|
|
17
|
+
"types": "./dist/index.d.cts",
|
|
18
|
+
"default": "./dist/index.js"
|
|
19
|
+
},
|
|
20
|
+
"development": "./src/index.ts"
|
|
21
|
+
},
|
|
22
|
+
"./express": {
|
|
23
|
+
"import": {
|
|
24
|
+
"types": "./dist/express/index.d.ts",
|
|
25
|
+
"default": "./dist/express/index.mjs"
|
|
26
|
+
},
|
|
27
|
+
"require": {
|
|
28
|
+
"types": "./dist/express/index.d.cts",
|
|
29
|
+
"default": "./dist/express/index.js"
|
|
30
|
+
},
|
|
31
|
+
"development": "./src/express/index.ts"
|
|
32
|
+
},
|
|
33
|
+
"./webhook": {
|
|
34
|
+
"import": {
|
|
35
|
+
"types": "./dist/webhook/index.d.ts",
|
|
36
|
+
"default": "./dist/webhook/index.mjs"
|
|
37
|
+
},
|
|
38
|
+
"require": {
|
|
39
|
+
"types": "./dist/webhook/index.d.cts",
|
|
40
|
+
"default": "./dist/webhook/index.js"
|
|
41
|
+
},
|
|
42
|
+
"development": "./src/webhook/index.ts"
|
|
43
|
+
},
|
|
44
|
+
"./types": {
|
|
45
|
+
"import": {
|
|
46
|
+
"types": "./dist/types/index.d.ts",
|
|
47
|
+
"default": "./dist/types/index.mjs"
|
|
48
|
+
},
|
|
49
|
+
"require": {
|
|
50
|
+
"types": "./dist/types/index.d.cts",
|
|
51
|
+
"default": "./dist/types/index.js"
|
|
52
|
+
},
|
|
53
|
+
"development": "./src/types/index.ts"
|
|
54
|
+
},
|
|
55
|
+
"./hono": {
|
|
56
|
+
"import": {
|
|
57
|
+
"types": "./dist/hono/index.d.ts",
|
|
58
|
+
"default": "./dist/hono/index.mjs"
|
|
59
|
+
},
|
|
60
|
+
"require": {
|
|
61
|
+
"types": "./dist/hono/index.d.cts",
|
|
62
|
+
"default": "./dist/hono/index.js"
|
|
63
|
+
},
|
|
64
|
+
"development": "./src/hono/index.ts"
|
|
65
|
+
},
|
|
66
|
+
"./koa": {
|
|
67
|
+
"import": {
|
|
68
|
+
"types": "./dist/koa/index.d.ts",
|
|
69
|
+
"default": "./dist/koa/index.mjs"
|
|
70
|
+
},
|
|
71
|
+
"require": {
|
|
72
|
+
"types": "./dist/koa/index.d.cts",
|
|
73
|
+
"default": "./dist/koa/index.js"
|
|
74
|
+
},
|
|
75
|
+
"development": "./src/koa/index.ts"
|
|
76
|
+
},
|
|
77
|
+
"./next": {
|
|
78
|
+
"import": {
|
|
79
|
+
"types": "./dist/next/index.d.ts",
|
|
80
|
+
"default": "./dist/next/index.mjs"
|
|
81
|
+
},
|
|
82
|
+
"require": {
|
|
83
|
+
"types": "./dist/next/index.d.cts",
|
|
84
|
+
"default": "./dist/next/index.js"
|
|
85
|
+
},
|
|
86
|
+
"development": "./src/next/index.ts"
|
|
87
|
+
},
|
|
88
|
+
"./package.json": "./package.json"
|
|
89
|
+
},
|
|
90
|
+
"files": [
|
|
91
|
+
"dist",
|
|
92
|
+
"README.md",
|
|
93
|
+
"CHANGELOG.md",
|
|
94
|
+
"LICENSE"
|
|
95
|
+
],
|
|
96
|
+
"keywords": [
|
|
97
|
+
"hellobill",
|
|
98
|
+
"partner-api",
|
|
99
|
+
"sdk",
|
|
100
|
+
"express",
|
|
101
|
+
"webhook",
|
|
102
|
+
"onboarding",
|
|
103
|
+
"utilities"
|
|
104
|
+
],
|
|
105
|
+
"repository": {
|
|
106
|
+
"type": "git",
|
|
107
|
+
"url": "git+https://github.com/the-bunch/bunch-apps.git",
|
|
108
|
+
"directory": "packages/hello-bill-node"
|
|
109
|
+
},
|
|
110
|
+
"bugs": {
|
|
111
|
+
"url": "https://github.com/the-bunch/bunch-apps/issues"
|
|
112
|
+
},
|
|
113
|
+
"homepage": "https://hellobill.app/integrations/sdk",
|
|
114
|
+
"engines": {
|
|
115
|
+
"node": ">=20"
|
|
116
|
+
},
|
|
9
117
|
"scripts": {
|
|
10
|
-
"
|
|
118
|
+
"typecheck": "tsc --noEmit",
|
|
119
|
+
"test": "vitest run",
|
|
120
|
+
"test:watch": "vitest",
|
|
121
|
+
"test:coverage": "vitest run --coverage",
|
|
122
|
+
"build": "tsup",
|
|
123
|
+
"prepublishOnly": "bun run typecheck && bun run test && bun run build"
|
|
124
|
+
},
|
|
125
|
+
"peerDependencies": {
|
|
126
|
+
"express": "^4.18.0 || ^5.0.0",
|
|
127
|
+
"hono": "^4.0.0",
|
|
128
|
+
"koa": "^2.13.0 || ^3.0.0",
|
|
129
|
+
"@koa/router": "^12.0.0 || ^13.0.0",
|
|
130
|
+
"next": "^14.0.0 || ^15.0.0"
|
|
131
|
+
},
|
|
132
|
+
"peerDependenciesMeta": {
|
|
133
|
+
"express": {
|
|
134
|
+
"optional": true
|
|
135
|
+
},
|
|
136
|
+
"hono": {
|
|
137
|
+
"optional": true
|
|
138
|
+
},
|
|
139
|
+
"koa": {
|
|
140
|
+
"optional": true
|
|
141
|
+
},
|
|
142
|
+
"@koa/router": {
|
|
143
|
+
"optional": true
|
|
144
|
+
},
|
|
145
|
+
"next": {
|
|
146
|
+
"optional": true
|
|
147
|
+
}
|
|
148
|
+
},
|
|
149
|
+
"devDependencies": {
|
|
150
|
+
"@koa/bodyparser": "^6.0.0",
|
|
151
|
+
"@koa/router": "^13.0.0",
|
|
152
|
+
"@types/express": "^4.17.21",
|
|
153
|
+
"@types/koa": "^2.15.0",
|
|
154
|
+
"@types/koa__router": "^12.0.4",
|
|
155
|
+
"@types/node": "^25.0.0",
|
|
156
|
+
"@types/supertest": "^6.0.3",
|
|
157
|
+
"@vitest/coverage-v8": "^4.1.6",
|
|
158
|
+
"express": "^4.19.2",
|
|
159
|
+
"hono": "^4.0.0",
|
|
160
|
+
"koa": "^2.15.0",
|
|
161
|
+
"supertest": "^7.0.0",
|
|
162
|
+
"tsup": "^8.3.0",
|
|
163
|
+
"typescript": "^5.7.0",
|
|
164
|
+
"vitest": "^4.1.6"
|
|
165
|
+
},
|
|
166
|
+
"publishConfig": {
|
|
167
|
+
"access": "public"
|
|
11
168
|
}
|
|
12
169
|
}
|