Node package manager
Emit new event with the latest count of downloads for an npm package. See the documentation.
Emit new event when a new version of an npm package is published. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
gloria_ai: {
type: "app",
app: "gloria_ai",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.iamgloria.com/api/v1/contact`,
headers: {
Authorization: `Bearer ${this.gloria_ai.$auth.api_key}`,
"tenant-id": `${this.gloria_ai.$auth.tenant_id}`,
},
data,
})
},
})