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

upgrade to ucan 0.9 #95

Merged
merged 17 commits into from
Sep 30, 2022
Merged

upgrade to ucan 0.9 #95

merged 17 commits into from
Sep 30, 2022

Conversation

Gozala
Copy link
Collaborator

@Gozala Gozala commented Sep 22, 2022

No description provided.

@Gozala Gozala changed the title upgrate to ucan 0.9 upgrade to ucan 0.9 Sep 22, 2022
@@ -390,3 +384,7 @@ export interface URI<P extends Protocol = Protocol> extends URL {
export type URIString<P extends URI> = `${URI['protocol']}${string}` & {
protocol?: Protocol
}

Copy link
Collaborator Author

@Gozala Gozala Sep 26, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

export interface Verifier {
   verify(did: UCAN.DID, signature: Signature): Await<boolean>
}

@@ -390,3 +384,7 @@ export interface URI<P extends Protocol = Protocol> extends URL {
export type URIString<P extends URI> = `${URI['protocol']}${string}` & {
protocol?: Protocol
}

export interface PrincipalParser {
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
export interface PrincipalParser {
export interface VerifierParser {

Object.defineProperties(this, { bytes: { value: bytes } })
return bytes
}
class Ed25519Principal extends Uint8Array {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
class Ed25519Principal extends Uint8Array {
class Ed25519Verifier extends Uint8Array {

@@ -31,7 +31,7 @@
"dependencies": {
"@ipld/car": "^4.1.5",
"@ipld/dag-cbor": "^7.0.3",
"@ipld/dag-ucan": "3.0.0-beta",
"@ipld/dag-ucan": "link:/Users/gozala/Projects/js-dag-ucan",
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"@ipld/dag-ucan": "link:/Users/gozala/Projects/js-dag-ucan",
"@ipld/dag-ucan": "4.0.0-beta",

@@ -23,7 +23,7 @@
"build": "tsc --build"
},
"dependencies": {
"@ipld/dag-ucan": "3.0.0-beta",
"@ipld/dag-ucan": "link:/Users/gozala/Projects/js-dag-ucan",
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"@ipld/dag-ucan": "link:/Users/gozala/Projects/js-dag-ucan",
"@ipld/dag-ucan": "4.0.0-beta",

"typecheck": "tsc --build",
"build": "tsc --build"
},
"dependencies": {
"@ipld/dag-ucan": "3.0.0-beta",
"@ipld/dag-ucan": "link:/Users/gozala/Projects/js-dag-ucan",
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"@ipld/dag-ucan": "link:/Users/gozala/Projects/js-dag-ucan",
"@ipld/dag-ucan": "4.0.0-beta",

This was referenced Dec 14, 2022
This was referenced Apr 11, 2023
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.

2 participants