suidouble 1.0.4-5 → 1.0.4-6
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/lib/SuiUtils.js +1 -1
- package/package.json +1 -1
package/lib/SuiUtils.js
CHANGED
|
@@ -128,7 +128,7 @@ class SuiUtils extends SuiCommonMethods {
|
|
|
128
128
|
client = SuiUtils.suiClientFor('mainnet');
|
|
129
129
|
providerName = 'sui:mainnet';
|
|
130
130
|
} else {
|
|
131
|
-
if (clientParam && clientParam.constructor && clientParam.
|
|
131
|
+
if (clientParam && clientParam.constructor && (clientParam.endpoint || clientParam.transport)) {
|
|
132
132
|
client = clientParam;
|
|
133
133
|
let url = '';
|
|
134
134
|
if (clientParam.endpoint) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "suidouble",
|
|
3
|
-
"version": "1.0.4-
|
|
3
|
+
"version": "1.0.4-6",
|
|
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
|
"scripts": {
|