@quenty/datastore 8.2.0 → 8.2.1-canary.434.f7d11a1.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
+ ## [8.2.1-canary.434.f7d11a1.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/datastore@8.2.0...@quenty/datastore@8.2.1-canary.434.f7d11a1.0) (2023-12-28)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * Fix data store not invoking all saving callbacks ([00ff0c0](https://github.com/Quenty/NevermoreEngine/commit/00ff0c0d65ebd3d0e948550759e4832ccf7d6834))
12
+
13
+
14
+
15
+
16
+
6
17
  # [8.2.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/datastore@8.1.1...@quenty/datastore@8.2.0) (2023-12-14)
7
18
 
8
19
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quenty/datastore",
3
- "version": "8.2.0",
3
+ "version": "8.2.1-canary.434.f7d11a1.0",
4
4
  "description": "Quenty's Datastore implementation for Roblox",
5
5
  "keywords": [
6
6
  "Roblox",
@@ -26,21 +26,21 @@
26
26
  "Quenty"
27
27
  ],
28
28
  "dependencies": {
29
- "@quenty/baseobject": "^7.1.0",
30
- "@quenty/bindtocloseservice": "^3.2.0",
31
- "@quenty/loader": "^7.1.0",
32
- "@quenty/maid": "^2.6.0",
33
- "@quenty/math": "^2.5.0",
34
- "@quenty/promise": "^7.1.0",
35
- "@quenty/rx": "^8.2.0",
36
- "@quenty/servicebag": "^7.1.0",
37
- "@quenty/signal": "^3.1.0",
38
- "@quenty/symbol": "^2.2.0",
39
- "@quenty/table": "^3.4.0",
40
- "@quenty/valueobject": "^8.2.0"
29
+ "@quenty/baseobject": "7.1.0",
30
+ "@quenty/bindtocloseservice": "3.2.1-canary.434.f7d11a1.0",
31
+ "@quenty/loader": "7.1.0",
32
+ "@quenty/maid": "2.6.0",
33
+ "@quenty/math": "2.5.0",
34
+ "@quenty/promise": "7.1.0",
35
+ "@quenty/rx": "8.2.1-canary.434.f7d11a1.0",
36
+ "@quenty/servicebag": "7.1.0",
37
+ "@quenty/signal": "3.1.0",
38
+ "@quenty/symbol": "2.2.0",
39
+ "@quenty/table": "3.4.0",
40
+ "@quenty/valueobject": "8.2.1-canary.434.f7d11a1.0"
41
41
  },
42
42
  "publishConfig": {
43
43
  "access": "public"
44
44
  },
45
- "gitHead": "2c2dbbc0cb2fbb46b4f3270c559c63890fe18b26"
45
+ "gitHead": "f7d11a1c05ad6a8c7151952a2b5b89e93bbb5540"
46
46
  }
@@ -2,6 +2,7 @@
2
2
  Service which manages central access to datastore. This datastore will refresh pretty frequently and
3
3
  can be used for configuration and other components, such as Twitter codes or global settings.
4
4
 
5
+ @server
5
6
  @class GameDataStoreService
6
7
  ]=]
7
8
 
@@ -661,11 +661,8 @@ end
661
661
  @return Promise
662
662
  ]=]
663
663
  function DataStoreStage:PromiseInvokeSavingCallbacks()
664
- if not next(self._savingCallbacks) then
665
- return Promise.resolved()
666
- end
667
-
668
664
  local removingPromises = {}
665
+
669
666
  for _, func in pairs(self._savingCallbacks) do
670
667
  local result = func()
671
668
  if Promise.isPromise(result) then