xgplayer-streaming-shared
Advanced tools
Comparing version 3.0.10-alpha.1 to 3.0.10-alpha.2
@@ -13,3 +13,2 @@ import { objectSpread2 as _objectSpread2 } from "../_virtual/_rollupPluginBabelHelpers.js"; | ||
onRetryError: void 0, | ||
onPreProcessUrl: void 0, | ||
transformRequest: void 0, | ||
@@ -16,0 +15,0 @@ transformResponse: void 0, |
@@ -12,3 +12,2 @@ export class NetLoader { | ||
isFetch(): boolean; | ||
get finnalUrl(): string; | ||
load(url: any, config?: {}): Promise<any>; | ||
@@ -15,0 +14,0 @@ cancel(): Promise<void>; |
@@ -37,7 +37,2 @@ import { inherits as _inherits, createSuper as _createSuper, createClass as _createClass, classCallCheck as _classCallCheck, defineProperty as _defineProperty, assertThisInitialized as _assertThisInitialized, asyncToGenerator as _asyncToGenerator, regeneratorRuntime as _regeneratorRuntime } from "../_virtual/_rollupPluginBabelHelpers.js"; | ||
}, { | ||
key: "finnalUrl", | ||
get: function get() { | ||
return this._finnalUrl; | ||
} | ||
}, { | ||
key: "load", | ||
@@ -53,6 +48,2 @@ value: function load(url) { | ||
config = Object.assign({}, this._config, config); | ||
if (this._config.onPreProcessUrl) { | ||
config.url = this._config.onPreProcessUrl(config.url).url; | ||
} | ||
this._finnalUrl = config.url; | ||
if (config.params) | ||
@@ -59,0 +50,0 @@ config.params = Object.assign({}, config.params); |
{ | ||
"name": "xgplayer-streaming-shared", | ||
"version": "3.0.10-alpha.1", | ||
"version": "3.0.10-alpha.2", | ||
"main": "dist/index.min.js", | ||
@@ -5,0 +5,0 @@ "module": "es/index.js", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
353629
4604