@quenty/datastore 13.2.0 → 13.2.1-canary.461.1de9bba.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,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.1de9bba.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/datastore@13.2.0...@quenty/datastore@13.2.1-canary.461.1de9bba.0) (2024-04-23)
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.1de9bba.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": "^10.1.0",
30
- "@quenty/bindtocloseservice": "^8.1.0",
31
- "@quenty/loader": "^10.1.0",
32
- "@quenty/maid": "^3.1.0",
33
- "@quenty/math": "^2.6.0",
34
- "@quenty/promise": "^10.1.0",
35
- "@quenty/rx": "^13.1.0",
36
- "@quenty/servicebag": "^11.1.0",
37
- "@quenty/signal": "^7.1.0",
38
- "@quenty/symbol": "^3.0.0",
39
- "@quenty/table": "^3.4.0",
40
- "@quenty/valueobject": "^13.1.0"
29
+ "@quenty/baseobject": "10.1.1-canary.461.1de9bba.0",
30
+ "@quenty/bindtocloseservice": "8.1.1-canary.461.1de9bba.0",
31
+ "@quenty/loader": "10.1.1-canary.461.1de9bba.0",
32
+ "@quenty/maid": "3.1.0",
33
+ "@quenty/math": "2.6.0",
34
+ "@quenty/promise": "10.1.1-canary.461.1de9bba.0",
35
+ "@quenty/rx": "13.1.1-canary.461.1de9bba.0",
36
+ "@quenty/servicebag": "11.1.1-canary.461.1de9bba.0",
37
+ "@quenty/signal": "7.1.1-canary.461.1de9bba.0",
38
+ "@quenty/symbol": "3.0.0",
39
+ "@quenty/table": "3.4.0",
40
+ "@quenty/valueobject": "13.1.1-canary.461.1de9bba.0"
41
41
  },
42
42
  "publishConfig": {
43
43
  "access": "public"
44
44
  },
45
- "gitHead": "484ca2789ab74cd772d5f31c23dd823ce3d3a353"
45
+ "gitHead": "1de9bbac81ecfbb6ace9462737c042e012d218f4"
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