@nexrender/core 1.45.7 → 1.46.0

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.45.7",
3
+ "version": "1.46.0",
4
4
  "main": "src/index.js",
5
5
  "author": "Inlife",
6
6
  "homepage": "https://www.nexrender.com",
@@ -36,5 +36,5 @@
36
36
  "publishConfig": {
37
37
  "access": "public"
38
38
  },
39
- "gitHead": "5d2a29f7c380b9f0217cb19d230206f7ab0e50e0"
39
+ "gitHead": "6cef707246dd026c78978cd1238b251a5653cf0c"
40
40
  }
@@ -84,7 +84,7 @@ const download = (job, settings, asset) => {
84
84
  cachePath;
85
85
 
86
86
  /* TODO: maybe move to external package ?? */
87
- const src = decodeURI(asset.src) === asset.src ? encodeURI(asset.src): asset.src
87
+ const src = asset.src
88
88
  return fetch(src, asset.params)
89
89
  .then(res => res.ok ? res : Promise.reject({reason: 'Initial error downloading file', meta: {src, error: res.error}}))
90
90
  .then(res => {