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

@bosonprotocol/core-sdk

Package Overview
Dependencies
Maintainers
13
Versions
637
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bosonprotocol/core-sdk - npm Package Compare versions

Comparing version 1.12.0-alpha.9 to 1.12.0-alpha.10

4

dist/cjs/offers/renderContractualAgreement.js

@@ -44,3 +44,3 @@ "use strict";

const mustache_1 = __importDefault(require("mustache"));
const utils_1 = require("ethers/lib/utils");
const units_1 = require("@ethersproject/units");
class InvalidOfferDataError extends Error {

@@ -108,3 +108,3 @@ constructor(missingProperties) {

return __awaiter(this, void 0, void 0, function* () {
return Object.assign(Object.assign({}, offerData), { priceValue: (0, utils_1.formatUnits)(offerData.price, tokenInfo.decimals), exchangeTokenSymbol: tokenInfo.symbol, sellerDepositValue: (0, utils_1.formatUnits)(offerData.sellerDeposit, tokenInfo.decimals), agentFeeValue: "0", buyerCancelPenaltyValue: (0, utils_1.formatUnits)(offerData.buyerCancelPenalty, tokenInfo.decimals), sellerContactMethod: "TBD", disputeResolverContactMethod: "TBD", toISOString: function () {
return Object.assign(Object.assign({}, offerData), { priceValue: (0, units_1.formatUnits)(offerData.price, tokenInfo.decimals), exchangeTokenSymbol: tokenInfo.symbol, sellerDepositValue: (0, units_1.formatUnits)(offerData.sellerDeposit, tokenInfo.decimals), agentFeeValue: "0", buyerCancelPenaltyValue: (0, units_1.formatUnits)(offerData.buyerCancelPenalty, tokenInfo.decimals), sellerContactMethod: "TBD", disputeResolverContactMethod: "TBD", toISOString: function () {
return function (num, render) {

@@ -111,0 +111,0 @@ return new Date(parseInt(render(num))).toISOString();

@@ -6,3 +6,3 @@ import * as yup from "yup";

import Mustache from "mustache";
import { formatUnits } from "ethers/lib/utils";
import { formatUnits } from "@ethersproject/units";
export class InvalidOfferDataError extends Error {

@@ -9,0 +9,0 @@ missingProperties;

{
"name": "@bosonprotocol/core-sdk",
"version": "1.12.0-alpha.9",
"version": "1.12.0-alpha.10",
"description": "> TODO: description",

@@ -36,3 +36,3 @@ "main": "./dist/cjs/index.js",

"dependencies": {
"@bosonprotocol/common": "^1.9.0-alpha.9",
"@bosonprotocol/common": "^1.9.0-alpha.10",
"@ethersproject/abi": "^5.5.0",

@@ -57,3 +57,3 @@ "@ethersproject/address": "^5.5.0",

},
"gitHead": "db5bcefc30e7664ac99c16c29cd1849cb1ed00d6"
"gitHead": "97acb60ebdb531a063787e99cc44cf5a4461aa25"
}

@@ -7,3 +7,3 @@ import * as yup from "yup";

import Mustache from "mustache";
import { formatUnits } from "ethers/lib/utils";
import { formatUnits } from "@ethersproject/units";
import { productV1 } from "@bosonprotocol/metadata";

@@ -10,0 +10,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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