@omnisat/lasereyes 0.0.136-rc.1 → 0.0.136-rc.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.
Files changed (2) hide show
  1. package/dist/index.js +42 -46
  2. package/package.json +3 -3
package/dist/index.js CHANGED
@@ -45070,16 +45070,15 @@ class AJ extends vi {
45070
45070
  }
45071
45071
  f[s].length > 0 && (l = { ...l, ...f }), h[c].length > 0 && (l = { ...l, ...h });
45072
45072
  let y, m, w, v;
45073
- const x = await xp(
45074
- "signPsbt",
45075
- {
45076
- psbt: n,
45077
- broadcast: !!i,
45078
- signInputs: l
45079
- }
45080
- );
45073
+ const x = await xp("signPsbt", {
45074
+ psbt: n,
45075
+ broadcast: !!i,
45076
+ signInputs: l
45077
+ });
45081
45078
  if (x.status === "success")
45082
- v = Gt.fromBase64(x.result.psbt, { network: Fr(this.network) }), y = x.result.txid;
45079
+ v = Gt.fromBase64(x.result.psbt, {
45080
+ network: Fr(this.network)
45081
+ }), y = x.result.txid;
45083
45082
  else
45084
45083
  throw x.error.code === fd.USER_REJECTION ? new Error("User canceled the request") : new Error("Error signing psbt");
45085
45084
  if (!v)
@@ -45094,7 +45093,10 @@ class AJ extends vi {
45094
45093
  }
45095
45094
  }
45096
45095
  async getInscriptions(t, r) {
45097
- const n = await xp("ord_getInscriptions", { offset: t || 0, limit: r || 10 });
45096
+ const n = await xp("ord_getInscriptions", {
45097
+ offset: t || 0,
45098
+ limit: r || 10
45099
+ });
45098
45100
  if (n.status === "success")
45099
45101
  return console.log(n.result), n.result.inscriptions;
45100
45102
  throw console.error(n.error), new Error("Error getting inscriptions");
@@ -45862,10 +45864,7 @@ var b_ = {};
45862
45864
  };
45863
45865
  Object.defineProperty(e, "__esModule", { value: !0 }), r(n_, e), r(a_, e), r(l_, e), r(d_, e), r(p_, e), r(Ei, e), r(m_, e), r(b_, e);
45864
45866
  })(dd);
45865
- const YJ = /* @__PURE__ */ KB(dd), {
45866
- signMessage: JJ,
45867
- sendBtcTransaction: QJ
45868
- } = YJ, eQ = "ORANGE_CONNECTED_WALLET_STATE";
45867
+ const YJ = /* @__PURE__ */ KB(dd), { signMessage: JJ, sendBtcTransaction: QJ } = YJ, eQ = "ORANGE_CONNECTED_WALLET_STATE";
45869
45868
  let tQ = class extends vi {
45870
45869
  constructor() {
45871
45870
  super(...arguments), ve(this, "observer"), ve(this, "$valueStore", Du(
@@ -46031,16 +46030,15 @@ let tQ = class extends vi {
46031
46030
  }
46032
46031
  f[s].length > 0 && (l = { ...l, ...f }), h[c].length > 0 && (l = { ...l, ...h });
46033
46032
  let y, m, w, v;
46034
- const x = await dd.request(
46035
- "signPsbt",
46036
- {
46037
- psbt: n,
46038
- broadcast: !!i,
46039
- signInputs: l
46040
- }
46041
- );
46033
+ const x = await dd.request("signPsbt", {
46034
+ psbt: n,
46035
+ broadcast: !!i,
46036
+ signInputs: l
46037
+ });
46042
46038
  if (x.status === "success")
46043
- v = Gt.fromBase64(x.result.psbt, { network: Fr(this.network) }), y = x.result.txid;
46039
+ v = Gt.fromBase64(x.result.psbt, {
46040
+ network: Fr(this.network)
46041
+ }), y = x.result.txid;
46044
46042
  else
46045
46043
  throw x.error.code === dd.RpcErrorCode.USER_REJECTION ? new Error("User canceled the request") : new Error("Error signing psbt");
46046
46044
  if (!v)
@@ -92020,16 +92018,15 @@ class sye extends Ai {
92020
92018
  }
92021
92019
  f[s].length > 0 && (l = { ...l, ...f }), h[c].length > 0 && (l = { ...l, ...h });
92022
92020
  let y, m, w, v;
92023
- const x = await qp(
92024
- "signPsbt",
92025
- {
92026
- psbt: n,
92027
- broadcast: !!i,
92028
- signInputs: l
92029
- }
92030
- );
92021
+ const x = await qp("signPsbt", {
92022
+ psbt: n,
92023
+ broadcast: !!i,
92024
+ signInputs: l
92025
+ });
92031
92026
  if (x.status === "success")
92032
- v = Wt.fromBase64(x.result.psbt, { network: Dr(this.network) }), y = x.result.txid;
92027
+ v = Wt.fromBase64(x.result.psbt, {
92028
+ network: Dr(this.network)
92029
+ }), y = x.result.txid;
92033
92030
  else
92034
92031
  throw x.error.code === yd.USER_REJECTION ? new Error("User canceled the request") : new Error("Error signing psbt");
92035
92032
  if (!v)
@@ -92044,7 +92041,10 @@ class sye extends Ai {
92044
92041
  }
92045
92042
  }
92046
92043
  async getInscriptions(t, r) {
92047
- const n = await qp("ord_getInscriptions", { offset: t || 0, limit: r || 10 });
92044
+ const n = await qp("ord_getInscriptions", {
92045
+ offset: t || 0,
92046
+ limit: r || 10
92047
+ });
92048
92048
  if (n.status === "success")
92049
92049
  return console.log(n.result), n.result.inscriptions;
92050
92050
  throw console.error(n.error), new Error("Error getting inscriptions");
@@ -92812,10 +92812,7 @@ var xC = {};
92812
92812
  };
92813
92813
  Object.defineProperty(e, "__esModule", { value: !0 }), r(cC, e), r(fC, e), r(gC, e), r(yC, e), r(wC, e), r(Si, e), r(EC, e), r(xC, e);
92814
92814
  })(bd);
92815
- const Uye = /* @__PURE__ */ kee(bd), {
92816
- signMessage: Nye,
92817
- sendBtcTransaction: zye
92818
- } = Uye, jye = "ORANGE_CONNECTED_WALLET_STATE";
92815
+ const Uye = /* @__PURE__ */ kee(bd), { signMessage: Nye, sendBtcTransaction: zye } = Uye, jye = "ORANGE_CONNECTED_WALLET_STATE";
92819
92816
  class Rye extends Ai {
92820
92817
  constructor() {
92821
92818
  super(...arguments), Ee(this, "observer"), Ee(this, "$valueStore", Ju(
@@ -92981,16 +92978,15 @@ class Rye extends Ai {
92981
92978
  }
92982
92979
  f[s].length > 0 && (l = { ...l, ...f }), h[c].length > 0 && (l = { ...l, ...h });
92983
92980
  let y, m, w, v;
92984
- const x = await bd.request(
92985
- "signPsbt",
92986
- {
92987
- psbt: n,
92988
- broadcast: !!i,
92989
- signInputs: l
92990
- }
92991
- );
92981
+ const x = await bd.request("signPsbt", {
92982
+ psbt: n,
92983
+ broadcast: !!i,
92984
+ signInputs: l
92985
+ });
92992
92986
  if (x.status === "success")
92993
- v = Wt.fromBase64(x.result.psbt, { network: Dr(this.network) }), y = x.result.txid;
92987
+ v = Wt.fromBase64(x.result.psbt, {
92988
+ network: Dr(this.network)
92989
+ }), y = x.result.txid;
92994
92990
  else
92995
92991
  throw x.error.code === bd.RpcErrorCode.USER_REJECTION ? new Error("User canceled the request") : new Error("Error signing psbt");
92996
92992
  if (!v)
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.136-rc.1",
23
+ "version": "0.0.136-rc.2",
24
24
  "type": "module",
25
25
  "main": "./dist/index.umd.cjs",
26
26
  "module": "./dist/index.js",
@@ -42,8 +42,8 @@
42
42
  },
43
43
  "dependencies": {
44
44
  "bip39": "^3.1.0",
45
- "@omnisat/lasereyes-react": "0.0.53-rc.0",
46
- "@omnisat/lasereyes-core": "0.0.58-rc.0"
45
+ "@omnisat/lasereyes-core": "0.0.58-rc.2",
46
+ "@omnisat/lasereyes-react": "0.0.53-rc.2"
47
47
  },
48
48
  "license": "MIT",
49
49
  "publishConfig": {