Comparing version 0.0.40 to 0.0.41
@@ -134,3 +134,7 @@ const { Transactions } = require('@mysten/sui.js/transactions'); | ||
isSUI() { | ||
return this._coinType.toLowerCase().indexOf('sui') > -1; | ||
const lc = this._coinType.toLowerCase(); | ||
if (lc == 'sui' || lc.indexOf(':sui:') !== -1) { | ||
return true; | ||
} | ||
return false; | ||
} | ||
@@ -137,0 +141,0 @@ |
{ | ||
"name": "suidouble", | ||
"version": "0.0.40", | ||
"version": "0.0.41", | ||
"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", | ||
@@ -24,3 +24,3 @@ "main": "index.js", | ||
"dependencies": { | ||
"@mysten/sui.js": "^0.39.0", | ||
"@mysten/sui.js": "^0.41.0", | ||
"@wallet-standard/core": "^1.0.3" | ||
@@ -27,0 +27,0 @@ }, |
Sorry, the diff of this file is not supported yet
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
208786
3225
+ Added@mysten/bcs@0.7.4(transitive)
+ Added@mysten/sui.js@0.41.2(transitive)
- Removed@mysten/bcs@0.7.3(transitive)
- Removed@mysten/sui.js@0.39.0(transitive)
Updated@mysten/sui.js@^0.41.0