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 /packages | |
parent | 7d9009bb96fa576c98abd82200cd0fc2b4d27e40 (diff) | |
download | dexon-sol-tools-9176e535aa54c9e5c831cc0e678262b4e42d1d2b.tar dexon-sol-tools-9176e535aa54c9e5c831cc0e678262b4e42d1d2b.tar.gz dexon-sol-tools-9176e535aa54c9e5c831cc0e678262b4e42d1d2b.tar.bz2 dexon-sol-tools-9176e535aa54c9e5c831cc0e678262b4e42d1d2b.tar.lz dexon-sol-tools-9176e535aa54c9e5c831cc0e678262b4e42d1d2b.tar.xz dexon-sol-tools-9176e535aa54c9e5c831cc0e678262b4e42d1d2b.tar.zst dexon-sol-tools-9176e535aa54c9e5c831cc0e678262b4e42d1d2b.zip |
Fix sra-spec & connect
Diffstat (limited to 'packages')
-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, |