diff --git a/package.json b/package.json index f988cbd79c7..2ea4c462573 100644 --- a/package.json +++ b/package.json @@ -62,7 +62,7 @@ "matrix-js-sdk": "11.1.0-rc.1", "matrix-react-sdk": "3.22.0-rc.1", "matrix-widget-api": "^0.1.0-beta.14", - "olm": "https://packages.matrix.org/npm/olm/olm-3.2.1.tgz", + "@matrix-org/olm": "https://gitlab.matrix.org/api/v4/projects/27/packages/npm/@matrix-org/olm/-/@matrix-org/olm-3.2.3.tgz", "prop-types": "^15.7.2", "react": "^16.14.0", "react-dom": "^16.14.0", diff --git a/src/vector/init.tsx b/src/vector/init.tsx index 019cb352f81..f3f848222a0 100644 --- a/src/vector/init.tsx +++ b/src/vector/init.tsx @@ -19,8 +19,8 @@ limitations under the License. // eslint-disable-next-line @typescript-eslint/ban-ts-comment // @ts-ignore -import olmWasmPath from "olm/olm.wasm"; -import Olm from 'olm'; +import olmWasmPath from "@matrix-org/olm/olm.wasm"; +import Olm from '@matrix-org/olm'; import * as ReactDOM from "react-dom"; import * as React from "react"; diff --git a/yarn.lock b/yarn.lock index 6429831bd04..6815fb3fd14 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1313,6 +1313,10 @@ "@types/yargs" "^15.0.0" chalk "^4.0.0" +"@matrix-org/olm@https://gitlab.matrix.org/api/v4/projects/27/packages/npm/@matrix-org/olm/-/@matrix-org/olm-3.2.3.tgz": + version "3.2.3" + resolved "https://gitlab.matrix.org/api/v4/projects/27/packages/npm/@matrix-org/olm/-/@matrix-org/olm-3.2.3.tgz#cc332fdd25c08ef0e40f4d33fc3f822a0f98b6f4" + "@mrmlnc/readdir-enhanced@^2.2.1": version "2.2.1" resolved "https://registry.yarnpkg.com/@mrmlnc/readdir-enhanced/-/readdir-enhanced-2.2.1.tgz#524af240d1a360527b730475ecfa1344aa540dde" @@ -8552,10 +8556,6 @@ obuf@^1.0.0, obuf@^1.1.2: resolved "https://registry.yarnpkg.com/obuf/-/obuf-1.1.2.tgz#09bea3343d41859ebd446292d11c9d4db619084e" integrity sha512-PX1wu0AmAdPqOL1mWhqmlOd8kOIZQwGZw6rh7uby9fTc5lhaOWFLX3I6R1hrF9k3zUY40e6igsLGkDXK92LJNg== -"olm@https://packages.matrix.org/npm/olm/olm-3.2.1.tgz": - version "3.2.1" - resolved "https://packages.matrix.org/npm/olm/olm-3.2.1.tgz#d623d76f99c3518dde68be8c86618d68bc7b004a" - on-finished@~2.3.0: version "2.3.0" resolved "https://registry.yarnpkg.com/on-finished/-/on-finished-2.3.0.tgz#20f1336481b083cd75337992a16971aa2d906947"