New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@georgeroman/wyvern-v2-sdk

Package Overview
Dependencies
Maintainers
1
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@georgeroman/wyvern-v2-sdk - npm Package Compare versions

Comparing version 0.0.22 to 0.0.23

14

dist/builders/erc721/single-item.js

@@ -48,4 +48,3 @@ "use strict";

static sell(params) {
var _a;
if ((0, utils_1.bn)((_a = params.extra) !== null && _a !== void 0 ? _a : 0).gt(0)) {
if ((0, utils_1.bn)(params.extra || 0).gt(0)) {
if ((0, utils_1.bn)(params.listingTime).gte((0, utils_1.bn)(params.expirationTime))) {

@@ -63,3 +62,5 @@ throw new Error("Invalid listing/expiration time");

side: types_1.Side.SELL,
saleKind: params.extra ? types_1.SaleKind.DUTCH_AUCTION : types_1.SaleKind.FIXED_PRICE,
saleKind: (0, utils_1.bn)(params.extra || 0).gt(0)
? types_1.SaleKind.DUTCH_AUCTION
: types_1.SaleKind.FIXED_PRICE,
target: params.target,

@@ -85,4 +86,3 @@ howToCall: types_1.HowToCall.CALL,

static buy(params) {
var _a;
if ((0, utils_1.bn)((_a = params.extra) !== null && _a !== void 0 ? _a : 0).gt(0)) {
if ((0, utils_1.bn)(params.extra || 0).gt(0)) {
if ((0, utils_1.bn)(params.listingTime).gte((0, utils_1.bn)(params.expirationTime))) {

@@ -100,3 +100,5 @@ throw new Error("Invalid listing/expiration time");

side: types_1.Side.BUY,
saleKind: params.extra ? types_1.SaleKind.DUTCH_AUCTION : types_1.SaleKind.FIXED_PRICE,
saleKind: (0, utils_1.bn)(params.extra || 0).gt(0)
? types_1.SaleKind.DUTCH_AUCTION
: types_1.SaleKind.FIXED_PRICE,
target: params.target,

@@ -103,0 +105,0 @@ howToCall: types_1.HowToCall.CALL,

{
"name": "@georgeroman/wyvern-v2-sdk",
"version": "0.0.22",
"version": "0.0.23",
"description": "Wyvern V2 SDK",

@@ -5,0 +5,0 @@ "keywords": [

Sorry, the diff of this file is not supported yet

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