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

orionx-sdk

Package Overview
Dependencies
Maintainers
2
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

orionx-sdk - npm Package Compare versions

Comparing version 1.3.11 to 1.3.12

2

package.json
{
"name": "orionx-sdk",
"version": "1.3.11",
"version": "1.3.12",
"description": "Help developers with Orionx integrations",

@@ -5,0 +5,0 @@ "main": "build/index.js",

@@ -14,3 +14,3 @@ import gql from 'graphql-tag'

mutation cancelOrder($orderId: ID) {
createPayment(orderId: $orderId) {
cancelOrder(orderId: $orderId) {
_id

@@ -17,0 +17,0 @@ type

@@ -9,3 +9,3 @@ import gql from 'graphql-tag'

export default async function({ marketCode, amount, limitPrice, sell }) {
export default async function({ marketCode, amount, limitPrice, sell, clientId }) {
if (!marketCode) throwParamsError('marketCode')

@@ -22,2 +22,3 @@ if (!amount) throwParamsError('amount')

$sell: Boolean
$clientId: String
) {

@@ -29,2 +30,3 @@ placeLimitOrder(

sell: $sell
clientId: $clientId
) {

@@ -38,2 +40,3 @@ _id

}
clientId
}

@@ -45,3 +48,3 @@ }

query,
variables: { marketCode, amount, limitPrice, sell }
variables: { marketCode, amount, limitPrice, sell, clientId }
})

@@ -48,0 +51,0 @@

@@ -9,3 +9,3 @@ import gql from 'graphql-tag'

export default async function({marketCode, amount, sell}) {
export default async function({marketCode, amount, sell, clientId}) {
if (!marketCode) throwParamsError('marketCode')

@@ -16,4 +16,4 @@ if (!amount) throwParamsError('amount')

const query = gql`
mutation placeMarketOrder($marketCode: ID, $amount: BigInt, $sell: Boolean) {
placeMarketOrder(marketCode: $marketCode, amount: $amount, sell: $sell) {
mutation placeMarketOrder($marketCode: ID, $amount: BigInt, $sell: Boolean, clientId: String) {
placeMarketOrder(marketCode: $marketCode, amount: $amount, sell: $sell, clientId: $clientId) {
_id

@@ -32,3 +32,3 @@ type

query,
variables: {marketCode, amount, sell}
variables: {marketCode, amount, sell, clientId}
})

@@ -35,0 +35,0 @@

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