From 14fac241f7b1c34bfc30fd26f8c60559aa526cbc Mon Sep 17 00:00:00 2001 From: Richard van der Hoff Date: Fri, 23 Dec 2016 14:36:22 +0000 Subject: [PATCH] bump to olm 2.1.0 --- package.json | 2 +- spec/unit/crypto.spec.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index da6d46090..8faf9c42f 100644 --- a/package.json +++ b/package.json @@ -56,6 +56,6 @@ "watchify": "^3.2.1" }, "optionalDependencies": { - "olm": "https://matrix.org/packages/npm/olm/olm-2.0.0.tgz" + "olm": "https://matrix.org/packages/npm/olm/olm-2.1.0.tgz" } } diff --git a/spec/unit/crypto.spec.js b/spec/unit/crypto.spec.js index 680d3c8c8..c26562406 100644 --- a/spec/unit/crypto.spec.js +++ b/spec/unit/crypto.spec.js @@ -9,6 +9,6 @@ describe("Crypto", function() { } it("Crypto exposes the correct olm library version", function() { - expect(Crypto.getOlmVersion()).toEqual([2, 0, 0]); + expect(Crypto.getOlmVersion()[0]).toEqual(2); }); });