quil.ts 1.0.0 → 1.0.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.
@@ -13,10 +13,10 @@ export interface Guestbook {
13
13
  }
14
14
  export declare class Quil {
15
15
  baseUrl: string;
16
- apiKey: number;
16
+ apiKey: string;
17
17
  guestbookId: number;
18
18
  debug: boolean;
19
- constructor(apiKey: number, guestbookId: number, debug?: boolean);
19
+ constructor(apiKey: string, guestbookId: number, debug?: boolean);
20
20
  get(): Promise<"Problem fetching guestbook, please try again later!" | Guestbook>;
21
21
  write(data: FormData): Promise<true | "Problem posting message, please try again later!">;
22
22
  }
@@ -13,10 +13,10 @@ export interface Guestbook {
13
13
  }
14
14
  export declare class Quil {
15
15
  baseUrl: string;
16
- apiKey: number;
16
+ apiKey: string;
17
17
  guestbookId: number;
18
18
  debug: boolean;
19
- constructor(apiKey: number, guestbookId: number, debug?: boolean);
19
+ constructor(apiKey: string, guestbookId: number, debug?: boolean);
20
20
  get(): Promise<"Problem fetching guestbook, please try again later!" | Guestbook>;
21
21
  write(data: FormData): Promise<true | "Problem posting message, please try again later!">;
22
22
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "quil.ts",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "A small library for working with the Quil API",
5
5
  "types": "./lib/cjs/types/index.d.ts",
6
6
  "main": "./lib/cjs/index.js",