@smapiot/piral-cloud-node 1.16.5 → 1.16.6-pre.20250815.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/lib/index.cjs.js +2 -0
- package/lib/index.esm.js +2 -0
- package/package.json +2 -2
package/lib/index.cjs.js
CHANGED
|
@@ -5212,6 +5212,8 @@ var FeedServiceApiClient = class {
|
|
|
5212
5212
|
}
|
|
5213
5213
|
);
|
|
5214
5214
|
}
|
|
5215
|
+
} else if (res.status >= 500 && res.status < 600) {
|
|
5216
|
+
throw new Error(`HTTP call failed with status ${res.status}: ${res.statusText}`);
|
|
5215
5217
|
}
|
|
5216
5218
|
return res;
|
|
5217
5219
|
}).then(getJsonResponse);
|
package/lib/index.esm.js
CHANGED
|
@@ -5210,6 +5210,8 @@ var FeedServiceApiClient = class {
|
|
|
5210
5210
|
}
|
|
5211
5211
|
);
|
|
5212
5212
|
}
|
|
5213
|
+
} else if (res.status >= 500 && res.status < 600) {
|
|
5214
|
+
throw new Error(`HTTP call failed with status ${res.status}: ${res.statusText}`);
|
|
5213
5215
|
}
|
|
5214
5216
|
return res;
|
|
5215
5217
|
}).then(getJsonResponse);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smapiot/piral-cloud-node",
|
|
3
|
-
"version": "1.16.
|
|
3
|
+
"version": "1.16.6-pre.20250815.2",
|
|
4
4
|
"description": "Piral Cloud: Node-usable API Client for the Piral Feed Service.",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "smapiot",
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
"node"
|
|
53
53
|
],
|
|
54
54
|
"devDependencies": {
|
|
55
|
-
"@piral/feed-client": "^1.16.
|
|
55
|
+
"@piral/feed-client": "^1.16.6",
|
|
56
56
|
"dets": "^0.16",
|
|
57
57
|
"esbuild": "^0.25.4",
|
|
58
58
|
"node-fetch": "^3.3.2"
|