genlayer-js 0.9.1 → 0.9.2
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/CHANGELOG.md +2 -0
- package/dist/chains/index.cjs +2 -2
- package/dist/chains/index.d.cts +1 -1
- package/dist/chains/index.d.ts +1 -1
- package/dist/chains/index.js +3 -3
- package/dist/chunk-4FVQ3G7J.js +8039 -0
- package/dist/{chunk-RS7NCSOQ.js → chunk-GACCNOPJ.js} +7 -1
- package/dist/{chunk-AZSICIZ3.cjs → chunk-H4ZYXVV2.cjs} +7 -1
- package/dist/{chunk-FPFZLPXI.cjs → chunk-SMCXL465.cjs} +3996 -13
- package/dist/index-B52a6DSr.d.cts +13 -0
- package/dist/{index-kDM_9wW1.d.cts → index-B_gpaVzJ.d.cts} +6 -2
- package/dist/index-DNvW8slT.d.ts +13 -0
- package/dist/{index-DvSbRKD5.d.ts → index-to6d0Hzj.d.ts} +6 -2
- package/dist/index.cjs +4059 -26
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +4052 -19
- package/dist/types/index.cjs +4 -2
- package/dist/types/index.d.cts +1 -1
- package/dist/types/index.d.ts +1 -1
- package/dist/types/index.js +3 -1
- package/package.json +1 -1
- package/src/chains/actions.ts +2 -2
- package/src/chains/index.ts +1 -1
- package/src/chains/localnet.ts +3986 -3
- package/{dist/chunk-7YZQQWJZ.js → src/chains/studionet.ts} +899 -940
- package/src/chains/{testnet.ts → testnetAsimov.ts} +5 -5
- package/src/contracts/actions.ts +26 -3
- package/src/transactions/actions.ts +14 -3
- package/src/types/network.ts +1 -1
- package/src/types/transactions.ts +5 -0
- package/src/wallet/connect.ts +6 -2
- package/dist/index-BM9hOtGg.d.cts +0 -13
- package/dist/index-C7Colsnk.d.ts +0 -13
|
@@ -117,6 +117,11 @@ var voteTypeNameToNumber = {
|
|
|
117
117
|
["TIMEOUT" /* TIMEOUT */]: "3",
|
|
118
118
|
["DETERMINISTIC_VIOLATION" /* DETERMINISTIC_VIOLATION */]: "4"
|
|
119
119
|
};
|
|
120
|
+
var TransactionHashVariant = /* @__PURE__ */ ((TransactionHashVariant2) => {
|
|
121
|
+
TransactionHashVariant2["LATEST_FINAL"] = "latest-final";
|
|
122
|
+
TransactionHashVariant2["LATEST_NONFINAL"] = "latest-nonfinal";
|
|
123
|
+
return TransactionHashVariant2;
|
|
124
|
+
})(TransactionHashVariant || {});
|
|
120
125
|
|
|
121
126
|
export {
|
|
122
127
|
CalldataAddress,
|
|
@@ -128,5 +133,6 @@ export {
|
|
|
128
133
|
TransactionResultNameToNumber,
|
|
129
134
|
VoteType,
|
|
130
135
|
voteTypeNumberToName,
|
|
131
|
-
voteTypeNameToNumber
|
|
136
|
+
voteTypeNameToNumber,
|
|
137
|
+
TransactionHashVariant
|
|
132
138
|
};
|
|
@@ -117,6 +117,11 @@ var voteTypeNameToNumber = {
|
|
|
117
117
|
["TIMEOUT" /* TIMEOUT */]: "3",
|
|
118
118
|
["DETERMINISTIC_VIOLATION" /* DETERMINISTIC_VIOLATION */]: "4"
|
|
119
119
|
};
|
|
120
|
+
var TransactionHashVariant = /* @__PURE__ */ ((TransactionHashVariant2) => {
|
|
121
|
+
TransactionHashVariant2["LATEST_FINAL"] = "latest-final";
|
|
122
|
+
TransactionHashVariant2["LATEST_NONFINAL"] = "latest-nonfinal";
|
|
123
|
+
return TransactionHashVariant2;
|
|
124
|
+
})(TransactionHashVariant || {});
|
|
120
125
|
|
|
121
126
|
|
|
122
127
|
|
|
@@ -129,4 +134,5 @@ var voteTypeNameToNumber = {
|
|
|
129
134
|
|
|
130
135
|
|
|
131
136
|
|
|
132
|
-
|
|
137
|
+
|
|
138
|
+
exports.CalldataAddress = CalldataAddress; exports.TransactionStatus = TransactionStatus; exports.TransactionResult = TransactionResult; exports.transactionsStatusNumberToName = transactionsStatusNumberToName; exports.transactionsStatusNameToNumber = transactionsStatusNameToNumber; exports.transactionResultNumberToName = transactionResultNumberToName; exports.TransactionResultNameToNumber = TransactionResultNameToNumber; exports.VoteType = VoteType; exports.voteTypeNumberToName = voteTypeNumberToName; exports.voteTypeNameToNumber = voteTypeNameToNumber; exports.TransactionHashVariant = TransactionHashVariant;
|