suidouble 1.20.0-1 → 1.20.0-2

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.
Files changed (2) hide show
  1. package/lib/SuiMaster.js +3 -0
  2. package/package.json +1 -1
package/lib/SuiMaster.js CHANGED
@@ -321,6 +321,9 @@ export default class SuiMaster extends SuiCommonMethods {
321
321
  const chainId = 'sui:'+(this._providerName.split('sui:').join('').toLowerCase());
322
322
  params.chain = chainId;
323
323
  }
324
+ if (!params.account) {
325
+ params.account = { address: this._address };
326
+ }
324
327
 
325
328
  let txResults = null;
326
329
  if (this._keypair) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "suidouble",
3
- "version": "1.20.0-1",
3
+ "version": "1.20.0-2",
4
4
  "description": "Set of provider, package and object classes for javascript representation of Sui Move smart contracts. Use same code for publishing, upgrading, integration testing, interaction with smart contracts and integration in browser web3 dapps",
5
5
  "main": "index.js",
6
6
  "type": "module",