@pitcher/js-api 1.1.0 → 1.1.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.
Files changed (2) hide show
  1. package/README.md +4 -4
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -16,12 +16,12 @@ This is the JavaScript API to interact with the data layer of the NG platform.
16
16
  <body>
17
17
  <script>
18
18
  const api = pitcher.usePitcherApi()
19
- const ui = pitcher.useUi()
20
- const admin = pitcher.useAdmin()
19
+ const uiApi = pitcher.useUi()
20
+ const adminApi = pitcher.useAdmin()
21
21
 
22
22
  api.getEnv() // soon to be snake_case as well
23
- ui.select_content()
24
- admin.get_env()
23
+ uiApi.ui_select_content()
24
+ adminApi.get_env()
25
25
  </script>
26
26
  </body>
27
27
  </html>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pitcher/js-api",
3
- "version": "1.1.0",
3
+ "version": "1.1.1",
4
4
  "type": "module",
5
5
  "main": "js-api.umd.min.js",
6
6
  "sideEffects": false