Socket
Socket
Sign inDemoInstall

decentraland-server

Package Overview
Dependencies
111
Maintainers
1
Versions
37
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.2.0 to 1.3.0

10

dist/Model.d.ts

@@ -9,7 +9,7 @@ import { clients } from './db';

static setDb(clientName?: keyof typeof clients): void;
static find<U>(conditions?: QueryPart, orderBy?: QueryPart, extra?: string): Promise<U[]>;
static findOne<U>(primaryKeyOrCond: string | number | QueryPart, orderBy?: QueryPart): Promise<U>;
static find<U = any>(conditions?: QueryPart, orderBy?: QueryPart, extra?: string): Promise<U[]>;
static findOne<U = any>(primaryKeyOrCond: string | number | QueryPart, orderBy?: QueryPart): Promise<U>;
static count(conditions: QueryPart, extra?: string): Promise<number>;
static query<U>(queryString: any, values?: any[]): Promise<U[]>;
static insert<U>(row: U): Promise<U>;
static query<U = any>(queryString: any, values?: any[]): Promise<U[]>;
static insert<U = any>(row: U): Promise<U>;
static update(changes: QueryPart, conditions: QueryPart): Promise<any>;

@@ -19,3 +19,3 @@ static delete(conditions: QueryPart): Promise<any>;

tableName: string;
constructor(attributes: T);
constructor(attributes?: T);
getConstructor(): typeof Model;

@@ -22,0 +22,0 @@ retreive(): Promise<T>;

{
"name": "decentraland-server",
"version": "1.2.0",
"version": "1.3.0",
"description": "Set of common functionality accross Decentraland projects servers.",

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

Sorry, the diff of this file is not supported yet

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