@arcblock/payment-service 1.29.10 → 1.29.12

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/dist/cf.d.ts CHANGED
@@ -108,6 +108,17 @@ export interface CloudflarePaymentAdapterOptions {
108
108
  };
109
109
  /** Host-global csrf secret (NOT per-tenant). Injected via the config slot as PAYMENT_CSRF_SECRET. */
110
110
  csrfSecret?: string;
111
+ /**
112
+ * Host-injected logger — forwarded to the core `logger` slot so payment's lines
113
+ * join the host worker's unified log stream. Positional `(message, ...args)`,
114
+ * four levels. Inline shape keeps cf.d.ts dependency-free.
115
+ */
116
+ logger?: {
117
+ debug: (...args: any[]) => void;
118
+ info: (...args: any[]) => void;
119
+ warn: (...args: any[]) => void;
120
+ error: (...args: any[]) => void;
121
+ };
111
122
  }
112
123
  /** The adapter the host drives. CF-runtime types (env/ctx/event/batch) are loose to keep cf.d.ts dependency-free. */
113
124
  export interface CloudflarePaymentAdapter {