@nexrender/core 1.36.0 → 1.37.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nexrender/core",
3
- "version": "1.36.0",
3
+ "version": "1.37.1",
4
4
  "main": "src/index.js",
5
5
  "author": "Inlife",
6
6
  "scripts": {
@@ -29,5 +29,5 @@
29
29
  "publishConfig": {
30
30
  "access": "public"
31
31
  },
32
- "gitHead": "d0b8dcad1158afe1aba5f48b07614b2359cc3b72"
32
+ "gitHead": "64843b65edec658d2716a07c3b1fe331f09ed117"
33
33
  }
@@ -66,7 +66,7 @@ const download = (job, settings, asset) => {
66
66
  case 'http':
67
67
  case 'https':
68
68
  /* TODO: maybe move to external package ?? */
69
- const src = decodeURI(asset.src) === asset.src ? encodeURI(asset.src): asset.src
69
+ const src = decodeURI(asset.src) === asset.src ? decodeURI(asset.src): asset.src
70
70
  return fetch(src, asset.params || {})
71
71
  .then(res => res.ok ? res : Promise.reject({reason: 'Initial error downloading file', meta: {src, error: res.error}}))
72
72
  .then(res => {