Skip to content

Commit fb7416d

Browse files
authored
Merge pull request #5 from cupcakearmy/1.2.1
1.2.1
2 parents 10b4d54 + 54eb941 commit fb7416d

File tree

7 files changed

+159
-91
lines changed

7 files changed

+159
-91
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@
22
ip.log
33
dist
44
node_modules
5+
.vscode

.sample.env

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
TOKEn=myapitoken
33
ZONE=example.org
44
DNS_RECORD=some.example.org
5+
PROXIED=false
56

67
# Optional
78
#CRON=* * * * *

CHANGELOG.md

+10
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,16 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [1.2.1] - 2022-05-14
9+
10+
### Added
11+
12+
- Support for `proxied` parameter thanks to @borisbm.
13+
14+
### Security
15+
16+
- Updated dependencies.
17+
818
## [1.2.0] - 2022-02-07
919

1020
### Added

README.md

+2
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ KEY=Global_API_Key
2626

2727
ZONE=example.org
2828
DNS_RECORD=some.example.org
29+
PROXIED=false
2930
```
3031

3132
3. Run the container
@@ -54,6 +55,7 @@ docker-compose up -d
5455
| `TOKEN` | API Token that can be used instead of `EMAIL` & `KEY`. | |
5556
| `ZONE` | Cloudflare zone where your domain is. | |
5657
| `DNS_RECORD` | The actual DNS record that should be updated. | |
58+
| `PROXIED` | Whether the record is proxied by CloudFlare or not. | |
5759
| `CRON` | Frequency of updates. | \*/5 \* \* \* \* |
5860
| `RESOLVER` | The endpoint used to determine your public ip. | https://api.ipify.org/ |
5961

package.json

+5-5
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,16 @@
66
"build": "tsc"
77
},
88
"dependencies": {
9-
"axios": "^0.25.0",
9+
"axios": "^0.27.2",
1010
"cloudflare": "^2.9.1",
1111
"cron": "^1.8.2",
12-
"dotenv": "^16.0.0",
13-
"winston": "^3.5.1"
12+
"dotenv": "^16.0.1",
13+
"winston": "^3.7.2"
1414
},
1515
"devDependencies": {
16-
"@types/cloudflare": "^2.7.7",
16+
"@types/cloudflare": "^2.7.8",
1717
"@types/cron": "^1.7.3",
1818
"ts-node-dev": "^1.1.8",
19-
"typescript": "^4.5.5"
19+
"typescript": "^4.6.4"
2020
}
2121
}

0 commit comments

Comments
 (0)