@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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cheqd/did-provider-cheqd",
3
- "version": "4.6.2-develop.3",
3
+ "version": "4.6.2-develop.4",
4
4
  "description": "Veramo SDK plugin for the did:cheqd DID method",
5
5
  "license": "Apache-2.0",
6
6
  "author": "Cheqd Foundation Limited (https://github.com/cheqd)",
@@ -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') {