webflow-api 1.0.2 → 1.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/Webflow.js CHANGED
@@ -303,7 +303,7 @@ class Webflow {
303
303
  if (redirect_uri) query.set("redirect_uri", redirect_uri);
304
304
  if (state) query.set("state", state);
305
305
  if (scope) query.set("scope", scope);
306
- return `https://${this.host}/oauth/authorize?${query}`;
306
+ return `https://${this.client.host}/oauth/authorize?${query}`;
307
307
  }
308
308
  accessToken({
309
309
  client_id,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "webflow-api",
3
3
  "description": "Webflow's official Node.js SDK for Data APIs",
4
- "version": "1.0.2",
4
+ "version": "1.0.3",
5
5
  "types": "index.d.ts",
6
6
  "main": "dist/index.js",
7
7
  "contributors": [
package/src/Webflow.js CHANGED
@@ -265,7 +265,7 @@ export class Webflow {
265
265
  if (state) query.set("state", state);
266
266
  if (scope) query.set("scope", scope);
267
267
 
268
- return `https://${this.host}/oauth/authorize?${query}`;
268
+ return `https://${this.client.host}/oauth/authorize?${query}`;
269
269
  }
270
270
 
271
271
  accessToken({