I´m creating a npm pacakge so devs can integrate crypto payments to their frontends, can…
- User
I´m creating a npm pacakge so devs can integrate crypto payments to their frontends, can I make calls to server inside the npm package or it it something the devs have to integrate into their cloud fnctions of their frontend like happens with stripe.
Assistant
As a general recommendation, it's better to design your npm package in a way that it doesn't make direct calls to a server. This is because it increases the flexibility and portability of your package, allowing developers to integrate it with their preferred backend or serverless functions.
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.