@xyo-network/xl1-rpc 1.24.28 → 1.24.29
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/neutral/index.mjs +25 -22
- package/dist/neutral/index.mjs.map +1 -1
- package/dist/neutral/provider/viewer/JsonRpcTransactionViewer/JsonRpcTransactionViewer.d.ts +116 -26
- package/dist/neutral/provider/viewer/JsonRpcTransactionViewer/JsonRpcTransactionViewer.d.ts.map +1 -1
- package/dist/neutral/types/schema/AllRpcSchemas.d.ts +72 -24
- package/dist/neutral/types/schema/AllRpcSchemas.d.ts.map +1 -1
- package/dist/neutral/types/schema/TransactionViewerRpcSchema.d.ts +75 -24
- package/dist/neutral/types/schema/TransactionViewerRpcSchema.d.ts.map +1 -1
- package/dist/node/index-node.mjs +25 -22
- package/dist/node/index-node.mjs.map +1 -1
- package/dist/node/provider/viewer/JsonRpcTransactionViewer/JsonRpcTransactionViewer.d.ts +116 -26
- package/dist/node/provider/viewer/JsonRpcTransactionViewer/JsonRpcTransactionViewer.d.ts.map +1 -1
- package/dist/node/types/schema/AllRpcSchemas.d.ts +72 -24
- package/dist/node/types/schema/AllRpcSchemas.d.ts.map +1 -1
- package/dist/node/types/schema/TransactionViewerRpcSchema.d.ts +75 -24
- package/dist/node/types/schema/TransactionViewerRpcSchema.d.ts.map +1 -1
- package/package.json +3 -3
- package/src/provider/viewer/JsonRpcTransactionViewer/JsonRpcTransactionViewer.ts +4 -4
- package/src/types/schema/TransactionViewerRpcSchema.ts +12 -9
package/dist/neutral/index.mjs
CHANGED
|
@@ -950,27 +950,29 @@ var TimeSyncViewerRpcSchemas = {
|
|
|
950
950
|
|
|
951
951
|
// src/types/schema/TransactionViewerRpcSchema.ts
|
|
952
952
|
import { HashZod as HashZod4 } from "@xylabs/sdk-js";
|
|
953
|
-
import {
|
|
953
|
+
import { SignedHydratedTransactionWithHashMetaZod as SignedHydratedTransactionWithHashMetaZod2 } from "@xyo-network/xl1-protocol";
|
|
954
954
|
import { z as z16 } from "zod";
|
|
955
955
|
var TransactionViewerRpcSchemas = {
|
|
956
|
+
/** @deprecated use byBlockHashAndIndex instead */
|
|
956
957
|
transactionViewer_transactionByBlockHashAndIndex: {
|
|
957
958
|
params: {
|
|
958
959
|
to: z16.tuple([HashZod4, z16.number()]),
|
|
959
960
|
from: z16.tuple([HashZod4, z16.number()])
|
|
960
961
|
},
|
|
961
962
|
result: {
|
|
962
|
-
to:
|
|
963
|
-
from:
|
|
963
|
+
to: SignedHydratedTransactionWithHashMetaZod2.nullable(),
|
|
964
|
+
from: SignedHydratedTransactionWithHashMetaZod2.nullable()
|
|
964
965
|
}
|
|
965
966
|
},
|
|
967
|
+
/** @deprecated use byBlockNumberAndIndex instead */
|
|
966
968
|
transactionViewer_transactionByBlockNumberAndIndex: {
|
|
967
969
|
params: {
|
|
968
970
|
to: z16.tuple([z16.number(), z16.number()]),
|
|
969
971
|
from: z16.tuple([z16.number(), z16.number()])
|
|
970
972
|
},
|
|
971
973
|
result: {
|
|
972
|
-
to:
|
|
973
|
-
from:
|
|
974
|
+
to: SignedHydratedTransactionWithHashMetaZod2.nullable(),
|
|
975
|
+
from: SignedHydratedTransactionWithHashMetaZod2.nullable()
|
|
974
976
|
}
|
|
975
977
|
},
|
|
976
978
|
transactionViewer_byHash: {
|
|
@@ -979,18 +981,19 @@ var TransactionViewerRpcSchemas = {
|
|
|
979
981
|
from: z16.tuple([HashZod4])
|
|
980
982
|
},
|
|
981
983
|
result: {
|
|
982
|
-
to:
|
|
983
|
-
from:
|
|
984
|
+
to: SignedHydratedTransactionWithHashMetaZod2.nullable(),
|
|
985
|
+
from: SignedHydratedTransactionWithHashMetaZod2.nullable()
|
|
984
986
|
}
|
|
985
987
|
},
|
|
988
|
+
/** @deprecated use byHash instead */
|
|
986
989
|
transactionViewer_transactionByHash: {
|
|
987
990
|
params: {
|
|
988
991
|
to: z16.tuple([HashZod4]),
|
|
989
992
|
from: z16.tuple([HashZod4])
|
|
990
993
|
},
|
|
991
994
|
result: {
|
|
992
|
-
to:
|
|
993
|
-
from:
|
|
995
|
+
to: SignedHydratedTransactionWithHashMetaZod2.nullable(),
|
|
996
|
+
from: SignedHydratedTransactionWithHashMetaZod2.nullable()
|
|
994
997
|
}
|
|
995
998
|
}
|
|
996
999
|
};
|
|
@@ -1037,13 +1040,13 @@ var XyoPermissionsRpcSchemas = {
|
|
|
1037
1040
|
|
|
1038
1041
|
// src/types/schema/XyoRunnerRpcSchemas.ts
|
|
1039
1042
|
import { HashToJsonZod, JsonToHashZod } from "@xylabs/sdk-js";
|
|
1040
|
-
import { SignedHydratedTransactionZod as
|
|
1043
|
+
import { SignedHydratedTransactionZod as SignedHydratedTransactionZod2 } from "@xyo-network/xl1-protocol";
|
|
1041
1044
|
import { z as z18 } from "zod";
|
|
1042
1045
|
var XyoRunnerRpcSchemas = {
|
|
1043
1046
|
xyoRunner_broadcastTransaction: {
|
|
1044
1047
|
params: {
|
|
1045
|
-
to: z18.tuple([
|
|
1046
|
-
from: z18.tuple([
|
|
1048
|
+
to: z18.tuple([SignedHydratedTransactionZod2]),
|
|
1049
|
+
from: z18.tuple([SignedHydratedTransactionZod2])
|
|
1047
1050
|
},
|
|
1048
1051
|
result: {
|
|
1049
1052
|
to: HashToJsonZod,
|
|
@@ -1054,7 +1057,7 @@ var XyoRunnerRpcSchemas = {
|
|
|
1054
1057
|
|
|
1055
1058
|
// src/types/schema/XyoSignerRpcSchemas.ts
|
|
1056
1059
|
import { AddressZod as AddressZod6 } from "@xylabs/sdk-js";
|
|
1057
|
-
import { SignedHydratedTransactionWithHashMetaZod as
|
|
1060
|
+
import { SignedHydratedTransactionWithHashMetaZod as SignedHydratedTransactionWithHashMetaZod3, UnsignedHydratedTransactionZod } from "@xyo-network/xl1-protocol";
|
|
1058
1061
|
import { z as z19 } from "zod";
|
|
1059
1062
|
var XyoSignerRpcSchemas = {
|
|
1060
1063
|
xyoSigner_address: {
|
|
@@ -1073,8 +1076,8 @@ var XyoSignerRpcSchemas = {
|
|
|
1073
1076
|
from: z19.tuple([UnsignedHydratedTransactionZod])
|
|
1074
1077
|
},
|
|
1075
1078
|
result: {
|
|
1076
|
-
to:
|
|
1077
|
-
from:
|
|
1079
|
+
to: SignedHydratedTransactionWithHashMetaZod3,
|
|
1080
|
+
from: SignedHydratedTransactionWithHashMetaZod3
|
|
1078
1081
|
}
|
|
1079
1082
|
}
|
|
1080
1083
|
};
|
|
@@ -1093,7 +1096,7 @@ import {
|
|
|
1093
1096
|
asAttoXL1 as asAttoXL16,
|
|
1094
1097
|
JsonToStakeZod as JsonToStakeZod3,
|
|
1095
1098
|
SignedHydratedBlockWithHashMetaZod as SignedHydratedBlockWithHashMetaZod3,
|
|
1096
|
-
SignedHydratedTransactionZod as
|
|
1099
|
+
SignedHydratedTransactionZod as SignedHydratedTransactionZod3,
|
|
1097
1100
|
StakeToJsonZod as StakeToJsonZod3,
|
|
1098
1101
|
StepIdentityZod as StepIdentityZod2,
|
|
1099
1102
|
XL1BlockNumberZod as XL1BlockNumberZod2,
|
|
@@ -1387,8 +1390,8 @@ var XyoViewerRpcSchemas = {
|
|
|
1387
1390
|
from: z20.tuple([HashZod5, z20.number()])
|
|
1388
1391
|
},
|
|
1389
1392
|
result: {
|
|
1390
|
-
to:
|
|
1391
|
-
from:
|
|
1393
|
+
to: SignedHydratedTransactionZod3.nullable(),
|
|
1394
|
+
from: SignedHydratedTransactionZod3.nullable()
|
|
1392
1395
|
}
|
|
1393
1396
|
},
|
|
1394
1397
|
xyoViewer_transactionByBlockNumberAndIndex: {
|
|
@@ -1397,8 +1400,8 @@ var XyoViewerRpcSchemas = {
|
|
|
1397
1400
|
from: z20.tuple([z20.number(), z20.number()])
|
|
1398
1401
|
},
|
|
1399
1402
|
result: {
|
|
1400
|
-
to:
|
|
1401
|
-
from:
|
|
1403
|
+
to: SignedHydratedTransactionZod3.nullable(),
|
|
1404
|
+
from: SignedHydratedTransactionZod3.nullable()
|
|
1402
1405
|
}
|
|
1403
1406
|
},
|
|
1404
1407
|
xyoViewer_transactionByHash: {
|
|
@@ -1407,8 +1410,8 @@ var XyoViewerRpcSchemas = {
|
|
|
1407
1410
|
from: z20.tuple([HashZod5])
|
|
1408
1411
|
},
|
|
1409
1412
|
result: {
|
|
1410
|
-
to:
|
|
1411
|
-
from:
|
|
1413
|
+
to: SignedHydratedTransactionZod3.nullable(),
|
|
1414
|
+
from: SignedHydratedTransactionZod3.nullable()
|
|
1412
1415
|
}
|
|
1413
1416
|
},
|
|
1414
1417
|
xyoViewer_payloadsByHash: {
|