motoko 3.6.7 → 3.6.8

Sign up to get free protection for your applications and to get access to all the features.
@@ -499,5 +499,18 @@
499
499
  "body": [
500
500
  "actor (${1:text}) : actor { ${2:method} : ${3:()} -> async ${4:()} }"
501
501
  ]
502
+ },
503
+ "Profiling Region": {
504
+ "prefix": [
505
+ "profiling-region"
506
+ ],
507
+ "body": [
508
+ "stable let profiling = do {",
509
+ "\tlet r = Region.new();",
510
+ "\tignore Region.grow(r, 32);",
511
+ "\tr",
512
+ "};"
513
+ ],
514
+ "description": "include as the first line in an actor for stable memory region profiling"
502
515
  }
503
516
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "motoko",
3
- "version": "3.6.7",
3
+ "version": "3.6.8",
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",