@quenty/secrets 7.28.1-canary.97cfa97.0 → 7.29.1-canary.a565916.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,7 +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
- ## [7.28.1-canary.97cfa97.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/secrets@7.28.0...@quenty/secrets@7.28.1-canary.97cfa97.0) (2025-10-08)
6
+ ## [7.29.1-canary.a565916.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/secrets@7.29.0...@quenty/secrets@7.29.1-canary.a565916.0) (2025-11-07)
7
+
8
+
9
+ ### Features
10
+
11
+ * Support native Roblox secrets for back compatibility ([970cccc](https://github.com/Quenty/NevermoreEngine/commit/970cccc023f8516d4358905dac38bd5362687a6e))
12
+
13
+
14
+
15
+
16
+
17
+ # [7.29.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/secrets@7.28.0...@quenty/secrets@7.29.0) (2025-10-08)
7
18
 
8
19
  **Note:** Version bump only for package @quenty/secrets
9
20
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quenty/secrets",
3
- "version": "7.28.1-canary.97cfa97.0",
3
+ "version": "7.29.1-canary.a565916.0",
4
4
  "description": "Secrets storage system and API surface",
5
5
  "keywords": [
6
6
  "Roblox",
@@ -25,12 +25,12 @@
25
25
  "Quenty"
26
26
  ],
27
27
  "dependencies": {
28
- "@quenty/cmdrservice": "13.27.1-canary.97cfa97.0",
29
- "@quenty/datastore": "13.24.1-canary.97cfa97.0",
28
+ "@quenty/cmdrservice": "13.28.1-canary.a565916.0",
29
+ "@quenty/datastore": "13.25.0",
30
30
  "@quenty/ellipticcurvecryptography": "1.7.0",
31
31
  "@quenty/loader": "10.9.0",
32
32
  "@quenty/maid": "3.5.0",
33
- "@quenty/permissionprovider": "14.23.0",
33
+ "@quenty/permissionprovider": "14.23.1-canary.a565916.0",
34
34
  "@quenty/promise": "10.12.0",
35
35
  "@quenty/remotefunctionutils": "10.12.0",
36
36
  "@quenty/remoting": "12.21.0",
@@ -41,5 +41,5 @@
41
41
  "publishConfig": {
42
42
  "access": "public"
43
43
  },
44
- "gitHead": "97cfa9787cc2d93e90e6d9a9f1a3c3c57b87a8a5"
44
+ "gitHead": "a565916e05556d37646bbd38587239460ad49719"
45
45
  }
@@ -103,7 +103,7 @@ function SecretsCommandService:_registerCommands()
103
103
  local secret = self._secretsService:PromiseSecret(secretKey):Wait()
104
104
 
105
105
  if secret then
106
- return secret
106
+ return tostring(secret)
107
107
  else
108
108
  return "<no value>"
109
109
  end
@@ -4,6 +4,8 @@
4
4
 
5
5
  local require = require(script.Parent.loader).load(script)
6
6
 
7
+ local HttpService = game:GetService("HttpService")
8
+
7
9
  local EllipticCurveCryptography = require("EllipticCurveCryptography")
8
10
  local GetRemoteFunction = require("GetRemoteFunction")
9
11
  local Maid = require("Maid")
@@ -65,9 +67,17 @@ end
65
67
  @param secretKey string
66
68
  @return Promise<string>
67
69
  ]=]
68
- function SecretsService:PromiseSecret(secretKey: string): Promise.Promise<string>
70
+ function SecretsService:PromiseSecret(secretKey: string): Promise.Promise<string | Secret>
69
71
  assert(type(secretKey) == "string", "Bad secretKey")
70
72
 
73
+ local found
74
+ local loadOk, _err = pcall(function()
75
+ found = HttpService:GetSecret(secretKey)
76
+ end)
77
+ if loadOk and found then
78
+ return Promise.resolved(found)
79
+ end
80
+
71
81
  return self:_promiseSubstore():Then(function(substore)
72
82
  return self._maid:GivePromise(substore:Load(secretKey)):Then(function(data)
73
83
  if type(data) ~= "table" then