From d49115c69be77667033a07a41e214c6e5c02b03f Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Thu, 26 Mar 2020 21:14:31 +0100 Subject: [PATCH] olm prototype from tutorial --- lib/olm.js | 1 + lib/olm.wasm | 1 + package.json | 3 +++ prototypes/olmtest.html | 58 +++++++++++++++++++++++++++++++++++++++++ yarn.lock | 4 +++ 5 files changed, 67 insertions(+) create mode 120000 lib/olm.js create mode 120000 lib/olm.wasm create mode 100644 prototypes/olmtest.html diff --git a/lib/olm.js b/lib/olm.js new file mode 120000 index 00000000..9f16c77b --- /dev/null +++ b/lib/olm.js @@ -0,0 +1 @@ +../node_modules/olm/olm.js \ No newline at end of file diff --git a/lib/olm.wasm b/lib/olm.wasm new file mode 120000 index 00000000..8d848e89 --- /dev/null +++ b/lib/olm.wasm @@ -0,0 +1 @@ +../node_modules/olm/olm.wasm \ No newline at end of file diff --git a/package.json b/package.json index 34d8227b..84b6f36a 100644 --- a/package.json +++ b/package.json @@ -29,5 +29,8 @@ "postcss-import": "^12.0.1", "rollup": "^1.15.6", "serve-static": "^1.13.2" + }, + "dependencies": { + "olm": "https://packages.matrix.org/npm/olm/olm-3.1.4.tgz" } } diff --git a/prototypes/olmtest.html b/prototypes/olmtest.html new file mode 100644 index 00000000..9a17a189 --- /dev/null +++ b/prototypes/olmtest.html @@ -0,0 +1,58 @@ + + + + + + + + + + + + diff --git a/yarn.lock b/yarn.lock index bac88dfc..1f2bcf4c 100644 --- a/yarn.lock +++ b/yarn.lock @@ -274,6 +274,10 @@ nth-check@~1.0.1: dependencies: boolbase "~1.0.0" +"olm@https://packages.matrix.org/npm/olm/olm-3.1.4.tgz": + version "3.1.4" + resolved "https://packages.matrix.org/npm/olm/olm-3.1.4.tgz#0f03128b7d3b2f614d2216409a1dfccca765fdb3" + on-finished@~2.3.0: version "2.3.0" resolved "https://registry.yarnpkg.com/on-finished/-/on-finished-2.3.0.tgz#20f1336481b083cd75337992a16971aa2d906947"