refactor: createEntry should return SignedRegistryEntry

This commit is contained in:
Derrick Hammer 2023-12-11 22:55:02 -05:00
parent be0f6298c3
commit 27c4e94072
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 5 additions and 1 deletions

View File

@ -139,5 +139,9 @@ export async function createEntry(
revision,
};
return this.publishEntry(signRegistryEntry(entry));
const signedEntry = signRegistryEntry(entry);
await this.publishEntry(signedEntry);
return signedEntry;
}