@octaflowlabs/onchain-sdk 1.0.0-test14 → 1.0.0-test15

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.
@@ -109,7 +109,7 @@ export const buildMaxNativeTransferTx = async (options) => {
109
109
  throw new Error('Max native transfer requires a native token address');
110
110
  const provisionalTx = await buildUnsignedTransferTx({
111
111
  ...options,
112
- value: options.balance,
112
+ value: '0',
113
113
  tokenAddress: options.tokenAddress,
114
114
  });
115
115
  if (!provisionalTx.gasReserve)
@@ -113,7 +113,7 @@ const buildMaxNativeTransferTx = async (options) => {
113
113
  throw new Error('Max native transfer requires a native token address');
114
114
  const provisionalTx = await (0, exports.buildUnsignedTransferTx)({
115
115
  ...options,
116
- value: options.balance,
116
+ value: '0',
117
117
  tokenAddress: options.tokenAddress,
118
118
  });
119
119
  if (!provisionalTx.gasReserve)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@octaflowlabs/onchain-sdk",
3
- "version": "1.0.0-test14",
3
+ "version": "1.0.0-test15",
4
4
  "description": "onchain methods for web3",
5
5
  "repository": "https://github.com/crisramb665/onchain-sdk.git",
6
6
  "license": "MIT",