denotify-client 1.1.22 → 1.1.23

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.
@@ -10908,7 +10908,6 @@ class Ft {
10908
10908
  if (e.length === 0)
10909
10909
  return [];
10910
10910
  const r = (s, i) => {
10911
- console.log(t);
10912
10911
  const o = t[i].find((a) => a.name === s.function);
10913
10912
  if (!o)
10914
10913
  throw new Error("function not in ABI");
@@ -10925,9 +10924,8 @@ class Ft {
10925
10924
  );
10926
10925
  }
10927
10926
  async addFunction(e, t, r, s, i) {
10928
- console.log(i);
10929
10927
  const o = new nh(e, s);
10930
- return o.interface.encodeFunctionData(t, r), i = i || await this.getAbiHash(s), console.log(i), this.data.push({
10928
+ return o.interface.encodeFunctionData(t, r), i = i || await this.getAbiHash(s), this.data.push({
10931
10929
  address: e,
10932
10930
  bytecode: o.interface.encodeFunctionData(t, r),
10933
10931
  abiHash: i,
@@ -11222,7 +11220,7 @@ class sn {
11222
11220
  if (!e.functions)
11223
11221
  return r;
11224
11222
  const s = e.functions.map((i) => t[i.abiHash]);
11225
- return console.log(s), [
11223
+ return [
11226
11224
  ...Ft.readFields(e.functions, s),
11227
11225
  ...r
11228
11226
  ];
@@ -11483,7 +11481,7 @@ class Xi {
11483
11481
  };
11484
11482
  }
11485
11483
  async request(e, t, r = {}) {
11486
- const s = new URL(`${this.url}${t}`);
11484
+ const s = new URL((void 0)(this.url, t));
11487
11485
  if (r.params)
11488
11486
  for (const a of Object.keys(r.params))
11489
11487
  s.searchParams.append(a, r.params[a]);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "denotify-client",
3
3
  "private": false,
4
- "version": "1.1.22",
4
+ "version": "1.1.23",
5
5
  "main": "./dist/denotify-client.cjs",
6
6
  "module": "./dist/denotify-client.mjs",
7
7
  "types": "./dist/denotify-client.d.ts",