Moralis-JS-SDK icon indicating copy to clipboard operation
Moralis-JS-SDK copied to clipboard

Moralis.Plugins.opensea.createBuyOrder({....}) have issue with trigger signer is missing or undefined

Open RizwanAhmad-dev opened this issue 2 years ago • 0 comments

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

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

Logs

RizwanAhmad-dev avatar Mar 03 '22 09:03 RizwanAhmad-dev