@terros-inc/sdk 1.0.3 → 1.0.4

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/client.d.ts CHANGED
@@ -4,5 +4,5 @@ export declare class TerrosClient {
4
4
  readonly user: UserClient;
5
5
  readonly account: AccountClient;
6
6
  readonly calendar: CalendarClient;
7
- constructor(config: ClientConfig);
7
+ constructor(config?: ClientConfig);
8
8
  }
package/dist/client.js CHANGED
@@ -4,7 +4,7 @@ export class TerrosClient {
4
4
  user;
5
5
  account;
6
6
  calendar;
7
- constructor(config) {
7
+ constructor(config = {}) {
8
8
  const api = new ApiCaller(config);
9
9
  this.user = new UserClient(api);
10
10
  this.account = new AccountClient(api);
package/package.json CHANGED
@@ -35,7 +35,7 @@
35
35
  "url": "git+https://github.com/terros-inc/sdk.git"
36
36
  },
37
37
  "type": "module",
38
- "version": "1.0.3",
38
+ "version": "1.0.4",
39
39
  "scripts": {
40
40
  "build": "tsc",
41
41
  "format": "oxfmt --write .",