motoko 2.0.3 → 2.0.4
Sign up to get free protection for your applications and to get access to all the features.
- package/contrib/hljs.js +2 -1
- package/contrib/monaco.js +1 -0
- package/package.json +6 -2
package/contrib/hljs.js
CHANGED
@@ -35,7 +35,8 @@ exports.configure = (hljs) => {
|
|
35
35
|
' continue debug do else for func if in import' +
|
36
36
|
' module not object or label let loop private' +
|
37
37
|
' public return shared try throw query switch' +
|
38
|
-
' type var while stable flexible system debug_show
|
38
|
+
' type var while stable flexible system debug_show' +
|
39
|
+
' assert ignore from_candid to_candid with',
|
39
40
|
literal: 'true false null',
|
40
41
|
built_in:
|
41
42
|
'Any None Null Bool Int Int8 Int16 Int32 Int64' +
|
package/contrib/monaco.js
CHANGED
package/package.json
CHANGED
@@ -1,10 +1,14 @@
|
|
1
1
|
{
|
2
2
|
"name": "motoko",
|
3
|
-
"version": "2.0.
|
3
|
+
"version": "2.0.4",
|
4
4
|
"description": "Compile Motoko smart contracts in Node.js and the browser.",
|
5
5
|
"author": "Ryan Vandersmith (https://github.com/rvanasa)",
|
6
6
|
"license": "Apache-2.0",
|
7
7
|
"main": "./index.js",
|
8
|
+
"repository": {
|
9
|
+
"type": "git",
|
10
|
+
"url": "https://github.com/dfinity/node-motoko.git"
|
11
|
+
},
|
8
12
|
"scripts": {
|
9
13
|
"generate": "node utils/generate",
|
10
14
|
"test": "jest"
|
@@ -21,7 +25,7 @@
|
|
21
25
|
},
|
22
26
|
"directories": {
|
23
27
|
"lib": "lib",
|
24
|
-
"
|
28
|
+
"example": "examples"
|
25
29
|
},
|
26
30
|
"files": [
|
27
31
|
"index.js",
|