leadconduit-batch 0.1.7 → 0.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/delivery.js +4 -1
- package/package.json +3 -3
package/lib/delivery.js
CHANGED
|
@@ -109,11 +109,14 @@ response.variables = function() {
|
|
|
109
109
|
|
|
110
110
|
const getBaseUrl = function() {
|
|
111
111
|
switch (process.env.NODE_ENV) {
|
|
112
|
-
case 'production':
|
|
112
|
+
case 'production':
|
|
113
|
+
case 'test':
|
|
113
114
|
return 'https://batch.leadconduit.com/batches/';
|
|
114
115
|
case 'staging':
|
|
115
116
|
return 'https://batch.leadconduit-staging.com/batches/';
|
|
116
117
|
case 'development':
|
|
118
|
+
return 'https://batch.leadconduit-development.com/batches/';
|
|
119
|
+
default:
|
|
117
120
|
return 'http://batch.leadconduit.localhost/batches/';
|
|
118
121
|
}
|
|
119
122
|
};
|
package/package.json
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
"Kelly Martin <kelly@activeprospect.com>",
|
|
6
6
|
"Jonathan Grayson <jonathan@activeprospect.com>"
|
|
7
7
|
],
|
|
8
|
-
"version": "0.1.
|
|
8
|
+
"version": "0.1.9",
|
|
9
9
|
"main": "index.js",
|
|
10
10
|
"license": "CC-BY-NC-ND-4.0",
|
|
11
11
|
"repository": {
|
|
@@ -19,11 +19,11 @@
|
|
|
19
19
|
"test": "NODE_ENV=test TZ=GMT ./node_modules/.bin/mocha --recursive --reporter spec --colors --timeout 10000 spec/"
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"flat": "
|
|
22
|
+
"flat": "^5.0.2",
|
|
23
23
|
"lodash": "^4.17.4"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
|
-
"chai": "
|
|
26
|
+
"chai": "^1.9.0",
|
|
27
27
|
"leadconduit-integration": "^0.2.0",
|
|
28
28
|
"mocha": "^8.3.0"
|
|
29
29
|
}
|