Skip to content

Commit

Permalink
Removing republishing dids warning (#1425)
Browse files Browse the repository at this point in the history
* Removing republishing dids warning

* remove republish from kotlin

* triggering the nelify tests
  • Loading branch information
blackgirlbytes committed May 10, 2024
1 parent 0a9adcf commit cc3a3ac
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,6 @@ The following DID methods are supported:
]}
/>

:::danger Important: Weekly Republishing Required for `did:dht` DIDs
**Temporarily** DIDs created using the `did:dht` method **must** be republished weekly to prevent them from becoming unresolvable. An automatic republishing feature will be integrated into the SDK in the coming weeks.
:::

### did\:jwk

<Shnip
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,7 @@ import { DidJwk } from '@web5/dids'

// DID Document
const didDocument = JSON.stringify(didDht.document);

// Republish DID
const republishedDid = await DidDht.publish({did: didDht});


// :snippet-end:

expect(did).toMatch(/^did:dht:/);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,7 @@ internal class HowToCreateDidTest {

//DID Document
val didDocument = portableDid.didDocument

//Republish Did
DidDht.publish( didDht.keyManager, didDht.document )



// :snippet-end:

assertNotNull(did, "DID should not be null")
Expand Down

0 comments on commit cc3a3ac

Please sign in to comment.