@comity/payment 0.9.0 → 0.9.1
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
CHANGED
|
@@ -40,5 +40,5 @@ export declare class PaymentError extends BaseError<PaymentErrorMeta> {
|
|
|
40
40
|
* @param reason - The reason for the payment error.
|
|
41
41
|
* @param meta - Additional metadata for the error.
|
|
42
42
|
*/
|
|
43
|
-
constructor(reason: PaymentErrorReason, meta?: Omit<
|
|
43
|
+
constructor(reason: PaymentErrorReason, meta?: Omit<ErrorMeta, "reason">);
|
|
44
44
|
}
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export type { PaymentStatus, PaymentOutcome
|
|
2
|
-
export type { PaymentProvider
|
|
3
|
-
export type { PaymentRequest
|
|
1
|
+
export type { PaymentStatus, PaymentOutcome } from "./contracts/payment-outcome.js";
|
|
2
|
+
export type { PaymentProvider } from "./contracts/payment-provider.js";
|
|
3
|
+
export type { PaymentRequest } from "./contracts/payment-request.js";
|
|
4
4
|
export { MemoryPaymentProvider } from "./providers/memory.js";
|
|
@@ -25,5 +25,5 @@ export interface PaymentModuleContext extends ModuleSetupContext<PaymentModuleSe
|
|
|
25
25
|
}
|
|
26
26
|
export type PaymentModuleOptions = {
|
|
27
27
|
/** The payment provider to use. Required for production. */
|
|
28
|
-
provider?:
|
|
28
|
+
provider?: PaymentProvider;
|
|
29
29
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@comity/payment",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.1",
|
|
4
4
|
"description": "Payment domain abstractions for Comity.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"private": false,
|
|
@@ -83,12 +83,12 @@
|
|
|
83
83
|
},
|
|
84
84
|
"sideEffects": false,
|
|
85
85
|
"dependencies": {
|
|
86
|
-
"@comity/
|
|
87
|
-
"@comity/
|
|
88
|
-
"@comity/
|
|
86
|
+
"@comity/composition": "0.9.1",
|
|
87
|
+
"@comity/pricing": "0.9.1",
|
|
88
|
+
"@comity/primitives": "0.9.1"
|
|
89
89
|
},
|
|
90
90
|
"devDependencies": {
|
|
91
|
-
"@types/node": "^24.
|
|
91
|
+
"@types/node": "^24.19.1",
|
|
92
92
|
"typescript": "^5.9.3"
|
|
93
93
|
},
|
|
94
94
|
"scripts": {
|