@0xobelisk/sui-client 1.1.2 → 1.1.3

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/dist/index.js CHANGED
@@ -2012,7 +2012,7 @@ var Dubhe = class {
2012
2012
  (moudlevalue) => {
2013
2013
  const data = moudlevalue;
2014
2014
  const moduleName = data.name;
2015
- const objMoudleId = `${packageId}::${moduleName}`;
2015
+ const objMoudleId = `${this.packageId}::${moduleName}`;
2016
2016
  if (data.enums) {
2017
2017
  Object.entries(data.enums).forEach(([enumName, enumType]) => {
2018
2018
  const objectId = `${objMoudleId}::${enumName}`;
@@ -2086,7 +2086,7 @@ var Dubhe = class {
2086
2086
  }
2087
2087
  }
2088
2088
  this.contractFactory = new SuiContractFactory({
2089
- packageId,
2089
+ packageId: this.packageId,
2090
2090
  metadata
2091
2091
  });
2092
2092
  }