iobroker.parcel 0.0.17 → 0.0.18

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/README.md CHANGED
@@ -62,9 +62,9 @@ Den Datenpunkt parcel.0.dhl.briefe....image ein "String img src" element als Obj
62
62
 
63
63
  ## Changelog
64
64
 
65
- ### 0.0.17
65
+ ### 0.0.18
66
66
 
67
- * Fix UPS Login
67
+ * Fix UPS/GLS Login
68
68
 
69
69
  ### 0.0.1
70
70
 
package/io-package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "common": {
3
3
  "name": "parcel",
4
- "version": "0.0.17",
4
+ "version": "0.0.18",
5
5
  "news": {
6
- "0.0.17": {
7
- "en": "Fix UPS login"
6
+ "0.0.18": {
7
+ "en": "Fix UPS/GLS login"
8
8
  },
9
9
  "0.0.15": {
10
10
  "en": "Fix DPD states and remove canvas dependency"
package/main.js CHANGED
@@ -697,10 +697,10 @@ class Parcel extends utils.Adapter {
697
697
  "Accept-Language": "de-de",
698
698
  "X-Selected-Language": "DE",
699
699
  "Content-Type": "application/json",
700
- Origin: "https://gls-one.de",
701
- "User-Agent": "Mozilla/5.0 (iPhone; CPU iPhone OS 14_8 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148",
700
+ Origin: "https://www.gls-one.de",
701
+ "User-Agent": "Mozilla/5.0 (iPhone; CPU iPhone OS 14_8 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148 GLS_App.iOS/v1.3.1",
702
702
  "X-Client-Id": "iOS",
703
- Referer: "https://gls-one.de/de?platform=iOS",
703
+ Referer: "https://www.gls-one.de/de?platform=iOS",
704
704
  },
705
705
  data: JSON.stringify({
706
706
  username: this.config.glsusername,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "iobroker.parcel",
3
- "version": "0.0.17",
3
+ "version": "0.0.18",
4
4
  "description": "Parcel tracking",
5
5
  "author": {
6
6
  "name": "TA2k",