quil.ts 1.1.0 → 1.1.1

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.
@@ -15,7 +15,7 @@ class Quil {
15
15
  const issueReturn = 'Problem fetching guestbook, please try again later!';
16
16
  const response = await fetch(`${this.baseUrl}/guestbooks/${this.guestbookId}`, {
17
17
  headers: {
18
- 'Authorize': `Bearer ${this.apiKey}`,
18
+ 'Authorization': `Bearer ${this.apiKey}`,
19
19
  }
20
20
  });
21
21
  if (!response.ok) {
@@ -31,7 +31,7 @@ class Quil {
31
31
  const issueReturn = 'Problem posting message, please try again later!';
32
32
  const response = await fetch(`${this.baseUrl}/guestbooks/${this.guestbookId}/messages`, {
33
33
  headers: {
34
- 'Authorize': `Bearer ${this.apiKey}`,
34
+ 'Authorization': `Bearer ${this.apiKey}`,
35
35
  },
36
36
  body: data
37
37
  });
@@ -13,7 +13,7 @@ class Quil {
13
13
  const issueReturn = 'Problem fetching guestbook, please try again later!';
14
14
  const response = await fetch(`${this.baseUrl}/guestbooks/${this.guestbookId}`, {
15
15
  headers: {
16
- 'Authorize': `Bearer ${this.apiKey}`,
16
+ 'Authorization': `Bearer ${this.apiKey}`,
17
17
  }
18
18
  });
19
19
  if (!response.ok) {
@@ -29,7 +29,7 @@ class Quil {
29
29
  const issueReturn = 'Problem posting message, please try again later!';
30
30
  const response = await fetch(`${this.baseUrl}/guestbooks/${this.guestbookId}/messages`, {
31
31
  headers: {
32
- 'Authorize': `Bearer ${this.apiKey}`,
32
+ 'Authorization': `Bearer ${this.apiKey}`,
33
33
  },
34
34
  body: data
35
35
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "quil.ts",
3
- "version": "1.1.0",
3
+ "version": "1.1.1",
4
4
  "description": "A small library for working with the Quil API",
5
5
  "type": "module",
6
6
  "files": [