commit d552baa58a9c28242f9b03d4fa8480ba4532f770
parent 724abac430fc32062877252cef85049a95ede378
Author: Jared Tobin <jared@jtobin.io>
Date: Wed, 7 Aug 2019 07:39:48 -0230
Fix namespacing bug.
Introduced in c8b0a8dc and changed the library's public-facing API.
Diffstat:
3 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/CHANGELOG b/CHANGELOG
@@ -1,5 +1,8 @@
# Changelog
+- 4.1.1 (2019-08-07)
+ * Reverts change that messed up the library's namespacing downstream.
+
- 4.1.0 (2019-08-07)
* Adds a browser build. The library should now "just work" when imported
in a browser app, instead of requiring building downstream. (#24)
diff --git a/package.json b/package.json
@@ -1,6 +1,6 @@
{
"name": "urbit-ob",
- "version": "4.1.0",
+ "version": "4.1.1",
"license": "MIT",
"description": "Utilities for Hoon-style atom printing and conversion",
"main": "src/index.js",
diff --git a/src/index.js b/src/index.js
@@ -2,7 +2,7 @@
const co = require('./internal/co')
const ob = require('./internal/ob')
-module.exports = {
+module.exports = Object.assign(
co,
ob
-}
+)