@leonardo-ai/sdk 1.18.1 → 1.18.2
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 +3 -3
- package/dist/sdk/sdk.js +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -44,8 +44,8 @@ const sdk = new Leonardo({
|
|
|
44
44
|
});
|
|
45
45
|
|
|
46
46
|
const req: CreateDatasetRequestBody = {
|
|
47
|
-
description: "
|
|
48
|
-
name: "
|
|
47
|
+
description: "corrupti",
|
|
48
|
+
name: "provident",
|
|
49
49
|
};
|
|
50
50
|
|
|
51
51
|
sdk.dataset.createDataset(req).then((res: CreateDatasetResponse | AxiosError) => {
|
|
@@ -55,7 +55,7 @@ sdk.dataset.createDataset(req).then((res: CreateDatasetResponse | AxiosError) =>
|
|
|
55
55
|
<!-- End SDK Example Usage -->
|
|
56
56
|
|
|
57
57
|
<!-- Start SDK Available Operations -->
|
|
58
|
-
##
|
|
58
|
+
## Available Resources and Operations
|
|
59
59
|
|
|
60
60
|
|
|
61
61
|
### dataset
|
package/dist/sdk/sdk.js
CHANGED
|
@@ -55,8 +55,8 @@ var Leonardo = /** @class */ (function () {
|
|
|
55
55
|
function Leonardo(props) {
|
|
56
56
|
var _a, _b;
|
|
57
57
|
this._language = "typescript";
|
|
58
|
-
this._sdkVersion = "1.18.
|
|
59
|
-
this._genVersion = "2.16.
|
|
58
|
+
this._sdkVersion = "1.18.2";
|
|
59
|
+
this._genVersion = "2.16.7";
|
|
60
60
|
this._serverURL = (_a = props === null || props === void 0 ? void 0 : props.serverURL) !== null && _a !== void 0 ? _a : exports.ServerList[0];
|
|
61
61
|
this._defaultClient =
|
|
62
62
|
(_b = props === null || props === void 0 ? void 0 : props.defaultClient) !== null && _b !== void 0 ? _b : axios_1.default.create({ baseURL: this._serverURL });
|