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

@artaio/node-api

Package Overview
Dependencies
Maintainers
1
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 0.27.0 to 0.29.0

15

dist/package.json
{
"name": "arta-node",
"version": "0.26.1",
"name": "@artaio/node-api",
"version": "0.29.0",
"description": "The Arta Node library provides a seamless integration to Arta API for applications running on Node.js using both Typescript or Javascript.",

@@ -20,2 +20,7 @@ "scripts": {

],
"homepage": "https://github.com/artaio/arta-node-api",
"repository": {
"type": "git",
"url": "git://github.com/artaio/arta-node-api.git"
},
"keywords": [],

@@ -49,3 +54,7 @@ "author": "ARTA <hello@arta.io> (https://arta.io/)",

"typescript": "^4.8.4"
}
},
"bugs": {
"url": "https://github.com/artaio/arta-node-api/issues"
},
"license": "MIT"
}

2

package.json
{
"name": "@artaio/node-api",
"version": "0.27.0",
"version": "0.29.0",
"description": "The Arta Node library provides a seamless integration to Arta API for applications running on Node.js using both Typescript or Javascript.",

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

@@ -16,3 +16,3 @@ Arta Node.js Library

```
$ npm install arta-node
$ npm install @artaio/node-api
```

@@ -22,10 +22,9 @@

```js
const { Arta } = require('arta-node');
const { Arta } = require('@artaio/node-api');
const arta = new Arta('<YOUR_API_TOKEN>');
const endpoints = arta.endpoint.list();
const { items } = arta.webhooks.list();
const myHook = items[0];
const myEndpoint = endpoint[0];
myEndpoint.ping().then(console.log);
myHook.ping().then(console.log);
```

@@ -35,10 +34,9 @@

```ts
import { Arta } from 'arta-node';
import { Arta, Webhook } from '@artaio/node-api';
const arta: Arta = new Arta('<YOUR_API_TOKEN>');
const endpoints: ArtaEndpoint[] = arta.endpoint.list();
const { items } = arta.webhooks.list();
const myHook: Webhook = items[0];
const myEndpoint: ArtaEndpoint = endpoint[0];
myEndpoint.ping().then(console.log);
myHook.ping().then(console.log);
```

@@ -45,0 +43,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