@msafe/sui3-sdk 1.0.12 → 1.0.14
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 +3 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +6 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.js +3 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/simulate/simulator.ts +10 -1
- package/src/types/msafe.ts +9 -1
package/dist/index.cjs
CHANGED
|
@@ -252,6 +252,7 @@ var Simulator = class {
|
|
|
252
252
|
const { suiClient } = this.globals;
|
|
253
253
|
const gasPrice = await this.getGasPrice();
|
|
254
254
|
tx.setGasPrice(gasPrice);
|
|
255
|
+
tx.setSender(input.sender);
|
|
255
256
|
let built;
|
|
256
257
|
try {
|
|
257
258
|
built = await tx.build({
|
|
@@ -275,7 +276,8 @@ var Simulator = class {
|
|
|
275
276
|
events: true,
|
|
276
277
|
objectTypes: true,
|
|
277
278
|
transaction: true,
|
|
278
|
-
bcs: true
|
|
279
|
+
bcs: true,
|
|
280
|
+
commandResults: true
|
|
279
281
|
}
|
|
280
282
|
});
|
|
281
283
|
} catch (e) {
|