@jskit-ai/payments-core 0.2.30 → 0.2.32

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 CHANGED
@@ -2,6 +2,7 @@
2
2
 
3
3
  ## Unreleased
4
4
 
5
+ - The `webhook` and `deployment` readiness checks' text names the release in use ("Verify the release in use runs with this configuration and environment."), where it said the deployed webhook and the intended release; the check ids are unchanged.
5
6
  - **Breaking:** `createPaymentCheckoutService` takes `appEnv` (the application's `APP_ENV`, `appEnvironment(env)`) in place of `sideEffects`, and requires it. Only production takes real payments: checkout and the billing portal in the live payment environment are refused elsewhere with `payment_sandbox_only` (409, "Only production takes real payments: use the sandbox payment environment."), which replaces `payment_test_copy`, before any provider write. The sandbox environment works everywhere.
6
7
  - A test copy takes no real money: `createPaymentCheckoutService` takes `sideEffects` (default `simulate`), and unless it is `live`, checkout and the billing portal in the live payment environment are refused with `payment_test_copy` (409) before any provider write. The sandbox environment works either way.
7
8
  - `PAYMENT_STORE_FEATURE` is no longer exported from `PaymentStoreFeature.js` (no public entry point offered it): the feature's id is written as `"payments.store"`, so `jskit check` sees a module that requires that capability where it names it.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jskit-ai/payments-core",
3
- "version": "0.2.30",
3
+ "version": "0.2.32",
4
4
  "type": "module",
5
5
  "description": "Application-owned payment configuration, subscription access and transactional usage credits.",
6
6
  "exports": {
@@ -23,7 +23,7 @@
23
23
  "test": "jskit test"
24
24
  },
25
25
  "dependencies": {
26
- "@jskit-ai/resource-core": "0.1.218",
26
+ "@jskit-ai/resource-core": "0.1.219",
27
27
  "@paddle/paddle-node-sdk": "3.10.0",
28
28
  "ajv": "8.20.0",
29
29
  "stripe": "22.6.2"
@@ -69,9 +69,9 @@
69
69
  }
70
70
  },
71
71
  "peerDependencies": {
72
- "@jskit-ai/database-runtime": "0.1.276",
73
- "@jskit-ai/kernel": "0.2.27",
74
- "@jskit-ai/resource-runtime": "0.2.39"
72
+ "@jskit-ai/database-runtime": "0.1.277",
73
+ "@jskit-ai/kernel": "0.2.28",
74
+ "@jskit-ai/resource-runtime": "0.2.41"
75
75
  },
76
76
  "peerDependenciesMeta": {
77
77
  "@jskit-ai/database-runtime": {
@@ -6,10 +6,10 @@ const DEFAULT_CHECKS = Object.freeze([
6
6
  { id: "charges", status: "manual", detail: "Confirm payment acceptance is enabled in the provider dashboard." },
7
7
  { id: "payouts", status: "manual", detail: "Confirm payout eligibility in the provider dashboard." },
8
8
  { id: "catalogue", status: "unknown", detail: "Inspect the saved products and prices." },
9
- { id: "webhook", status: "unknown", detail: "Verify the deployed webhook route, signing secret and subscribed events." },
9
+ { id: "webhook", status: "unknown", detail: "Verify the webhook route of the release in use, its signing secret and subscribed events." },
10
10
  { id: "checkout", status: "unknown", detail: "Verify app checkout and portal routes, authorization and return handling." },
11
11
  { id: "site", status: "manual", detail: "Review required site content and provider domain or website approval." },
12
- { id: "deployment", status: "unknown", detail: "Verify the intended release uses this configuration and environment." }
12
+ { id: "deployment", status: "unknown", detail: "Verify the release in use runs with this configuration and environment." }
13
13
  ]);
14
14
  // Only these checks take their result from the application's own evidence.
15
15
  const APPLICATION_CHECKS = ["webhook", "checkout", "site", "deployment"];