UNPKG
paid-services
Version:
latest (8.0.1)
8.0.1
8.0.0
7.0.3
7.0.2
7.0.1
7.0.0
6.2.3
6.2.2
6.2.1
6.2.0
6.1.7
6.1.6
6.1.5
6.1.4
6.1.3
6.1.2
6.1.1
6.1.0
6.0.0
5.0.5
5.0.4
5.0.3
5.0.2
5.0.1
5.0.0
4.3.5
4.3.4
4.3.3
4.3.2
4.3.1
4.3.0
4.2.2
4.2.1
4.2.0
4.1.0
4.0.5
4.0.4
4.0.3
4.0.2
4.0.1
4.0.0
3.21.0
3.20.3
3.20.2
3.20.1
3.20.0
3.19.2
3.19.1
3.19.0
3.18.0
3.17.2
3.17.1
3.17.0
3.16.3
3.16.2
3.16.1
3.16.0
3.15.4
3.15.3
3.15.2
3.15.1
3.15.0
3.14.5
3.14.4
3.14.3
3.14.2
3.14.1
3.14.0
3.13.2
3.13.1
3.13.0
3.12.2
3.12.1
3.12.0
3.11.4
3.11.3
3.11.1
3.11.0
3.10.0
3.9.1
3.9.0
3.8.0
3.7.0
3.6.0
3.5.1
3.5.0
3.4.0
3.3.0
3.2.0
3.1.2
3.1.1
3.1.0
3.0.0
2.1.1
2.1.0
2.0.3
2.0.2
2.0.1
2.0.0
1.1.0
1.0.0
Lightning Paid Services library
github.com/alexbosworth/paid-services
alexbosworth/paid-services
paid-services
/
config
/
is_relay_configured.js
13 lines
(10 loc)
•
205 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
/** Determine if a relay is configured { env: <Environment Variables Object> }
@returns
<SMS Is Configured Bool> */
module
.
exports
=
(
{env}
) =>
{
return
env.
PAID_SERVICES_RELAY
===
'1'
; };