Socket
Socket
Sign inDemoInstall

@taquito/michelson-encoder

Package Overview
Dependencies
Maintainers
4
Versions
199
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@taquito/michelson-encoder - npm Package Compare versions

Comparing version 14.2.0 to 15.0.0-beta-RC.0

dist/lib/tokens/ticket-deprecated.js

4

dist/lib/schema/storage.js

@@ -10,2 +10,3 @@ "use strict";

const ticket_1 = require("../tokens/ticket");
const ticket_deprecated_1 = require("../tokens/ticket-deprecated");
const token_1 = require("../tokens/token");

@@ -118,2 +119,5 @@ const error_1 = require("./error");

}
if (this.root instanceof ticket_deprecated_1.TicketDeprecatedToken && val.ticketer && val.value && val.amount) {
return true;
}
try {

@@ -120,0 +124,0 @@ this.root.EncodeObject(val);

@@ -29,2 +29,3 @@ "use strict";

const ticket_1 = require("./ticket");
const ticket_deprecated_1 = require("./ticket-deprecated");
const never_1 = require("./never");

@@ -66,2 +67,3 @@ const sapling_state_1 = require("./sapling-state");

ticket_1.TicketToken,
ticket_deprecated_1.TicketDeprecatedToken,
never_1.NeverToken,

@@ -68,0 +70,0 @@ sapling_state_1.SaplingStateToken,

4

dist/lib/version.js

@@ -6,5 +6,5 @@ "use strict";

exports.VERSION = {
"commitHash": "22fd810dcadf5272cb7a57d65165caa0eddbc57e",
"version": "14.2.0"
"commitHash": "91c00d2ab471e4fbb4c654fc45435919ad9e0675",
"version": "15.0.0-beta-RC.0"
};
//# sourceMappingURL=version.js.map

@@ -91,2 +91,16 @@ export declare type Falsy<T> = T | undefined | false;

};
export declare type TokenSchema = BaseTokenSchema | OrTokenSchema | PairTokenSchema | ListTokenSchema | SetTokenSchema | OptionTokenSchema | MapTokenSchema | BigMapTokenSchema | ConstantTokenSchema | ContractTokenSchema | LambdaTokenSchema | SaplingStateTokenSchema | SaplingTransactionTokenSchema | SaplingTransactionDeprecatedTokenSchema | TicketTokenSchema;
export declare type TicketDeprecatedTokenSchema = {
__michelsonType: 'ticket_deprecated';
schema: {
value: TokenSchema;
ticketer: {
__michelsonType: 'contract';
schema: 'contract';
};
amount: {
__michelsonType: 'int';
schema: 'int';
};
};
};
export declare type TokenSchema = BaseTokenSchema | OrTokenSchema | PairTokenSchema | ListTokenSchema | SetTokenSchema | OptionTokenSchema | MapTokenSchema | BigMapTokenSchema | ConstantTokenSchema | ContractTokenSchema | LambdaTokenSchema | SaplingStateTokenSchema | SaplingTransactionTokenSchema | SaplingTransactionDeprecatedTokenSchema | TicketTokenSchema | TicketDeprecatedTokenSchema;

@@ -26,2 +26,3 @@ import { PairToken } from './pair';

import { TicketToken } from './ticket';
import { TicketDeprecatedToken } from './ticket-deprecated';
import { NeverToken } from './never';

@@ -37,2 +38,2 @@ import { SaplingStateToken } from './sapling-state';

import { GlobalConstantToken } from './constant';
export declare const tokens: (typeof PairToken | typeof NatToken | typeof StringToken | typeof BigMapToken | typeof AddressToken | typeof TxRollupL2AddressToken | typeof MapToken | typeof BoolToken | typeof OrToken | typeof ContractToken | typeof ListToken | typeof MutezToken | typeof BytesToken | typeof OptionToken | typeof TimestampToken | typeof IntToken | typeof UnitToken | typeof KeyToken | typeof KeyHashToken | typeof SignatureToken | typeof LambdaToken | typeof OperationToken | typeof SetToken | typeof ChainIDToken | typeof TicketToken | typeof NeverToken | typeof SaplingStateToken | typeof SaplingTransactionToken | typeof SaplingTransactionDeprecatedToken | typeof Bls12381frToken | typeof Bls12381g1Token | typeof Bls12381g2Token | typeof ChestToken | typeof ChestKeyToken | typeof GlobalConstantToken)[];
export declare const tokens: (typeof PairToken | typeof NatToken | typeof StringToken | typeof BigMapToken | typeof AddressToken | typeof TxRollupL2AddressToken | typeof MapToken | typeof BoolToken | typeof OrToken | typeof ContractToken | typeof ListToken | typeof MutezToken | typeof BytesToken | typeof OptionToken | typeof TimestampToken | typeof IntToken | typeof UnitToken | typeof KeyToken | typeof KeyHashToken | typeof SignatureToken | typeof LambdaToken | typeof OperationToken | typeof SetToken | typeof ChainIDToken | typeof TicketToken | typeof TicketDeprecatedToken | typeof NeverToken | typeof SaplingStateToken | typeof SaplingTransactionToken | typeof SaplingTransactionDeprecatedToken | typeof Bls12381frToken | typeof Bls12381g1Token | typeof Bls12381g2Token | typeof ChestToken | typeof ChestKeyToken | typeof GlobalConstantToken)[];
{
"name": "@taquito/michelson-encoder",
"version": "14.2.0",
"version": "15.0.0-beta-RC.0",
"description": "converts michelson data and types into convenient JS/TS objects",

@@ -71,4 +71,4 @@ "keywords": [

"dependencies": {
"@taquito/rpc": "*",
"@taquito/utils": "*",
"@taquito/rpc": "^15.0.0-beta-RC.0",
"@taquito/utils": "^15.0.0-beta-RC.0",
"bignumber.js": "^9.1.0",

@@ -106,3 +106,3 @@ "fast-json-stable-stringify": "^2.1.0"

},
"gitHead": "01924663dda2aa0d4d49a5e43c27146b498ad40b"
"gitHead": "29c1cf0f95cb2e817d01260959a83d625a8fe38d"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc