@quenty/datastore 8.0.0 → 8.0.1

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.0.1](https://github.com/Quenty/NevermoreEngine/compare/@quenty/datastore@8.0.0...@quenty/datastore@8.0.1) (2023-10-13)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * Fix retrieving key set from datastore ([2ec98e4](https://github.com/Quenty/NevermoreEngine/commit/2ec98e49fe511c868d6513deb350bfb1937d9a7d))
12
+
13
+
14
+
15
+
16
+
6
17
  # [8.0.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/datastore@7.26.1...@quenty/datastore@8.0.0) (2023-10-11)
7
18
 
8
19
  **Note:** Version bump only for package @quenty/datastore
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quenty/datastore",
3
- "version": "8.0.0",
3
+ "version": "8.0.1",
4
4
  "description": "Quenty's Datastore implementation for Roblox",
5
5
  "keywords": [
6
6
  "Roblox",
@@ -42,5 +42,5 @@
42
42
  "publishConfig": {
43
43
  "access": "public"
44
44
  },
45
- "gitHead": "fdeae46099587019ec5fc15317dc673aed379400"
45
+ "gitHead": "a789adfcbab9b1590d075f3ad4e48ffb31c0b318"
46
46
  }
@@ -378,7 +378,11 @@ end
378
378
  ]=]
379
379
  function DataStoreStage:PromiseKeySet()
380
380
  return self:PromiseViewUpToDate():Then(function()
381
- return Set.fromKeys(self._viewSnapshot)
381
+ if type(self._viewSnapshot) == "table" then
382
+ return Set.fromKeys(self._viewSnapshot)
383
+ else
384
+ return {}
385
+ end
382
386
  end)
383
387
  end
384
388