@velora-dex/sdk 9.5.0 → 9.5.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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@velora-dex/sdk",
3
- "version": "9.5.0",
3
+ "version": "9.5.1",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/sdk.esm.js",
6
6
  "typings": "dist/index.d.ts",
@@ -87,7 +87,7 @@ export async function resolvePartnerFee(
87
87
  let partnerAddress = options.partnerAddress;
88
88
  let partnerFeeBps =
89
89
  options.partnerFeeBps ??
90
- (options.deltaPrice.partnerFee
90
+ (options.deltaPrice.partnerFee !== undefined
91
91
  ? options.deltaPrice.partnerFee * 100
92
92
  : undefined);
93
93
  let partnerTakesSurplus = options.partnerTakesSurplus;
@@ -117,7 +117,7 @@ export async function resolvePartnerFee(
117
117
  }
118
118
 
119
119
  return {
120
- partnerAddress: partnerAddress!,
120
+ partnerAddress,
121
121
  partnerFeeBps: partnerFeeBps ?? 0,
122
122
  partnerTakesSurplus: partnerTakesSurplus ?? false,
123
123
  };