@cinerino/sdk 3.121.0-alpha.1 → 3.121.0-alpha.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/example/playground/public/lib/bundle.js +16 -0
- package/lib/bundle.js +16 -0
- package/package.json +2 -2
|
@@ -5124,6 +5124,22 @@ var ActionService = /** @class */ (function (_super) {
|
|
|
5124
5124
|
});
|
|
5125
5125
|
});
|
|
5126
5126
|
};
|
|
5127
|
+
ActionService.prototype.findById = function (params) {
|
|
5128
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
5129
|
+
var _this = this;
|
|
5130
|
+
return __generator(this, function (_a) {
|
|
5131
|
+
return [2 /*return*/, this.fetch({
|
|
5132
|
+
uri: "/actions/" + encodeURIComponent(String(params.id)),
|
|
5133
|
+
method: 'GET',
|
|
5134
|
+
expectedStatusCodes: [http_status_1.OK],
|
|
5135
|
+
qs: { typeOf: params.typeOf }
|
|
5136
|
+
})
|
|
5137
|
+
.then(function (response) { return __awaiter(_this, void 0, void 0, function () { return __generator(this, function (_a) {
|
|
5138
|
+
return [2 /*return*/, response.json()];
|
|
5139
|
+
}); }); })];
|
|
5140
|
+
});
|
|
5141
|
+
});
|
|
5142
|
+
};
|
|
5127
5143
|
return ActionService;
|
|
5128
5144
|
}(service_1.Service));
|
|
5129
5145
|
exports.ActionService = ActionService;
|
package/lib/bundle.js
CHANGED
|
@@ -5124,6 +5124,22 @@ var ActionService = /** @class */ (function (_super) {
|
|
|
5124
5124
|
});
|
|
5125
5125
|
});
|
|
5126
5126
|
};
|
|
5127
|
+
ActionService.prototype.findById = function (params) {
|
|
5128
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
5129
|
+
var _this = this;
|
|
5130
|
+
return __generator(this, function (_a) {
|
|
5131
|
+
return [2 /*return*/, this.fetch({
|
|
5132
|
+
uri: "/actions/" + encodeURIComponent(String(params.id)),
|
|
5133
|
+
method: 'GET',
|
|
5134
|
+
expectedStatusCodes: [http_status_1.OK],
|
|
5135
|
+
qs: { typeOf: params.typeOf }
|
|
5136
|
+
})
|
|
5137
|
+
.then(function (response) { return __awaiter(_this, void 0, void 0, function () { return __generator(this, function (_a) {
|
|
5138
|
+
return [2 /*return*/, response.json()];
|
|
5139
|
+
}); }); })];
|
|
5140
|
+
});
|
|
5141
|
+
});
|
|
5142
|
+
};
|
|
5127
5143
|
return ActionService;
|
|
5128
5144
|
}(service_1.Service));
|
|
5129
5145
|
exports.ActionService = ActionService;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cinerino/sdk",
|
|
3
|
-
"version": "3.121.0-alpha.
|
|
3
|
+
"version": "3.121.0-alpha.2",
|
|
4
4
|
"description": "Cinerino SDK",
|
|
5
5
|
"main": "./lib/index.js",
|
|
6
6
|
"browser": {
|
|
@@ -97,7 +97,7 @@
|
|
|
97
97
|
"watchify": "^3.11.1"
|
|
98
98
|
},
|
|
99
99
|
"dependencies": {
|
|
100
|
-
"@cinerino/api-abstract-client": "3.121.0-alpha.
|
|
100
|
+
"@cinerino/api-abstract-client": "3.121.0-alpha.2",
|
|
101
101
|
"debug": "^3.2.6",
|
|
102
102
|
"http-status": "^1.4.2",
|
|
103
103
|
"idtoken-verifier": "^2.0.3",
|