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

00-js

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

00-js - npm Package Compare versions

Comparing version 0.4.0 to 0.4.1

4

dist/index.d.ts

@@ -48,3 +48,3 @@ type GetOptions = {

data: Contact[];
meta?: ListMeta;
meta: ListMeta;
}>;

@@ -163,3 +163,3 @@ get(id: string): Promise<Contact>;

data: List[];
meta?: ListMeta;
meta: ListMeta;
}>;

@@ -166,0 +166,0 @@ get(id: string): Promise<List>;

@@ -63,3 +63,3 @@ "use strict";

// package.json
var version = "0.4.0";
var version = "0.4.1";

@@ -73,6 +73,6 @@ // src/contacts/contacts.ts

return __async(this, null, function* () {
const data = yield this.doublezero.get("/contacts");
return {
data
};
const data = yield this.doublezero.get(
"/contacts"
);
return data;
});

@@ -82,4 +82,6 @@ }

return __async(this, null, function* () {
const data = yield this.doublezero.get(`/contacts/${id}`);
return data;
const data = yield this.doublezero.get(
`/contacts/${id}`
);
return data.data;
});

@@ -93,3 +95,3 @@ }

);
return data;
return data.data;
});

@@ -111,4 +113,7 @@ }

return __async(this, null, function* () {
const data = yield this.doublezero.post("/emails", params);
return data;
const data = yield this.doublezero.post(
"/emails",
params
);
return data.data;
});

@@ -122,3 +127,3 @@ }

);
return data;
return data.data;
});

@@ -157,6 +162,6 @@ }

return __async(this, null, function* () {
const data = yield this.doublezero.get("/lists");
return {
data
};
const data = yield this.doublezero.get(
"/lists"
);
return data;
});

@@ -167,3 +172,3 @@ }

const data = yield this.doublezero.get(`/lists/${id}`);
return data;
return data.data;
});

@@ -173,4 +178,7 @@ }

return __async(this, null, function* () {
const data = yield this.doublezero.patch(`/lists/${id}`, params);
return data;
const data = yield this.doublezero.patch(
`/lists/${id}`,
params
);
return data.data;
});

@@ -189,3 +197,3 @@ }

);
return data;
return data.data;
});

@@ -234,3 +242,3 @@ }

}
const data = (yield response.json()).data;
const data = yield response.json();
if (data.error) {

@@ -237,0 +245,0 @@ throw new DoubleZeroError(data.error);

{
"name": "00-js",
"version": "0.4.0",
"version": "0.4.1",
"description": "Node.js library for interacting with the 00 API.",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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