@taquito/michelson-encoder 24.2.0 → 24.3.0-beta.0
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/lib/michelson-map.js +5 -5
- package/dist/lib/schema/errors.js +8 -8
- package/dist/lib/schema/event-schema.js +1 -2
- package/dist/lib/schema/parameter.js +12 -12
- package/dist/lib/schema/storage.js +15 -13
- package/dist/lib/schema/view-schema.js +5 -5
- package/dist/lib/tokens/bigmap.js +1 -1
- package/dist/lib/tokens/bls12-381-fr.js +1 -1
- package/dist/lib/tokens/bls12-381-g1.js +1 -1
- package/dist/lib/tokens/bls12-381-g2.js +1 -1
- package/dist/lib/tokens/chain-id.js +1 -1
- package/dist/lib/tokens/chest-key.js +1 -1
- package/dist/lib/tokens/chest.js +1 -1
- package/dist/lib/tokens/comparable/address.js +1 -1
- package/dist/lib/tokens/comparable/bytes.js +1 -1
- package/dist/lib/tokens/comparable/int.js +1 -1
- package/dist/lib/tokens/comparable/key_hash.js +1 -1
- package/dist/lib/tokens/comparable/mutez.js +1 -1
- package/dist/lib/tokens/comparable/nat.js +1 -1
- package/dist/lib/tokens/constant.js +2 -2
- package/dist/lib/tokens/contract.js +1 -1
- package/dist/lib/tokens/createToken.js +2 -2
- package/dist/lib/tokens/key.js +1 -1
- package/dist/lib/tokens/list.js +1 -1
- package/dist/lib/tokens/map.js +1 -1
- package/dist/lib/tokens/never.js +1 -1
- package/dist/lib/tokens/or.js +9 -3
- package/dist/lib/tokens/pair.js +6 -3
- package/dist/lib/tokens/sapling-state.js +1 -1
- package/dist/lib/tokens/sapling-transaction-deprecated.js +1 -1
- package/dist/lib/tokens/sapling-transaction.js +1 -1
- package/dist/lib/tokens/set.js +1 -1
- package/dist/lib/tokens/signature.js +1 -1
- package/dist/lib/tokens/ticket-deprecated.js +1 -1
- package/dist/lib/tokens/ticket.js +1 -1
- package/dist/lib/tokens/token.js +3 -3
- package/dist/lib/version.js +2 -2
- package/dist/taquito-michelson-encoder.es6.js +95 -85
- package/dist/taquito-michelson-encoder.es6.js.map +1 -1
- package/dist/taquito-michelson-encoder.umd.js +95 -85
- package/dist/taquito-michelson-encoder.umd.js.map +1 -1
- package/dist/types/michelson-map.d.ts +5 -5
- package/dist/types/schema/errors.d.ts +12 -12
- package/dist/types/schema/parameter.d.ts +12 -12
- package/dist/types/schema/storage.d.ts +6 -6
- package/dist/types/schema/view-schema.d.ts +5 -5
- package/dist/types/tokens/bigmap.d.ts +1 -1
- package/dist/types/tokens/bls12-381-fr.d.ts +2 -2
- package/dist/types/tokens/bls12-381-g1.d.ts +2 -2
- package/dist/types/tokens/bls12-381-g2.d.ts +2 -2
- package/dist/types/tokens/chain-id.d.ts +1 -1
- package/dist/types/tokens/chest-key.d.ts +2 -2
- package/dist/types/tokens/chest.d.ts +2 -2
- package/dist/types/tokens/comparable/address.d.ts +1 -1
- package/dist/types/tokens/comparable/bytes.d.ts +1 -1
- package/dist/types/tokens/comparable/int.d.ts +1 -1
- package/dist/types/tokens/comparable/key_hash.d.ts +1 -1
- package/dist/types/tokens/comparable/mutez.d.ts +1 -1
- package/dist/types/tokens/comparable/nat.d.ts +1 -1
- package/dist/types/tokens/constant.d.ts +2 -2
- package/dist/types/tokens/contract.d.ts +1 -1
- package/dist/types/tokens/createToken.d.ts +2 -2
- package/dist/types/tokens/key.d.ts +1 -1
- package/dist/types/tokens/list.d.ts +1 -1
- package/dist/types/tokens/map.d.ts +1 -1
- package/dist/types/tokens/never.d.ts +1 -1
- package/dist/types/tokens/or.d.ts +1 -1
- package/dist/types/tokens/pair.d.ts +2 -2
- package/dist/types/tokens/sapling-state.d.ts +1 -1
- package/dist/types/tokens/sapling-transaction-deprecated.d.ts +1 -1
- package/dist/types/tokens/sapling-transaction.d.ts +1 -1
- package/dist/types/tokens/set.d.ts +1 -1
- package/dist/types/tokens/signature.d.ts +1 -1
- package/dist/types/tokens/ticket-deprecated.d.ts +1 -1
- package/dist/types/tokens/ticket.d.ts +1 -1
- package/dist/types/tokens/token.d.ts +6 -6
- package/package.json +24 -12
- package/LICENSE +0 -202
|
@@ -4,7 +4,7 @@ exports.SaplingTransactionToken = exports.SaplingTransactionValidationError = vo
|
|
|
4
4
|
const token_1 = require("./token");
|
|
5
5
|
/**
|
|
6
6
|
* @category Error
|
|
7
|
-
*
|
|
7
|
+
* Error that indicates a failure happening when parsing encoding/executing a Sapling Transaction
|
|
8
8
|
*/
|
|
9
9
|
class SaplingTransactionValidationError extends token_1.TokenValidationError {
|
|
10
10
|
constructor(value, token, message) {
|
package/dist/lib/tokens/set.js
CHANGED
|
@@ -4,7 +4,7 @@ exports.SetToken = exports.SetValidationError = void 0;
|
|
|
4
4
|
const token_1 = require("./token");
|
|
5
5
|
/**
|
|
6
6
|
* @category Error
|
|
7
|
-
*
|
|
7
|
+
* Error that indicates a failure happening when parsing encoding/executing a Set
|
|
8
8
|
*/
|
|
9
9
|
class SetValidationError extends token_1.TokenValidationError {
|
|
10
10
|
constructor(value, token, message) {
|
|
@@ -5,7 +5,7 @@ const token_1 = require("./token");
|
|
|
5
5
|
const utils_1 = require("@taquito/utils");
|
|
6
6
|
/**
|
|
7
7
|
* @category Error
|
|
8
|
-
*
|
|
8
|
+
* Error that indicates a failure happening when parsing encoding/executing a Signature
|
|
9
9
|
*/
|
|
10
10
|
class SignatureValidationError extends token_1.TokenValidationError {
|
|
11
11
|
constructor(value, token, message) {
|
|
@@ -7,7 +7,7 @@ const contract_1 = require("./contract");
|
|
|
7
7
|
const token_1 = require("./token");
|
|
8
8
|
/**
|
|
9
9
|
* @category Error
|
|
10
|
-
*
|
|
10
|
+
* Error that indicates a failure when encoding and sending a ticket to the blockchain
|
|
11
11
|
*/
|
|
12
12
|
class EncodeTicketDeprecatedError extends core_1.TaquitoError {
|
|
13
13
|
constructor() {
|
|
@@ -7,7 +7,7 @@ const contract_1 = require("./contract");
|
|
|
7
7
|
const token_1 = require("./token");
|
|
8
8
|
/**
|
|
9
9
|
* @category Error
|
|
10
|
-
*
|
|
10
|
+
* Error that indicates a failure when encoding and sending a ticket to the blockchain
|
|
11
11
|
*/
|
|
12
12
|
class EncodeTicketError extends core_1.TaquitoError {
|
|
13
13
|
constructor() {
|
package/dist/lib/tokens/token.js
CHANGED
|
@@ -4,7 +4,7 @@ exports.ComparableToken = exports.Token = exports.TokenValidationError = void 0;
|
|
|
4
4
|
const core_1 = require("@taquito/core");
|
|
5
5
|
/**
|
|
6
6
|
* @category Error
|
|
7
|
-
*
|
|
7
|
+
* Error that indicates a failure when encoding invalid or incorrect data (e.g. if an address is expected but a number is received)
|
|
8
8
|
*/
|
|
9
9
|
class TokenValidationError extends core_1.TaquitoError {
|
|
10
10
|
constructor(value, token, baseMessage) {
|
|
@@ -20,13 +20,13 @@ class TokenValidationError extends core_1.TaquitoError {
|
|
|
20
20
|
exports.TokenValidationError = TokenValidationError;
|
|
21
21
|
class Token {
|
|
22
22
|
/**
|
|
23
|
-
*
|
|
23
|
+
* Gets the strategy used for field numbering in Token execute/encode/decode to convert Michelson values to/from javascript objects, returns a value of type {@link FieldNumberingStrategy} that controls how field numbers are calculated
|
|
24
24
|
*/
|
|
25
25
|
static get fieldNumberingStrategy() {
|
|
26
26
|
return Token._fieldNumberingStrategy;
|
|
27
27
|
}
|
|
28
28
|
/**
|
|
29
|
-
*
|
|
29
|
+
* Sets the strategy used for field numbering in Token execute/encode/decode to convert Michelson values to/from javascript objects, accepts a value of type {@link FieldNumberingStrategy} that controls how field numbers are calculated
|
|
30
30
|
*/
|
|
31
31
|
static set fieldNumberingStrategy(value) {
|
|
32
32
|
Token._fieldNumberingStrategy = value;
|
package/dist/lib/version.js
CHANGED
|
@@ -3,6 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.VERSION = void 0;
|
|
4
4
|
// IMPORTANT: THIS FILE IS AUTO GENERATED! DO NOT MANUALLY EDIT!
|
|
5
5
|
exports.VERSION = {
|
|
6
|
-
"commitHash": "
|
|
7
|
-
"version": "24.
|
|
6
|
+
"commitHash": "27675679db6515e8b092195ef5c58c2c0ea5f5c8",
|
|
7
|
+
"version": "24.3.0-beta.0"
|
|
8
8
|
};
|