@noita-ts/pollnet 0.5.0 → 0.5.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.
package/dist/index.d.ts CHANGED
@@ -37,7 +37,7 @@ export declare class HttpClient {
37
37
  post(url: string, headers?: Record<string, string | string[]> | string, body?: string): Promise<HttpResponse>;
38
38
  }
39
39
  /**
40
- * Async WebSocket client built on top of an {@link AsyncReactor}.
40
+ * Async WebSocket client built on top of a {@link Scheduler}.
41
41
  * Messages are delivered via the `onmessage` callback, and errors via
42
42
  * `onerror`.
43
43
  * Call {@link send} to send a message, and {@link close} to close the
package/dist/index.lua CHANGED
@@ -74,7 +74,7 @@ end
74
74
  function HttpClient.prototype.post(self, url, headers, body)
75
75
  return self.scheduler:spawn(function() return ____exports.HttpResponse:read(pollnet.http_post(url, headers, body, false)) end)
76
76
  end
77
- --- Async WebSocket client built on top of an {@link AsyncReactor }.
77
+ --- Async WebSocket client built on top of a {@link Scheduler}.
78
78
  -- Messages are delivered via the `onmessage` callback, and errors via
79
79
  -- `onerror`.
80
80
  -- Call {@link send} to send a message, and {@link close} to close the
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@noita-ts/pollnet",
3
- "version": "0.5.0",
3
+ "version": "0.5.1",
4
4
  "files": [
5
5
  "dist/**/*.{lua,dll,d.ts}",
6
6
  "LICENSE-pollnet"