@quenty/influxdbclient 1.3.1 → 1.4.0-canary.354.25221f4.0

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/CHANGELOG.md CHANGED
@@ -3,6 +3,17 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [1.4.0-canary.354.25221f4.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/influxdbclient@1.3.1...@quenty/influxdbclient@1.4.0-canary.354.25221f4.0) (2023-04-10)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * Fix RequestFinished APi call ([2564c4f](https://github.com/Quenty/NevermoreEngine/commit/2564c4f0541e2ef80f1a48ee384de8c7fe0637fd))
12
+
13
+
14
+
15
+
16
+
6
17
  ## [1.3.1](https://github.com/Quenty/NevermoreEngine/compare/@quenty/influxdbclient@1.3.0...@quenty/influxdbclient@1.3.1) (2023-04-07)
7
18
 
8
19
  **Note:** Version bump only for package @quenty/influxdbclient
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quenty/influxdbclient",
3
- "version": "1.3.1",
3
+ "version": "1.4.0-canary.354.25221f4.0",
4
4
  "description": "Provides a Roblox Lua InfluxDB client",
5
5
  "keywords": [
6
6
  "Roblox",
@@ -25,22 +25,22 @@
25
25
  "Quenty"
26
26
  ],
27
27
  "dependencies": {
28
- "@quenty/baseobject": "^6.2.1",
29
- "@quenty/httppromise": "^6.5.1",
30
- "@quenty/jsonutils": "^6.4.1",
31
- "@quenty/loader": "^6.2.1",
32
- "@quenty/maid": "^2.5.0",
33
- "@quenty/math": "^2.3.0",
34
- "@quenty/promise": "^6.4.1",
35
- "@quenty/rx": "^7.9.1",
36
- "@quenty/servicebag": "^6.6.1",
37
- "@quenty/signal": "^2.3.0",
38
- "@quenty/string": "^3.1.0",
39
- "@quenty/table": "^3.2.0",
40
- "@quenty/valueobject": "^7.11.1"
28
+ "@quenty/baseobject": "6.2.1",
29
+ "@quenty/httppromise": "6.6.0-canary.354.25221f4.0",
30
+ "@quenty/jsonutils": "6.5.0-canary.354.25221f4.0",
31
+ "@quenty/loader": "6.2.1",
32
+ "@quenty/maid": "2.5.0",
33
+ "@quenty/math": "2.3.0",
34
+ "@quenty/promise": "6.5.0-canary.354.25221f4.0",
35
+ "@quenty/rx": "7.10.0-canary.354.25221f4.0",
36
+ "@quenty/servicebag": "6.6.1",
37
+ "@quenty/signal": "2.3.0",
38
+ "@quenty/string": "3.1.0",
39
+ "@quenty/table": "3.2.0",
40
+ "@quenty/valueobject": "7.12.0-canary.354.25221f4.0"
41
41
  },
42
42
  "publishConfig": {
43
43
  "access": "public"
44
44
  },
45
- "gitHead": "0b250b1557f7ac594d38498c5d69af79a96f8bcf"
45
+ "gitHead": "25221f450cab71bc8a38300c21099feaad23f168"
46
46
  }
@@ -134,14 +134,19 @@ function InfluxDBWriteAPI:_promiseSendBatch(toSend)
134
134
  return self._maid:GivePromise(HttpPromise.request(request))
135
135
  :Then(function(result)
136
136
  if result.Success then
137
- self.RequestFinished:Fire(result)
137
+ if self.Destroy then
138
+ self.RequestFinished:Fire(result)
139
+ end
140
+
138
141
  return true
139
142
  else
140
143
  return Promise.rejected(result)
141
144
  end
142
145
  end)
143
146
  :Catch(function(err)
144
- self.RequestFinished:Fire(err)
147
+ if self.Destroy then
148
+ self.RequestFinished:Fire(err)
149
+ end
145
150
 
146
151
  if HttpPromise.isHttpResponse(err) then
147
152
  local errorBody = InfluxDBErrorUtils.tryParseErrorBody(err.Body)