@quenty/saveslot 2.6.3 → 2.6.4-canary.783.31427008232.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 +12 -0
- package/package.json +5 -5
- package/src/Server/Binders/HasSaveSlots.lua +9 -7
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,18 @@
|
|
|
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
|
+
## [2.6.4-canary.783.31427008232.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/saveslot@2.6.3...@quenty/saveslot@2.6.4-canary.783.31427008232.0) (2026-08-10)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* Fix save slots ([579c587](https://github.com/Quenty/NevermoreEngine/commit/579c587ebfadaedaab91e774f8441d78a8d6fe99))
|
|
12
|
+
* **nevermore-cli:** make the watch context tests independent of the host ([453f415](https://github.com/Quenty/NevermoreEngine/commit/453f415460db72eec511ecbea34434c82afb61c8))
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
|
|
6
18
|
## [2.6.3](https://github.com/Quenty/NevermoreEngine/compare/@quenty/saveslot@2.6.2...@quenty/saveslot@2.6.3) (2026-08-10)
|
|
7
19
|
|
|
8
20
|
**Note:** Version bump only for package @quenty/saveslot
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@quenty/saveslot",
|
|
3
|
-
"version": "2.6.
|
|
3
|
+
"version": "2.6.4-canary.783.31427008232.0",
|
|
4
4
|
"description": "PlayerDataStoreService wrapper for save slots",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Roblox",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"@quenty/baseobject": "10.15.0",
|
|
34
34
|
"@quenty/binder": "14.43.1",
|
|
35
35
|
"@quenty/brio": "14.35.1",
|
|
36
|
-
"@quenty/cmdrservice": "13.56.
|
|
36
|
+
"@quenty/cmdrservice": "13.56.2-canary.783.31427008232.0",
|
|
37
37
|
"@quenty/datastore": "13.51.1",
|
|
38
38
|
"@quenty/instanceutils": "13.35.1",
|
|
39
39
|
"@quenty/loader": "10.11.0",
|
|
@@ -44,12 +44,12 @@
|
|
|
44
44
|
"@quenty/playermock": "1.6.0",
|
|
45
45
|
"@quenty/promise": "10.23.0",
|
|
46
46
|
"@quenty/propertyvalue": "7.35.1",
|
|
47
|
-
"@quenty/remoting": "12.41.
|
|
47
|
+
"@quenty/remoting": "12.41.2-canary.783.31427008232.0",
|
|
48
48
|
"@quenty/rx": "13.33.0",
|
|
49
49
|
"@quenty/servicebag": "11.20.0",
|
|
50
50
|
"@quenty/signal": "7.13.1",
|
|
51
51
|
"@quenty/table": "3.9.2",
|
|
52
|
-
"@quenty/teleportserviceutils": "10.3.
|
|
52
|
+
"@quenty/teleportserviceutils": "10.3.3-canary.783.31427008232.0",
|
|
53
53
|
"@quenty/tie": "10.47.0",
|
|
54
54
|
"@quenty/valueobject": "13.36.1",
|
|
55
55
|
"@quentystudios/jest-lua": "3.10.0-quenty.2"
|
|
@@ -57,5 +57,5 @@
|
|
|
57
57
|
"publishConfig": {
|
|
58
58
|
"access": "public"
|
|
59
59
|
},
|
|
60
|
-
"gitHead": "
|
|
60
|
+
"gitHead": "996627b65a5bd428bfb2bf6e4abb1ae7262eec81"
|
|
61
61
|
}
|
|
@@ -202,13 +202,15 @@ function HasSaveSlots.PromiseSelectSlot(self: HasSaveSlots, slotId: SaveSlotData
|
|
|
202
202
|
end
|
|
203
203
|
|
|
204
204
|
local function promiseSetSlot()
|
|
205
|
-
return self
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
205
|
+
return self._maid
|
|
206
|
+
:GivePromise(self:_promisePreSelectFromSaveSlotService(slotId))
|
|
207
|
+
:Then(function(allowed: boolean)
|
|
208
|
+
if not allowed then
|
|
209
|
+
return (Promise :: any).rejected(`Slot \{{slotId}\} refused by a pre-select callback`)
|
|
210
|
+
end
|
|
209
211
|
|
|
210
|
-
|
|
211
|
-
|
|
212
|
+
return setSlot()
|
|
213
|
+
end)
|
|
212
214
|
end
|
|
213
215
|
|
|
214
216
|
-- Initialize or save and switch
|
|
@@ -222,7 +224,7 @@ function HasSaveSlots.PromiseSelectSlot(self: HasSaveSlots, slotId: SaveSlotData
|
|
|
222
224
|
return promiseSetSlot()
|
|
223
225
|
end
|
|
224
226
|
|
|
225
|
-
return self._dataStore:Save():Then(promiseSetSlot)
|
|
227
|
+
return self._maid:GivePromise(self._dataStore:Save()):Then(promiseSetSlot)
|
|
226
228
|
end)
|
|
227
229
|
end
|
|
228
230
|
|