@hazae41/stdbob 0.1.5 → 0.1.6

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.
@@ -8,10 +8,11 @@ name: release
8
8
  jobs:
9
9
  compare:
10
10
  name: compare
11
- runs-on: ubuntu-24.04
11
+ runs-on: ubuntu-latest
12
12
  steps:
13
- - uses: actions/checkout@v4
14
- - uses: actions/setup-node@v6
13
+ - run: "sleep 5m"
14
+ - uses: actions/checkout@v7
15
+ - uses: actions/setup-node@v7
15
16
  with:
16
17
  node-version: latest
17
18
  - run: "npm ci && npm run prepack"
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "type": "module",
3
3
  "name": "@hazae41/stdbob",
4
- "version": "0.1.5",
4
+ "version": "0.1.6",
5
5
  "description": "Standard libraries for Bobine WebAssembly VM",
6
6
  "repository": "github:hazae41/stdbob",
7
7
  "author": "hazae41",
@@ -1,3 +1,4 @@
1
+ import { wrapref } from "../wraps/mod";
1
2
 
2
3
  /**
3
4
  * Convert between values and local i32 indices (for use in data structures)
@@ -12,10 +13,10 @@ export namespace pointers {
12
13
  export declare function numerize<T>(value: T): i32
13
14
 
14
15
  /**
15
- * Convert an i32 index back to a value
16
+ * Convert an i32 index back to a value in a wrapref or null if not found
16
17
  */
17
18
  // @ts-ignore: decorator
18
19
  @external("pointers", "denumerize")
19
- export declare function denumerize<T>(index: i32): T
20
+ export declare function denumerize(index: i32): wrapref
20
21
 
21
22
  }