@webex/internal-plugin-wdm 3.0.0-beta.13 → 3.0.0-beta.15
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 +1 -3
- package/dist/index.js.map +1 -1
- package/package.json +6 -6
- package/src/index.js +2 -9
- package/test/integration/spec/webex.js +6 -6
package/README.md
CHANGED
|
@@ -26,14 +26,12 @@ npm install --save @webex/internal-plugin-wdm
|
|
|
26
26
|
## Usage
|
|
27
27
|
|
|
28
28
|
```js
|
|
29
|
-
|
|
30
29
|
import '@webex/internal-plugin-wdm';
|
|
31
30
|
|
|
32
31
|
import WebexCore from '@webex/webex-core';
|
|
33
32
|
|
|
34
33
|
const webex = new WebexCore();
|
|
35
|
-
webex.internal.wdm.WHATEVER
|
|
36
|
-
|
|
34
|
+
webex.internal.wdm.WHATEVER;
|
|
37
35
|
```
|
|
38
36
|
|
|
39
37
|
## Maintainers
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["Device"],"sources":["index.js"],"sourcesContent":["/*!\n * Copyright (c) 2015-2020 Cisco Systems, Inc. See LICENSE file.\n */\n\nimport Device, {\n config,\n constants,\n DeviceUrlInterceptor,\n FeatureCollection,\n FeatureModel,\n FeaturesModel
|
|
1
|
+
{"version":3,"names":["Device"],"sources":["index.js"],"sourcesContent":["/*!\n * Copyright (c) 2015-2020 Cisco Systems, Inc. See LICENSE file.\n */\n\nimport Device, {\n config,\n constants,\n DeviceUrlInterceptor,\n FeatureCollection,\n FeatureModel,\n FeaturesModel,\n} from '@webex/internal-plugin-device';\n\nexport default Device;\nexport {config, constants, DeviceUrlInterceptor, FeatureCollection, FeatureModel, FeaturesModel};\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIA;;;;;;AAJA;AACA;AACA;eAWeA,6B"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@webex/internal-plugin-wdm",
|
|
3
|
-
"version": "3.0.0-beta.
|
|
3
|
+
"version": "3.0.0-beta.15",
|
|
4
4
|
"description": "",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -20,10 +20,10 @@
|
|
|
20
20
|
]
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@webex/internal-plugin-device": "3.0.0-beta.
|
|
24
|
-
"@webex/internal-plugin-wdm": "3.0.0-beta.
|
|
25
|
-
"@webex/test-helper-chai": "3.0.0-beta.
|
|
26
|
-
"@webex/test-helper-test-users": "3.0.0-beta.
|
|
27
|
-
"@webex/webex-core": "3.0.0-beta.
|
|
23
|
+
"@webex/internal-plugin-device": "3.0.0-beta.15",
|
|
24
|
+
"@webex/internal-plugin-wdm": "3.0.0-beta.15",
|
|
25
|
+
"@webex/test-helper-chai": "3.0.0-beta.15",
|
|
26
|
+
"@webex/test-helper-test-users": "3.0.0-beta.15",
|
|
27
|
+
"@webex/webex-core": "3.0.0-beta.15"
|
|
28
28
|
}
|
|
29
29
|
}
|
package/src/index.js
CHANGED
|
@@ -8,15 +8,8 @@ import Device, {
|
|
|
8
8
|
DeviceUrlInterceptor,
|
|
9
9
|
FeatureCollection,
|
|
10
10
|
FeatureModel,
|
|
11
|
-
FeaturesModel
|
|
11
|
+
FeaturesModel,
|
|
12
12
|
} from '@webex/internal-plugin-device';
|
|
13
13
|
|
|
14
14
|
export default Device;
|
|
15
|
-
export {
|
|
16
|
-
config,
|
|
17
|
-
constants,
|
|
18
|
-
DeviceUrlInterceptor,
|
|
19
|
-
FeatureCollection,
|
|
20
|
-
FeatureModel,
|
|
21
|
-
FeaturesModel
|
|
22
|
-
};
|
|
15
|
+
export {config, constants, DeviceUrlInterceptor, FeatureCollection, FeatureModel, FeaturesModel};
|
|
@@ -14,22 +14,22 @@ describe('plugin-wdm', () => {
|
|
|
14
14
|
let user;
|
|
15
15
|
let webex;
|
|
16
16
|
|
|
17
|
-
before('create users', () =>
|
|
18
|
-
.then(([createdUser]) => {
|
|
17
|
+
before('create users', () =>
|
|
18
|
+
testUsers.create({count: 1}).then(([createdUser]) => {
|
|
19
19
|
user = createdUser;
|
|
20
|
-
})
|
|
20
|
+
})
|
|
21
|
+
);
|
|
21
22
|
|
|
22
23
|
beforeEach('create webex instance', () => {
|
|
23
24
|
webex = new WebexCore({
|
|
24
|
-
credentials: user.token
|
|
25
|
+
credentials: user.token,
|
|
25
26
|
});
|
|
26
27
|
|
|
27
28
|
device = webex.internal.device;
|
|
28
29
|
});
|
|
29
30
|
|
|
30
31
|
describe('when the plugin is imported', () => {
|
|
31
|
-
it(
|
|
32
|
-
assert.isDefined(device));
|
|
32
|
+
it("should define a 'device' plugin", () => assert.isDefined(device));
|
|
33
33
|
|
|
34
34
|
it('should contain all common device method members', () => {
|
|
35
35
|
assert.isFunction(device.checkNetworkReachability);
|