@quenty/avatareditorutils 7.5.0-canary.490.601c967.0 → 7.6.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,12 +3,21 @@
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
- # [7.5.0-canary.490.601c967.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/avatareditorutils@7.4.0...@quenty/avatareditorutils@7.5.0-canary.490.601c967.0) (2024-08-27)
6
+ # [7.6.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/avatareditorutils@7.5.0...@quenty/avatareditorutils@7.6.0) (2024-09-12)
7
7
 
8
8
 
9
9
  ### Features
10
10
 
11
11
  * Add AccessoryTypeUtils ([dd92f34](https://github.com/Quenty/NevermoreEngine/commit/dd92f349d0331a92921046cdb3e446dad8052f10))
12
+ * Add CatalogSearchServiceCache ([b71203a](https://github.com/Quenty/NevermoreEngine/commit/b71203aabeabe614df60da1e74d7019b11525e8b))
13
+
14
+
15
+
16
+
17
+
18
+ # [7.5.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/avatareditorutils@7.4.0...@quenty/avatareditorutils@7.5.0) (2024-08-09)
19
+
20
+ **Note:** Version bump only for package @quenty/avatareditorutils
12
21
 
13
22
 
14
23
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quenty/avatareditorutils",
3
- "version": "7.5.0-canary.490.601c967.0",
3
+ "version": "7.6.0",
4
4
  "description": "Provides utility functions to work with the Roblox AvatarEditorService",
5
5
  "keywords": [
6
6
  "Roblox",
@@ -25,16 +25,17 @@
25
25
  "Quenty"
26
26
  ],
27
27
  "dependencies": {
28
- "@quenty/brio": "14.4.0-canary.490.601c967.0",
29
- "@quenty/enumutils": "3.2.0",
30
- "@quenty/loader": "10.4.0-canary.490.601c967.0",
31
- "@quenty/maid": "3.2.0",
32
- "@quenty/promise": "10.4.0-canary.490.601c967.0",
33
- "@quenty/rx": "13.4.0-canary.490.601c967.0",
34
- "@quenty/symbol": "3.1.0"
28
+ "@quenty/brio": "^14.5.0",
29
+ "@quenty/enumutils": "^3.2.0",
30
+ "@quenty/loader": "^10.4.0",
31
+ "@quenty/maid": "^3.3.0",
32
+ "@quenty/memoize": "^1.2.0",
33
+ "@quenty/promise": "^10.4.0",
34
+ "@quenty/rx": "^13.5.0",
35
+ "@quenty/symbol": "^3.1.0"
35
36
  },
36
37
  "publishConfig": {
37
38
  "access": "public"
38
39
  },
39
- "gitHead": "601c9671f09638be4f326e41fcfe3343ccfe76d8"
40
+ "gitHead": "fb172906f3ee725269ec1e5f4daf9dca227e729d"
40
41
  }
@@ -0,0 +1,29 @@
1
+ --[=[
2
+ @class CatalogSearchServiceCache
3
+ ]=]
4
+
5
+ local require = require(script.Parent.loader).load(script)
6
+
7
+ local MemorizeUtils = require("MemorizeUtils")
8
+ local AvatarEditorUtils = require("AvatarEditorUtils")
9
+
10
+ local CatalogSearchServiceCache = {}
11
+ CatalogSearchServiceCache.ServiceName = "CatalogSearchServiceCache"
12
+
13
+ function CatalogSearchServiceCache:Init(serviceBag)
14
+ assert(not self._serviceBag, "Already initialized")
15
+ self._serviceBag = assert(serviceBag, "No serviceBag")
16
+
17
+ self._promiseSearchCatalog = MemorizeUtils.memoize(function(params)
18
+ return AvatarEditorUtils.promiseSearchCatalog(params)
19
+ end)
20
+
21
+ end
22
+
23
+
24
+ function CatalogSearchServiceCache:PromiseSearchCatalog(params)
25
+ return self._promiseSearchCatalog(params)
26
+ end
27
+
28
+
29
+ return CatalogSearchServiceCache