@0xsequence/api 1.1.1 → 1.1.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/src/index.ts CHANGED
@@ -5,7 +5,10 @@ import { API as ApiRpc } from './api.gen'
5
5
  const fetch = typeof global === 'object' ? global.fetch : window.fetch
6
6
 
7
7
  export class SequenceAPIClient extends ApiRpc {
8
- constructor(hostname: string, public jwtAuth?: string) {
8
+ constructor(
9
+ hostname: string,
10
+ public jwtAuth?: string
11
+ ) {
9
12
  super(hostname.endsWith('/') ? hostname.slice(0, -1) : hostname, fetch)
10
13
  this.fetch = this._fetch
11
14
  }