Skip to content

Commit

Permalink
Release minor, update facebook to v2.9
Browse files Browse the repository at this point in the history
  • Loading branch information
MrSwitch committed Jun 14, 2017
1 parent bd9c1bb commit 5857737
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 7 deletions.
11 changes: 9 additions & 2 deletions dist/hello.all.js
Original file line number Diff line number Diff line change
Expand Up @@ -1480,7 +1480,14 @@ hello.utils.extend(hello.utils, {
_this.extend(p, a);
}
catch (e) {
console.error('Could not decode state parameter');
var stateDecoded = decodeURIComponent(p.state);
try {
var b = JSON.parse(stateDecoded);
_this.extend(p, b);
}
catch (e) {
console.error('Could not decode state parameter');
}
}

// Access_token?
Expand Down Expand Up @@ -3346,7 +3353,7 @@ if (typeof chrome === 'object' && typeof chrome.identity === 'object' && chrome.
},

// API Base URL
base: 'https://graph.facebook.com/v2.7/',
base: 'https://graph.facebook.com/v2.9/',

// Map GET requests
get: {
Expand Down
4 changes: 2 additions & 2 deletions dist/hello.all.min.js

Large diffs are not rendered by default.

9 changes: 8 additions & 1 deletion dist/hello.js
Original file line number Diff line number Diff line change
Expand Up @@ -1480,7 +1480,14 @@ hello.utils.extend(hello.utils, {
_this.extend(p, a);
}
catch (e) {
console.error('Could not decode state parameter');
var stateDecoded = decodeURIComponent(p.state);
try {
var b = JSON.parse(stateDecoded);
_this.extend(p, b);
}
catch (e) {
console.error('Could not decode state parameter');
}
}

// Access_token?
Expand Down
2 changes: 1 addition & 1 deletion dist/hello.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "hellojs",
"version": "1.14.1",
"version": "1.15.0",
"description": "A clientside Javascript library for standardizing requests to OAuth2 web services (and OAuth1 - with a shim)",
"homepage": "https://adodson.com/hello.js",
"main": "dist/hello.all.js",
Expand Down

0 comments on commit 5857737

Please sign in to comment.