@generalprotocols/price-oracle
Advanced tools
Comparing version 2.0.0-development.2518763847 to 2.0.0-development.2531370338
@@ -66,16 +66,2 @@ 'use strict'; | ||
MINIMUM_MESSAGE_LENGTH: 12, | ||
/** Type identifier for price messages. */ | ||
// NOTE: for now, we've just arbitrarily picked 128 for price messages. | ||
TYPE_PRICE_MESSAGE: 128, | ||
/** Topic header for ping message. */ | ||
TOPIC_PING: '6A04718080790100', | ||
/** Topic header for price messages. */ | ||
TOPIC_PRICE_MESSAGE: '6A04718080790101', | ||
/** Message Types */ | ||
MESSAGE_TYPES: { | ||
// Metadata types. | ||
0: 'Invalid Type', | ||
// Application types. | ||
128: 'Price Message', | ||
}, | ||
// the number of milliseconds to wait while receiving a message using Request.receive function | ||
@@ -82,0 +68,0 @@ // value of -1 results in waiting asynchronously until a message is available |
@@ -569,13 +569,2 @@ import { Subscriber, Publisher, Request, Reply } from 'zeromq'; | ||
MINIMUM_MESSAGE_LENGTH: number; | ||
/** Type identifier for price messages. */ | ||
TYPE_PRICE_MESSAGE: number; | ||
/** Topic header for ping message. */ | ||
TOPIC_PING: string; | ||
/** Topic header for price messages. */ | ||
TOPIC_PRICE_MESSAGE: string; | ||
/** Message Types */ | ||
MESSAGE_TYPES: { | ||
0: string; | ||
128: string; | ||
}; | ||
DEFAULT_RECEIVE_TIMEOUT: number; | ||
@@ -582,0 +571,0 @@ METADATA_TYPES: { |
@@ -62,16 +62,2 @@ import { hexToBin, numberToBinInt32LE, flattenBinArray, binToHex, binToNumberInt32LE, instantiateSha256, instantiateSecp256k1, decodePrivateKeyWif, parseBytecode, authenticationInstructionsAreMalformed } from '@bitauth/libauth'; | ||
MINIMUM_MESSAGE_LENGTH: 12, | ||
/** Type identifier for price messages. */ | ||
// NOTE: for now, we've just arbitrarily picked 128 for price messages. | ||
TYPE_PRICE_MESSAGE: 128, | ||
/** Topic header for ping message. */ | ||
TOPIC_PING: '6A04718080790100', | ||
/** Topic header for price messages. */ | ||
TOPIC_PRICE_MESSAGE: '6A04718080790101', | ||
/** Message Types */ | ||
MESSAGE_TYPES: { | ||
// Metadata types. | ||
0: 'Invalid Type', | ||
// Application types. | ||
128: 'Price Message', | ||
}, | ||
// the number of milliseconds to wait while receiving a message using Request.receive function | ||
@@ -78,0 +64,0 @@ // value of -1 results in waiting asynchronously until a message is available |
{ | ||
"name": "@generalprotocols/price-oracle", | ||
"version": "2.0.0-development.2518763847", | ||
"version": "2.0.0-development.2531370338", | ||
"description": "Library for creating, parsing, signing, verifying and transferring PriceOracle messages.", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.cjs.js", |
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
156658
2948