diff --git a/package.json b/package.json index 4f389c4..c3cc0b7 100644 --- a/package.json +++ b/package.json @@ -29,9 +29,9 @@ "dependencies": { "@credo-ts/askar": "0.5.3", "@credo-ts/core": "0.5.3", - "@ayanworks/polygon-did-registrar": "0.0.16-alpha.21", - "@ayanworks/polygon-did-resolver": "0.0.16-alpha.16", - "@ayanworks/polygon-schema-manager": "0.0.2-alpha.11", + "@ayanworks/polygon-did-registrar": "1.0.0", + "@ayanworks/polygon-did-resolver": "1.0.0", + "@ayanworks/polygon-schema-manager": "1.0.0", "did-resolver": "^4.1.0", "ethers": "^6.9.0" }, @@ -59,5 +59,6 @@ "ts-node": "^10.8.1", "tsconfig-paths": "^4.1.2", "typescript": "~4.9.5" - } + }, + "packageManager": "yarn@1.22.22" } diff --git a/tests/fixtures.ts b/tests/fixtures.ts index 0c427a8..b80857f 100644 --- a/tests/fixtures.ts +++ b/tests/fixtures.ts @@ -27,10 +27,10 @@ export const EcdsaSecp256k1Signature2019Fixtures = { }, }, TEST_LD_DOCUMENT_SIGNED: { - '@context': [CREDENTIALS_CONTEXT_V1_URL, 'https://w3id.org/citizenship/v1'], + context: [CREDENTIALS_CONTEXT_V1_URL, 'https://w3id.org/citizenship/v1'], id: 'https://issuer.oidp.uscis.gov/credentials/83627465', type: ['VerifiableCredential', 'PermanentResidentCard'], - issuer: 'did:polygon:testnet:0x26C2809EC8385bB15eb66586582e3D4626ee63C7', + issuer: 'did:polygon:testnet:0x138d2231e4362fc0e028576Fb2DF56904bd59C1b', identifier: '83627465', name: 'Permanent Resident Card', description: 'Government of Example Permanent Resident Card.', @@ -51,11 +51,11 @@ export const EcdsaSecp256k1Signature2019Fixtures = { birthDate: '1958-07-17', }, proof: { - verificationMethod: 'did:polygon:testnet:0x26C2809EC8385bB15eb66586582e3D4626ee63C7#key-1', + verificationMethod: 'did:polygon:testnet:0x138d2231e4362fc0e028576Fb2DF56904bd59C1b#key-1', type: 'EcdsaSecp256k1Signature2019', - created: '2024-01-11T07:15:42Z', + created: '2024-11-06T05:54:10Z', proofPurpose: 'assertionMethod', - jws: 'eyJhbGciOiJFY0RTQSIsImI2NCI6ZmFsc2UsImNyaXQiOlsiYjY0Il19..gbRPzNWJLb24wRFJR1Gr80b7gKTrMTYiov97dnduFdZW8IcCVBpTjqUBy84gZtjwaq__kkxfSea-oZ7k4FDeDw', + jws: 'eyJhbGciOiJFY0RTQSIsImI2NCI6ZmFsc2UsImNyaXQiOlsiYjY0Il19..uFngoIS-sGdN88scCqrU4xalBWz9_auKO6Vt0PKWoUJ4g-xOMoY1FIHjeLm2czjYXEy9nZlqQIUkH_4IaorE3A', }, }, TEST_LD_DOCUMENT_BAD_SIGNED: { @@ -95,10 +95,10 @@ export const EcdsaSecp256k1Signature2019Fixtures = { type: ['VerifiablePresentation'], verifiableCredential: [ { - '@context': [CREDENTIALS_CONTEXT_V1_URL, 'https://w3id.org/citizenship/v1'], + context: [CREDENTIALS_CONTEXT_V1_URL, 'https://w3id.org/citizenship/v1'], id: 'https://issuer.oidp.uscis.gov/credentials/83627465', type: ['VerifiableCredential', 'PermanentResidentCard'], - issuer: 'did:polygon:testnet:0x26C2809EC8385bB15eb66586582e3D4626ee63C7', + issuer: 'did:polygon:testnet:0x138d2231e4362fc0e028576Fb2DF56904bd59C1b', identifier: '83627465', name: 'Permanent Resident Card', description: 'Government of Example Permanent Resident Card.', @@ -119,31 +119,30 @@ export const EcdsaSecp256k1Signature2019Fixtures = { birthDate: '1958-07-17', }, proof: { - verificationMethod: 'did:polygon:testnet:0x26C2809EC8385bB15eb66586582e3D4626ee63C7#key-1', + verificationMethod: 'did:polygon:testnet:0x138d2231e4362fc0e028576Fb2DF56904bd59C1b#key-1', type: 'EcdsaSecp256k1Signature2019', - created: '2024-01-11T07:15:42Z', + created: '2024-11-06T06:03:13Z', proofPurpose: 'assertionMethod', - jws: 'eyJhbGciOiJFY0RTQSIsImI2NCI6ZmFsc2UsImNyaXQiOlsiYjY0Il19..gbRPzNWJLb24wRFJR1Gr80b7gKTrMTYiov97dnduFdZW8IcCVBpTjqUBy84gZtjwaq__kkxfSea-oZ7k4FDeDw', + jws: 'eyJhbGciOiJFY0RTQSIsImI2NCI6ZmFsc2UsImNyaXQiOlsiYjY0Il19..7BVlhFVaucFfnq7ZFBYwvMA_SbMAf7HOQ3U70UuiDmkglV5mgyKafDNxxSvM0mIUKLm8VEda7c7yAyPLTGIhDQ', }, }, ], }, TEST_VP_DOCUMENT_SIGNED: { - context: ['https://www.w3.org/2018/credentials/v1'], + '@context': ['https://www.w3.org/2018/credentials/v1'], type: ['VerifiablePresentation'], verifiableCredential: [ { - context: ['https://www.w3.org/2018/credentials/v1', 'https://w3id.org/citizenship/v1'], + '@context': ['https://www.w3.org/2018/credentials/v1', 'https://w3id.org/citizenship/v1'], id: 'https://issuer.oidp.uscis.gov/credentials/83627465', type: ['VerifiableCredential', 'PermanentResidentCard'], - issuer: 'did:polygon:testnet:0x26C2809EC8385bB15eb66586582e3D4626ee63C7', + issuer: 'did:polygon:testnet:0x138d2231e4362fc0e028576Fb2DF56904bd59C1b', identifier: '83627465', name: 'Permanent Resident Card', description: 'Government of Example Permanent Resident Card.', issuanceDate: '2019-12-03T12:19:52Z', expirationDate: '2029-12-03T12:19:52Z', credentialSubject: { - id: 'did:example:b34ca6cd37bbf23', type: ['PermanentResident', 'Person'], givenName: 'JOHN', familyName: 'SMITH', @@ -155,51 +154,62 @@ export const EcdsaSecp256k1Signature2019Fixtures = { commuterClassification: 'C1', birthCountry: 'Bahamas', birthDate: '1958-07-17', + id: 'did:example:b34ca6cd37bbf23', }, proof: { - verificationMethod: 'did:polygon:testnet:0x26C2809EC8385bB15eb66586582e3D4626ee63C7#key-1', + verificationMethod: 'did:polygon:testnet:0x138d2231e4362fc0e028576Fb2DF56904bd59C1b#key-1', type: 'EcdsaSecp256k1Signature2019', - created: '2024-01-11T07:15:42Z', + created: '2024-11-06T06:03:13Z', proofPurpose: 'assertionMethod', - jws: 'eyJhbGciOiJFY0RTQSIsImI2NCI6ZmFsc2UsImNyaXQiOlsiYjY0Il19..gbRPzNWJLb24wRFJR1Gr80b7gKTrMTYiov97dnduFdZW8IcCVBpTjqUBy84gZtjwaq__kkxfSea-oZ7k4FDeDw', + jws: 'eyJhbGciOiJFY0RTQSIsImI2NCI6ZmFsc2UsImNyaXQiOlsiYjY0Il19..7BVlhFVaucFfnq7ZFBYwvMA_SbMAf7HOQ3U70UuiDmkglV5mgyKafDNxxSvM0mIUKLm8VEda7c7yAyPLTGIhDQ', }, }, ], proof: { - verificationMethod: 'did:polygon:testnet:0x26C2809EC8385bB15eb66586582e3D4626ee63C7#key-1', + verificationMethod: 'did:polygon:testnet:0x138d2231e4362fc0e028576Fb2DF56904bd59C1b#key-1', type: 'EcdsaSecp256k1Signature2019', - created: '2024-01-11T07:22:52Z', + created: '2024-11-06T06:08:18Z', proofPurpose: 'authentication', challenge: '7bf32d0b-39d4-41f3-96b6-45de52988e4c', domain: 'issuer.example.com', - jws: 'eyJhbGciOiJFY0RTQSIsImI2NCI6ZmFsc2UsImNyaXQiOlsiYjY0Il19..apbxlDm-ijaGKyEhZMR7Ax-XZxi_K5aYeIMOjV2eoOoXBLX5bPlScWb3o-JCw3QqzlGdjO911elW9qbjMDSqhg', + jws: 'eyJhbGciOiJFY0RTQSIsImI2NCI6ZmFsc2UsImNyaXQiOlsiYjY0Il19..4EMiMJG-JS4I5NeuAGUQ_nNlp9XwaRKPHMKLSEykARI36fXtsJlmHXeScf8oSdF8SBJDX5ddhQ8oLA9qQMI2ig', }, }, } export const PolygonDIDFixtures = { VALID_DID_DOCUMENT: { - '@context': ['https://w3id.org/did/v1', 'https://w3id.org/security/suites/secp256k1-2019/v1'], - id: 'did:polygon:testnet:0x186f462430f90fee2b58609Dcf0539F08c400A72', - verificationMethod: [ - { - id: 'did:polygon:testnet:0x186f462430f90fee2b58609Dcf0539F08c400A72#$key-1', - type: 'EcdsaSecp256k1VerificationKey2019', - controller: 'did:polygon:testnet:0x186f462430f90fee2b58609Dcf0539F08c400A72', - publicKeyBase58: 'uWa49bYNSW9JSdcYJbXRjYw2a5nFW8MLusUYjWKjKoay', - }, - ], - service: [ - { - id: 'did:polygon:testnet:0x186f462430f90fee2b58609Dcf0539F08c400A72#linked-domain', - serviceEndpoint: 'https://example.com', - type: 'LinkedDomains', - }, - ], - authentication: ['did:polygon:testnet:0x186f462430f90fee2b58609Dcf0539F08c400A72#$key-1'], - assertionMethod: ['did:polygon:testnet:0x186f462430f90fee2b58609Dcf0539F08c400A72#$key-1'], - keyAgreement: ['did:polygon:testnet:0x186f462430f90fee2b58609Dcf0539F08c400A72#$key-1'], - capabilityInvocation: ['did:polygon:testnet:0x186f462430f90fee2b58609Dcf0539F08c400A72#$key-1'], - capabilityDelegation: ['did:polygon:testnet:0x186f462430f90fee2b58609Dcf0539F08c400A72#$key-1'], + didDocument: { + '@context': ['https://w3id.org/did/v1', 'https://w3id.org/security/suites/secp256k1-2019/v1'], + id: 'did:polygon:testnet:0x138d2231e4362fc0e028576Fb2DF56904bd59C1b', + verificationMethod: [ + { + id: 'did:polygon:testnet:0x138d2231e4362fc0e028576Fb2DF56904bd59C1b#key-1', + type: 'EcdsaSecp256k1VerificationKey2019', + controller: 'did:polygon:testnet:0x138d2231e4362fc0e028576Fb2DF56904bd59C1b', + publicKeyBase58: '29rkwHiVCjyhXk9FWhepUrHpEyurUSCFHh4aoDqb1adj8', + }, + ], + service: [ + { + id: 'did:polygon:testnet:0x138d2231e4362fc0e028576Fb2DF56904bd59C1b#linked-domain', + serviceEndpoint: 'https://dev-agent.credebl.id', + type: 'LinkedDomains', + }, + ], + authentication: ['did:polygon:testnet:0x138d2231e4362fc0e028576Fb2DF56904bd59C1b#key-1'], + assertionMethod: ['did:polygon:testnet:0x138d2231e4362fc0e028576Fb2DF56904bd59C1b#key-1'], + keyAgreement: ['did:polygon:testnet:0x138d2231e4362fc0e028576Fb2DF56904bd59C1b#key-1'], + capabilityInvocation: ['did:polygon:testnet:0x138d2231e4362fc0e028576Fb2DF56904bd59C1b#key-1'], + capabilityDelegation: ['did:polygon:testnet:0x138d2231e4362fc0e028576Fb2DF56904bd59C1b#key-1'], + }, + didDocumentMetadata: { + linkedResourceMetadata: [], + }, + didResolutionMetadata: { + contentType: 'application/did+ld+json', + resolutionTime: 1730803801926, + servedFromCache: true, + }, }, } diff --git a/tests/polygon-did-utils.e2e.test.ts b/tests/polygon-did-utils.e2e.test.ts index 2fd3803..896b4dd 100644 --- a/tests/polygon-did-utils.e2e.test.ts +++ b/tests/polygon-did-utils.e2e.test.ts @@ -6,7 +6,7 @@ import { PolygonDIDFixtures } from './fixtures' describe('Test Polygon Did Utils', () => { it('should validate did spec compliant payload', () => { - const didDoc = PolygonDIDFixtures.VALID_DID_DOCUMENT as unknown as DidDocument + const didDoc = PolygonDIDFixtures.VALID_DID_DOCUMENT.didDocument as unknown as DidDocument const result = validateSpecCompliantPayload(didDoc) expect(result).toBe(null) }) diff --git a/tests/polygon-did.e2e.test.ts b/tests/polygon-did.e2e.test.ts index 048c047..e2e0062 100644 --- a/tests/polygon-did.e2e.test.ts +++ b/tests/polygon-did.e2e.test.ts @@ -17,7 +17,7 @@ const logger = new ConsoleLogger(LogLevel.info) export type SubjectMessage = { message: EncryptedMessage; replySubject?: Subject } -const did = 'did:polygon:testnet:0x186f462430f90fee2b58609Dcf0539F08c400A72' +const did = 'did:polygon:testnet:0x138d2231e4362fc0e028576Fb2DF56904bd59C1b' describe('Polygon Module did resolver', () => { let aliceAgent: Agent<{ askar: AskarModule; polygon: PolygonModule; dids: DidsModule }> @@ -48,10 +48,10 @@ describe('Polygon Module did resolver', () => { // Add required modules polygon: new PolygonModule({ rpcUrl: 'https://rpc-amoy.polygon.technology', - didContractAddress: '0xC1c392DC1073a86821B4ae37f1F0faCDcFFf45bF', + didContractAddress: '0xcB80F37eDD2bE3570c6C9D5B0888614E04E1e49E', fileServerToken: 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJBeWFuV29ya3MiLCJpZCI6IjdmYjRmN2I3LWQ5ZWUtNDYxOC04OTE4LWZiMmIzYzY1M2EyYiJ9.x-kHeTVqX4w19ibSAspCYgIL-JFVss8yZ0CT21QVRYM', - schemaManagerContractAddress: '0x289c7Bd4C7d38cC54bff370d6f9f01b74Df51b11', + schemaManagerContractAddress: '0x4742d43C2dFCa5a1d4238240Afa8547Daf87Ee7a', serverUrl: 'https://51e1-103-97-166-226.ngrok-free.app', }), dids: new DidsModule({ @@ -71,7 +71,7 @@ describe('Polygon Module did resolver', () => { privateKeys: [ { keyType: KeyType.K256, - privateKey: TypedArrayEncoder.fromHex('393a414a50885766089b0d33ddc22276e141a71a6a1dded4f224e67a0a43cc99'), + privateKey: TypedArrayEncoder.fromHex('5a4a2c79f4bceb4976dde41897b2607e01e6b74a42bc854a7a20059cfa99a095'), }, ], }) @@ -108,24 +108,30 @@ describe('Polygon Module did resolver', () => { describe('PolygonDidResolver', () => { it('should resolve a polygon did when valid did is passed', async () => { const resolvedDIDDoc = await aliceAgent.dids.resolve(did) - - expect(resolvedDIDDoc.didDocument?.context).toEqual(PolygonDIDFixtures.VALID_DID_DOCUMENT['@context']) - expect(resolvedDIDDoc.didDocument?.id).toBe(PolygonDIDFixtures.VALID_DID_DOCUMENT.id) + expect(resolvedDIDDoc.didDocument?.context).toEqual(PolygonDIDFixtures.VALID_DID_DOCUMENT.didDocument['@context']) + expect(resolvedDIDDoc.didDocument?.id).toBe(PolygonDIDFixtures.VALID_DID_DOCUMENT.didDocument.id) expect(resolvedDIDDoc.didDocument?.verificationMethod).toEqual( - PolygonDIDFixtures.VALID_DID_DOCUMENT.verificationMethod + PolygonDIDFixtures.VALID_DID_DOCUMENT.didDocument.verificationMethod + ) + expect(resolvedDIDDoc.didDocument?.authentication).toEqual( + PolygonDIDFixtures.VALID_DID_DOCUMENT.didDocument.authentication + ) + expect(resolvedDIDDoc.didDocument?.assertionMethod).toEqual( + PolygonDIDFixtures.VALID_DID_DOCUMENT.didDocument.assertionMethod ) - expect(resolvedDIDDoc.didDocument?.authentication).toEqual(PolygonDIDFixtures.VALID_DID_DOCUMENT.authentication) - expect(resolvedDIDDoc.didDocument?.assertionMethod).toEqual(PolygonDIDFixtures.VALID_DID_DOCUMENT.assertionMethod) }) - it(`should fail with 'Invalid DID' message when invalid polygon did is passed`, async () => { - const did = 'did:polygon:testnet:0x4A09b8CB511cca4Ca1e07bFc96EF44' + it("should fail with 'Invalid DID' message when invalid polygon did is passed", async () => { + const did = 'did:polygon:testnet:0x525D4605f4EE59e1149987F59668D4f272359093' + + const result = await aliceAgent.dids.resolve(did) - expect(async () => await aliceAgent.dids.resolve(did)).rejects.toThrowError('Invalid DID') + expect(result.didResolutionMetadata.error).toBe('notFound') + expect(result.didResolutionMetadata.message).toContain('resolver_error: Unable to resolve did') }) it('should fail after resolution invalid polygon did is passed', async () => { - const did = 'did:polygon:testnet:0x4A09b8CB511cca4Ca1c54B0475D0e07bFc96EF44' + const did = 'did:polygon:testnet:0x525D4605f4EE59e1149987F59668D4f272359093' const result = await aliceAgent.dids.resolve(did) diff --git a/tests/polygon-schema.test.ts b/tests/polygon-schema.test.ts index 5024fce..7fb4e45 100644 --- a/tests/polygon-schema.test.ts +++ b/tests/polygon-schema.test.ts @@ -16,9 +16,9 @@ const logger = new ConsoleLogger(LogLevel.info) export type SubjectMessage = { message: EncryptedMessage; replySubject?: Subject } -const privateKey = TypedArrayEncoder.fromHex('7229440234c231c8dc067ef2425bc694f202514779a02876c1d273b00adf66fb') +const privateKey = TypedArrayEncoder.fromHex('5a4a2c79f4bceb4976dde41897b2607e01e6b74a42bc854a7a20059cfa99a095') -const testNetdid = 'did:polygon:testnet:0x26C2809EC8385bB15eb66586582e3D4626ee63C7' +const testNetdid = 'did:polygon:testnet:0x138d2231e4362fc0e028576Fb2DF56904bd59C1b' // eslint-disable-next-line @typescript-eslint/no-unused-vars const testSchema = { diff --git a/tests/secp256k1-signature.test.ts b/tests/secp256k1-signature.test.ts index 9a2ebbc..e00720a 100644 --- a/tests/secp256k1-signature.test.ts +++ b/tests/secp256k1-signature.test.ts @@ -57,7 +57,7 @@ describe('Secp256k1 W3cCredentialService', () => { let wallet: AskarWallet let agentContext: AgentContext let w3cJsonLdCredentialService: W3cJsonLdCredentialService - const privateKey = TypedArrayEncoder.fromHex('7229440234c231c8dc067ef2425bc694f202514779a02876c1d273b00adf66fb') + const privateKey = TypedArrayEncoder.fromHex('5a4a2c79f4bceb4976dde41897b2607e01e6b74a42bc854a7a20059cfa99a095') beforeAll(async () => { const agentConfig = getAgentConfig('EcdsaSecp256k1e2eTest') @@ -207,7 +207,7 @@ describe('Secp256k1 W3cCredentialService', () => { const purpose = new CredentialIssuancePurpose({ controller: { - id: 'did:polygon:testnet:0x26C2809EC8385bB15eb66586582e3D4626ee63C7#key-1', + id: verificationMethod, }, date: new Date().toISOString(), }) diff --git a/yarn.lock b/yarn.lock index fc7751d..3df540c 100644 --- a/yarn.lock +++ b/yarn.lock @@ -49,13 +49,13 @@ dependencies: static-eval "2.0.2" -"@ayanworks/polygon-did-registrar@0.0.16-alpha.21": - version "0.0.16-alpha.21" - resolved "https://registry.yarnpkg.com/@ayanworks/polygon-did-registrar/-/polygon-did-registrar-0.0.16-alpha.21.tgz#c499570766c1ece8b74022681f7d55f23e724014" - integrity sha512-9aA/PUhR4WTQrCoPugyxYL+owvsxG669UkxkdI1tb+3KK4tMRuCEKAhLhJyMhob/yq5qScRqsu7nmniM+FKpdA== +"@ayanworks/polygon-did-registrar@1.0.0": + version "1.0.0" + resolved "https://registry.yarnpkg.com/@ayanworks/polygon-did-registrar/-/polygon-did-registrar-1.0.0.tgz#6704a51b154e12c9484c90581a1c9dc41e01dcd3" + integrity sha512-pK6WELi9avhxFk7BGioMFu9U/VL6GLvW6n18QFq8G4EMPMWsAvTfiiqUadTVWU8nuHSOrgpBBW8kN5DPWwJPFg== dependencies: - "@ayanworks/polygon-did-registry-contract" "2.0.1-alpha.8" - "@ayanworks/polygon-did-resolver" "^0.0.16-alpha.16" + "@ayanworks/polygon-did-registry-contract" "3.0.0" + "@ayanworks/polygon-did-resolver" "1.0.0" "@credo-ts/core" "0.5.3" "@ethersproject/basex" "^5.7.0" "@ethersproject/signing-key" "^5.7.0" @@ -65,27 +65,27 @@ ethers "^6.9.0" uuid "^9.0.1" -"@ayanworks/polygon-did-registry-contract@2.0.1-alpha.8": - version "2.0.1-alpha.8" - resolved "https://registry.yarnpkg.com/@ayanworks/polygon-did-registry-contract/-/polygon-did-registry-contract-2.0.1-alpha.8.tgz#f256ae9d854e16bbb9c7425c0d07c5857fff00a1" - integrity sha512-5PI/poy+zWrT3iAQGc4w4hsj39lATIv2ucWeRwMq5uwu1NRQAYRWfoIez4bF/HxBMgI5dYuXWIqLtksLBmTiag== +"@ayanworks/polygon-did-registry-contract@3.0.0": + version "3.0.0" + resolved "https://registry.yarnpkg.com/@ayanworks/polygon-did-registry-contract/-/polygon-did-registry-contract-3.0.0.tgz#52b18768b887e933d44a9713b33dc2efbb1dcf53" + integrity sha512-RnW31nkDIMG1YzuOycxGGrJFpgTcpBwS/UZR6/wMPrsJBKBEN28k2CZImwXkbgaknyTfL7xe1u3C8NxfDvhI4Q== -"@ayanworks/polygon-did-resolver@0.0.16-alpha.16", "@ayanworks/polygon-did-resolver@^0.0.16-alpha.16": - version "0.0.16-alpha.16" - resolved "https://registry.yarnpkg.com/@ayanworks/polygon-did-resolver/-/polygon-did-resolver-0.0.16-alpha.16.tgz#d5465c4355ba9c03b90cfe61d5f1e67a256dbeae" - integrity sha512-+UdFk8/OAItRNx1soKt2DKhR+1RKDcMDVenoaHgcTbEUc3XVcmvqo622BLy2Kqo/VPugHzGpCmaBIOV1JIqM6g== +"@ayanworks/polygon-did-resolver@1.0.0": + version "1.0.0" + resolved "https://registry.yarnpkg.com/@ayanworks/polygon-did-resolver/-/polygon-did-resolver-1.0.0.tgz#4d267004a509fad9a75bb18c6f449f6c51e1f198" + integrity sha512-mzYh3XNQ4HJ0GakP1QD7UOW8PjMAhdtu/TXzeOqMtHLhWktFMQcgJuqNMNxMGbJFdIe12qFJROlle6p1BjF01g== dependencies: - "@ayanworks/polygon-did-registry-contract" "2.0.1-alpha.8" + "@ayanworks/polygon-did-registry-contract" "3.0.0" did-resolver "^4.1.0" ethers "^5.1.0" -"@ayanworks/polygon-schema-manager@0.0.2-alpha.11": - version "0.0.2-alpha.11" - resolved "https://registry.yarnpkg.com/@ayanworks/polygon-schema-manager/-/polygon-schema-manager-0.0.2-alpha.11.tgz#1db7ec6de3b2199d2b0234e186b78190573d9dc9" - integrity sha512-fb3/vZoYhGJYsmInwMAvD7NiNPT/tCo0FPdD0/UBeBg3g3q5OWoFnMNqi8UF4IZY+0/x+FdZzlatxY05kGJCCw== +"@ayanworks/polygon-schema-manager@1.0.0": + version "1.0.0" + resolved "https://registry.yarnpkg.com/@ayanworks/polygon-schema-manager/-/polygon-schema-manager-1.0.0.tgz#5f71320d93e874477906df15be1aacc32906d6aa" + integrity sha512-XByf/mydccNEnfiW83K9WlayvPgrRpLVqX7CwuHtdBTSlrhed+Vc9FnZLIQUsGGnlbowQVLaPteSaKg/lEYUzw== dependencies: - "@ayanworks/polygon-did-registry-contract" "2.0.1-alpha.8" - "@ayanworks/polygon-did-resolver" "^0.0.16-alpha.16" + "@ayanworks/polygon-did-registry-contract" "3.0.0" + "@ayanworks/polygon-did-resolver" "1.0.0" "@nomicfoundation/hardhat-verify" "^2.0.3" axios "^1.6.3" did-resolver "^4.1.0"