motoko 2.0.8 → 2.0.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +2 -2
  2. package/package.json +3 -3
package/README.md CHANGED
@@ -1,7 +1,7 @@
1
1
 
2
2
  # MotokoJS · [![npm version](https://img.shields.io/npm/v/motoko.svg?logo=npm)](https://www.npmjs.com/package/motoko) [![GitHub license](https://img.shields.io/badge/license-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0) [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](https://github.com/dfinity/motoko/issues)
3
3
 
4
- > ### Compile [Motoko](https://smartcontracts.org/) smart contracts in Node.js and the browser.
4
+ > #### Compile and run [Motoko](https://smartcontracts.org/) smart contracts in Node.js or the browser.
5
5
 
6
6
  ---
7
7
 
@@ -137,7 +137,7 @@ mo.parseMotoko(motokoString)
137
137
  // Return the parse tree for a Candid string
138
138
  mo.parseCandid(candidString)
139
139
 
140
- // Get the version name
140
+ // Get the compiler version ('latest' by default)
141
141
  mo.version
142
142
 
143
143
  // Access the underlying Motoko compiler
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "motoko",
3
- "version": "2.0.8",
4
- "description": "Compile Motoko smart contracts in Node.js and the browser.",
3
+ "version": "2.0.9",
4
+ "description": "Compile and run Motoko smart contracts in Node.js or the browser.",
5
5
  "author": "Ryan Vandersmith (https://github.com/rvanasa)",
6
6
  "license": "Apache-2.0",
7
7
  "main": "./index.js",
8
- "types": "./index.d.ts",
8
+ "types": "lib/versions/moc.d.ts",
9
9
  "repository": {
10
10
  "type": "git",
11
11
  "url": "https://github.com/dfinity/node-motoko.git"