refactor: createEntry should return SignedRegistryEntry
This commit is contained in:
parent
be0f6298c3
commit
27c4e94072
|
@ -139,5 +139,9 @@ export async function createEntry(
|
|||
revision,
|
||||
};
|
||||
|
||||
return this.publishEntry(signRegistryEntry(entry));
|
||||
const signedEntry = signRegistryEntry(entry);
|
||||
|
||||
await this.publishEntry(signedEntry);
|
||||
|
||||
return signedEntry;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue