@mysten/sui 1.28.0 → 1.28.1

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/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "author": "Mysten Labs <build@mystenlabs.com>",
4
4
  "description": "Sui TypeScript API(Work in Progress)",
5
5
  "homepage": "https://sdk.mystenlabs.com",
6
- "version": "1.28.0",
6
+ "version": "1.28.1",
7
7
  "license": "Apache-2.0",
8
8
  "sideEffects": false,
9
9
  "files": [
@@ -122,7 +122,7 @@ async function resolveCoinBalance(
122
122
  balance: bigint;
123
123
  };
124
124
 
125
- if (balance === 0n) {
125
+ if (balance === 0n && type !== 'gas') {
126
126
  transactionData.replaceCommand(
127
127
  index,
128
128
  Commands.MoveCall({ target: '0x2::coin::zero', typeArguments: [type] }),
package/src/version.ts CHANGED
@@ -3,5 +3,5 @@
3
3
 
4
4
  // This file is generated by genversion.mjs. Do not edit it directly.
5
5
 
6
- export const PACKAGE_VERSION = '1.28.0';
6
+ export const PACKAGE_VERSION = '1.28.1';
7
7
  export const TARGETED_RPC_VERSION = '1.48.0';