Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@generalprotocols/price-oracle

Package Overview
Dependencies
Maintainers
1
Versions
56
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@generalprotocols/price-oracle - npm Package Compare versions

Comparing version 2.0.0-development.2518763847 to 2.0.0-development.2531370338

14

dist/index.cjs.js

@@ -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

2

package.json
{
"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",

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