@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/README.md +0 -2
- package/dist/api/types.d.ts +32 -29
- package/dist/auth/ecc/index.d.ts +0 -1
- package/dist/auth/ecc/src/index.d.ts +0 -1
- package/dist/browser.esm.js +3 -3
- package/dist/browser.esm.js.map +1 -1
- package/dist/index.cjs +3 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/dist/index.umd.js +3 -3
- package/dist/index.umd.js.map +1 -1
- package/dist/index.umd.min.js +1 -1
- package/dist/index.umd.min.js.map +1 -1
- package/dist/types/protocol.d.ts +271 -0
- package/package.json +1 -1
- package/dist/auth/ecc/src/key_utils.d.ts +0 -10
package/dist/index.cjs
CHANGED
|
@@ -14247,7 +14247,7 @@ function recoverPubKey(curve, e, signature, i) {
|
|
|
14247
14247
|
const Q = curve.recoverPubKey(msgBuffer, sigObj, i);
|
|
14248
14248
|
return Q;
|
|
14249
14249
|
}
|
|
14250
|
-
catch
|
|
14250
|
+
catch {
|
|
14251
14251
|
// Fallback to manual implementation if elliptic's method fails
|
|
14252
14252
|
const G = curve.g;
|
|
14253
14253
|
// A set LSB signifies that the y-coordinate is odd
|
|
@@ -14267,7 +14267,7 @@ function recoverPubKey(curve, e, signature, i) {
|
|
|
14267
14267
|
try {
|
|
14268
14268
|
R = curve.curve.pointFromX(xHexPadded, isYOdd);
|
|
14269
14269
|
}
|
|
14270
|
-
catch
|
|
14270
|
+
catch {
|
|
14271
14271
|
// If hex string fails, try with Buffer
|
|
14272
14272
|
const xBuffer = x.toArrayLike(Buffer, 'be', 32);
|
|
14273
14273
|
R = curve.curve.pointFromX(xBuffer, isYOdd);
|
|
@@ -26429,7 +26429,7 @@ const steem = {
|
|
|
26429
26429
|
memo,
|
|
26430
26430
|
operations,
|
|
26431
26431
|
utils: utils$3,
|
|
26432
|
-
version: '1.0
|
|
26432
|
+
version: '1.1.0',
|
|
26433
26433
|
config: {
|
|
26434
26434
|
set: (options) => {
|
|
26435
26435
|
// If nodes is provided, extract the first node as url for API
|