@revealui/services 0.3.0 → 0.3.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.
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* matching the resilience pattern used in packages/services/src/stripe/stripeClient.ts.
|
|
6
6
|
*
|
|
7
7
|
* NOTE: Circuit breaker state is in-memory (per-instance).
|
|
8
|
-
*
|
|
8
|
+
* For multi-instance deployments, state can be shared via PGlite or ElectricSQL.
|
|
9
9
|
* Uses createLogger from @revealui/core. Wire up to alerting when circuit opens.
|
|
10
10
|
*/
|
|
11
11
|
type CircuitState = 'closed' | 'open' | 'half-open';
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* matching the resilience pattern used in packages/services/src/stripe/stripeClient.ts.
|
|
6
6
|
*
|
|
7
7
|
* NOTE: Circuit breaker state is in-memory (per-instance).
|
|
8
|
-
*
|
|
8
|
+
* For multi-instance deployments, state can be shared via PGlite or ElectricSQL.
|
|
9
9
|
* Uses createLogger from @revealui/core. Wire up to alerting when circuit opens.
|
|
10
10
|
*/
|
|
11
11
|
import { createLogger } from '@revealui/core/observability/logger';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@revealui/services",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.3",
|
|
4
4
|
"description": "External service integrations for RevealUI — Stripe, Supabase, and Vercel",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -15,10 +15,10 @@
|
|
|
15
15
|
"@vercel/node": "^5.6.3",
|
|
16
16
|
"drizzle-orm": "^0.45.2",
|
|
17
17
|
"stripe": "^21.0.1",
|
|
18
|
-
"@revealui/config": "0.3.
|
|
19
|
-
"@revealui/contracts": "1.3.
|
|
20
|
-
"@revealui/core": "0.5.
|
|
21
|
-
"@revealui/db": "0.3.
|
|
18
|
+
"@revealui/config": "0.3.2",
|
|
19
|
+
"@revealui/contracts": "1.3.5",
|
|
20
|
+
"@revealui/core": "0.5.4",
|
|
21
|
+
"@revealui/db": "0.3.5"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|
|
24
24
|
"@tailwindcss/postcss": "^4.1.18",
|
|
@@ -35,6 +35,9 @@
|
|
|
35
35
|
"vitest": "^4.0.18",
|
|
36
36
|
"dev": "0.0.1"
|
|
37
37
|
},
|
|
38
|
+
"engines": {
|
|
39
|
+
"node": ">=24.13.0"
|
|
40
|
+
},
|
|
38
41
|
"exports": {
|
|
39
42
|
".": {
|
|
40
43
|
"types": "./dist/index.d.ts",
|
|
@@ -82,7 +85,8 @@
|
|
|
82
85
|
}
|
|
83
86
|
},
|
|
84
87
|
"publishConfig": {
|
|
85
|
-
"access": "public"
|
|
88
|
+
"access": "public",
|
|
89
|
+
"registry": "https://registry.npmjs.org"
|
|
86
90
|
},
|
|
87
91
|
"type": "module",
|
|
88
92
|
"types": "./dist/index.d.ts",
|