RubyGems
npm
Organizations
Log in
Sign up
npm
@haven-fi/solauto-sdk
Versions diffs
1.0.195 → 1.0.196
@haven-fi/solauto-sdk 1.0.195 → 1.0.196
Sign up to get
free
protection for your applications and to get access to all the features.
Files changed (3)
hide
show
package/dist/utils/numberUtils.js
+1
-1
package/package.json
+1
-1
package/src/utils/numberUtils.ts
+1
-1
package/dist/utils/numberUtils.js
CHANGED
Viewed
@@ -89,7 +89,7 @@ function getSolautoFeesBps(isReferred, targetLiqUtilizationRateBps, positionNetW
89
89
}
90
90
let referrer = 0;
91
91
if (isReferred) {
92
-
referrer = Math.floor(feeBps /
4
);
92
+
referrer = Math.floor(feeBps /
5
);
93
93
}
94
94
return {
95
95
solauto: feeBps - referrer,
package/package.json
CHANGED
Viewed
@@ -1,6 +1,6 @@
1
1
{
2
2
"name": "@haven-fi/solauto-sdk",
3
-
"version": "1.0.
195
",
3
+
"version": "1.0.
196
",
4
4
"main": "dist/index.js",
5
5
"types": "dist/index.d.ts",
6
6
"description": "Typescript SDK for the Solauto program on the Solana blockchain",
package/src/utils/numberUtils.ts
CHANGED
Viewed
@@ -118,7 +118,7 @@ export function getSolautoFeesBps(
118
118
119
119
let referrer = 0;
120
120
if (isReferred) {
121
-
referrer = Math.floor(feeBps /
4
);
121
+
referrer = Math.floor(feeBps /
5
);
122
122
}
123
123
124
124
return {