@xyo-network/wallet-xl1-cli 0.1.13 → 0.1.15
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/bin/wallet.mjs +10 -10
- package/package.json +4 -4
package/dist/bin/wallet.mjs
CHANGED
|
@@ -311727,7 +311727,7 @@ async function runYargsCli(options) {
|
|
|
311727
311727
|
await configured.version().help().parseAsync();
|
|
311728
311728
|
}
|
|
311729
311729
|
//#endregion
|
|
311730
|
-
//#region ../../node_modules/.pnpm/@xyo-network+chain-sdk@4.5.
|
|
311730
|
+
//#region ../../node_modules/.pnpm/@xyo-network+chain-sdk@4.5.2_0783eaf3b3c4ab11f680158d9062cd83/node_modules/@xyo-network/chain-sdk/dist/neutral/analyze.mjs
|
|
311731
311731
|
var analyzeBlock, analyzeChain, ChainSummaryBalancesSchema, isChainSummaryBalances, bigintBalances, BalanceAnalyzer, ChainFinalizer, ChainHeadSelector, ChainSummaryProducersSchema, isChainSummaryProducers, ChainProducersAnalyzer, ChainSummaryStakeIntentSchema, isChainSummaryStakeIntent, ChainStakeIntentAnalyzer, ChainSummaryTransfersSchema, isChainSummaryTransfers, bigintTransfers, TransferAnalyzer;
|
|
311732
311732
|
var init_analyze = __esmMin((async () => {
|
|
311733
311733
|
init_node$4();
|
|
@@ -312017,7 +312017,7 @@ var init_analyze = __esmMin((async () => {
|
|
|
312017
312017
|
};
|
|
312018
312018
|
}));
|
|
312019
312019
|
//#endregion
|
|
312020
|
-
//#region ../../node_modules/.pnpm/@xyo-network+chain-sdk@4.5.
|
|
312020
|
+
//#region ../../node_modules/.pnpm/@xyo-network+chain-sdk@4.5.2_0783eaf3b3c4ab11f680158d9062cd83/node_modules/@xyo-network/chain-sdk/dist/neutral/protocol.mjs
|
|
312021
312021
|
function calculateCompletedStepReward(step, balance) {
|
|
312022
312022
|
return AttoXL1(StepRewardFractions[step][0] * balance / StepRewardFractions[step][1]);
|
|
312023
312023
|
}
|
|
@@ -312189,7 +312189,7 @@ var init_protocol = __esmMin((async () => {
|
|
|
312189
312189
|
toSortedBlocks = (blocks, compareFn = sortBlocksAscending) => sortBlocks([...blocks], compareFn);
|
|
312190
312190
|
}));
|
|
312191
312191
|
//#endregion
|
|
312192
|
-
//#region ../../node_modules/.pnpm/@xyo-network+chain-sdk@4.5.
|
|
312192
|
+
//#region ../../node_modules/.pnpm/@xyo-network+chain-sdk@4.5.2_0783eaf3b3c4ab11f680158d9062cd83/node_modules/@xyo-network/chain-sdk/dist/neutral/ethereum.mjs
|
|
312193
312193
|
function blockRangeChunks(fromBlock, toBlock, chunkSize) {
|
|
312194
312194
|
if (!Number.isInteger(chunkSize) || chunkSize < 1) throw new TypeError(`chunkSize must be an integer >= 1, got ${chunkSize}`);
|
|
312195
312195
|
if (!Number.isFinite(fromBlock) || !Number.isFinite(toBlock)) throw new TypeError(`fromBlock and toBlock must be finite numbers, got [${fromBlock}, ${toBlock}]`);
|
|
@@ -312665,7 +312665,7 @@ var init_ethereum = __esmMin((async () => {
|
|
|
312665
312665
|
EvmStakeRunner = __decorateClass$2([creatableProvider()], EvmStakeRunner);
|
|
312666
312666
|
}));
|
|
312667
312667
|
//#endregion
|
|
312668
|
-
//#region ../../node_modules/.pnpm/@xyo-network+chain-sdk@4.5.
|
|
312668
|
+
//#region ../../node_modules/.pnpm/@xyo-network+chain-sdk@4.5.2_0783eaf3b3c4ab11f680158d9062cd83/node_modules/@xyo-network/chain-sdk/dist/neutral/validation.mjs
|
|
312669
312669
|
function TransactionTransfersInBlockValidatorFactory(transfersValidator) {
|
|
312670
312670
|
return async (context, hydratedBlock) => {
|
|
312671
312671
|
const [block, payloads] = hydratedBlock;
|
|
@@ -313085,7 +313085,7 @@ var init_validation = __esmMin((async () => {
|
|
|
313085
313085
|
};
|
|
313086
313086
|
}));
|
|
313087
313087
|
//#endregion
|
|
313088
|
-
//#region ../../node_modules/.pnpm/@xyo-network+chain-sdk@4.5.
|
|
313088
|
+
//#region ../../node_modules/.pnpm/@xyo-network+chain-sdk@4.5.2_0783eaf3b3c4ab11f680158d9062cd83/node_modules/@xyo-network/chain-sdk/dist/neutral/modules.mjs
|
|
313089
313089
|
var __defProp$1, __getOwnPropDesc$1, __getProtoOf, __reflectGet, __defNormalProp$1, __decorateClass$1, __publicField$1, __superGet, BlockRewardDivinerConfigSchema, BlockRewardDiviner, BlockRewardSchema, isBlockReward, asBlockReward, asOptionalBlockReward, isBlockRewardWithSources, asBlockRewardWithSources, asOptionalBlockRewardWithSources, FixedPercentageBlockRewardDivinerConfigSchema, FixedPercentageBlockRewardDiviner, countDecimalPlaces, BlockValidationDivinerConfigSchema, BlockValidationDiviner, HeadValidationDivinerConfigSchema, HeadValidationDiviner, ArchivistNextWitnessConfigSchema, ArchivistNextWitness, WeightedNetworkStakeSchema, isWeightedNetworkStake, asWeightedNetworkStakePayload, asWeightedNetworkStakePayloadWithStorageMeta, NetworkStakeObserveSchema, isNetworkStakeObserve, asNetworkStakeObservePayload, asNetworkStakeObservePayloadWithStorageMeta;
|
|
313090
313090
|
var init_modules = __esmMin((async () => {
|
|
313091
313091
|
await init_node$1();
|
|
@@ -320049,7 +320049,7 @@ var require_index_shim = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
320049
320049
|
});
|
|
320050
320050
|
}));
|
|
320051
320051
|
//#endregion
|
|
320052
|
-
//#region ../../node_modules/.pnpm/@xyo-network+chain-sdk@4.5.
|
|
320052
|
+
//#region ../../node_modules/.pnpm/@xyo-network+chain-sdk@4.5.2_0783eaf3b3c4ab11f680158d9062cd83/node_modules/@xyo-network/chain-sdk/dist/neutral/utils.mjs
|
|
320053
320053
|
function formatNumberForDisplay(value, significantFigures = 5, bigIntShift = 18) {
|
|
320054
320054
|
const resolvedValue = typeof value === "bigint" ? bigIntToFixedPointString(value, bigIntShift) : value;
|
|
320055
320055
|
if (!resolvedValue.includes(".")) return safeReturnInteger(resolvedValue);
|
|
@@ -320742,7 +320742,7 @@ var init_utils = __esmMin((async () => {
|
|
|
320742
320742
|
};
|
|
320743
320743
|
}));
|
|
320744
320744
|
//#endregion
|
|
320745
|
-
//#region ../../node_modules/.pnpm/@xyo-network+chain-sdk@4.5.
|
|
320745
|
+
//#region ../../node_modules/.pnpm/@xyo-network+chain-sdk@4.5.2_0783eaf3b3c4ab11f680158d9062cd83/node_modules/@xyo-network/chain-sdk/dist/neutral/services.mjs
|
|
320746
320746
|
async function processPendingBlocks({ blockValidationViewer, blockViewer, context, logger, mempoolViewer, finalizationRunner, allowedProducers, minCandidates, deadLetterQueueRunner }) {
|
|
320747
320747
|
const start = Date.now();
|
|
320748
320748
|
const currentBlock = await blockViewer.currentBlock();
|
|
@@ -361763,7 +361763,7 @@ var require_src = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
361763
361763
|
});
|
|
361764
361764
|
}));
|
|
361765
361765
|
//#endregion
|
|
361766
|
-
//#region ../../node_modules/.pnpm/@xyo-network+chain-sdk@4.5.
|
|
361766
|
+
//#region ../../node_modules/.pnpm/@xyo-network+chain-sdk@4.5.2_0783eaf3b3c4ab11f680158d9062cd83/node_modules/@xyo-network/chain-sdk/dist/node/telemetry.mjs
|
|
361767
361767
|
function createTelemetryGlobalCleanup({ contextManager, isGlobalContextManagerOwner, isGlobalMeterProviderOwner, isGlobalPropagatorOwner, isGlobalTracerProviderOwner, runtimeInstrumentation }) {
|
|
361768
361768
|
const cleanup = [];
|
|
361769
361769
|
if (runtimeInstrumentation !== void 0) cleanup.push(() => runtimeInstrumentation.disable());
|
|
@@ -361953,7 +361953,7 @@ var init_telemetry = __esmMin((() => {
|
|
|
361953
361953
|
};
|
|
361954
361954
|
}));
|
|
361955
361955
|
//#endregion
|
|
361956
|
-
//#region ../../node_modules/.pnpm/@xyo-network+chain-sdk@4.5.
|
|
361956
|
+
//#region ../../node_modules/.pnpm/@xyo-network+chain-sdk@4.5.2_0783eaf3b3c4ab11f680158d9062cd83/node_modules/@xyo-network/chain-sdk/dist/neutral/wrappers.mjs
|
|
361957
361957
|
var sumTransfers, HydratedBlockWrapper;
|
|
361958
361958
|
var init_wrappers = __esmMin((async () => {
|
|
361959
361959
|
init_node$4();
|
|
@@ -362048,7 +362048,7 @@ var init_wrappers = __esmMin((async () => {
|
|
|
362048
362048
|
};
|
|
362049
362049
|
}));
|
|
362050
362050
|
//#endregion
|
|
362051
|
-
//#region ../../node_modules/.pnpm/@xyo-network+chain-sdk@4.5.
|
|
362051
|
+
//#region ../../node_modules/.pnpm/@xyo-network+chain-sdk@4.5.2_0783eaf3b3c4ab11f680158d9062cd83/node_modules/@xyo-network/chain-sdk/dist/node/index.mjs
|
|
362052
362052
|
var node_exports = /* @__PURE__ */ __exportAll({
|
|
362053
362053
|
AbstractEvmRunner: () => AbstractEvmRunner,
|
|
362054
362054
|
AbstractStepStakeService: () => AbstractStepStakeService,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xyo-network/wallet-xl1-cli",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.15",
|
|
4
4
|
"description": "Standalone XL1 Wallet CLI",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"xyo",
|
|
@@ -26,13 +26,13 @@
|
|
|
26
26
|
"README.md"
|
|
27
27
|
],
|
|
28
28
|
"devDependencies": {
|
|
29
|
-
"@ariestools/toolchain": "~8.7.
|
|
30
|
-
"@ariestools/tsconfig": "~8.7.
|
|
29
|
+
"@ariestools/toolchain": "~8.7.22",
|
|
30
|
+
"@ariestools/tsconfig": "~8.7.22",
|
|
31
31
|
"@types/node": "~26.1.1",
|
|
32
32
|
"eslint": "~10.7.0",
|
|
33
33
|
"rolldown": "~1.2.0",
|
|
34
34
|
"typescript": "~6.0.3",
|
|
35
|
-
"@xyo-network/wallet-xl1-cli-lib": "~0.1.
|
|
35
|
+
"@xyo-network/wallet-xl1-cli-lib": "~0.1.15"
|
|
36
36
|
},
|
|
37
37
|
"engines": {
|
|
38
38
|
"node": ">=18.17.1"
|