destiny-client
Advanced tools
Comparing version 0.4.2 to 0.4.3
@@ -9,2 +9,4 @@ 'use strict'; | ||
var _es6Promise = require('es6-promise'); | ||
var _lodash = require('lodash'); | ||
@@ -24,4 +26,2 @@ | ||
require('es6-promise').polyfill(); | ||
var HOST = 'https://www.bungie.net/platform/Destiny/'; // the is address to Bungie's API | ||
@@ -41,3 +41,3 @@ | ||
lib[method.name] = function (params, headers) { | ||
return Promise.resolve(params).then(function (params) { | ||
return _es6Promise.Promise.resolve(params).then(function (params) { | ||
@@ -44,0 +44,0 @@ if (method.options && method.options.method === 'POST' && !_lodash2['default'].isObject(headers)) { |
{ | ||
"name": "destiny-client", | ||
"version": "0.4.2", | ||
"version": "0.4.3", | ||
"description": "A client for Bungie's Destiny API.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
'use strict'; | ||
require('es6-promise').polyfill(); | ||
import { Promise } from 'es6-promise'; | ||
import _ from 'lodash'; | ||
@@ -5,0 +5,0 @@ import fetch from 'isomorphic-fetch'; |
Sorry, the diff of this file is too big to display
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
502416