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

@azuro-org/toolkit

Package Overview
Dependencies
Maintainers
3
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@azuro-org/toolkit - npm Package Compare versions

Comparing version 0.1.8 to 2.0.0

8

dist/index.es.js

@@ -1,2 +0,2 @@

import {getMarketKey,getMarketName,assembleSelectionName}from'@azuro-org/dictionaries';/******************************************************************************
import {getMarketKey,getMarketName,getSelectionName}from'@azuro-org/dictionaries';/******************************************************************************
Copyright (c) Microsoft Corporation.

@@ -45,6 +45,6 @@

// we are using the same key format that was discussed earlier
var marketKey = getMarketKey(outcomeId, dictionaries);
var marketKey = getMarketKey({ outcomeId: outcomeId, dictionaries: dictionaries });
// we are obtaining the human-readable names of each market and the corresponding outcome selections
var marketName = getMarketName(outcomeId, dictionaries);
var selectionName = assembleSelectionName(outcomeId, dictionaries);
var marketName = getMarketName({ outcomeId: outcomeId, dictionaries: dictionaries });
var selectionName = getSelectionName({ outcomeId: outcomeId, dictionaries: dictionaries });
var outcome = __assign({ conditionId: conditionId, outcomeId: outcomeId, lpAddress: lpAddress, coreAddress: coreAddress, selectionName: selectionName }, rest);

@@ -51,0 +51,0 @@ if (!marketsMap[marketKey]) {

@@ -45,6 +45,6 @@ 'use strict';Object.defineProperty(exports,'__esModule',{value:true});var dictionaries=require('@azuro-org/dictionaries');/******************************************************************************

// we are using the same key format that was discussed earlier
var marketKey = dictionaries.getMarketKey(outcomeId, dictionaries$1);
var marketKey = dictionaries.getMarketKey({ outcomeId: outcomeId, dictionaries: dictionaries$1 });
// we are obtaining the human-readable names of each market and the corresponding outcome selections
var marketName = dictionaries.getMarketName(outcomeId, dictionaries$1);
var selectionName = dictionaries.assembleSelectionName(outcomeId, dictionaries$1);
var marketName = dictionaries.getMarketName({ outcomeId: outcomeId, dictionaries: dictionaries$1 });
var selectionName = dictionaries.getSelectionName({ outcomeId: outcomeId, dictionaries: dictionaries$1 });
var outcome = __assign({ conditionId: conditionId, outcomeId: outcomeId, lpAddress: lpAddress, coreAddress: coreAddress, selectionName: selectionName }, rest);

@@ -51,0 +51,0 @@ if (!marketsMap[marketKey]) {

{
"name": "@azuro-org/toolkit",
"version": "0.1.8",
"version": "2.0.0",
"description": "Set of helpers to work with Azuro protocol",

@@ -30,3 +30,3 @@ "module": "dist/index.es.js",

"peerDependencies": {
"@azuro-org/dictionaries": "^1.0.5"
"@azuro-org/dictionaries": "^2.0.2"
},

@@ -33,0 +33,0 @@ "devDependencies": {

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