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

auction

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

auction - npm Package Compare versions

Comparing version

to
0.1.9

8

lib/core.js

@@ -366,8 +366,6 @@ 'use strict';

error = 'Invalid bid object.';
} else if (bid.maxPrice && bid.price > bid.maxPrice) {
error = 'Invalid bid price.';
} else if ('created' === status) {
error = 'Auction not started.';
} else if ('ending' === status) {
error = 'Auction is ending.';
} else if ('ending' === status && this.ending && this.ending.agentId !== agentId) {
error = 'Auction has ended, waiting for Auctioneer to confirm and end auction.';
} else if ('ended' === status) {

@@ -478,4 +476,2 @@ error = 'Auction already ended.';

error = 'Invalid agent.';
} else if ('ending' === status) {
error = 'Auction is ending.';
} else if ('ended' === status) {

@@ -482,0 +478,0 @@ error = 'Auction already ended.';

@@ -436,8 +436,6 @@ 'use strict';

error = 'Invalid bid object.';
} else if (bid.maxPrice && bid.price > bid.maxPrice) {
error = 'Invalid bid price.';
} else if ('created' === status) {
error = 'Auction not started.';
} else if ('ending' === status) {
error = 'Auction is ending.';
} else if ('ending' === status && this.ending && this.ending.agentId !== agentId) {
error = 'Auction has ended, waiting for Auctioneer to confirm and end auction.';
} else if ('ended' === status) {

@@ -556,4 +554,2 @@ error = 'Auction already ended.';

error = 'Invalid agent.';
} else if ('ending' === status) {
error = 'Auction is ending.';
} else if ('ended' === status) {

@@ -560,0 +556,0 @@ error = 'Auction already ended.';

{
"name": "auction",
"version": "0.1.8",
"version": "0.1.9",
"description": "Easy way to create auctions",

@@ -5,0 +5,0 @@ "author": {