Do Actions still not support ESM?

Ready to post? :mag: First, try searching for your answer.
Hello,

I’m looking into creating an onExecutePostLogin action and was wondering if I’m able to use ESM for this?

import { ManagementClient } from 'auth0';

/**
 * Handler that will be called during the execution of a PostLogin flow.
 *
 * @param {Event} event - Details about the user and the context in which they are logging in.
 * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.
 */
export async function onExecutePostLogin(event, api) {}

I see on the auth0-node library that ESM is currently supported, was wondering if that translates to Actions?

Also, will you be moving to latest node LTS anytime soon?

Thanks!

I’m also a bit confused as I see this in the Actions editor which seems to imply Typescript is supported:

But then here in Actions limitations, it says Typescript is not supported:

1 Like