nolimit-x 1.0.42 → 1.0.44
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/package.json +1 -1
- package/phonebook/api/twilio.json +5 -0
- package/phonebook/config.json +24 -0
- package/phonebook/messages.txt +3 -0
- package/phonebook/numbers.txt +3 -0
- package/phonebook/senders.txt +3 -0
- package/src/cli.js +1 -0
package/package.json
CHANGED
package/phonebook/config.json
CHANGED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
{
|
|
2
|
+
"mode": "smtp_sms",
|
|
3
|
+
"smtp_sms": true,
|
|
4
|
+
"api": false,
|
|
5
|
+
"smtp": [
|
|
6
|
+
{
|
|
7
|
+
"host": "smtp.example.com",
|
|
8
|
+
"port": 587,
|
|
9
|
+
"secure": false,
|
|
10
|
+
"user": "user@example.com",
|
|
11
|
+
"pass": "password"
|
|
12
|
+
}
|
|
13
|
+
],
|
|
14
|
+
"system": {
|
|
15
|
+
"message_delay": 2,
|
|
16
|
+
"max_retries": 3,
|
|
17
|
+
"batch_size": 50,
|
|
18
|
+
"time_zone": "UTC",
|
|
19
|
+
"send_window": {
|
|
20
|
+
"start": "08:00",
|
|
21
|
+
"end": "20:00"
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
}
|
package/phonebook/messages.txt
CHANGED
package/phonebook/numbers.txt
CHANGED
package/phonebook/senders.txt
CHANGED
package/src/cli.js
CHANGED
|
@@ -221,6 +221,7 @@ async function initSMSWorkspace(workspace) {
|
|
|
221
221
|
spinner.fail(`Directory ${workspace} already exists!`);
|
|
222
222
|
process.exit(1);
|
|
223
223
|
}
|
|
224
|
+
console.log('>>> [SMS INIT] About to enter try/copy block');
|
|
224
225
|
try {
|
|
225
226
|
// Copy all files and folders from phonebook/ to the new workspace
|
|
226
227
|
fse.copySync(phonebookTemplateDir, dir, { overwrite: false, errorOnExist: false });
|