diff options
author | Fabio Berger <me@fabioberger.com> | 2017-11-15 11:50:10 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2017-11-15 11:50:10 +0800 |
commit | 4e39a957c733d5593dc6d3fe81f96e43e4cc347a (patch) | |
tree | 57d54386c65934b996777df7bc5823bdd6953e1b /packages/connect/test/fixtures/standard_relayer_api/update_orderbook_channel_message.ts | |
parent | 0cf719a744f5472483dafd0b21afd6b9167168d3 (diff) | |
parent | fe7ad22cc14e161b9246f7c50e8c1085778253a2 (diff) | |
download | dexon-sol-tools-4e39a957c733d5593dc6d3fe81f96e43e4cc347a.tar dexon-sol-tools-4e39a957c733d5593dc6d3fe81f96e43e4cc347a.tar.gz dexon-sol-tools-4e39a957c733d5593dc6d3fe81f96e43e4cc347a.tar.bz2 dexon-sol-tools-4e39a957c733d5593dc6d3fe81f96e43e4cc347a.tar.lz dexon-sol-tools-4e39a957c733d5593dc6d3fe81f96e43e4cc347a.tar.xz dexon-sol-tools-4e39a957c733d5593dc6d3fe81f96e43e4cc347a.tar.zst dexon-sol-tools-4e39a957c733d5593dc6d3fe81f96e43e4cc347a.zip |
Merge branch 'development' of github.com:0xProject/0x.js into development
* 'development' of github.com:0xProject/0x.js:
Add lodash noop to emptyOrderbookChannelHandler
Fix lint error
Add connect to monorepo
Diffstat (limited to 'packages/connect/test/fixtures/standard_relayer_api/update_orderbook_channel_message.ts')
-rw-r--r-- | packages/connect/test/fixtures/standard_relayer_api/update_orderbook_channel_message.ts | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/packages/connect/test/fixtures/standard_relayer_api/update_orderbook_channel_message.ts b/packages/connect/test/fixtures/standard_relayer_api/update_orderbook_channel_message.ts new file mode 100644 index 000000000..bc83854c6 --- /dev/null +++ b/packages/connect/test/fixtures/standard_relayer_api/update_orderbook_channel_message.ts @@ -0,0 +1,17 @@ +import * as orderResponseJSON from './order/0xabc67323774bdbd24d94f977fa9ac94a50f016026fd13f42990861238897721f.json'; + +const orderJSONString = JSON.stringify(orderResponseJSON); + +export const updateOrderbookChannelMessage = `{ + "type": "update", + "channel": "orderbook", + "channelId": 1, + "payload": ${orderJSONString} +}`; + +export const malformedUpdateOrderbookChannelMessage = `{ + "type": "update", + "channel": "orderbook", + "channelId": 1, + "payload": {} +}`; |