@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.
@@ -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", Ethers.utils.populateTransaction(transaction, this.provider, this.address).then(function (tx) {
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
  });
@@ -961,8 +961,8 @@ exports.FinalizeABRMezzanine = /*#__PURE__*/function () {
961
961
  break;
962
962
  }
963
963
  params = {
964
- elvClient: this,
965
964
  nodeUrl: lroDraft.node,
965
+ offeringKey: offeringKey,
966
966
  writeToken: lroDraft.write_token
967
967
  };
968
968
  _context7.prev = 29;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eluvio/elv-client-js",
3
- "version": "4.0.13",
3
+ "version": "4.0.14",
4
4
  "description": "Javascript client for the Eluvio Content Fabric",
5
5
  "main": "src/index.js",
6
6
  "author": "Kevin Talmadge",
@@ -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 Ethers.utils.populateTransaction(transaction, this.provider, this.address).then((tx) => {
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 {