@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.cjs CHANGED
@@ -789,7 +789,7 @@ function formatExecutionError(error) {
789
789
  }
790
790
  function gasObjectToReference(gas) {
791
791
  if (!gas?.objectId) {
792
- throw new Error("Gas object missing from simulation effects");
792
+ return { objectId: "0x0", version: "0", digest: "" };
793
793
  }
794
794
  const version = gas.outputVersion ?? gas.inputVersion ?? "0";
795
795
  const digest = gas.outputDigest ?? gas.inputDigest ?? "";