diff --git a/types/unsplash-js/index.d.ts b/types/unsplash-js/index.d.ts index 8eb6222778..25f92c4036 100644 --- a/types/unsplash-js/index.d.ts +++ b/types/unsplash-js/index.d.ts @@ -1,4 +1,4 @@ -// Type definitions for unsplash-js 5.0 +// Type definitions for unsplash-js 6.0 // Project: https://github.com/unsplash/unsplash-js#readme // Definitions by: Andrew Malikov // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped @@ -17,7 +17,7 @@ export default class Unsplash { constructor(options: { apiUrl?: string; apiVersion?: string; - applicationId: string; + accessKey: string; secret: string; callbackUrl?: string; bearerToken?: string; diff --git a/types/unsplash-js/unsplash-js-tests.ts b/types/unsplash-js/unsplash-js-tests.ts index 262d4c5e02..2a07a15aec 100644 --- a/types/unsplash-js/unsplash-js-tests.ts +++ b/types/unsplash-js/unsplash-js-tests.ts @@ -1,7 +1,7 @@ import Unsplash, { toJson } from "unsplash-js"; const unsplash = new Unsplash({ - applicationId: "{APP_ACCESS_KEY}", + accessKey: "{APP_ACCESS_KEY}", secret: "{APP_SECRET}" });