@omnisat/lasereyes 0.0.153-next.1 → 0.0.153

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/dist/index.js CHANGED
@@ -49938,8 +49938,12 @@ class wMe {
49938
49938
  "Content-Type": "application/json",
49939
49939
  "api-key": this.apiKey
49940
49940
  }
49941
- };
49942
- return (t === "get" ? await ti.get(i, o) : await ti.post(i, n, o)).data;
49941
+ }, a = t === "get" ? await ti.get(i, o) : await ti.post(i, n, o);
49942
+ if (!a || !a.data)
49943
+ throw new Error(
49944
+ `Invalid response from Maestro API: ${JSON.stringify(a)}`
49945
+ );
49946
+ return a.data;
49943
49947
  } catch (o) {
49944
49948
  throw console.error("MaestroDataSource.call error:", o), o;
49945
49949
  }
@@ -135243,8 +135247,12 @@ class Lot {
135243
135247
  "Content-Type": "application/json",
135244
135248
  "api-key": this.apiKey
135245
135249
  }
135246
- };
135247
- return (t === "get" ? await ri.get(i, o) : await ri.post(i, n, o)).data;
135250
+ }, a = t === "get" ? await ri.get(i, o) : await ri.post(i, n, o);
135251
+ if (!a || !a.data)
135252
+ throw new Error(
135253
+ `Invalid response from Maestro API: ${JSON.stringify(a)}`
135254
+ );
135255
+ return a.data;
135248
135256
  } catch (o) {
135249
135257
  throw console.error("MaestroDataSource.call error:", o), o;
135250
135258
  }
package/dist/ui.js CHANGED
@@ -52496,8 +52496,12 @@ class SPe {
52496
52496
  "Content-Type": "application/json",
52497
52497
  "api-key": this.apiKey
52498
52498
  }
52499
- };
52500
- return (t === "get" ? await Zn.get(i, o) : await Zn.post(i, n, o)).data;
52499
+ }, a = t === "get" ? await Zn.get(i, o) : await Zn.post(i, n, o);
52500
+ if (!a || !a.data)
52501
+ throw new Error(
52502
+ `Invalid response from Maestro API: ${JSON.stringify(a)}`
52503
+ );
52504
+ return a.data;
52501
52505
  } catch (o) {
52502
52506
  throw console.error("MaestroDataSource.call error:", o), o;
52503
52507
  }
@@ -138256,8 +138260,12 @@ class Ett {
138256
138260
  "Content-Type": "application/json",
138257
138261
  "api-key": this.apiKey
138258
138262
  }
138259
- };
138260
- return (t === "get" ? await ji.get(i, o) : await ji.post(i, n, o)).data;
138263
+ }, a = t === "get" ? await ji.get(i, o) : await ji.post(i, n, o);
138264
+ if (!a || !a.data)
138265
+ throw new Error(
138266
+ `Invalid response from Maestro API: ${JSON.stringify(a)}`
138267
+ );
138268
+ return a.data;
138261
138269
  } catch (o) {
138262
138270
  throw console.error("MaestroDataSource.call error:", o), o;
138263
138271
  }
package/package.json CHANGED
@@ -20,7 +20,7 @@
20
20
  "url": "https://github.com/omnisat/lasereyes-mono.git"
21
21
  },
22
22
  "private": false,
23
- "version": "0.0.153-next.1",
23
+ "version": "0.0.153",
24
24
  "type": "module",
25
25
  "module": "./dist/index.js",
26
26
  "files": [
@@ -40,9 +40,9 @@
40
40
  },
41
41
  "dependencies": {
42
42
  "bip39": "^3.1.0",
43
- "@omnisat/lasereyes-core": "0.0.75-next.1",
44
- "@omnisat/lasereyes-ui": "0.0.12-next.1",
45
- "@omnisat/lasereyes-react": "0.0.70-next.1"
43
+ "@omnisat/lasereyes-core": "0.0.75",
44
+ "@omnisat/lasereyes-ui": "0.0.12",
45
+ "@omnisat/lasereyes-react": "0.0.70"
46
46
  },
47
47
  "license": "MIT",
48
48
  "publishConfig": {