@capgo/capacitor-passkey 8.2.1 → 8.2.2
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/package.json
CHANGED
|
@@ -222,7 +222,7 @@ function upsertAssociatedDomains(content, webCredentialEntries) {
|
|
|
222
222
|
const preserved = parsed.items.filter((item) => !item.startsWith('webcredentials:'));
|
|
223
223
|
const merged = [...preserved, ...webCredentialSet];
|
|
224
224
|
const nextBlock = buildAssociatedDomainsBlock(parsed.indent, merged);
|
|
225
|
-
return content.replace(parsed.fullMatch, nextBlock);
|
|
225
|
+
return content.replace(parsed.fullMatch, nextBlock.replace(/\n$/, ''));
|
|
226
226
|
}
|
|
227
227
|
|
|
228
228
|
if (webCredentialEntries.length === 0) {
|