@ucloud-sdks/ucloud-sdk-js 0.2.6 → 0.2.7
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/lib/services/index.d.ts
CHANGED
package/lib/services/index.js
CHANGED
|
@@ -21,6 +21,7 @@ const UK8SClient = require('./uk8s').default;
|
|
|
21
21
|
const ULBClient = require('./ulb').default;
|
|
22
22
|
const ULightHostClient = require('./ulight_host').default;
|
|
23
23
|
const UMemClient = require('./umem').default;
|
|
24
|
+
const UMongoDBClient = require('./umongodb').default;
|
|
24
25
|
const UNetClient = require('./unet').default;
|
|
25
26
|
const UPhoneClient = require('./uphone').default;
|
|
26
27
|
const UPHostClient = require('./uphost').default;
|
|
@@ -145,6 +146,12 @@ class Client extends BaseClient {
|
|
|
145
146
|
credential: this.credential,
|
|
146
147
|
});
|
|
147
148
|
}
|
|
149
|
+
umongodb() {
|
|
150
|
+
return new UMongoDBClient({
|
|
151
|
+
config: this.config,
|
|
152
|
+
credential: this.credential,
|
|
153
|
+
});
|
|
154
|
+
}
|
|
148
155
|
unet() {
|
|
149
156
|
return new UNetClient({
|
|
150
157
|
config: this.config,
|