Closed pwiebe closed 1 year ago
Hi @pwiebe, Thanks for the heads up! I tried reproducing this issue, and this works with the latest version 4.11.0. Can you please try the same code with the latest version of twilio?
@AsabuHere I'm getting this error 'TypeError: dayjs_1.default.utc is not a function' \node_modules\twilio\lib\base\deserialize.js:64:29
Hello @pwiebe I was checking change logs for dayjs, I found they made changes with objectSupport. People has commented for null values issue there. You can have a look into this link. Let see if they are going to fix this in upcoming releases
We submitted a pull request https://github.com/iamkun/dayjs/pull/2342 and will reach out to the author
Our PR was merged, we are waiting on a new release of dayjs
.
v1.11.9 of dayjs was released at https://github.com/iamkun/dayjs/issues/2277#issuecomment-1615405772
please close this issue as this is now resolved
@AsabuHere please see https://github.com/twilio/twilio-node/pull/945
Hi @titanism, Thanks for raising the PR to update the dayjs version. Our team has reviewed and merged the PR.
@pwiebe Please verify the fix using the updated version of dayjs, and feel free to open a new github issue if the issue still persists
Issue Summary
Calling client.messages.create() using version 1.11.7 of dayjs throws an exception as shown below. Downgrading to version 1.11.5 resolves the issue.
Steps to Reproduce
Code Snippet
Exception/Log
Technical details: