diff options
author | Fabio Berger <me@fabioberger.com> | 2018-10-17 20:52:43 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2018-10-17 20:52:43 +0800 |
commit | 9176e535aa54c9e5c831cc0e678262b4e42d1d2b (patch) | |
tree | 57a4fe09bac5672e1bcc037df78457cf8d186e71 | |
parent | 7d9009bb96fa576c98abd82200cd0fc2b4d27e40 (diff) | |
download | dexon-0x-contracts-9176e535aa54c9e5c831cc0e678262b4e42d1d2b.tar.gz dexon-0x-contracts-9176e535aa54c9e5c831cc0e678262b4e42d1d2b.tar.zst dexon-0x-contracts-9176e535aa54c9e5c831cc0e678262b4e42d1d2b.zip |
Fix sra-spec & connect
-rw-r--r-- | packages/connect/src/utils/assert.ts | 2 | ||||
-rw-r--r-- | packages/sra-spec/src/json-schemas.ts | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/packages/connect/src/utils/assert.ts b/packages/connect/src/utils/assert.ts index 3d8f1c799..4e2202d2e 100644 --- a/packages/connect/src/utils/assert.ts +++ b/packages/connect/src/utils/assert.ts @@ -14,7 +14,7 @@ export const assert = { sharedAssert.doesConformToSchema( variableName, subscriptionOpts, - schemas.relayerApiOrdersChannelSubscribePayload, + schemas.relayerApiOrdersChannelSubscribePayloadSchema, ); }, isOrdersChannelHandler(variableName: string, handler: any): void { diff --git a/packages/sra-spec/src/json-schemas.ts b/packages/sra-spec/src/json-schemas.ts index 173a04bfb..47cca9b04 100644 --- a/packages/sra-spec/src/json-schemas.ts +++ b/packages/sra-spec/src/json-schemas.ts @@ -21,7 +21,7 @@ const { relayerApiAssetDataPairsResponseSchema, relayerApiAssetDataTradeInfoSchema, relayerApiOrdersChannelSubscribeSchema, - relayerApiOrdersChannelSubscribePayload, + relayerApiOrdersChannelSubscribePayloadSchema, relayerApiOrdersChannelUpdateSchema, relayerApiOrdersResponseSchema, relayerApiAssetDataPairsSchema, @@ -47,7 +47,7 @@ const usedSchemas = { relayerApiAssetDataPairsResponseSchema, relayerApiAssetDataTradeInfoSchema, relayerApiOrdersChannelSubscribeSchema, - relayerApiOrdersChannelSubscribePayload, + relayerApiOrdersChannelSubscribePayloadSchema, relayerApiOrdersChannelUpdateSchema, relayerApiOrdersResponseSchema, relayerApiAssetDataPairsSchema, |