viz-js-lib 0.18.3 → 0.18.4
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/README.md +4 -0
- package/dist/statistics.html +1 -1
- package/dist/viz-tests.min.js +2 -2
- package/dist/viz-tests.min.js.gz +0 -0
- package/dist/viz.min.js +3 -3
- package/dist/viz.min.js.gz +0 -0
- package/lib/browser.js +2 -0
- package/package.json +1 -1
- package/test/browser-exports.test.js +33 -0
package/README.md
CHANGED
|
@@ -117,6 +117,10 @@ viz.agent.find('altbettor', 'VIZ7ii...').then(row => console.log(row));//live ro
|
|
|
117
117
|
The write side is `viz.broadcast.setAgentPermission(...)`. The raw read method is
|
|
118
118
|
`viz.api.getAgentPermissionsAsync(account)`.
|
|
119
119
|
|
|
120
|
+
`viz.agent` is exported by both entries — the Node module and, since 0.18.4, the browser bundle
|
|
121
|
+
(`dist/viz.min.js`). The raw read method stays available as `viz.api.getAgentPermissionsAsync(account)`,
|
|
122
|
+
and the write side is `viz.broadcast.setAgentPermission(...)`.
|
|
123
|
+
|
|
120
124
|
## Contributions
|
|
121
125
|
Patches are welcome! Contributors are listed in the package.json file. Please run the tests before opening a pull request and make sure that you are passing all of them. If you would like to contribute, but don't know what to work on, check the issues list.
|
|
122
126
|
|