@xyo-network/xl1-cli 1.16.7 → 1.16.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/cli-min.mjs +42 -33
- package/package.json +2 -2
package/dist/cli-min.mjs
CHANGED
|
@@ -119336,9 +119336,6 @@ var BaseService = class extends AbstractCreatable {
|
|
|
119336
119336
|
async spanAsync(name, fn) {
|
|
119337
119337
|
return await spanRootAsync(name, fn, this.tracer);
|
|
119338
119338
|
}
|
|
119339
|
-
sync(_head) {
|
|
119340
|
-
throw new Error("Method not implemented.");
|
|
119341
|
-
}
|
|
119342
119339
|
};
|
|
119343
119340
|
BaseService = _ts_decorate([
|
|
119344
119341
|
creatable()
|
|
@@ -215383,23 +215380,23 @@ var BlockBoundWitnessZod = UnsignedBoundWitnessZod.merge(StorageMetaZod.partial(
|
|
|
215383
215380
|
var SignedBlockBoundWitnessZod = SignedBoundWitnessZod.merge(StorageMetaZod.partial()).merge(BlockBoundWitnessFieldsZod).merge(BlockBoundWitnessMetaZod);
|
|
215384
215381
|
tuple([
|
|
215385
215382
|
BlockBoundWitnessZod,
|
|
215386
|
-
array$1(
|
|
215383
|
+
array$1(PayloadZodLoose)
|
|
215387
215384
|
]);
|
|
215388
215385
|
tuple([
|
|
215389
215386
|
WithStorageMetaZod(BlockBoundWitnessZod),
|
|
215390
|
-
array$1(WithStorageMetaZod(
|
|
215387
|
+
array$1(WithStorageMetaZod(PayloadZodLoose))
|
|
215391
215388
|
]);
|
|
215392
215389
|
var SignedHydratedBlockZod = tuple([
|
|
215393
215390
|
SignedBlockBoundWitnessZod,
|
|
215394
|
-
array$1(
|
|
215391
|
+
array$1(PayloadZodLoose)
|
|
215395
215392
|
]);
|
|
215396
215393
|
tuple([
|
|
215397
215394
|
SignedBlockBoundWitnessZod,
|
|
215398
|
-
array$1(
|
|
215395
|
+
array$1(PayloadZodLoose)
|
|
215399
215396
|
]);
|
|
215400
215397
|
tuple([
|
|
215401
215398
|
WithStorageMetaZod(SignedBlockBoundWitnessZod),
|
|
215402
|
-
array$1(WithStorageMetaZod(
|
|
215399
|
+
array$1(WithStorageMetaZod(PayloadZodLoose))
|
|
215403
215400
|
]);
|
|
215404
215401
|
var AttoZod = bigint$1();
|
|
215405
215402
|
var JsonToAttoZod = JsonToBigIntZod.transform((v) => asAttoXL1(v));
|
|
@@ -215456,15 +215453,15 @@ var SignedTransactionBoundWitnessZod = SignedBoundWitnessZod.merge(StorageMetaZo
|
|
|
215456
215453
|
// src/types/schema/common/HydratedTransaction.ts
|
|
215457
215454
|
tuple([
|
|
215458
215455
|
TransactionBoundWitnessZod,
|
|
215459
|
-
array$1(
|
|
215456
|
+
array$1(PayloadZodLoose)
|
|
215460
215457
|
]);
|
|
215461
215458
|
var UnsignedHydratedTransactionZod = tuple([
|
|
215462
215459
|
TransactionBoundWitnessZod,
|
|
215463
|
-
array$1(
|
|
215460
|
+
array$1(PayloadZodLoose)
|
|
215464
215461
|
]);
|
|
215465
215462
|
var SignedHydratedTransactionZod = tuple([
|
|
215466
215463
|
SignedTransactionBoundWitnessZod,
|
|
215467
|
-
array$1(
|
|
215464
|
+
array$1(PayloadZodLoose)
|
|
215468
215465
|
]);
|
|
215469
215466
|
SignedHydratedTransactionZod.transform(([tx, payloads]) => asSignedHydratedTransaction([
|
|
215470
215467
|
tx,
|
|
@@ -215575,7 +215572,10 @@ var TransferFieldsZod = z.object({
|
|
|
215575
215572
|
from: AddressZod,
|
|
215576
215573
|
transfers: z.record(AddressZod, HexZod)
|
|
215577
215574
|
});
|
|
215578
|
-
var
|
|
215575
|
+
var PayloadZodOfSchema = /* @__PURE__ */ __name$5((schema) => PayloadZod.extend({
|
|
215576
|
+
schema: z.literal(schema)
|
|
215577
|
+
}), "PayloadZodOfSchema");
|
|
215578
|
+
var TransferZod = PayloadZodOfSchema(TransferSchema).extend(TransferFieldsZod.shape);
|
|
215579
215579
|
var TransferPairZod = z.tuple([
|
|
215580
215580
|
AddressZod,
|
|
215581
215581
|
AddressZod
|
|
@@ -216001,19 +216001,29 @@ var XyoViewerRpcSchemas = {
|
|
|
216001
216001
|
},
|
|
216002
216002
|
xyoViewer_accountBalanceHistory: {
|
|
216003
216003
|
params: {
|
|
216004
|
-
to:
|
|
216005
|
-
|
|
216006
|
-
|
|
216007
|
-
|
|
216008
|
-
|
|
216009
|
-
|
|
216004
|
+
to: union$1([
|
|
216005
|
+
tuple([
|
|
216006
|
+
AddressZod
|
|
216007
|
+
]),
|
|
216008
|
+
tuple([
|
|
216009
|
+
AddressZod,
|
|
216010
|
+
union$1([
|
|
216011
|
+
XL1BlockRangeZod,
|
|
216012
|
+
HashZod
|
|
216013
|
+
])
|
|
216014
|
+
])
|
|
216010
216015
|
]),
|
|
216011
|
-
from:
|
|
216012
|
-
|
|
216013
|
-
|
|
216014
|
-
|
|
216015
|
-
|
|
216016
|
-
|
|
216016
|
+
from: union$1([
|
|
216017
|
+
tuple([
|
|
216018
|
+
AddressZod
|
|
216019
|
+
]),
|
|
216020
|
+
tuple([
|
|
216021
|
+
AddressZod,
|
|
216022
|
+
union$1([
|
|
216023
|
+
XL1BlockRangeZod,
|
|
216024
|
+
HashZod
|
|
216025
|
+
])
|
|
216026
|
+
])
|
|
216017
216027
|
])
|
|
216018
216028
|
},
|
|
216019
216029
|
result: {
|
|
@@ -216056,12 +216066,12 @@ var XyoViewerRpcSchemas = {
|
|
|
216056
216066
|
to: array$1(tuple([
|
|
216057
216067
|
WithHashMetaZod(BlockBoundWitnessZod),
|
|
216058
216068
|
WithHashMetaZod(TransactionBoundWitnessZod).nullable(),
|
|
216059
|
-
WithHashMetaZod(
|
|
216069
|
+
WithHashMetaZod(TransferZod)
|
|
216060
216070
|
])),
|
|
216061
216071
|
from: array$1(tuple([
|
|
216062
216072
|
WithHashMetaZod(BlockBoundWitnessZod),
|
|
216063
216073
|
WithHashMetaZod(TransactionBoundWitnessZod).nullable(),
|
|
216064
|
-
WithHashMetaZod(
|
|
216074
|
+
WithHashMetaZod(TransferZod)
|
|
216065
216075
|
]))
|
|
216066
216076
|
}
|
|
216067
216077
|
},
|
|
@@ -216094,12 +216104,12 @@ var XyoViewerRpcSchemas = {
|
|
|
216094
216104
|
to: array$1(tuple([
|
|
216095
216105
|
WithHashMetaZod(BlockBoundWitnessZod),
|
|
216096
216106
|
WithHashMetaZod(TransactionBoundWitnessZod).nullable(),
|
|
216097
|
-
WithHashMetaZod(
|
|
216107
|
+
WithHashMetaZod(TransferZod)
|
|
216098
216108
|
])),
|
|
216099
216109
|
from: array$1(tuple([
|
|
216100
216110
|
WithHashMetaZod(BlockBoundWitnessZod),
|
|
216101
216111
|
WithHashMetaZod(TransactionBoundWitnessZod).nullable(),
|
|
216102
|
-
WithHashMetaZod(
|
|
216112
|
+
WithHashMetaZod(TransferZod)
|
|
216103
216113
|
]))
|
|
216104
216114
|
}
|
|
216105
216115
|
},
|
|
@@ -216197,8 +216207,8 @@ var XyoViewerRpcSchemas = {
|
|
|
216197
216207
|
from: array$1(any$1()).length(0).optional()
|
|
216198
216208
|
},
|
|
216199
216209
|
result: {
|
|
216200
|
-
to:
|
|
216201
|
-
from:
|
|
216210
|
+
to: XL1BlockNumberZod,
|
|
216211
|
+
from: XL1BlockNumberZod
|
|
216202
216212
|
}
|
|
216203
216213
|
},
|
|
216204
216214
|
xyoViewer_forkHistory: {
|
|
@@ -216953,8 +216963,7 @@ var JsonRpcXyoViewer = class {
|
|
|
216953
216963
|
]);
|
|
216954
216964
|
}
|
|
216955
216965
|
return await this.transport.sendRequest("xyoViewer_accountBalanceHistory", [
|
|
216956
|
-
address
|
|
216957
|
-
range
|
|
216966
|
+
address
|
|
216958
216967
|
]);
|
|
216959
216968
|
}
|
|
216960
216969
|
async blockByHash(hash) {
|
|
@@ -319630,7 +319639,7 @@ var waitForHostPort = /* @__PURE__ */ __name((host, port) => {
|
|
|
319630
319639
|
|
|
319631
319640
|
// src/runCLI.ts
|
|
319632
319641
|
var configuration;
|
|
319633
|
-
var version = isDefined("1.16.
|
|
319642
|
+
var version = isDefined("1.16.8") ? "1.16.8" : "unknown";
|
|
319634
319643
|
var getContextFromConfig = /* @__PURE__ */ __name((configuration2) => {
|
|
319635
319644
|
const logger = initLogger(configuration2);
|
|
319636
319645
|
const orchestrator = new Orchestrator(logger);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xyo-network/xl1-cli",
|
|
3
|
-
"version": "1.16.
|
|
3
|
+
"version": "1.16.9",
|
|
4
4
|
"description": "XYO Layer One CLI",
|
|
5
5
|
"homepage": "https://xylabs.com",
|
|
6
6
|
"bugs": {
|
|
@@ -86,7 +86,7 @@
|
|
|
86
86
|
"@xyo-network/payload-model": "~5.1.21",
|
|
87
87
|
"@xyo-network/wallet": "~5.1.21",
|
|
88
88
|
"@xyo-network/wallet-model": "~5.1.21",
|
|
89
|
-
"@xyo-network/xl1-cli-lib": "~1.16.
|
|
89
|
+
"@xyo-network/xl1-cli-lib": "~1.16.9",
|
|
90
90
|
"@xyo-network/xl1-protocol": "~1.13.6",
|
|
91
91
|
"async-mutex": "~0.5.0",
|
|
92
92
|
"dotenv": "~17.2.3",
|