Skip to content
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

Merged
merged 5 commits into from
Sep 19, 2023

Conversation

smohan-dw
Copy link
Member

companion - dhiway/cord#223
Breaking change - extrinsicAuthorship -> networkMembership.

  • Network membership functions take two arguments - AccountID, bool

@amarts
Copy link
Member

amarts commented Sep 7, 2023

Tried this with dhiway/cord#223 and was able to run the demo successfully.

@smohan-dw smohan-dw changed the title DO NOT MERGE! Package updates & Network Membership Package updates & Network Membership Sep 17, 2023
@smohan-dw smohan-dw marked this pull request as ready for review September 17, 2023 10:48
@@ -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))
Copy link
Member

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)
Copy link
Member

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.

Copy link
Contributor

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",
Copy link
Member

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.

@amarts amarts merged commit e776b17 into dhiway:develop Sep 19, 2023
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants