Comparing version 0.1.4 to 0.1.5
@@ -18,4 +18,4 @@ 'use strict'; | ||
var schemas = arguments.length <= 0 || arguments[0] === undefined ? {} : arguments[0]; | ||
var host = arguments.length <= 1 || arguments[1] === undefined ? '' : arguments[1]; | ||
var name = arguments.length <= 2 || arguments[2] === undefined ? '' : arguments[2]; | ||
var name = arguments.length <= 1 || arguments[1] === undefined ? '' : arguments[1]; | ||
var host = arguments.length <= 2 || arguments[2] === undefined ? '' : arguments[2]; | ||
@@ -35,3 +35,3 @@ if (db.instance) { | ||
start: function start() { | ||
db.instance = new _redink2.default(schemas, host, name); | ||
db.instance = new _redink2.default(schemas, name, host); | ||
return db.instance.connect(); | ||
@@ -38,0 +38,0 @@ }, |
{ | ||
"name": "redink", | ||
"version": "0.1.4", | ||
"version": "0.1.5", | ||
"description": "RethinkDB ORM", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |