serum-vial
Advanced tools
Comparing version 1.4.11 to 1.4.12
@@ -488,3 +488,7 @@ "use strict"; | ||
if (this._accountsData[accountName] !== undefined) { | ||
throw new Error(`Received second update for ${accountName} account for slot ${slot}, market ${this._options.marketName}`); | ||
logger_1.logger.log('warn', `Received second update for ${accountName} account for the same slot`, { | ||
slot, | ||
market: this._options.marketName, | ||
accountName | ||
}); | ||
} | ||
@@ -491,0 +495,0 @@ this._accountsData[accountName] = accountData; |
{ | ||
"name": "serum-vial", | ||
"version": "1.4.11", | ||
"version": "1.4.12", | ||
"engines": { | ||
@@ -5,0 +5,0 @@ "node": ">=15" |
@@ -627,5 +627,7 @@ import { Market } from '@project-serum/serum' | ||
if (this._accountsData[accountName] !== undefined) { | ||
throw new Error( | ||
`Received second update for ${accountName} account for slot ${slot}, market ${this._options.marketName}` | ||
) | ||
logger.log('warn', `Received second update for ${accountName} account for the same slot`, { | ||
slot, | ||
market: this._options.marketName, | ||
accountName | ||
}) | ||
} | ||
@@ -632,0 +634,0 @@ this._accountsData[accountName] = accountData |
Sorry, the diff of this file is not supported yet
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
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
304327
4494
2