code: func newBridge(client *rpc.Client, prompter UserPrompter, printer io.Writer) *bridge {
  	return &bridge{
  		client:   client,
  		prompter: prompter,
  		printer:  printer,
  	}
  }
docs: // newBridge creates a new JavaScript wrapper around an RPC client.