commandbar 1.7.2 → 1.7.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (32) hide show
  1. package/build/commandbar-js/src/index.js +1 -1
  2. package/build/commandbar-js/src/init.d.ts +1 -1
  3. package/build/internal/src/client/AddContextOptions.d.ts +6 -7
  4. package/build/internal/src/client/AnalyticsEventTypes.d.ts +1 -1
  5. package/build/internal/src/client/CommandBarClientSDK.d.ts +18 -29
  6. package/build/internal/src/client/CommandBarSDK.d.ts +16 -2
  7. package/build/internal/src/client/EventHandler.d.ts +81 -16
  8. package/build/internal/src/client/globals.d.ts +1 -0
  9. package/build/internal/src/client/symbols.d.ts +6 -0
  10. package/build/internal/src/middleware/CommandFromClientV.d.ts +30 -47
  11. package/build/internal/src/middleware/OrganizationV.d.ts +7 -0
  12. package/build/internal/src/middleware/ResourceSettingsV.d.ts +2 -0
  13. package/build/internal/src/middleware/checklist.d.ts +740 -0
  14. package/build/internal/src/middleware/command.d.ts +680 -977
  15. package/build/internal/src/middleware/dashboardFlags.d.ts +9 -0
  16. package/build/internal/src/middleware/detailPreview.d.ts +3 -0
  17. package/build/internal/src/middleware/helpers/actions.d.ts +84 -0
  18. package/build/internal/src/middleware/helpers/argument.d.ts +0 -120
  19. package/build/internal/src/middleware/helpers/commandTemplate.d.ts +60 -60
  20. package/build/internal/src/middleware/helpers/endUser.d.ts +1 -0
  21. package/build/internal/src/middleware/helpers/goals.d.ts +26 -0
  22. package/build/internal/src/middleware/helpers/rules.d.ts +48 -22
  23. package/build/internal/src/middleware/helpers/tags.d.ts +7 -0
  24. package/build/internal/src/middleware/historyEvent.d.ts +0 -19
  25. package/build/internal/src/middleware/nudge.d.ts +890 -94
  26. package/build/internal/src/middleware/organization.d.ts +88 -56
  27. package/build/internal/src/middleware/skin.d.ts +13 -2
  28. package/build/internal/src/middleware/types.d.ts +29 -11
  29. package/build/internal/src/middleware/user.d.ts +2 -1
  30. package/build/internal/src/util/LocalStorage.d.ts +1 -1
  31. package/package.json +2 -3
  32. package/src/init.ts +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "commandbar",
3
- "version": "1.7.2",
3
+ "version": "1.7.3",
4
4
  "description": "Javascript Utility for CommandBar",
5
5
  "main": "build/commandbar-js/src/index.js",
6
6
  "types": "build/commandbar-js/src/index.d.ts",
@@ -20,8 +20,7 @@
20
20
  "dependencies": {
21
21
  "commandbar-launcher": "^1.1.9",
22
22
  "fp-ts": "2.10.5",
23
- "io-ts": "^2.2.14",
24
- "react-hot-toast": "^2.3.0"
23
+ "io-ts": "^2.2.14"
25
24
  },
26
25
  "devDependencies": {
27
26
  "rimraf": "3.0.2",
package/src/init.ts CHANGED
@@ -51,7 +51,7 @@ const DEFAULT_OPTS = { debug: false };
51
51
  * this function it will be possible to access window.CommandBar and call the SDK methods, even if the scripts have not
52
52
  * finished loading yet.
53
53
  *
54
- * @param {string} org Your organization ID, which can be found [here](https://app.commandbar.com/docs/getting-started/installation#step-1:-install-commandbar).
54
+ * @param {string} org Your organization ID, which can be found [here](https://commandbar.com/docs/dev/installation).
55
55
  * @param {IInitOptions} [opts] Additional options to use for initialization: `debug` will enable additional logging, `environment` specifies the environment to load config from
56
56
  * output.
57
57
  */