Co-authored-by: Tomas Della Vedova <delvedor@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
7358fd0c83
commit
adc5c2b146
4
index.js
4
index.js
@ -255,6 +255,10 @@ class Client extends ESAPI {
|
||||
}
|
||||
|
||||
const client = new Client(options)
|
||||
// sync product check
|
||||
const tSymbol = Object.getOwnPropertySymbols(this.transport)
|
||||
.filter(symbol => symbol.description === 'product check')[0]
|
||||
client.transport[tSymbol] = this.transport[tSymbol]
|
||||
// Add parent extensions
|
||||
if (this[kExtensions].length > 0) {
|
||||
this[kExtensions].forEach(({ name, opts, fn }) => {
|
||||
|
||||
Reference in New Issue
Block a user