@or-sdk/bots 0.25.1 → 0.25.2-beta.547.0

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 +21 -0
  2. package/package.json +4 -5
package/README.md ADDED
@@ -0,0 +1,21 @@
1
+ ## Installation:
2
+ ```
3
+ $ npm i @or-sdk/bots
4
+ ```
5
+
6
+ ## Usage:
7
+ ```typescript
8
+ import { Bots } from '@or-sdk/bots'
9
+
10
+ // with direct api url
11
+ const bots = new Bots({
12
+ token: 'my-account-token-string',
13
+ dataHubUrl: 'http://example.bots/endpoint'
14
+ });
15
+
16
+ // with service discovery(slower)
17
+ const bots = new Bots({
18
+ token: 'my-account-token-string',
19
+ discoveryUrl: 'http://example.bots/endpoint'
20
+ });
21
+ ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@or-sdk/bots",
3
- "version": "0.25.1",
3
+ "version": "0.25.2-beta.547.0",
4
4
  "main": "dist/cjs/index.js",
5
5
  "module": "dist/esm/index.js",
6
6
  "types": "dist/types/index.d.ts",
@@ -18,8 +18,8 @@
18
18
  },
19
19
  "dependencies": {
20
20
  "@or-sdk/base": "^0.26.3",
21
- "@or-sdk/data-hub": "^0.25.0",
22
- "@or-sdk/tags": "^0.25.1"
21
+ "@or-sdk/data-hub": "^0.25.1-beta.547.0",
22
+ "@or-sdk/tags": "^0.25.2-beta.547.0"
23
23
  },
24
24
  "devDependencies": {
25
25
  "concurrently": "^6.4.0",
@@ -27,6 +27,5 @@
27
27
  },
28
28
  "publishConfig": {
29
29
  "access": "public"
30
- },
31
- "gitHead": "880d176dc3de700b833670eaa1e968f2ed7172bb"
30
+ }
32
31
  }