@hazae41/stdbob 0.0.19 → 0.0.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "type": "module",
3
3
  "name": "@hazae41/stdbob",
4
- "version": "0.0.19",
4
+ "version": "0.0.21",
5
5
  "description": "Standard libraries for Bobine WebAssembly VM",
6
6
  "repository": "github:hazae41/stdbob",
7
7
  "author": "hazae41",
@@ -10,4 +10,8 @@ export namespace env {
10
10
  @external("env", "uuid")
11
11
  export declare function uuid(): textref
12
12
 
13
+ // @ts-ignore: decorator
14
+ @external("env", "panic")
15
+ export declare function panic<T>(): T
16
+
13
17
  }
package/tsconfig.json CHANGED
@@ -2,7 +2,8 @@
2
2
  "extends": "assemblyscript/std/assembly.json",
3
3
  "compilerOptions": {
4
4
  "module": "preserve",
5
- "moduleResolution": "bundler"
5
+ "moduleResolution": "bundler",
6
+ "strict": true
6
7
  },
7
8
  "include": [
8
9
  "./**/*.ts"