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.
- package/README.md +2 -2
- package/package.json +3 -3
package/README.md
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
|
2
2
|
# MotokoJS · [](https://www.npmjs.com/package/motoko) [](https://opensource.org/licenses/Apache-2.0) [](https://github.com/dfinity/motoko/issues)
|
3
3
|
|
4
|
-
>
|
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
|
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.
|
4
|
-
"description": "Compile Motoko smart contracts in Node.js
|
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": "
|
8
|
+
"types": "lib/versions/moc.d.ts",
|
9
9
|
"repository": {
|
10
10
|
"type": "git",
|
11
11
|
"url": "https://github.com/dfinity/node-motoko.git"
|