@riocrypto/common-server 1.0.543 → 1.0.545
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.
|
@@ -41,7 +41,7 @@ const authorize = (req, res, next, mongoose, authorizationTypes) => __awaiter(vo
|
|
|
41
41
|
const hashedApiKey = yield apiKey_1.ApiKey.toHash(apiKey);
|
|
42
42
|
const Auth = yield (0, auth_1.buildAuth)(mongoose);
|
|
43
43
|
const auth = yield Auth.findOne({
|
|
44
|
-
apiKeys:
|
|
44
|
+
"apiKeys.value": hashedApiKey,
|
|
45
45
|
});
|
|
46
46
|
if (auth) {
|
|
47
47
|
const missing = [];
|
|
@@ -3,7 +3,7 @@ interface BankPaymentAttrs {
|
|
|
3
3
|
orderId: string;
|
|
4
4
|
bankName: string;
|
|
5
5
|
companyName: string;
|
|
6
|
-
|
|
6
|
+
companyAddress: string;
|
|
7
7
|
accountNumber: string;
|
|
8
8
|
reference: string;
|
|
9
9
|
clabe?: string;
|
|
@@ -17,7 +17,7 @@ interface BankPaymentDoc extends Document {
|
|
|
17
17
|
orderId: string;
|
|
18
18
|
bankName: string;
|
|
19
19
|
companyName: string;
|
|
20
|
-
|
|
20
|
+
companyAddress: string;
|
|
21
21
|
accountNumber: string;
|
|
22
22
|
reference: string;
|
|
23
23
|
clabe?: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@riocrypto/common-server",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.545",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "./build/index.js",
|
|
6
6
|
"types": "./build/index.d.ts",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
24
|
"@aws-sdk/client-s3": "^3.297.0",
|
|
25
|
-
"@riocrypto/common": "^1.0.
|
|
25
|
+
"@riocrypto/common": "^1.0.545",
|
|
26
26
|
"@types/express": "^4.17.13",
|
|
27
27
|
"axios": "^0.27.2",
|
|
28
28
|
"ccxt": "^3.0.30",
|