iobroker.parcel 0.2.5 → 0.2.6

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/io-package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "common": {
3
3
  "name": "parcel",
4
- "version": "0.2.5",
4
+ "version": "0.2.6",
5
5
  "news": {
6
- "0.2.5": {
6
+ "0.2.6": {
7
7
  "en": "Improve DHL Status and add link to shipment in the telegram notification",
8
8
  "de": "Verbesserung des DHL Status und Link zur Sendung in der Telegram Benachrichtigung hinzugefügt"
9
9
  },
package/main.js CHANGED
@@ -1829,7 +1829,7 @@ class Parcel extends utils.Adapter {
1829
1829
  name: sendung.name,
1830
1830
  status: sendung.status,
1831
1831
  source: 'AMZ',
1832
- tracking: sendung.detailedState.orderId,
1832
+ tracking: sendung.detailedState.signInRedirectUrl,
1833
1833
  };
1834
1834
 
1835
1835
  sendungsObject.delivery_status = this.deliveryStatusCheck(sendung, id, sendungsObject);
@@ -1929,7 +1929,7 @@ class Parcel extends utils.Adapter {
1929
1929
  url = 'https://www.dhl.de/de/privatkunden/dhl-sendungsverfolgung.html?piececode=' + trackingId;
1930
1930
  }
1931
1931
  if (sendungen[id].source === 'AMZ') {
1932
- url = 'https://www.amazon.de/gp/your-account/order-details?orderID=' + trackingId;
1932
+ url = 'https://www.amazon.de' + trackingId;
1933
1933
  }
1934
1934
  if (sendungen[id].source === 'GLS') {
1935
1935
  url = 'https://gls-group.eu/DE/de/paketverfolgung?match=' + trackingId;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "iobroker.parcel",
3
- "version": "0.2.5",
3
+ "version": "0.2.6",
4
4
  "description": "Parcel tracking",
5
5
  "author": {
6
6
  "name": "TA2k",