Skip to content
This repository has been archived by the owner on Jan 1, 2025. It is now read-only.

Commit

Permalink
fix: workaround to fix last keypath issue in SDKs.
Browse files Browse the repository at this point in the history
Signed-off-by: Francisco Javier Ribó Labrador <elribonazo@gmail.com>
  • Loading branch information
elribonazo committed Feb 10, 2024
1 parent 9975442 commit f4d1f94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/schemas/src/schemas/did/static.ts
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ export const DIDStaticMethods: DIDStaticMethodTypes = {
if (!key) {
return null
}
return key.index || 0
return key.index++ || 0
},

async getPrismLastKeyPathIndex(): Promise<number> {
Expand Down

0 comments on commit f4d1f94

Please sign in to comment.