@quenty/memorystoreutils 6.10.1 → 6.10.2

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
+ ## [6.10.2](https://github.com/Quenty/NevermoreEngine/compare/@quenty/memorystoreutils@6.10.1...@quenty/memorystoreutils@6.10.2) (2025-04-05)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * Add types to packages ([2374fb2](https://github.com/Quenty/NevermoreEngine/commit/2374fb2b043cfbe0e9b507b3316eec46a4e353a0))
12
+
13
+
14
+
15
+
16
+
6
17
  ## [6.10.1](https://github.com/Quenty/NevermoreEngine/compare/@quenty/memorystoreutils@6.10.0...@quenty/memorystoreutils@6.10.1) (2025-03-21)
7
18
 
8
19
  **Note:** Version bump only for package @quenty/memorystoreutils
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quenty/memorystoreutils",
3
- "version": "6.10.1",
3
+ "version": "6.10.2",
4
4
  "description": "Utility functions for memory store srevice",
5
5
  "keywords": [
6
6
  "Roblox",
@@ -26,8 +26,8 @@
26
26
  "Quenty"
27
27
  ],
28
28
  "dependencies": {
29
- "@quenty/loader": "^10.8.0",
30
- "@quenty/promise": "^10.10.1"
29
+ "@quenty/loader": "^10.8.1",
30
+ "@quenty/promise": "^10.10.2"
31
31
  },
32
32
  "devDependencies": {
33
33
  "@quenty/loader": "file:../loader"
@@ -35,5 +35,5 @@
35
35
  "publishConfig": {
36
36
  "access": "public"
37
37
  },
38
- "gitHead": "6b7c3e15e60cdb185986207b574e2b5591261e7a"
38
+ "gitHead": "78c3ac0ab08dd18085b6e6e6e4f745e76ed99f68"
39
39
  }
@@ -1,3 +1,4 @@
1
+ --!strict
1
2
  --[=[
2
3
  Wraps MemoryService APIs
3
4
  @class MemoryStoreUtils
@@ -21,7 +22,12 @@ local DEBUG_QUEUE = false
21
22
  @param priority number?
22
23
  @return Promise
23
24
  ]=]
24
- function MemoryStoreUtils.promiseAdd(queue: MemoryStoreQueue, value: any, expirationSeconds: number, priority: number?)
25
+ function MemoryStoreUtils.promiseAdd(
26
+ queue: MemoryStoreQueue,
27
+ value: any,
28
+ expirationSeconds: number,
29
+ priority: number?
30
+ ): Promise.Promise<()>
25
31
  assert(typeof(queue) == "Instance" and queue:IsA("MemoryStoreQueue"), "Bad queue")
26
32
  assert(type(expirationSeconds) == "number", "Bad expirationSeconds")
27
33
  assert(type(priority) == "number" or priority == nil, "Bad priority")
@@ -58,7 +64,7 @@ function MemoryStoreUtils.promiseRead(
58
64
  count: number,
59
65
  allOrNothing: boolean,
60
66
  waitTimeout: number
61
- )
67
+ ): Promise.Promise<(any?, string?)>
62
68
  assert(typeof(queue) == "Instance" and queue:IsA("MemoryStoreQueue"), "Bad queue")
63
69
  assert(type(count) == "number", "Bad count")
64
70
  assert(type(allOrNothing) == "boolean", "Bad allOrNothing")
@@ -97,7 +103,7 @@ end
97
103
  @param id string
98
104
  @return Promise
99
105
  ]=]
100
- function MemoryStoreUtils.promiseRemove(queue: MemoryStoreQueue, id: string)
106
+ function MemoryStoreUtils.promiseRemove(queue: MemoryStoreQueue, id: string): Promise.Promise<()>
101
107
  assert(typeof(queue) == "Instance" and queue:IsA("MemoryStoreQueue"), "Bad queue")
102
108
  assert(type(id) == "string", "Bad id")
103
109