New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@workerbase/sdk

Package Overview
Dependencies
Maintainers
2
Versions
114
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@workerbase/sdk - npm Package Compare versions

Comparing version 0.1.23 to 0.1.24

27

dist/utils/WorkerbaseRessource.js

@@ -78,14 +78,19 @@ "use strict";

},
_a[BasicMethods.GET] = function (id) { return __awaiter(void 0, void 0, void 0, function () {
var data, item;
return __generator(this, function (_a) {
switch (_a.label) {
case 0: return [4 /*yield*/, doRequest_1.doRequest(_api, endpoint + "/" + id, {}, internalHostname)];
case 1:
data = (_a.sent()).data;
item = data.data;
return [2 /*return*/, transformData(item)];
}
_a[BasicMethods.GET] = function (id, options) {
if (options === void 0) { options = {}; }
return __awaiter(void 0, void 0, void 0, function () {
var data, item;
return __generator(this, function (_a) {
switch (_a.label) {
case 0: return [4 /*yield*/, doRequest_1.doRequest(_api, endpoint + "/" + id, {
params: options,
}, internalHostname)];
case 1:
data = (_a.sent()).data;
item = data.data;
return [2 /*return*/, transformData(item)];
}
});
});
}); },
},
_a[BasicMethods.UPDATE] = function (id, changes) { return __awaiter(void 0, void 0, void 0, function () {

@@ -92,0 +97,0 @@ var data, item;

{
"name": "@workerbase/sdk",
"version": "0.1.23",
"version": "0.1.24",
"description": "",

@@ -5,0 +5,0 @@ "scripts": {

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc