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

@sx-bet/sportx-js

Package Overview
Dependencies
Maintainers
3
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sx-bet/sportx-js - npm Package Compare versions

Comparing version 12.2.1 to 12.2.2

2

package.json

@@ -71,3 +71,3 @@ {

},
"version": "12.2.1"
"version": "12.2.2"
}

@@ -9,7 +9,7 @@ # sportx-js

`yarn add @sportx-bet/sportx-js`
`yarn add @sx-bet/sportx-js`
or
`npm i @sportx-bet/sportx-js`
`npm i @sx-bet/sportx-js`

@@ -48,3 +48,3 @@ This library is compiled down to es6 and works in node and the browser.

```typescript
import { Environments, newSportX } from "@sportx-bet/sportx-js";
import { Environments, newSportX } from "@sx-bet/sportx-js";

@@ -73,3 +73,3 @@ async function main() {

```typescript
import { Environments, newSportX } from "@sportx-bet/sportx-js";
import { Environments, newSportX } from "@sx-bet/sportx-js";
import { providers } from "ethers";

@@ -346,3 +346,3 @@

convertToTrueTokenAmount
} from "@sportx-bet/sportx-js";
} from "@sx-bet/sportx-js";

@@ -479,3 +479,3 @@ const activeMarkets = await sportX.getActiveMarkets();

```typescript
import { convertToDisplayAmount } from "@sportx-bet/sportx-js";
import { convertToDisplayAmount } from "@sx-bet/sportx-js";
console.log(convertToDisplayAmount("150000000000000000000"));

@@ -499,3 +499,3 @@ ```

```typescript
import { convertFromAPIPercentageOdds } from "@sportx-bet/sportx-js";
import { convertFromAPIPercentageOdds } from "@sx-bet/sportx-js";

@@ -502,0 +502,0 @@ const odds = "88985727650227679586";

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