Socket
Socket
Sign inDemoInstall

omgdotlol

Package Overview
Dependencies
7
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.1.0 to 0.1.1

7

index.js

@@ -13,5 +13,6 @@

class Client {
constructor(token, url="https://api.omg.lol") {
constructor(token, email, url="https://api.omg.lol") {
this.token = token;
this.url = url;
this.email = email;
}

@@ -28,4 +29,4 @@

async getAccount() {
const response = await this.get('/account');
async getAccountInfo() {
const response = await this.get(`/account/${this.email}/info`);
return new Account(response.email, response.name, response.created, response.settings);

@@ -32,0 +33,0 @@ }

{
"name": "omgdotlol",
"version": "0.1.0",
"version": "0.1.1",
"description": "API wrapper for omg.lol",

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

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc