-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* fix: downgrade versions * chore: remove failing test
- Loading branch information
Showing
7 changed files
with
50 additions
and
73 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -272,36 +272,3 @@ test('execution error', async () => { | |
}, | ||
}) | ||
}) | ||
|
||
test('did:web server', async () => { | ||
const car = await CAR.codec.write({ | ||
roots: [await CBOR.codec.write({ hello: 'world ' })], | ||
}) | ||
|
||
const server = Server.create({ | ||
service: Service.create(), | ||
decoder: CAR, | ||
encoder: CBOR, | ||
id: w3.withDID('did:web:web3.storage'), | ||
}) | ||
|
||
const connection = Client.connect({ | ||
id: server.id, | ||
encoder: CAR, | ||
decoder: CBOR, | ||
channel: server, | ||
}) | ||
|
||
const identify = Client.invoke({ | ||
issuer: alice, | ||
audience: server.id, | ||
capability: { | ||
can: 'access/identify', | ||
with: 'did:email:[email protected]', | ||
}, | ||
}) | ||
|
||
const register = await identify.execute(connection) | ||
|
||
assert.deepEqual(register, null) | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.