@lucid-evolution/provider 0.1.54 → 0.1.56
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 +9 -1
- package/dist/index.js +9 -1
- package/package.json +4 -4
package/dist/index.cjs
CHANGED
|
@@ -52,7 +52,7 @@ var import_utils = require("@lucid-evolution/utils");
|
|
|
52
52
|
// package.json
|
|
53
53
|
var package_default = {
|
|
54
54
|
name: "@lucid-evolution/provider",
|
|
55
|
-
version: "0.1.
|
|
55
|
+
version: "0.1.56",
|
|
56
56
|
description: "",
|
|
57
57
|
main: "./dist/index.js",
|
|
58
58
|
types: "./dist/index.d.ts",
|
|
@@ -160,6 +160,8 @@ var Blockfrost = class {
|
|
|
160
160
|
maxValSize: parseInt(result.max_val_size),
|
|
161
161
|
keyDeposit: BigInt(result.key_deposit),
|
|
162
162
|
poolDeposit: BigInt(result.pool_deposit),
|
|
163
|
+
drepDeposit: BigInt(result.drep_deposit),
|
|
164
|
+
govActionDeposit: BigInt(result.gov_action_deposit),
|
|
163
165
|
priceMem: parseFloat(result.price_mem),
|
|
164
166
|
priceStep: parseFloat(result.price_step),
|
|
165
167
|
maxTxExMem: BigInt(result.max_tx_ex_mem),
|
|
@@ -910,6 +912,8 @@ var toProtocolParameters = (result) => {
|
|
|
910
912
|
maxValSize: result.maxValueSize.bytes,
|
|
911
913
|
keyDeposit: BigInt(result.stakeCredentialDeposit.ada.lovelace),
|
|
912
914
|
poolDeposit: BigInt(result.stakePoolDeposit.ada.lovelace),
|
|
915
|
+
drepDeposit: BigInt(result.delegateRepresentativeDeposit.ada.lovelace),
|
|
916
|
+
govActionDeposit: BigInt(result.governanceActionDeposit.ada.lovelace),
|
|
913
917
|
priceMem: result.scriptExecutionPrices.memory[0] / result.scriptExecutionPrices.memory[1],
|
|
914
918
|
priceStep: result.scriptExecutionPrices.cpu[0] / result.scriptExecutionPrices.cpu[1],
|
|
915
919
|
maxTxExMem: BigInt(result.maxExecutionUnitsPerTransaction.memory),
|
|
@@ -1791,6 +1795,8 @@ var Maestro = class {
|
|
|
1791
1795
|
maxValSize: parseInt(result.max_value_size.bytes),
|
|
1792
1796
|
keyDeposit: BigInt(result.stake_credential_deposit.ada.lovelace),
|
|
1793
1797
|
poolDeposit: BigInt(result.stake_pool_deposit.ada.lovelace),
|
|
1798
|
+
drepDeposit: BigInt(result.delegate_representative_deposit.ada.lovelace),
|
|
1799
|
+
govActionDeposit: BigInt(result.governance_action_deposit.ada.lovelace),
|
|
1794
1800
|
priceMem: decimalFromRationalString(
|
|
1795
1801
|
result.script_execution_prices.memory
|
|
1796
1802
|
),
|
|
@@ -2414,6 +2420,8 @@ var Koios = class {
|
|
|
2414
2420
|
maxValSize: result.max_val_size,
|
|
2415
2421
|
keyDeposit: result.key_deposit,
|
|
2416
2422
|
poolDeposit: result.pool_deposit,
|
|
2423
|
+
drepDeposit: BigInt(result.drep_deposit),
|
|
2424
|
+
govActionDeposit: BigInt(result.gov_action_deposit),
|
|
2417
2425
|
priceMem: result.price_mem,
|
|
2418
2426
|
priceStep: result.price_step,
|
|
2419
2427
|
maxTxExMem: result.max_tx_ex_mem,
|
package/dist/index.js
CHANGED
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
// package.json
|
|
12
12
|
var package_default = {
|
|
13
13
|
name: "@lucid-evolution/provider",
|
|
14
|
-
version: "0.1.
|
|
14
|
+
version: "0.1.56",
|
|
15
15
|
description: "",
|
|
16
16
|
main: "./dist/index.js",
|
|
17
17
|
types: "./dist/index.d.ts",
|
|
@@ -119,6 +119,8 @@ var Blockfrost = class {
|
|
|
119
119
|
maxValSize: parseInt(result.max_val_size),
|
|
120
120
|
keyDeposit: BigInt(result.key_deposit),
|
|
121
121
|
poolDeposit: BigInt(result.pool_deposit),
|
|
122
|
+
drepDeposit: BigInt(result.drep_deposit),
|
|
123
|
+
govActionDeposit: BigInt(result.gov_action_deposit),
|
|
122
124
|
priceMem: parseFloat(result.price_mem),
|
|
123
125
|
priceStep: parseFloat(result.price_step),
|
|
124
126
|
maxTxExMem: BigInt(result.max_tx_ex_mem),
|
|
@@ -873,6 +875,8 @@ var toProtocolParameters = (result) => {
|
|
|
873
875
|
maxValSize: result.maxValueSize.bytes,
|
|
874
876
|
keyDeposit: BigInt(result.stakeCredentialDeposit.ada.lovelace),
|
|
875
877
|
poolDeposit: BigInt(result.stakePoolDeposit.ada.lovelace),
|
|
878
|
+
drepDeposit: BigInt(result.delegateRepresentativeDeposit.ada.lovelace),
|
|
879
|
+
govActionDeposit: BigInt(result.governanceActionDeposit.ada.lovelace),
|
|
876
880
|
priceMem: result.scriptExecutionPrices.memory[0] / result.scriptExecutionPrices.memory[1],
|
|
877
881
|
priceStep: result.scriptExecutionPrices.cpu[0] / result.scriptExecutionPrices.cpu[1],
|
|
878
882
|
maxTxExMem: BigInt(result.maxExecutionUnitsPerTransaction.memory),
|
|
@@ -1761,6 +1765,8 @@ var Maestro = class {
|
|
|
1761
1765
|
maxValSize: parseInt(result.max_value_size.bytes),
|
|
1762
1766
|
keyDeposit: BigInt(result.stake_credential_deposit.ada.lovelace),
|
|
1763
1767
|
poolDeposit: BigInt(result.stake_pool_deposit.ada.lovelace),
|
|
1768
|
+
drepDeposit: BigInt(result.delegate_representative_deposit.ada.lovelace),
|
|
1769
|
+
govActionDeposit: BigInt(result.governance_action_deposit.ada.lovelace),
|
|
1764
1770
|
priceMem: decimalFromRationalString(
|
|
1765
1771
|
result.script_execution_prices.memory
|
|
1766
1772
|
),
|
|
@@ -2388,6 +2394,8 @@ var Koios = class {
|
|
|
2388
2394
|
maxValSize: result.max_val_size,
|
|
2389
2395
|
keyDeposit: result.key_deposit,
|
|
2390
2396
|
poolDeposit: result.pool_deposit,
|
|
2397
|
+
drepDeposit: BigInt(result.drep_deposit),
|
|
2398
|
+
govActionDeposit: BigInt(result.gov_action_deposit),
|
|
2391
2399
|
priceMem: result.price_mem,
|
|
2392
2400
|
priceStep: result.price_step,
|
|
2393
2401
|
maxTxExMem: result.max_tx_ex_mem,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lucid-evolution/provider",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.56",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -30,10 +30,10 @@
|
|
|
30
30
|
"@effect/platform": "^0.59.2",
|
|
31
31
|
"@effect/schema": "^0.68.26",
|
|
32
32
|
"effect": "^3.5.6",
|
|
33
|
-
"@lucid-evolution/core-types": "0.1.
|
|
33
|
+
"@lucid-evolution/core-types": "0.1.18",
|
|
34
34
|
"@lucid-evolution/core-utils": "0.1.15",
|
|
35
|
-
"@lucid-evolution/utils": "0.1.
|
|
36
|
-
"@lucid-evolution/wallet": "0.1.
|
|
35
|
+
"@lucid-evolution/utils": "0.1.42",
|
|
36
|
+
"@lucid-evolution/wallet": "0.1.48"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
39
|
"@types/node": "^20.12.8",
|