Comparing version 0.0.30 to 0.0.31
@@ -103,2 +103,6 @@ const sui = require('@mysten/sui.js'); | ||
get MIST_PER_SUI() { | ||
return BigInt(sui.MIST_PER_SUI); | ||
} | ||
get objectStorage() { | ||
@@ -105,0 +109,0 @@ return this._objectStorage; |
{ | ||
"name": "suidouble", | ||
"version": "0.0.30", | ||
"version": "0.0.31", | ||
"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", |
@@ -58,2 +58,11 @@ 'use strict' | ||
test('SuiMaster has MIST_PER_SUI property available as BigInt', async t => { | ||
const suiMaster = new SuiMaster({provider: 'test', as: 'somebody'}); | ||
t.ok(suiMaster.MIST_PER_SUI); | ||
t.equal(typeof suiMaster.MIST_PER_SUI, 'bigint'); | ||
t.ok(suiMaster.MIST_PER_SUI > BigInt(0)); | ||
}); | ||
test('connecting to different chains', async t => { | ||
@@ -60,0 +69,0 @@ const suiMaster = new SuiMaster({provider: 'test', as: 'somebody'}); |
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
185198
2665