silgi 0.2.2 → 0.2.3

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.
@@ -3,7 +3,7 @@ import consola from 'consola';
3
3
 
4
4
  const name = "silgi";
5
5
  const type = "module";
6
- const version = "0.2.2";
6
+ const version = "0.2.3";
7
7
  const packageManager = "pnpm@9.15.1";
8
8
  const sideEffects = false;
9
9
  const exports = {
package/dist/index.mjs CHANGED
@@ -280,6 +280,9 @@ class SilgiHelper {
280
280
  ...query,
281
281
  ...body
282
282
  });
283
+ if (data.success) {
284
+ return data.data;
285
+ }
283
286
  return {
284
287
  path: event.path,
285
288
  method: event.method,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "silgi",
3
3
  "type": "module",
4
- "version": "0.2.2",
4
+ "version": "0.2.3",
5
5
  "sideEffects": false,
6
6
  "exports": {
7
7
  ".": {