motoko 3.3.1 → 3.3.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -421,5 +421,21 @@
421
421
  "body": [
422
422
  "Principal.fromActor(${1:actor})"
423
423
  ]
424
+ },
425
+ "Principal to Actor": {
426
+ "prefix": [
427
+ "principal-2-actor"
428
+ ],
429
+ "body": [
430
+ "actor (Principal.toText(${1:principal})) : actor { $2 }"
431
+ ]
432
+ },
433
+ "Text to Actor": {
434
+ "prefix": [
435
+ "text-2-actor"
436
+ ],
437
+ "body": [
438
+ "actor (${1:text})) : actor { $2 }"
439
+ ]
424
440
  }
425
441
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "motoko",
3
- "version": "3.3.1",
3
+ "version": "3.3.2",
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",