Can't use packages from gRPC before/after scripts

I’m trying to leverage the new package functionality from gRPC before invoke/after response scripts but I get a TypeError: pm.require is not a function. Are packages not supported for the gRPC flow?

For version:

Version 11.18.2
UI Version: 11.18.2-ui-241030-0928
Desktop Platform Version: 11.18.0 (11.18.0)

Hey @descent-module-ast18 :wave:

Welcome to the Postman Community! :postman:

Currently, the Package Library is not available for non-HTTP scripts. There is an open feature request on our Issue Tracker for this functionality to be included.

Not timelines are available for the release of this in the platform just yet.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.