@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.umd.js
CHANGED
|
@@ -16982,7 +16982,7 @@
|
|
|
16982
16982
|
const Q = curve.recoverPubKey(msgBuffer, sigObj, i);
|
|
16983
16983
|
return Q;
|
|
16984
16984
|
}
|
|
16985
|
-
catch
|
|
16985
|
+
catch {
|
|
16986
16986
|
// Fallback to manual implementation if elliptic's method fails
|
|
16987
16987
|
const G = curve.g;
|
|
16988
16988
|
// A set LSB signifies that the y-coordinate is odd
|
|
@@ -17002,7 +17002,7 @@
|
|
|
17002
17002
|
try {
|
|
17003
17003
|
R = curve.curve.pointFromX(xHexPadded, isYOdd);
|
|
17004
17004
|
}
|
|
17005
|
-
catch
|
|
17005
|
+
catch {
|
|
17006
17006
|
// If hex string fails, try with Buffer
|
|
17007
17007
|
const xBuffer = x.toArrayLike(buffer.Buffer, 'be', 32);
|
|
17008
17008
|
R = curve.curve.pointFromX(xBuffer, isYOdd);
|
|
@@ -29436,7 +29436,7 @@
|
|
|
29436
29436
|
operations,
|
|
29437
29437
|
utils: utils$n,
|
|
29438
29438
|
...crypto$1,
|
|
29439
|
-
version: '1.0
|
|
29439
|
+
version: '1.1.0',
|
|
29440
29440
|
config: {
|
|
29441
29441
|
set: (options) => {
|
|
29442
29442
|
// If nodes is provided, extract the first node as url for API
|