dkg.js 6.0.13 → 6.0.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/constants.js CHANGED
@@ -43,6 +43,12 @@ const BLOCKCHAINS = {
43
43
  },
44
44
  };
45
45
 
46
+ const TRANSACTION_RETRY_ERRORS = [
47
+ 'transaction was not mined',
48
+ 'already known',
49
+ 'replacement transaction underpriced',
50
+ ];
51
+
46
52
  const WEBSOCKET_PROVIDER_OPTIONS = {
47
53
  reconnect: {
48
54
  auto: true,
@@ -146,6 +152,7 @@ module.exports = {
146
152
  DID_PREFIX,
147
153
  PRIVATE_ASSERTION_PREDICATE,
148
154
  BLOCKCHAINS,
155
+ TRANSACTION_RETRY_ERRORS,
149
156
  WEBSOCKET_PROVIDER_OPTIONS,
150
157
  OPERATIONS,
151
158
  OPERATION_STATUSES,