ccashcow-server
Advanced tools
Comparing version 2.0.1 to 2.1.0
@@ -19,3 +19,3 @@ "use strict"; | ||
// Docs not clear on which to expect so check for either | ||
e => e.status == 'CONFIRMED' || e.status == 'COMPLETED') > -1; | ||
(e) => e.status == 'CONFIRMED' || e.status == 'COMPLETED') > -1; | ||
if (!completed && typeof test == 'undefined') | ||
@@ -22,0 +22,0 @@ throw 'Payment has not been completed'; |
@@ -28,3 +28,4 @@ import { verifyJWT } from 'lib/jwt/verify'; | ||
// Docs not clear on which to expect so check for either | ||
e => e.status == 'CONFIRMED' || e.status == 'COMPLETED' | ||
(e: { status: string }) => | ||
e.status == 'CONFIRMED' || e.status == 'COMPLETED' | ||
) > -1; | ||
@@ -31,0 +32,0 @@ if (!completed && typeof test == 'undefined') |
{ | ||
"name": "ccashcow-server", | ||
"version": "2.0.1", | ||
"version": "2.1.0", | ||
"description": "Accept cards & crypto. Payments so easy a cow could do it.", | ||
@@ -24,4 +24,4 @@ "main": "dist/app.js", | ||
"axios": "^0.18.0", | ||
"body-parser": "^1.18.3", | ||
"dotenv": "^7.0.0", | ||
"body-parser": "^1.19.0", | ||
"dotenv": "^8.0.0", | ||
"enve": "^1.0.1", | ||
@@ -33,4 +33,6 @@ "express": "^4.16.4", | ||
"devDependencies": { | ||
"@types/body-parser": "^1.17.0", | ||
"@types/dotenv": "^6.1.1", | ||
"@types/jest": "^24.0.11", | ||
"@types/express": "^4.16.1", | ||
"@types/jest": "^24.0.12", | ||
"@types/jsonwebtoken": "^8.3.2", | ||
@@ -40,4 +42,4 @@ "@types/node-persist": "0.0.33", | ||
"jest-extended": "^0.11.1", | ||
"nodemon": "^1.18.11", | ||
"typescript": "^3.4.3" | ||
"nodemon": "^1.19.0", | ||
"typescript": "^3.4.5" | ||
}, | ||
@@ -44,0 +46,0 @@ "keywords": [ |
{ | ||
"compilerOptions": { | ||
"incremental": true, | ||
"sourceMap": true, | ||
@@ -10,2 +11,3 @@ "baseUrl": "./", | ||
"outDir": "./dist", | ||
"strict": true, | ||
"paths": { | ||
@@ -12,0 +14,0 @@ "types/*": ["../types/*"] |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
201938
943
10
+ Addeddotenv@8.6.0(transitive)
- Removeddotenv@7.0.0(transitive)
Updatedbody-parser@^1.19.0
Updateddotenv@^8.0.0