-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Package updates & Network Membership #119
Conversation
Tried this with dhiway/cord#223 and was able to run the demo successfully. |
@@ -47,7 +47,7 @@ export async function createDid( | |||
await Cord.Chain.signAndSubmitTx(didCreationTx, submitterAccount) | |||
|
|||
const didUri = Cord.Did.getDidUriFromKey(authentication) | |||
const encodedDid = await api.call.did.query(Cord.Did.toChain(didUri)) | |||
const encodedDid = await api.call.didApi.query(Cord.Did.toChain(didUri)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Vikastc @ujjwal6792 Please note this change. With the cord.js upgrade, this would be impacting the cord-apis
repo.
@@ -12,7 +12,7 @@ export async function getDidDocFromName( | |||
console.log(`\n❄️ Resolve DID name ${didName} `) | |||
|
|||
// Query the owner of the provided didName. | |||
const encodedDidNameOwner = await api.call.did.queryByName(didName) | |||
const encodedDidNameOwner = await api.call.didApi.queryByName(didName) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Vikastc @ujjwal6792 same here, impact on cord-apis
repo.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok
"glob": "^7.1.1", | ||
"rimraf": "^3.0.2", | ||
"ts-node": "^10.9.0", | ||
"ts-node": "^10.4.0", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nitpick: this is lowering the version. All others are about increments.
companion - dhiway/cord#223
Breaking change - extrinsicAuthorship -> networkMembership.