@trustvc/trustvc 1.4.8 → 1.4.9
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/dist/cjs/utils/gasStation/index.js +26 -0
- package/dist/cjs/utils/index.js +7 -0
- package/dist/esm/utils/gasStation/index.js +1 -0
- package/dist/esm/utils/index.js +1 -0
- package/dist/types/index.d.ts +1 -1
- package/dist/types/utils/gasStation/index.d.ts +1 -0
- package/dist/types/utils/index.d.ts +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var tradetrustUtils = require('@tradetrust-tt/tradetrust-utils');
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
Object.defineProperty(exports, "GasStationFeeData", {
|
|
8
|
+
enumerable: true,
|
|
9
|
+
get: function () { return tradetrustUtils.GasStationFeeData; }
|
|
10
|
+
});
|
|
11
|
+
Object.defineProperty(exports, "GasStationFunction", {
|
|
12
|
+
enumerable: true,
|
|
13
|
+
get: function () { return tradetrustUtils.GasStationFunction; }
|
|
14
|
+
});
|
|
15
|
+
Object.defineProperty(exports, "calculateMaxFee", {
|
|
16
|
+
enumerable: true,
|
|
17
|
+
get: function () { return tradetrustUtils.calculateMaxFee; }
|
|
18
|
+
});
|
|
19
|
+
Object.defineProperty(exports, "gasStation", {
|
|
20
|
+
enumerable: true,
|
|
21
|
+
get: function () { return tradetrustUtils.gasStation; }
|
|
22
|
+
});
|
|
23
|
+
Object.defineProperty(exports, "scaleBigNumber", {
|
|
24
|
+
enumerable: true,
|
|
25
|
+
get: function () { return tradetrustUtils.scaleBigNumber; }
|
|
26
|
+
});
|
package/dist/cjs/utils/index.js
CHANGED
|
@@ -6,6 +6,7 @@ var stringUtils = require('./stringUtils');
|
|
|
6
6
|
var supportedChains = require('./supportedChains');
|
|
7
7
|
var errorMessages = require('./errorMessages');
|
|
8
8
|
var documents = require('./documents');
|
|
9
|
+
var gasStation = require('./gasStation');
|
|
9
10
|
|
|
10
11
|
|
|
11
12
|
|
|
@@ -45,3 +46,9 @@ Object.keys(documents).forEach(function (k) {
|
|
|
45
46
|
get: function () { return documents[k]; }
|
|
46
47
|
});
|
|
47
48
|
});
|
|
49
|
+
Object.keys(gasStation).forEach(function (k) {
|
|
50
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
51
|
+
enumerable: true,
|
|
52
|
+
get: function () { return gasStation[k]; }
|
|
53
|
+
});
|
|
54
|
+
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { GasStationFeeData, GasStationFunction, calculateMaxFee, gasStation, scaleBigNumber } from '@tradetrust-tt/tradetrust-utils';
|
package/dist/esm/utils/index.js
CHANGED
package/dist/types/index.d.ts
CHANGED
|
@@ -35,7 +35,7 @@ export { RawVerifiableCredential, SignedVerifiableCredential, SigningResult, Ver
|
|
|
35
35
|
export { PrivateKeyPair } from '@trustvc/w3c-issuer';
|
|
36
36
|
export { i as vc } from './index-1ws_BWZW.js';
|
|
37
37
|
export { verifyW3CSignature } from './w3c/verify.js';
|
|
38
|
-
export { errorMessageHandling, CONSTANTS as errorMessages, interpretFragments } from '@tradetrust-tt/tradetrust-utils';
|
|
38
|
+
export { GasStationFeeData, GasStationFunction, calculateMaxFee, errorMessageHandling, CONSTANTS as errorMessages, gasStation, interpretFragments, scaleBigNumber } from '@tradetrust-tt/tradetrust-utils';
|
|
39
39
|
export * from '@tradetrust-tt/tradetrust-utils/constants/network';
|
|
40
40
|
export { generate12ByteNonce, generate32ByteKey, stringToUint8Array } from './utils/stringUtils/index.js';
|
|
41
41
|
export * from '@tradetrust-tt/tradetrust-utils/constants/supportedChains';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { GasStationFeeData, GasStationFunction, calculateMaxFee, gasStation, scaleBigNumber } from '@tradetrust-tt/tradetrust-utils';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { errorMessageHandling, CONSTANTS as errorMessages, interpretFragments } from '@tradetrust-tt/tradetrust-utils';
|
|
1
|
+
export { GasStationFeeData, GasStationFunction, calculateMaxFee, errorMessageHandling, CONSTANTS as errorMessages, gasStation, interpretFragments, scaleBigNumber } from '@tradetrust-tt/tradetrust-utils';
|
|
2
2
|
export * from '@tradetrust-tt/tradetrust-utils/constants/network';
|
|
3
3
|
export { generate12ByteNonce, generate32ByteKey, stringToUint8Array } from './stringUtils/index.js';
|
|
4
4
|
export * from '@tradetrust-tt/tradetrust-utils/constants/supportedChains';
|