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

migrate to ethers #76

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 0 additions & 13 deletions constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,18 +43,6 @@ const BLOCKCHAINS = {
},
};

const WEBSOCKET_PROVIDER_OPTIONS = {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Comment left to check wss connection

reconnect: {
auto: true,
delay: 1000, // ms
maxAttempts: 3,
},
clientConfig: {
keepalive: true,
keepaliveInterval: 30 * 1000, // ms
},
};

const OPERATIONS = {
PUBLISH: 'publish',
GET: 'get',
Expand Down Expand Up @@ -145,7 +133,6 @@ module.exports = {
DID_PREFIX,
PRIVATE_ASSERTION_PREDICATE,
BLOCKCHAINS,
WEBSOCKET_PROVIDER_OPTIONS,
OPERATIONS,
OPERATION_STATUSES,
ASSERTION_STATES,
Expand Down
2 changes: 1 addition & 1 deletion dist/dkg.min.js

Large diffs are not rendered by default.

10 changes: 8 additions & 2 deletions dist/dkg.min.js.LICENSE.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
/*!
* Copyright (c) 2016-2021 Digital Bazaar, Inc. All rights reserved.
zeroxbt marked this conversation as resolved.
Show resolved Hide resolved
*/

/*!
* Copyright (c) 2016-2022 Digital Bazaar, Inc. All rights reserved.
*/

/*!
* The buffer module from node.js, for the browser.
*
Expand All @@ -13,8 +21,6 @@

/*! noble-secp256k1 - MIT License (c) 2019 Paul Miller (paulmillr.com) */

/*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */

/**
* A JavaScript implementation of the JSON-LD API.
*
Expand Down
Loading