harfbuzzjs 0.3.2 → 0.3.3

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/hb-subset.wasm CHANGED
Binary file
package/hb.wasm CHANGED
Binary file
package/hbjs.js CHANGED
@@ -142,7 +142,7 @@ function hbjs(instance) {
142
142
  var unicodeSetPtr = exports.hb_set_create();
143
143
  exports.hb_face_collect_unicodes(ptr, unicodeSetPtr);
144
144
  var result = typedArrayFromSet(unicodeSetPtr, Uint32Array);
145
- exports.hb_set_destroy(ptr);
145
+ exports.hb_set_destroy(unicodeSetPtr);
146
146
  return result;
147
147
  },
148
148
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "harfbuzzjs",
3
- "version": "0.3.2",
3
+ "version": "0.3.3",
4
4
  "description": "Minimal version of HarfBuzz for JavaScript use",
5
5
  "main": "index.js",
6
6
  "scripts": {