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

dowpro-replay-watcher-dal

Package Overview
Dependencies
Maintainers
1
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dowpro-replay-watcher-dal - npm Package Compare versions

Comparing version 0.1.1 to 0.1.2

10

js/configuration/dal.configuration.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
class DalConfiguration {
static Setup(url, database, username, password) {
this.url = url;
this.database = database;
this.username = username;
this.password = password;
static Setup(config) {
this.url = config.url;
this.database = config.database;
this.username = config.username;
this.password = config.password;
}

@@ -10,0 +10,0 @@ static Verify() {

{
"name": "dowpro-replay-watcher-dal",
"version": "0.1.1",
"version": "0.1.2",
"description": "Data access layer for dowpro ladder",

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

@@ -25,2 +25,3 @@ Data access layer for dowpro ladder

* 0.1.0 : Oh no! Forgot authorized users store in exports.
* 0.1.1 : Renaming users store to authorized users.
* 0.1.1 : Renaming users store to authorized users.
* 0.1.2 : Simplifying setup.

@@ -0,1 +1,7 @@

export interface DalConfig {
"url": string;
"database": string;
"username": string;
"password": string;
}
export declare abstract class DalConfiguration {

@@ -6,5 +12,5 @@ static url: string;

static password: string;
static Setup(url: string, database: string, username: string, password: string): void;
static Setup(config: DalConfig): void;
static Verify(): void;
static SwitchDatabase(database: string, username: string, password: string): void;
}

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