Comparing version 0.0.46 to 0.0.47
@@ -231,2 +231,4 @@ const SuiCommonMethods = require('./SuiCommonMethods.js'); | ||
this._address = this._signer.toSuiAddress(); // after Sui's refactor Keypair's method | ||
} else if (this._signer.connectedAddress) { | ||
this._address = this._signer.connectedAddress; | ||
} else { | ||
@@ -250,5 +252,6 @@ this._address = await this._signer.getAddress(); // old method | ||
params.signer = this._keypair; | ||
return this._provider.signAndExecuteTransactionBlock(params); | ||
} else if (this._signer) { | ||
return this._signer.signAndExecuteTransactionBlock(params); | ||
} | ||
return this._provider.signAndExecuteTransactionBlock(params); | ||
} | ||
@@ -255,0 +258,0 @@ |
{ | ||
"name": "suidouble", | ||
"version": "0.0.46", | ||
"version": "0.0.47", | ||
"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,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
221213
3465