@msafe/sui3-sdk 1.0.22 → 1.0.23

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
@@ -720,7 +720,7 @@ function formatExecutionError(error) {
720
720
  }
721
721
  function gasObjectToReference(gas) {
722
722
  if (!gas?.objectId) {
723
- throw new Error("Gas object missing from simulation effects");
723
+ return { objectId: "0x0", version: "0", digest: "" };
724
724
  }
725
725
  const version = gas.outputVersion ?? gas.inputVersion ?? "0";
726
726
  const digest = gas.outputDigest ?? gas.inputDigest ?? "";