From 7fd07f00e9e8b4294c5397d58c9b3b2d8e03c136 Mon Sep 17 00:00:00 2001 From: Mike Gerwitz Date: Wed, 18 Jul 2018 16:52:04 -0400 Subject: [PATCH] Client: Default dapimap to empty object Without this, we have a BC break. * src/client/Client.js (_init): Default program.dapimap to DataApiMediator instance to an empty object to maintain BC. --- src/client/Client.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/Client.js b/src/client/Client.js index 04b84fb..0097da6 100644 --- a/src/client/Client.js +++ b/src/client/Client.js @@ -347,7 +347,7 @@ module.exports = Class( 'Client' ) this._factory.createDataApiMediator( this.ui, this._dataValidator, - this.program.dapimap, + this.program.dapimap || {}, () => this.getQuote() ).monitor( this._dapiManager );