mrdandandan-destiny-api-module
Advanced tools
Comparing version 0.0.0 to 0.0.1
@@ -76,4 +76,5 @@ 'use strict'; | ||
var destinyApiRequest = function destinyApiRequest() { | ||
this.addHeader('X-API-Key', apiKey); | ||
return request.apply(undefined, arguments).then(_DestinyApiResponse2.default.unwrap).catch(_DestinyApiResponse2.default.error); | ||
}; | ||
}.bind(this); | ||
return this.appendRequestMetadata(destinyApiRequest); | ||
@@ -80,0 +81,0 @@ } |
{ | ||
"name": "mrdandandan-destiny-api-module", | ||
"version": "0.0.0", | ||
"version": "0.0.1", | ||
"description": "Destiny API definitions for *", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -39,8 +39,9 @@ import {ApiRequest} from 'api-request-base'; | ||
let destinyApiRequest = function destinyApiRequest() { | ||
this.addHeader('X-API-Key', apiKey); | ||
return request(...arguments) | ||
.then(DestinyApiResponse.unwrap) | ||
.catch(DestinyApiResponse.error); | ||
}; | ||
}.bind(this); | ||
return this.appendRequestMetadata(destinyApiRequest); | ||
} | ||
} |
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
33370
629