@thi.ng/wasm-api 0.13.0 → 0.13.1

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/CHANGELOG.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Change Log
2
2
 
3
- - **Last updated**: 2022-10-04T10:33:14Z
3
+ - **Last updated**: 2022-10-04T17:35:45Z
4
4
  - **Generator**: [thi.ng/monopub](https://thi.ng/monopub)
5
5
 
6
6
  All notable changes to this project will be documented in this file.
package/codegen/c11.js CHANGED
@@ -36,11 +36,10 @@ export const C11 = (opts = {}) => {
36
36
  #ifdef __cplusplus
37
37
  extern "C" {
38
38
  #endif
39
-
40
39
  ${opts.debug ? "\n#include <stdalign.h>" : ""}
41
40
  #include <stddef.h>
42
41
  #include <stdint.h>${opts.pre ? `\n${opts.pre}` : ""}`,
43
- post: () => `${opts.post ? `${opts.post}\n` : ""}#ifdef __cplusplus\n}\n#endif`,
42
+ post: () => `${opts.post ? `${opts.post}\n` : ""}#ifdef __cplusplus\n}\n#endif\n`,
44
43
  doc: (doc, acc, opts) => {
45
44
  acc.push(...prefixLines("// ", doc, opts.lineWidth));
46
45
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thi.ng/wasm-api",
3
- "version": "0.13.0",
3
+ "version": "0.13.1",
4
4
  "description": "Generic, modular, extensible API bridge, polyglot glue code and bindings code generators for hybrid JS & WebAssembly projects",
5
5
  "type": "module",
6
6
  "module": "./index.js",
@@ -37,18 +37,18 @@
37
37
  },
38
38
  "dependencies": {
39
39
  "@thi.ng/api": "^8.4.3",
40
- "@thi.ng/args": "^2.2.3",
40
+ "@thi.ng/args": "^2.2.4",
41
41
  "@thi.ng/binary": "^3.3.6",
42
42
  "@thi.ng/checks": "^3.2.6",
43
43
  "@thi.ng/compare": "^2.1.13",
44
- "@thi.ng/defmulti": "^2.1.16",
45
- "@thi.ng/errors": "^2.2.1",
46
- "@thi.ng/file-io": "^0.3.13",
44
+ "@thi.ng/defmulti": "^2.1.17",
45
+ "@thi.ng/errors": "^2.2.2",
46
+ "@thi.ng/file-io": "^0.3.14",
47
47
  "@thi.ng/hex": "^2.2.1",
48
- "@thi.ng/idgen": "^2.1.14",
48
+ "@thi.ng/idgen": "^2.1.15",
49
49
  "@thi.ng/logger": "^1.4.0",
50
- "@thi.ng/paths": "^5.1.16",
51
- "@thi.ng/strings": "^3.3.13"
50
+ "@thi.ng/paths": "^5.1.17",
51
+ "@thi.ng/strings": "^3.3.14"
52
52
  },
53
53
  "devDependencies": {
54
54
  "@microsoft/api-extractor": "^7.31.1",
@@ -136,5 +136,5 @@
136
136
  "status": "alpha",
137
137
  "year": 2022
138
138
  },
139
- "gitHead": "6f14e9de72c701f9c3c12d2e1bbd34a5dc86197a\n"
139
+ "gitHead": "c3f7d6598c7d7d0c61ba87150a56deac12649d7b\n"
140
140
  }