From 16caeaa55ebf391fcc1675de06da249930660fa7 Mon Sep 17 00:00:00 2001 From: Greg Kubisa Date: Mon, 16 Jul 2018 09:55:39 +0200 Subject: [PATCH 1/2] Fix a type error Fixes https://github.com/share/sharedb-mongo/issues/62 --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 2719c1ad..e5bf34cf 100644 --- a/index.js +++ b/index.js @@ -1356,7 +1356,7 @@ var cursorTransformsMap = { ShareDbMongo.invalidOpVersionError = function(collectionName, id, v) { return { code: 4101, - message: 'Invalid op version ' + collectionName + '.' + id + ' ' + op.v + message: 'Invalid op version ' + collectionName + '.' + id + ' ' + v }; }; ShareDbMongo.invalidCollectionError = function(collectionName) { From c147fc2224133b52b6d305a1f139a90f2812b291 Mon Sep 17 00:00:00 2001 From: Greg Kubisa Date: Thu, 19 Jul 2018 14:56:20 +0200 Subject: [PATCH 2/2] Upgrade sharedb-mingo-memory --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 951d3ce5..a77360de 100644 --- a/package.json +++ b/package.json @@ -13,7 +13,7 @@ "expect.js": "^0.3.1", "istanbul": "^0.4.2", "mocha": "^2.3.3", - "sharedb-mingo-memory": "^1.0.0-beta" + "sharedb-mingo-memory": "^1.0.1" }, "scripts": { "test": "node_modules/.bin/mocha",