()
| 572 | this._url = t, this._token = n, this._mode = 1, this._seed = 1, this._queue = [], this.data = {}, this.api = {}, this._events = {}; |
| 573 | } |
| 574 | headers() { |
| 575 | return { Accept: "application/json", "Content-Type": "application/json", "Remote-Token": this._token }; |
| 576 | } |
| 577 | fetch(i, t) { |
| 578 | const n = { credentials: "include", headers: this.headers() }; |
| 579 | return t && (n.method = "POST", n.body = t), fetch(i, n).then((s) => s.json()); |
no outgoing calls
no test coverage detected