ionic-youtube-streams
Advanced tools
Comparing version 1.0.9 to 1.1.0
@@ -5,3 +5,3 @@ import { HTTP } from '@ionic-native/http/ngx'; | ||
constructor(httpClient: HTTP); | ||
getVideoInfoPage(id: any, options: any): Promise<any>; | ||
getVideoInfoPage(id: any, options: any, httpClient: any): Promise<any>; | ||
} |
@@ -56,3 +56,3 @@ "use strict"; | ||
} | ||
VideoInfoService.prototype.getVideoInfoPage = function (id, options) { | ||
VideoInfoService.prototype.getVideoInfoPage = function (id, options, httpClient) { | ||
return __awaiter(this, void 0, void 0, function () { | ||
@@ -76,3 +76,3 @@ var utilsService, url, response, moreinfo; | ||
}); | ||
return [4 /*yield*/, this.httpClient.get(url, {}, {})]; | ||
return [4 /*yield*/, httpClient.get(url, {}, {})]; | ||
case 1: | ||
@@ -79,0 +79,0 @@ response = _a.sent(); |
@@ -47,3 +47,3 @@ "use strict"; | ||
return __awaiter(this, void 0, void 0, function () { | ||
var utilsService, body, info, args; | ||
var utilsService, watchHtmlService, body, info, args; | ||
return __generator(this, function (_a) { | ||
@@ -53,3 +53,4 @@ switch (_a.label) { | ||
utilsService = new utils_service_1.UtilsService(); | ||
return [4 /*yield*/, this.getHTMLWatchPageBody(id, options, utilsService, this.httpClient)]; | ||
watchHtmlService = new WatchHtmlService(httpClient); | ||
return [4 /*yield*/, watchHtmlService.getHTMLWatchPageBody(id, options, utilsService, httpClient)]; | ||
case 1: | ||
@@ -56,0 +57,0 @@ body = _a.sent(); |
{ | ||
"name": "ionic-youtube-streams", | ||
"version": "1.0.9", | ||
"version": "1.1.0", | ||
"description": "Fetch meta information about YouTube videos including stream urls in ionic apps", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
239566
1798