@eluvio/elv-client-js 4.0.13 → 4.0.14
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/ElvClient-min.js +1 -1
- package/dist/ElvClient-node-min.js +1 -1
- package/dist/ElvWalletClient-min.js +1 -1
- package/dist/ElvWalletClient-node-min.js +1 -1
- package/dist/src/RemoteSigner.js +1 -1
- package/dist/src/client/ABRPublishing.js +1 -1
- package/package.json +1 -1
- package/src/RemoteSigner.js +1 -6
- package/src/client/ABRPublishing.js +1 -1
package/dist/src/RemoteSigner.js
CHANGED
|
@@ -260,7 +260,7 @@ var RemoteSigner = /*#__PURE__*/function (_Ethers$Signer) {
|
|
|
260
260
|
case 4:
|
|
261
261
|
transaction.nonce = _context6.sent;
|
|
262
262
|
case 5:
|
|
263
|
-
return _context6.abrupt("return",
|
|
263
|
+
return _context6.abrupt("return", this.populateTransaction(transaction, this.provider, this.address).then(function (tx) {
|
|
264
264
|
return _this3.sign(tx).then(function (signedTransaction) {
|
|
265
265
|
return _this3.provider.sendTransaction(signedTransaction);
|
|
266
266
|
});
|
package/package.json
CHANGED
package/src/RemoteSigner.js
CHANGED
|
@@ -78,11 +78,6 @@ class RemoteSigner extends Ethers.Signer {
|
|
|
78
78
|
return this.address;
|
|
79
79
|
}
|
|
80
80
|
|
|
81
|
-
/**
|
|
82
|
-
* Sign a hashed piece of data
|
|
83
|
-
* @param {String} digest - Hex string of hashed data
|
|
84
|
-
* @returns - the signed message as a hex string
|
|
85
|
-
*/
|
|
86
81
|
async signDigest(digest) {
|
|
87
82
|
if(!this.signatureCache[digest]) {
|
|
88
83
|
this.signatureCache[digest] = new Promise(async (resolve, reject) => {
|
|
@@ -135,7 +130,7 @@ class RemoteSigner extends Ethers.Signer {
|
|
|
135
130
|
transaction.nonce = await this.provider.getTransactionCount(this.address, "pending");
|
|
136
131
|
}
|
|
137
132
|
|
|
138
|
-
return
|
|
133
|
+
return this.populateTransaction(transaction, this.provider, this.address).then((tx) => {
|
|
139
134
|
return this.sign(tx).then((signedTransaction) => {
|
|
140
135
|
return this.provider.sendTransaction(signedTransaction);
|
|
141
136
|
});
|
|
@@ -686,8 +686,8 @@ exports.FinalizeABRMezzanine = async function({libraryId, objectId, preFinalizeF
|
|
|
686
686
|
let preFinalizeWarnings = [];
|
|
687
687
|
if(preFinalizeFn) {
|
|
688
688
|
const params = {
|
|
689
|
-
elvClient: this,
|
|
690
689
|
nodeUrl: lroDraft.node,
|
|
690
|
+
offeringKey,
|
|
691
691
|
writeToken: lroDraft.write_token
|
|
692
692
|
};
|
|
693
693
|
try {
|