Skip to content
This repository has been archived by the owner on Jun 16, 2022. It is now read-only.

Commit

Permalink
Merge pull request #48 from Giphy/cc-update-npm
Browse files Browse the repository at this point in the history
Update npm which includes updated image object from PR #29.
  • Loading branch information
rodrigobdz authored Oct 22, 2018
2 parents 217f3bf + b9b0a2d commit 9aa3c60
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "giphy-js-sdk-core",
"version": "1.0.05",
"version": "1.0.06",
"description": "",
"main": "index.js",
"scripts": {
Expand Down
4 changes: 2 additions & 2 deletions src/handlers/RequestHandler.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

var ResponseHandler = require('./ResponseHandler');
require('es6-promise').polyfill();
if(typeof fetch === 'undefined') {
if (typeof fetch === 'undefined') {
require('isomorphic-fetch');
}

Expand Down Expand Up @@ -67,4 +67,4 @@ function RequestHandler(vals, endpoint, cb) {
//return the promise
}

module.exports = RequestHandler
module.exports = RequestHandler
4 changes: 2 additions & 2 deletions src/utils/Image.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ var Image = function(data, id, rendition_type) {
mp4: data.mp4 ? data.mp4 : null,
mp4_size: data.mp4_size ? data.mp4_size : null,
webp: data.webp ? data.webp : null,
webp_size: data.webp_size ? data.webp_size : null,
webp_size: data.webp_size ? data.webp_size : null
})
}


module.exports = Image
module.exports = Image
2 changes: 1 addition & 1 deletion src/utils/Media.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,4 @@ var Media = function(data) {
})
}

module.exports = Media
module.exports = Media

0 comments on commit 9aa3c60

Please sign in to comment.