hypel 0.2.1 → 0.2.2

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.
Files changed (2) hide show
  1. package/hypel.js +1 -4
  2. package/package.json +1 -1
package/hypel.js CHANGED
@@ -109,10 +109,7 @@ const buildhelper = helpers => h => {
109
109
  const hhopts = opts => helperobj.TAG_NAMES.reduce((hhopts, cur) => (
110
110
  hhopts[cur] = (...args) => namespace[cur](opts, ...args),
111
111
  hhopts
112
- ), {})
113
-
114
- hhopts.encodeid = encodeid
115
- hhopts.decodeid = decodeid
112
+ ), { encodeid, decodeid })
116
113
 
117
114
  return helperobj.TAG_NAMES.reduce((hhoptsfn, tagname) => (
118
115
  hhoptsfn[tagname] = namespace[tagname],
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "hypel",
3
3
  "type": "module",
4
- "version": "0.2.1",
4
+ "version": "0.2.2",
5
5
  "license": "MIT",
6
6
  "readmeFilename": "README.md",
7
7
  "description": "Terse syntax for hyperscript",