feat: add gateway-neutral payment package
Quality / quality (ubuntu-latest) (push) Failing after 9m55s
Quality / quality (windows-latest) (push) Canceled after 0s

This commit is contained in:
2026-08-23 21:05:27 +05:30
parent a9670c2a1c
commit 98e0813061
23 changed files with 1902 additions and 6 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@wrnexus/styles",
"version": "0.8.19",
"version": "0.8.20",
"type": "module",
"main": "src/index.ts",
"exports": {
+8
View File
@@ -313,6 +313,14 @@ export interface AppConfig {
queue?: string | boolean;
sandbox?: { enabled?: boolean; allowlist?: string[] };
};
/** Payment gateway configuration consumed by @wrnexus/payment. */
payment?: {
default: string;
currency?: string;
sandbox?: boolean;
databaseName?: string;
gateways?: Record<string, Record<string, unknown>>;
};
/**
* File-upload storage. Declare named stores (local dir or S3-compatible),
* upload with `handleUpload`/`upload` from `@wrnexus/uploader`, and serve