TypeError: github.repos.createOrUpdateEnvironment is not a function - Octokit.js Support up-to-date?

Is your feature request related to a problem? Please describe.
Trying to use github-script for environments but getting this error message:
TypeError: github.repos.createOrUpdateEnvironment is not a function

Describe the solution you'd like
Would you all be able to update the version of Octokit.js that supports Repo Environments

Describe alternatives you've considered
Using actions to post the HTTP response for environment creation

Additional context
Add any other context or screenshots about the feature request here.
image