@noita-ts/pollnet 0.3.4 → 0.3.5

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.
Files changed (2) hide show
  1. package/dist/async.lua +1 -1
  2. package/package.json +1 -1
package/dist/async.lua CHANGED
@@ -172,7 +172,7 @@ function HttpClient.prototype.post(self, url, headers, body)
172
172
  )
173
173
  end
174
174
  local statusStr, headersStr, respBody = unpack(msgs, 1, 3)
175
- local status = tonumber({string.match("^%d+", statusStr)}) or 500
175
+ local status = tonumber((string.match("^%d+", statusStr))) or 500
176
176
  return __TS__New(____exports.HttpResponse, status, headersStr, respBody)
177
177
  end)
178
178
  end
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@noita-ts/pollnet",
3
- "version": "0.3.4",
3
+ "version": "0.3.5",
4
4
  "files": [
5
5
  "dist/**/*.{lua,dll,d.ts}",
6
6
  "LICENSE-pollnet"