@quenty/datastore 13.2.0 → 13.2.1-canary.461.ef0ff45.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 +8 -0
- package/package.json +14 -14
- package/src/Server/PlayerDataStoreService.lua +2 -3
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,14 @@
|
|
|
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
|
+
## [13.2.1-canary.461.ef0ff45.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/datastore@13.2.0...@quenty/datastore@13.2.1-canary.461.ef0ff45.0) (2024-04-27)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @quenty/datastore
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
6
14
|
# [13.2.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/datastore@13.1.0...@quenty/datastore@13.2.0) (2024-03-11)
|
|
7
15
|
|
|
8
16
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@quenty/datastore",
|
|
3
|
-
"version": "13.2.0",
|
|
3
|
+
"version": "13.2.1-canary.461.ef0ff45.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": "
|
|
30
|
-
"@quenty/bindtocloseservice": "
|
|
31
|
-
"@quenty/loader": "
|
|
32
|
-
"@quenty/maid": "
|
|
33
|
-
"@quenty/math": "
|
|
34
|
-
"@quenty/promise": "
|
|
35
|
-
"@quenty/rx": "
|
|
36
|
-
"@quenty/servicebag": "
|
|
37
|
-
"@quenty/signal": "
|
|
38
|
-
"@quenty/symbol": "
|
|
39
|
-
"@quenty/table": "
|
|
40
|
-
"@quenty/valueobject": "
|
|
29
|
+
"@quenty/baseobject": "10.1.1-canary.461.ef0ff45.0",
|
|
30
|
+
"@quenty/bindtocloseservice": "8.1.1-canary.461.ef0ff45.0",
|
|
31
|
+
"@quenty/loader": "10.1.1-canary.461.ef0ff45.0",
|
|
32
|
+
"@quenty/maid": "3.1.0",
|
|
33
|
+
"@quenty/math": "2.6.0",
|
|
34
|
+
"@quenty/promise": "10.1.1-canary.461.ef0ff45.0",
|
|
35
|
+
"@quenty/rx": "13.1.1-canary.461.ef0ff45.0",
|
|
36
|
+
"@quenty/servicebag": "11.1.1-canary.461.ef0ff45.0",
|
|
37
|
+
"@quenty/signal": "7.1.1-canary.461.ef0ff45.0",
|
|
38
|
+
"@quenty/symbol": "3.0.0",
|
|
39
|
+
"@quenty/table": "3.4.0",
|
|
40
|
+
"@quenty/valueobject": "13.1.1-canary.461.ef0ff45.0"
|
|
41
41
|
},
|
|
42
42
|
"publishConfig": {
|
|
43
43
|
"access": "public"
|
|
44
44
|
},
|
|
45
|
-
"gitHead": "
|
|
45
|
+
"gitHead": "ef0ff45686a7f2f93156fc1bd2b459e55076b07e"
|
|
46
46
|
}
|
|
@@ -113,19 +113,18 @@ function PlayerDataStoreService:PromiseManager()
|
|
|
113
113
|
return DataStorePromises.promiseDataStore(self._dataStoreName, self._dataStoreScope)
|
|
114
114
|
end)
|
|
115
115
|
:Then(function(dataStore)
|
|
116
|
-
local manager = PlayerDataStoreManager.new(
|
|
116
|
+
local manager = self._maid:Add(PlayerDataStoreManager.new(
|
|
117
117
|
dataStore,
|
|
118
118
|
function(player)
|
|
119
119
|
return tostring(player.UserId)
|
|
120
120
|
end,
|
|
121
|
-
true)
|
|
121
|
+
true))
|
|
122
122
|
|
|
123
123
|
-- A lot safer if we're hot reloading or need to monitor bind to close calls
|
|
124
124
|
self._maid:GiveTask(self._bindToCloseService:RegisterPromiseOnCloseCallback(function()
|
|
125
125
|
return manager:PromiseAllSaves()
|
|
126
126
|
end))
|
|
127
127
|
|
|
128
|
-
self._maid:GiveTask(manager)
|
|
129
128
|
return manager
|
|
130
129
|
end)
|
|
131
130
|
|