From 908d5f04e591d1d8e00a61f3617674dc42f9aeb6 Mon Sep 17 00:00:00 2001 From: LiranCohen Date: Fri, 19 Jan 2024 16:19:19 -0500 Subject: [PATCH] use the TBD engineering endpoint (#666) --- src/did/did-ion-resolver.ts | 2 +- tests/did/did-ion-resolver.spec.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/did/did-ion-resolver.ts b/src/did/did-ion-resolver.ts index 211a44fb8..baeaa5a6b 100644 --- a/src/did/did-ion-resolver.ts +++ b/src/did/did-ion-resolver.ts @@ -17,7 +17,7 @@ export class DidIonResolver implements DidMethodResolver { /** * @param resolutionEndpoint optional custom URL to send DID resolution request to */ - constructor (private resolutionEndpoint: string = 'https://discover.did.msidentity.com/1.0/identifiers/') { } + constructor (private resolutionEndpoint: string = 'https://ion.tbd.engineering/identifiers/') { } method(): string { return 'ion'; diff --git a/tests/did/did-ion-resolver.spec.ts b/tests/did/did-ion-resolver.spec.ts index c7d6b9156..62c5a0ab9 100644 --- a/tests/did/did-ion-resolver.spec.ts +++ b/tests/did/did-ion-resolver.spec.ts @@ -7,7 +7,7 @@ import { DidIonResolver } from '../../src/did/did-ion-resolver.js'; chai.use(chaiAsPromised); describe('DidIonResolver', () => { - const defaultResolutionEndpoint = 'https://discover.did.msidentity.com/1.0/identifiers/'; + const defaultResolutionEndpoint = 'https://ion.tbd.engineering/identifiers/'; it('should set a default resolution endpoint when none is given in constructor', async () => { const didIonResolver = new DidIonResolver();