When imported "truffle-hdwallet-provider" module and passed https provider its not working, but when imported "truffle-hdwallet-provider/src/index.js" file and passed same https provider it works.
This is how i created provider:-
const httpsProvider = require('web3-ssl-ext');
let provider = new httpsProvider(RPC_ENDPOINT ,key ,cert, ca);
When imported "truffle-hdwallet-provider" module and passed https provider its not working, but when imported "truffle-hdwallet-provider/src/index.js" file and passed same https provider it works.
This is how i created provider:- const httpsProvider = require('web3-ssl-ext'); let provider = new httpsProvider(RPC_ENDPOINT ,key ,cert, ca);