@hazae41/stdbob 0.0.21 → 0.1.0

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.21",
4
+ "version": "0.1.0",
5
5
  "description": "Standard libraries for Bobine WebAssembly VM",
6
6
  "repository": "github:hazae41/stdbob",
7
7
  "author": "hazae41",
@@ -108,6 +108,14 @@ export namespace bigints {
108
108
  @external("bigints", "neq")
109
109
  export declare function neq(left: bigintref, right: bigintref): bool
110
110
 
111
+ // @ts-ignore: decorator
112
+ @external("bigints", "min")
113
+ export declare function min(left: bigintref, right: bigintref): bigintref
114
+
115
+ // @ts-ignore: decorator
116
+ @external("bigints", "max")
117
+ export declare function max(left: bigintref, right: bigintref): bigintref
118
+
111
119
  // @ts-ignore: decorator
112
120
  @external("bigints", "from_base16")
113
121
  export declare function fromBase16(text: textref): bigintref
@@ -12,6 +12,6 @@ export namespace env {
12
12
 
13
13
  // @ts-ignore: decorator
14
14
  @external("env", "panic")
15
- export declare function panic<T>(): T
15
+ export declare function panic<T>(message: textref): T
16
16
 
17
17
  }