ship 1.4.46:Arcrun@340b461f58ed

This commit is contained in:
ship
2026-08-15 00:09:52 +08:00
parent dcfd202bd9
commit 64563a51fb
3 changed files with 12 additions and 9 deletions
+3
View File
@@ -3791,6 +3791,9 @@ async function resolveCredentialRefs(data, env, apiKey) {
if (names.size === 0) return data;
const nameList = [...names];
const resolvedSecrets = await resolveSecretsFromNewHome(env, apiKey, nameList);
if (nameList.every((n) => Object.prototype.hasOwnProperty.call(resolvedSecrets, n))) {
return replaceCredentialRefs(data, resolvedSecrets);
}
const url = wasmWorkerUrl("auth_static_key", env.WORKER_SUBDOMAIN);
const res = await fetch(url, {
method: "POST",