Moralis-JS-SDK
Moralis-JS-SDK copied to clipboard
Moralis.Plugins.opensea.createBuyOrder({....}) have issue with trigger signer is missing or undefined
New Bug Report
createBuyOrder is not working so I tried to look into node_modules, and I get to see that in file MoralisWeb3.js at line 1063
if (!(!triggersArray[i].signer || triggersArray[i].signer)) { _context13.next = 22; break; }
That is a falsey statement and it will never go inside the if block after fixing that I get new error - _reponse.wait() is not a function in MoralisWeb3.js at line -1082 ` case 24: _response = _context13.sent;
if (!((_triggersArray$i9 = triggersArray[i]) !== null && _triggersArray$i9 !== void 0 && _triggersArray$i9.shouldAwait)) {
_context13.next = 29;
break;
}
_context13.next = 28;
return _response.wait();`
Please help me with this
Checklist
- [x] I am not disclosing a vulnerability.
- [x] I have searched through existing issues and the Moralis Forum.
- [x] I can reproduce the issue with the latest SDK release, and my server is updated to the latest version.
Issue Description
Steps + code to reproduce
Actual Outcome
Expected Outcome
Environment
Server
- Moralis server version:
FILL_THIS_OUT
Client
- Moralis SDK version:
FILL_THIS_OUT
- Operating system:
FILL_THIS_OUT
- Browser:
FILL_THIS_OUT