@openrails/billing-ui 0.263.1 → 0.263.2
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/README.md +14 -13
- package/dist/admin.css +1 -1
- package/dist/embedded-payment.d.ts +1 -1
- package/dist/index.js +39 -33
- package/dist/index.js.map +1 -1
- package/dist/styles.css +1 -1
- package/package.json +6 -8
package/README.md
CHANGED
|
@@ -360,26 +360,27 @@ provider:
|
|
|
360
360
|
managed with `pnpm dlx shadcn@4.21.0 add <name> --overwrite`, importing `cn`
|
|
361
361
|
from the [`cn`](https://github.com/shadcn-ui/cn) package.
|
|
362
362
|
|
|
363
|
-
##
|
|
363
|
+
## Critical client contracts
|
|
364
364
|
|
|
365
|
-
`
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
sale and saved card on a credential-less NMI PSP).
|
|
365
|
+
`critical/` exercises the built client in Chromium against real AuthKit,
|
|
366
|
+
OpenRails, PostgreSQL, and the actual Stripe adapter. The Go critical suite
|
|
367
|
+
owns isolated schemas, credentials, external provider fixtures, and network
|
|
368
|
+
faults. Set `OPENRAILS_CRITICAL_DSN` to an owned disposable PostgreSQL database;
|
|
369
|
+
no missing service is accepted as a skipped critical case.
|
|
371
370
|
|
|
372
371
|
```sh
|
|
373
|
-
pnpm
|
|
372
|
+
pnpm critical:build # build the SDK, browser bundle, and check driver types
|
|
373
|
+
pnpm critical:static # reuse dist: type/lint and packed-artifact checks
|
|
374
|
+
pnpm test:e2e # local SDK subset, hosted by the real Go fixtures
|
|
374
375
|
pnpm contract # regenerate OpenRails' contract files, src/client/generated among them
|
|
375
376
|
pnpm contract:check # fail if a generated contract file is stale
|
|
376
377
|
```
|
|
377
378
|
|
|
378
|
-
`
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
379
|
+
Install Chromium with `pnpm exec playwright install chromium`. Required CI
|
|
380
|
+
builds once, then runs the root critical suite, including these browser cases.
|
|
381
|
+
The local SDK command does not establish coverage of the full Go suite.
|
|
382
|
+
The selected methods and executable browser cases have explicit result gates;
|
|
383
|
+
method invocation alone does not establish complete method functionality.
|
|
383
384
|
|
|
384
385
|
## License
|
|
385
386
|
|