@lucid-evolution/provider 0.2.4 → 0.2.6
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/index.cjs +7 -1
- package/dist/index.js +7 -1
- package/package.json +3 -3
package/dist/index.cjs
CHANGED
|
@@ -144,7 +144,7 @@ var import_utils2 = require("@lucid-evolution/utils");
|
|
|
144
144
|
// package.json
|
|
145
145
|
var package_default = {
|
|
146
146
|
name: "@lucid-evolution/provider",
|
|
147
|
-
version: "0.2.
|
|
147
|
+
version: "0.2.6",
|
|
148
148
|
description: "",
|
|
149
149
|
main: "./dist/index.js",
|
|
150
150
|
types: "./dist/index.d.ts",
|
|
@@ -1445,6 +1445,8 @@ var toAssets = (value) => {
|
|
|
1445
1445
|
};
|
|
1446
1446
|
var toProtocolParameters = (result) => {
|
|
1447
1447
|
return {
|
|
1448
|
+
protocolMajorVersion: result.version.major,
|
|
1449
|
+
protocolMinorVersion: result.version.minor,
|
|
1448
1450
|
minFeeA: result.minFeeCoefficient,
|
|
1449
1451
|
minFeeB: result.minFeeConstant.ada.lovelace,
|
|
1450
1452
|
maxTxSize: result.maxTransactionSize.bytes,
|
|
@@ -2630,6 +2632,8 @@ var Maestro = class {
|
|
|
2630
2632
|
return parseInt(str.slice(0, forwardSlashIndex)) / parseInt(str.slice(forwardSlashIndex + 1));
|
|
2631
2633
|
};
|
|
2632
2634
|
return {
|
|
2635
|
+
protocolMajorVersion: result.version?.major,
|
|
2636
|
+
protocolMinorVersion: result.version?.minor,
|
|
2633
2637
|
minFeeA: parseInt(result.min_fee_coefficient),
|
|
2634
2638
|
minFeeB: parseInt(result.min_fee_constant.ada.lovelace),
|
|
2635
2639
|
maxTxSize: parseInt(result.max_transaction_size.bytes),
|
|
@@ -3292,6 +3296,8 @@ var Koios = class {
|
|
|
3292
3296
|
import_effect8.Effect.runPromise
|
|
3293
3297
|
);
|
|
3294
3298
|
return {
|
|
3299
|
+
protocolMajorVersion: result.protocol_major,
|
|
3300
|
+
protocolMinorVersion: result.protocol_minor,
|
|
3295
3301
|
minFeeA: result.min_fee_a,
|
|
3296
3302
|
minFeeB: result.min_fee_b,
|
|
3297
3303
|
maxTxSize: result.max_tx_size,
|
package/dist/index.js
CHANGED
|
@@ -101,7 +101,7 @@ import {
|
|
|
101
101
|
// package.json
|
|
102
102
|
var package_default = {
|
|
103
103
|
name: "@lucid-evolution/provider",
|
|
104
|
-
version: "0.2.
|
|
104
|
+
version: "0.2.6",
|
|
105
105
|
description: "",
|
|
106
106
|
main: "./dist/index.js",
|
|
107
107
|
types: "./dist/index.d.ts",
|
|
@@ -1407,6 +1407,8 @@ var toAssets = (value) => {
|
|
|
1407
1407
|
};
|
|
1408
1408
|
var toProtocolParameters = (result) => {
|
|
1409
1409
|
return {
|
|
1410
|
+
protocolMajorVersion: result.version.major,
|
|
1411
|
+
protocolMinorVersion: result.version.minor,
|
|
1410
1412
|
minFeeA: result.minFeeCoefficient,
|
|
1411
1413
|
minFeeB: result.minFeeConstant.ada.lovelace,
|
|
1412
1414
|
maxTxSize: result.maxTransactionSize.bytes,
|
|
@@ -2600,6 +2602,8 @@ var Maestro = class {
|
|
|
2600
2602
|
return parseInt(str.slice(0, forwardSlashIndex)) / parseInt(str.slice(forwardSlashIndex + 1));
|
|
2601
2603
|
};
|
|
2602
2604
|
return {
|
|
2605
|
+
protocolMajorVersion: result.version?.major,
|
|
2606
|
+
protocolMinorVersion: result.version?.minor,
|
|
2603
2607
|
minFeeA: parseInt(result.min_fee_coefficient),
|
|
2604
2608
|
minFeeB: parseInt(result.min_fee_constant.ada.lovelace),
|
|
2605
2609
|
maxTxSize: parseInt(result.max_transaction_size.bytes),
|
|
@@ -3262,6 +3266,8 @@ var Koios = class {
|
|
|
3262
3266
|
Effect4.runPromise
|
|
3263
3267
|
);
|
|
3264
3268
|
return {
|
|
3269
|
+
protocolMajorVersion: result.protocol_major,
|
|
3270
|
+
protocolMinorVersion: result.protocol_minor,
|
|
3265
3271
|
minFeeA: result.min_fee_a,
|
|
3266
3272
|
minFeeB: result.min_fee_b,
|
|
3267
3273
|
maxTxSize: result.max_tx_size,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lucid-evolution/provider",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.6",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -31,9 +31,9 @@
|
|
|
31
31
|
"@effect/schema": "^0.68.26",
|
|
32
32
|
"effect": "^3.11.7",
|
|
33
33
|
"@lucid-evolution/core-types": "0.3.0",
|
|
34
|
-
"@lucid-evolution/utils": "0.1.74",
|
|
35
34
|
"@lucid-evolution/core-utils": "0.1.17",
|
|
36
|
-
"@lucid-evolution/
|
|
35
|
+
"@lucid-evolution/utils": "0.1.75",
|
|
36
|
+
"@lucid-evolution/wallet": "0.2.3"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
39
|
"@types/node": "^20.12.8",
|