@cheqd/did-provider-cheqd 4.6.2-develop.3 → 4.6.2-develop.4
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
|
@@ -351,7 +351,7 @@ export class CheqdSignInfoProvider {
|
|
|
351
351
|
|
|
352
352
|
// Iterate over authenticationMethods which are additional in the updatedDidDocument
|
|
353
353
|
const actualAuthentication = actualDIDDocument.didDocument.authentication;
|
|
354
|
-
const additionalAuthentication = didDocument.authentication?.filter((a) => actualAuthentication?.includes(a));
|
|
354
|
+
const additionalAuthentication = didDocument.authentication?.filter((a) => !actualAuthentication?.includes(a));
|
|
355
355
|
const verificationMethods: VerificationMethod[] = [];
|
|
356
356
|
for (const auth of additionalAuthentication as string[]) {
|
|
357
357
|
if (typeof auth === 'string') {
|