Skip to content

Commit

Permalink
Update unsplash (#2489)
Browse files Browse the repository at this point in the history
  • Loading branch information
timleslie committed Mar 5, 2020
1 parent 9d11d7c commit fe42a99
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 7 deletions.
5 changes: 5 additions & 0 deletions .changeset/ninety-pears-drop.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@keystonejs/fields': patch
---

Updated to Unsplash 6.0.0.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@
"to-pascal-case": "^1.0.0",
"underscore.string": "^3.3.5",
"unist-util-visit": "^1.4.0",
"unsplash-js": "^5.0.0",
"unsplash-js": "^6.0.0",
"uuid": "^3.3.2",
"webpack": "4.41.6"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/fields/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
"slate": "^0.47.4",
"slate-drop-or-paste-images": "^0.9.1",
"slate-react": "^0.22.4",
"unsplash-js": "^5.0.0"
"unsplash-js": "^6.0.0"
},
"devDependencies": {
"@keystonejs/test-utils": "*"
Expand Down
2 changes: 1 addition & 1 deletion packages/fields/src/types/Unsplash/Implementation.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export class Unsplash extends Implementation {
this.graphQLOutputType = 'UnsplashImage';

this.unsplash = new UnsplashAPI({
applicationId: accessKey,
accessKey,
secret: secretKey,
});
}
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -23615,10 +23615,10 @@ unset-value@^1.0.0:
has-value "^0.3.1"
isobject "^3.0.0"

unsplash-js@^5.0.0:
version "5.0.0"
resolved "https://registry.yarnpkg.com/unsplash-js/-/unsplash-js-5.0.0.tgz#85bb29bff3d49220be3b335679433a0299365290"
integrity sha512-yPh4h0m4y0BbSjjNbn36O+8rDESIgxvElwZMwOrvsZpmbtFspwARMnrHyZ3JbAUw62ZmRxHajlsPqw55qo1iug==
unsplash-js@^6.0.0:
version "6.0.0"
resolved "https://registry.yarnpkg.com/unsplash-js/-/unsplash-js-6.0.0.tgz#f13bd12817e115f440f0526bce18e1cb7b0fde16"
integrity sha512-R7Zwd6mfjJ2mYGldWZpZ/LfVLh6Zi+iRUS8y3dx0jZNFU0nt6r6q4wtL+Gr/qv3TgMQFg/hRFxYKzXcdhkasyg==
dependencies:
form-urlencoded "1.2.0"
lodash.get "4.4.2"
Expand Down

0 comments on commit fe42a99

Please sign in to comment.