Skip to content

Commit

Permalink
fix: Transfer Schema (#588)
Browse files Browse the repository at this point in the history
  • Loading branch information
zccz14 authored May 29, 2024
1 parent 53339be commit 0f29807
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 8 deletions.
8 changes: 4 additions & 4 deletions apps/vendor-huobi/src/utils/addAccountTransferAddress.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ update$
'TransferApply',
{
type: 'object',
required: ['current_tx_account_id', 'currency', 'network_id', 'current_tx_address'],
required: ['current_tx_account_id', 'currency', 'current_network_id', 'current_tx_address'],
oneOf: contextList.map((x) => ({
properties: {
current_tx_account_id: {
Expand All @@ -64,7 +64,7 @@ update$
currency: {
const: x.currency,
},
network_id: {
current_network_id: {
const: x.network_id,
},
current_tx_address: {
Expand Down Expand Up @@ -99,7 +99,7 @@ update$
'TransferEval',
{
type: 'object',
required: ['current_rx_account_id', 'currency', 'network_id', 'current_rx_address'],
required: ['current_rx_account_id', 'currency', 'current_network_id', 'current_rx_address'],
oneOf: contextList.map((x) => ({
properties: {
current_rx_account_id: {
Expand All @@ -108,7 +108,7 @@ update$
currency: {
const: x.currency,
},
network_id: {
current_network_id: {
const: x.network_id,
},
current_rx_address: {
Expand Down
8 changes: 4 additions & 4 deletions apps/vendor-okx/src/utils/addAccountTransferAddress.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ update$
'TransferApply',
{
type: 'object',
required: ['current_tx_account_id', 'currency', 'network_id', 'current_tx_address'],
required: ['current_tx_account_id', 'currency', 'current_network_id', 'current_tx_address'],
oneOf: contextList.map((x) => ({
properties: {
current_tx_account_id: {
Expand All @@ -64,7 +64,7 @@ update$
currency: {
const: x.currency,
},
network_id: {
current_network_id: {
const: x.network_id,
},
current_tx_address: {
Expand Down Expand Up @@ -99,7 +99,7 @@ update$
'TransferEval',
{
type: 'object',
required: ['current_rx_account_id', 'currency', 'network_id', 'current_rx_address'],
required: ['current_rx_account_id', 'currency', 'current_network_id', 'current_rx_address'],
oneOf: contextList.map((x) => ({
properties: {
current_rx_account_id: {
Expand All @@ -108,7 +108,7 @@ update$
currency: {
const: x.currency,
},
network_id: {
current_network_id: {
const: x.network_id,
},
current_rx_address: {
Expand Down
10 changes: 10 additions & 0 deletions common/changes/@yuants/vendor-huobi/2024-05-29-13-31.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"changes": [
{
"packageName": "@yuants/vendor-huobi",
"comment": "fix transfer schema",
"type": "patch"
}
],
"packageName": "@yuants/vendor-huobi"
}
10 changes: 10 additions & 0 deletions common/changes/@yuants/vendor-okx/2024-05-29-13-31.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"changes": [
{
"packageName": "@yuants/vendor-okx",
"comment": "fix transfer schema",
"type": "patch"
}
],
"packageName": "@yuants/vendor-okx"
}

0 comments on commit 0f29807

Please sign in to comment.