Comparing version 0.0.27 to 0.0.28
@@ -35,5 +35,5 @@ | ||
emit(eventType, data) { | ||
emit(eventType, data, forceCustom = false) { | ||
try { | ||
if (data && data.isSuiEvent) { | ||
if (data && data.isSuiEvent && !forceCustom) { | ||
this.dispatchEvent(data); | ||
@@ -40,0 +40,0 @@ } else { |
@@ -53,3 +53,3 @@ const sui = require('@mysten/sui.js'); | ||
this.emit(eventTypeName, suiEvent); // emit specific event name | ||
this.emit('event', suiEvent); // emit to common events flow | ||
this.emit('event', suiEvent, true); // emit to common events flow | ||
}; | ||
@@ -56,0 +56,0 @@ |
{ | ||
"name": "suidouble", | ||
"version": "0.0.27", | ||
"version": "0.0.28", | ||
"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
183327