motoko 3.3.3 → 3.4.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -397,7 +397,7 @@
397
397
  "set-timer"
398
398
  ],
399
399
  "body": [
400
- "let ${$1:id} = Timer.setTimer(#seconds ${$2:0}, func () {",
400
+ "let ${1:id} = Timer.setTimer(#seconds ${2:0}, func () {",
401
401
  "\t$0",
402
402
  "});"
403
403
  ]
@@ -407,7 +407,7 @@
407
407
  "recurring-timer"
408
408
  ],
409
409
  "body": [
410
- "let ${$1:id} = Timer.recurringTimer(#seconds ${$2:0}, func () {",
410
+ "let ${1:id} = Timer.recurringTimer(#seconds ${2:0}, func () {",
411
411
  "\t$0",
412
412
  "});"
413
413
  ]
@@ -417,7 +417,7 @@
417
417
  "cancel-timer"
418
418
  ],
419
419
  "body": [
420
- "Timer.cancelTimer(${$1:id});"
420
+ "Timer.cancelTimer(${1:id});"
421
421
  ]
422
422
  },
423
423
  "Array to Blob": {
@@ -481,7 +481,7 @@
481
481
  "principal-2-actor"
482
482
  ],
483
483
  "body": [
484
- "actor (Principal.toText(${1:principal})) : actor { $2 }"
484
+ "actor (Principal.toText(${1:principal})) : actor { ${2:method} : ${3:()} -> async ${4:()} }"
485
485
  ]
486
486
  },
487
487
  "Text to Actor": {
@@ -489,7 +489,7 @@
489
489
  "text-2-actor"
490
490
  ],
491
491
  "body": [
492
- "actor (${1:text}) : actor { $2 }"
492
+ "actor (${1:text}) : actor { ${2:method} : ${3:()} -> async ${4:()} }"
493
493
  ]
494
494
  }
495
495
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "motoko",
3
- "version": "3.3.3",
3
+ "version": "3.4.1",
4
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",