clubhouse-lib
Advanced tools
Comparing version 0.1.4 to 0.1.5
@@ -5,6 +5,2 @@ 'use strict'; | ||
var _fetchPonyfill = require('fetch-ponyfill'); | ||
var _fetchPonyfill2 = _interopRequireDefault(_fetchPonyfill); | ||
var _client_error = require('./client_error'); | ||
@@ -18,2 +14,5 @@ | ||
require('es6-promise').polyfill(); | ||
require('fetch-everywhere'); | ||
var API_BASE_URL = 'https://api.clubhouse.io'; | ||
@@ -51,4 +50,2 @@ var API_VERSION = 'beta'; | ||
var fetch = self.fetch || (0, _fetchPonyfill2.default)().fetch; | ||
return fetch(urlWithToken, { | ||
@@ -55,0 +52,0 @@ body: JSON.stringify(body), |
{ | ||
"name": "clubhouse-lib", | ||
"version": "0.1.4", | ||
"version": "0.1.5", | ||
"description": "A Promise based library to the Clubhouse REST API", | ||
@@ -56,4 +56,4 @@ "files": [ | ||
"es6-promise": "^4.1.0", | ||
"fetch-ponyfill": "^4.0.0" | ||
"fetch-everywhere": "^1.0.5" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
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
26292
335
+ Addedfetch-everywhere@^1.0.5
+ Addedfetch-everywhere@1.0.5(transitive)
+ Addedwhatwg-fetch@3.6.20(transitive)
- Removedfetch-ponyfill@^4.0.0
- Removedfetch-ponyfill@4.1.0(transitive)