By default, deployments of functions are private. In order to share your function with other users you must package and publish to Braintree's function ecosystem.
To package your function, define a few more pieces of metadata within you function's configuration.
Use our CLI to go through an interactive prompt to set the metadata about your package.
$ btfns package . > Name: MyPublicFunction > Developer Website: https://yourwebsite.com > Support E-mail: email@example.com > Description: My function. > Logo: /path/to/logo.png
$ btfns publish . -v 1.0.0 Publishing MyPublicFunction @ 1.0.0 to https://btfns.co ... > Success .... https://btfns.co/user/MyPublicFunction