Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@artaio/node-api

Package Overview
Dependencies
Maintainers
2
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@artaio/node-api - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

2

dist/package.json
{
"name": "@artaio/node-api",
"version": "1.0.0",
"version": "1.0.1",
"description": "The Arta Node library provides a seamless integration to Arta API for backend applications using both Typescript or Javascript.",

@@ -5,0 +5,0 @@ "scripts": {

{
"name": "@artaio/node-api",
"version": "1.0.0",
"version": "1.0.1",
"description": "The Arta Node library provides a seamless integration to Arta API for backend applications using both Typescript or Javascript.",

@@ -5,0 +5,0 @@ "scripts": {

@@ -23,9 +23,11 @@ Arta Node.js Library

```js
// With top level async/await
const { Arta } = require('@artaio/node-api');
const arta = new Arta('<YOUR_API_TOKEN>');
const { items } = arta.webhooks.list();
const { items } = await arta.webhooks.list();
const myHook = items[0];
myHook.ping().then(console.log);
const pingResult = await myHook.ping();
console.log(pingResult);
```

@@ -35,9 +37,11 @@

```ts
import { Arta, Webhook } from '@artaio/node-api';
// With top level async/await
import { Arta, type Webhook } from '@artaio/node-api';
const arta: Arta = new Arta('<YOUR_API_TOKEN>');
const { items } = arta.webhooks.list();
const { items } = await arta.webhooks.list();
const myHook: Webhook = items[0];
myHook.ping().then(console.log);
const pingResult = await myHook.ping();
console.log(pingResult);
```

@@ -44,0 +48,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc