@steemit/steem-js 1.0.20 → 1.1.0

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.d.ts CHANGED
@@ -29,3 +29,4 @@ export * from './crypto';
29
29
  export { Api } from './api';
30
30
  export { sign as signRequest, validate as validateRequest } from './api/rpc-auth';
31
31
  export type { Operation, Transaction } from './types';
32
+ export type { ExtendedAccount, DynamicGlobalProperties, Discussion, SignedBlock, FollowApiObject, ActiveVote, AppliedOperation, AccountHistoryEntry, Manabar, BeneficiaryRoute, } from './types/protocol';
package/dist/index.js CHANGED
@@ -14227,7 +14227,7 @@ function recoverPubKey(curve, e, signature, i) {
14227
14227
  const Q = curve.recoverPubKey(msgBuffer, sigObj, i);
14228
14228
  return Q;
14229
14229
  }
14230
- catch (error) {
14230
+ catch {
14231
14231
  // Fallback to manual implementation if elliptic's method fails
14232
14232
  const G = curve.g;
14233
14233
  // A set LSB signifies that the y-coordinate is odd
@@ -14247,7 +14247,7 @@ function recoverPubKey(curve, e, signature, i) {
14247
14247
  try {
14248
14248
  R = curve.curve.pointFromX(xHexPadded, isYOdd);
14249
14249
  }
14250
- catch (error) {
14250
+ catch {
14251
14251
  // If hex string fails, try with Buffer
14252
14252
  const xBuffer = x.toArrayLike(Buffer, 'be', 32);
14253
14253
  R = curve.curve.pointFromX(xBuffer, isYOdd);
@@ -26409,7 +26409,7 @@ const steem = {
26409
26409
  memo,
26410
26410
  operations,
26411
26411
  utils: utils$3,
26412
- version: '1.0.20',
26412
+ version: '1.1.0',
26413
26413
  config: {
26414
26414
  set: (options) => {
26415
26415
  // If nodes is provided, extract the first node as url for API