motoko 3.3.0 → 3.3.2
Sign up to get free protection for your applications and to get access to all the features.
package/contrib/snippets.json
CHANGED
@@ -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