From 02ea40b6b228d3bc835e4cd26149832905aae1d2 Mon Sep 17 00:00:00 2001 From: Jef LeCompte Date: Wed, 23 Sep 2020 22:13:39 -0400 Subject: [PATCH] docs: update mobile carriers Signed-off-by: Jef LeCompte --- README.md | 6 ++++++ src/config.ts | 11 ++++++----- 2 files changed, 12 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 4824dad..ec1a34c 100644 --- a/README.md +++ b/README.md @@ -132,12 +132,18 @@ Here is a list of variables that you can use to customize your newly copied `.en | **Carrier** | **Environment variable** | **Notes** | |:---:|:---:|:---:| | AT&T | `att`| | +| Bell | `bell` | | +| Fido | `fido` | | | Google | `google`| | +| Koodo | `koodo` | | | Mint | `mint`| | +| Rogers | `rogers` | | | Sprint | `sprint`| | | Telus | `telus`| | | T-Mobile | `tmobile`| | | Verizon | `verizon`| Works with Visible | +| Virgin | `virgin`| | +| Virgin (CA) | `virgin-ca`| | #### Supported countries diff --git a/src/config.ts b/src/config.ts index 0de25da..bc44028 100644 --- a/src/config.ts +++ b/src/config.ts @@ -69,17 +69,18 @@ const notifications = { phone: { availableCarriers: new Map([ ['att', 'txt.att.net'], + ['bell', 'txt.bell.ca'], + ['fido', 'fido.ca'], ['google', 'msg.fi.google.com'], + ['koodo', 'msg.koodomobile.com'], ['mint', 'mailmymobile.net'], + ['rogers', 'pcs.rogers.com'], ['sprint', 'messaging.sprintpcs.com'], ['telus', 'msg.telus.com'], ['tmobile', 'tmomail.net'], ['verizon', 'vtext.com'], - ['bell', 'txt.bell.ca'], - ['fido', 'fido.ca'], - ['rogers', 'pcs.rogers.com'], - ['kudo', 'msg.koodomobile.com'], - ['virgin', 'vmobile.ca'] + ['virgin', 'vmobl.com'], + ['virgin-ca', 'vmobile.ca'] ]), carrier: envOrString(process.env.PHONE_CARRIER), number: envOrString(process.env.PHONE_NUMBER)