@taquito/michelson-encoder
Advanced tools
Comparing version 14.2.0 to 15.0.0-beta-RC.0
@@ -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, |
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Wildcard dependency
QualityPackage has a dependency with a floating version range. This can cause issues if the dependency publishes a new major version.
Found 2 instances in 1 package
1136378
155
14762
0
2
+ Added@taquito/http-utils@15.1.0(transitive)
+ Added@taquito/rpc@15.1.0(transitive)
+ Added@taquito/utils@15.1.0(transitive)
+ Addedaxios@0.26.1(transitive)
+ Addedbase-x@3.0.10(transitive)
+ Addedbs58@4.0.1(transitive)
+ Addedbs58check@2.1.2(transitive)
+ Addedcipher-base@1.0.4(transitive)
+ Addedcreate-hash@1.2.0(transitive)
+ Addedfollow-redirects@1.15.9(transitive)
+ Addedhash-base@3.1.0(transitive)
+ Addedmd5.js@1.3.5(transitive)
+ Addedreadable-stream@3.6.2(transitive)
+ Addedripemd160@2.0.2(transitive)
+ Addedsafe-buffer@5.2.1(transitive)
+ Addedsha.js@2.4.11(transitive)
+ Addedstring_decoder@1.3.0(transitive)
+ Addedutil-deprecate@1.0.2(transitive)
- Removed@noble/hashes@1.5.0(transitive)
- Removed@taquito/core@20.0.1(transitive)
- Removed@taquito/http-utils@20.0.1(transitive)
- Removed@taquito/rpc@20.0.1(transitive)
- Removed@taquito/utils@20.0.1(transitive)
- Removedbase-x@4.0.0(transitive)
- Removedbs58@5.0.0(transitive)
- Removedbs58check@3.0.1(transitive)
- Removedjson-stringify-safe@5.0.1(transitive)
- Removednode-fetch@2.7.0(transitive)
- Removedtr46@0.0.3(transitive)
- Removedwebidl-conversions@3.0.1(transitive)
- Removedwhatwg-url@5.0.0(transitive)