suidouble 0.0.40 → 0.0.41

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/SuiCoin.js CHANGED
@@ -131,7 +131,11 @@ class SuiCoin {
131
131
  }
132
132
 
133
133
  isSUI() {
134
- return this._coinType.toLowerCase().indexOf('sui') > -1;
134
+ const lc = this._coinType.toLowerCase();
135
+ if (lc == 'sui' || lc.indexOf(':sui:') !== -1) {
136
+ return true;
137
+ }
138
+ return false;
135
139
  }
136
140
 
137
141
  async getMetadata() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "suidouble",
3
- "version": "0.0.40",
3
+ "version": "0.0.41",
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": {
@@ -21,7 +21,7 @@
21
21
  "author": "Jeka Kiselyov <jeka911@gmail.com> (https://github.com/jeka-kiselyov)",
22
22
  "license": "Apache-2.0",
23
23
  "dependencies": {
24
- "@mysten/sui.js": "^0.39.0",
24
+ "@mysten/sui.js": "^0.41.0",
25
25
  "@wallet-standard/core": "^1.0.3"
26
26
  },
27
27
  "devDependencies": {
@@ -2,6 +2,8 @@
2
2
 
3
3
  [move]
4
4
  version = 0
5
+ manifest_digest = "F8C73BB1CA5B2EEF078E6FD0C793EF387322A4AD49DECCFE6AAD9F5F81C198C8"
6
+ deps_digest = "112928C94A84031C09CD9B9D1D44B149B73FC0EEA5FA8D8B2D7CA4D91936335A"
5
7
 
6
8
  dependencies = [
7
9
  { name = "Sui" },