@lombard.finance/sdk 3.2.0 → 3.4.0
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/README.md +1 -0
- package/dist/index2.cjs +20 -20
- package/dist/index2.cjs.map +1 -1
- package/dist/index2.js +2030 -2027
- package/dist/index2.js.map +1 -1
- package/package.json +35 -33
- package/src/api-functions/getDepositsByAddress/getDepositsByAddress.ts +1 -0
- package/src/bridge/lib/config.ts +28 -28
- package/src/bridge/lib/oft-bridge.stories.tsx +9 -9
- package/src/bridge/lib/oft-bridge.ts +16 -17
- package/src/rewards/lib/claim-reward.stories.tsx +1 -0
- package/src/rewards/lib/claim-reward.ts +5 -0
- package/src/rewards/lib/get-reward-signing-data.stories.tsx +1 -0
- package/src/rewards/lib/get-reward-signing-data.ts +4 -0
package/README.md
CHANGED
|
@@ -560,6 +560,7 @@ const withdrawal = await claimReward({
|
|
|
560
560
|
rewardToken, // The reward token, e.g. RewardToken.BABY
|
|
561
561
|
amount, // The amount to be claimed (withdrawn)
|
|
562
562
|
to, // The destination address, e.g. BABYLON chain address.
|
|
563
|
+
signingDataVariant: 'json', // Optional signing data variant, available values: 'json', 'plain-text'
|
|
563
564
|
chainId, // The chain id
|
|
564
565
|
provider, // The EIP-1193 provider.
|
|
565
566
|
});
|