@unchainedshop/core-payment 1.1.7 → 1.1.9
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/lib/db/PaymentCredentialsCollection.d.ts +1 -3
- package/lib/db/PaymentProvidersCollection.d.ts +1 -3
- package/lib/director/PaymentPricingSheet.d.ts +0 -2
- package/lib/module/configurePaymentCredentialsModule.d.ts +1 -3
- package/lib/module/configurePaymentModule.d.ts +1 -2
- package/lib/module/configurePaymentProvidersModule.d.ts +1 -3
- package/package.json +6 -6
- package/tsconfig.build.json +12 -4
|
@@ -1,3 +1 @@
|
|
|
1
|
-
|
|
2
|
-
import { PaymentCredentials as PaymentCredentialsType } from '@unchainedshop/types/payments';
|
|
3
|
-
export declare const PaymentCredentialsCollection: (db: Db) => Promise<import("@unchainedshop/types/common").Collection<PaymentCredentialsType>>;
|
|
1
|
+
export declare const PaymentCredentialsCollection: (db: Db) => Promise<any>;
|
|
@@ -1,3 +1 @@
|
|
|
1
|
-
|
|
2
|
-
import { PaymentProvider } from '@unchainedshop/types/payments';
|
|
3
|
-
export declare const PaymentProvidersCollection: (db: Db) => Promise<import("@unchainedshop/types/common").Collection<PaymentProvider>>;
|
|
1
|
+
export declare const PaymentProvidersCollection: (db: Db) => Promise<any>;
|
|
@@ -1,3 +1 @@
|
|
|
1
|
-
import { PaymentPricingCalculation, IPaymentPricingSheet } from '@unchainedshop/types/payments.pricing';
|
|
2
|
-
import { PricingSheetParams } from '@unchainedshop/types/pricing';
|
|
3
1
|
export declare const PaymentPricingSheet: (params: PricingSheetParams<PaymentPricingCalculation>) => IPaymentPricingSheet;
|
|
@@ -1,3 +1 @@
|
|
|
1
|
-
|
|
2
|
-
import { Collection } from '@unchainedshop/types/common';
|
|
3
|
-
export declare const configurePaymentCredentialsModule: (PaymentCredentials: Collection<PaymentCredentialsType>) => PaymentModule['paymentCredentials'];
|
|
1
|
+
export declare const configurePaymentCredentialsModule: (PaymentCredentials: Collection<PaymentCredentialsType>) => PaymentModule;
|
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { PaymentModule, PaymentSettingsOptions } from '@unchainedshop/types/payments';
|
|
1
|
+
import { PaymentModule } from '@unchainedshop/types/payments';
|
|
3
2
|
export declare const configurePaymentModule: ({ db, options: paymentOptions, }: ModuleInput<PaymentSettingsOptions>) => Promise<PaymentModule>;
|
|
@@ -1,3 +1 @@
|
|
|
1
|
-
|
|
2
|
-
import { PaymentModule, PaymentProvider } from '@unchainedshop/types/payments';
|
|
3
|
-
export declare const configurePaymentProvidersModule: (PaymentProviders: Collection<PaymentProvider>) => PaymentModule['paymentProviders'];
|
|
1
|
+
export declare const configurePaymentProvidersModule: (PaymentProviders: Collection<PaymentProvider>) => PaymentModule;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@unchainedshop/core-payment",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.9",
|
|
4
4
|
"main": "lib/payment-index.js",
|
|
5
5
|
"types": "lib/payment-index.d.ts",
|
|
6
6
|
"type": "module",
|
|
@@ -26,8 +26,8 @@
|
|
|
26
26
|
},
|
|
27
27
|
"homepage": "https://github.com/unchainedshop/unchained#readme",
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@unchainedshop/logger": "^1.1.
|
|
30
|
-
"@unchainedshop/utils": "^1.1.
|
|
29
|
+
"@unchainedshop/logger": "^1.1.9",
|
|
30
|
+
"@unchainedshop/utils": "^1.1.9",
|
|
31
31
|
"simpl-schema": "^1.12.2"
|
|
32
32
|
},
|
|
33
33
|
"peerDependencies": {
|
|
@@ -36,11 +36,11 @@
|
|
|
36
36
|
"devDependencies": {
|
|
37
37
|
"@types/chai": "^4.3.1",
|
|
38
38
|
"@types/mocha": "^9.1.1",
|
|
39
|
-
"@unchainedshop/events": "^1.1.
|
|
40
|
-
"@unchainedshop/types": "^1.1.
|
|
39
|
+
"@unchainedshop/events": "^1.1.9",
|
|
40
|
+
"@unchainedshop/types": "^1.1.9",
|
|
41
41
|
"chai": "^4.3.6",
|
|
42
42
|
"cross-env": "^7.0.3",
|
|
43
43
|
"typescript": "^4.7.4"
|
|
44
44
|
},
|
|
45
|
-
"gitHead": "
|
|
45
|
+
"gitHead": "5395cd35169a1fd13bb83ff7d11cc8a162b27b09"
|
|
46
46
|
}
|
package/tsconfig.build.json
CHANGED
|
@@ -6,7 +6,9 @@
|
|
|
6
6
|
"esModuleInterop": true,
|
|
7
7
|
"experimentalDecorators": true,
|
|
8
8
|
"forceConsistentCasingInFileNames": true,
|
|
9
|
-
"lib": [
|
|
9
|
+
"lib": [
|
|
10
|
+
"esnext"
|
|
11
|
+
],
|
|
10
12
|
"module": "esnext",
|
|
11
13
|
"moduleResolution": "node",
|
|
12
14
|
"noImplicitReturns": true,
|
|
@@ -16,11 +18,17 @@
|
|
|
16
18
|
"skipLibCheck": true,
|
|
17
19
|
"sourceMap": true,
|
|
18
20
|
"target": "esnext",
|
|
19
|
-
"types": [
|
|
21
|
+
"types": [
|
|
22
|
+
"node"
|
|
23
|
+
],
|
|
20
24
|
"baseUrl": ".", // This must be specified if "paths" is.
|
|
21
25
|
"paths": {
|
|
22
|
-
"
|
|
26
|
+
"@unchainedshop/*": [
|
|
27
|
+
"node_modules/@unchainedshop/types/index.d.ts"
|
|
28
|
+
]
|
|
23
29
|
}
|
|
24
30
|
},
|
|
25
|
-
"include": [
|
|
31
|
+
"include": [
|
|
32
|
+
"src"
|
|
33
|
+
]
|
|
26
34
|
}
|