feat: add gateway-neutral payment package
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@wrnexus/styles",
|
||||
"version": "0.8.19",
|
||||
"version": "0.8.20",
|
||||
"type": "module",
|
||||
"main": "src/index.ts",
|
||||
"exports": {
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user