File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ attached to ``window`` through which you can access the SDK. See below for how t
1616include libolm to enable end-to-end-encryption.
1717
1818The browser bundle supports recent versions of browsers. Typically this is ES2015
19- or ` > 0.5%, last 2 versions, Firefox ESR, not dead ` if using
19+ or ` > 0.5%, last 2 versions, Firefox ESR, not dead ` if using
2020[ browserlists] ( https://github.com/browserslist/browserslist ) .
2121
2222Please check [ the working browser example] ( examples/browser ) for more information.
@@ -26,11 +26,11 @@ In Node.js
2626
2727Ensure you have the latest LTS version of Node.js installed.
2828
29- This SDK targets Node 10 for compatibility, which translates to ES6. If you're using
29+ This SDK targets Node 12 for compatibility, which translates to ES6. If you're using
3030a bundler like webpack you'll likely have to transpile dependencies, including this
3131SDK, to match your target browsers.
3232
33- Using ` yarn ` instead of ` npm ` is recommended. Please see the Yarn [ install guide] ( https://classic.yarnpkg.com/en/docs/install )
33+ Using ` yarn ` instead of ` npm ` is recommended. Please see the Yarn [ install guide] ( https://classic.yarnpkg.com/en/docs/install )
3434if you do not have it already.
3535
3636`` yarn add matrix-js-sdk ``
Original file line number Diff line number Diff line change 22 "name" : " matrix-js-sdk" ,
33 "version" : " 17.1.0" ,
44 "description" : " Matrix Client-Server SDK for Javascript" ,
5+ "engines" : {
6+ "node" : " >=12.9.0"
7+ },
58 "scripts" : {
69 "prepublishOnly" : " yarn build" ,
710 "start" : " echo THIS IS FOR LEGACY PURPOSES ONLY. && babel src -w -s -d lib --verbose --extensions \" .ts,.js\" " ,
You can’t perform that action at this time.
0 commit comments