@paxoslabs/amplify-sdk 0.1.1-alpha.3 → 0.1.1-alpha.4
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/CHANGELOG.md +2 -0
- package/dist/index.d.mts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -8,6 +8,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
8
8
|
<!-- auto-changelog-above -->
|
|
9
9
|
|
|
10
10
|
|
|
11
|
+
## [0.1.1-alpha.4](///compare/v0.1.1-alpha.3...v0.1.1-alpha.4) (2025-12-10)
|
|
12
|
+
|
|
11
13
|
## [0.1.1-alpha.3](///compare/v0.1.1-alpha.2...v0.1.1-alpha.3) (2025-12-10)
|
|
12
14
|
|
|
13
15
|
## [0.1.1-alpha.2](///compare/v0.1.1-alpha.1...v0.1.1-alpha.2) (2025-12-10)
|
package/dist/index.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Address, erc20Abi,
|
|
1
|
+
import { Address, erc20Abi, Hex } from 'viem';
|
|
2
2
|
import { A as AmplifyVault, S as SupportedAsset, a as AssetFilterOptions, V as VaultFilterOptions, W as WithdrawSupportedAsset } from './amplify-sdk-api-Biol0OIp.mjs';
|
|
3
3
|
export { b as APIError } from './amplify-sdk-api-Biol0OIp.mjs';
|
|
4
4
|
export { g as getDepositExchangeRate, a as getWithdrawExchangeRate, i as isDepositSpendApproved, b as isWithdrawalSpendApproved } from './exchange-rate-BfPH_fQt.mjs';
|
|
@@ -841,7 +841,7 @@ interface DepositTxData {
|
|
|
841
841
|
depositAmount: bigint,
|
|
842
842
|
minimumMint: bigint,
|
|
843
843
|
to: Address,
|
|
844
|
-
distributorCode:
|
|
844
|
+
distributorCode: Hex
|
|
845
845
|
];
|
|
846
846
|
chainId: number;
|
|
847
847
|
}
|
|
@@ -1002,7 +1002,7 @@ interface DepositWithPermitData {
|
|
|
1002
1002
|
depositAmount: bigint,
|
|
1003
1003
|
minimumMint: bigint,
|
|
1004
1004
|
to: Address,
|
|
1005
|
-
distributorCode:
|
|
1005
|
+
distributorCode: Hex,
|
|
1006
1006
|
deadline: bigint,
|
|
1007
1007
|
v: number,
|
|
1008
1008
|
r: Hex,
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Address, erc20Abi,
|
|
1
|
+
import { Address, erc20Abi, Hex } from 'viem';
|
|
2
2
|
import { A as AmplifyVault, S as SupportedAsset, a as AssetFilterOptions, V as VaultFilterOptions, W as WithdrawSupportedAsset } from './amplify-sdk-api-DGRgEybp.js';
|
|
3
3
|
export { b as APIError } from './amplify-sdk-api-DGRgEybp.js';
|
|
4
4
|
export { g as getDepositExchangeRate, a as getWithdrawExchangeRate, i as isDepositSpendApproved, b as isWithdrawalSpendApproved } from './exchange-rate-Cp1ddpw4.js';
|
|
@@ -841,7 +841,7 @@ interface DepositTxData {
|
|
|
841
841
|
depositAmount: bigint,
|
|
842
842
|
minimumMint: bigint,
|
|
843
843
|
to: Address,
|
|
844
|
-
distributorCode:
|
|
844
|
+
distributorCode: Hex
|
|
845
845
|
];
|
|
846
846
|
chainId: number;
|
|
847
847
|
}
|
|
@@ -1002,7 +1002,7 @@ interface DepositWithPermitData {
|
|
|
1002
1002
|
depositAmount: bigint,
|
|
1003
1003
|
minimumMint: bigint,
|
|
1004
1004
|
to: Address,
|
|
1005
|
-
distributorCode:
|
|
1005
|
+
distributorCode: Hex,
|
|
1006
1006
|
deadline: bigint,
|
|
1007
1007
|
v: number,
|
|
1008
1008
|
r: Hex,
|
package/dist/index.js
CHANGED
|
@@ -416,7 +416,7 @@ async function prepareDepositTxData(params) {
|
|
|
416
416
|
depositAmountAsBigInt,
|
|
417
417
|
minimumMint,
|
|
418
418
|
recipientAddress,
|
|
419
|
-
viem.
|
|
419
|
+
viem.stringToHex(partnerCode || "")
|
|
420
420
|
],
|
|
421
421
|
chainId: normalizedChainId
|
|
422
422
|
};
|
|
@@ -787,7 +787,7 @@ async function prepareDepositWithPermitTxData(params) {
|
|
|
787
787
|
depositAmountAsBigInt,
|
|
788
788
|
minimumMint,
|
|
789
789
|
recipientAddress,
|
|
790
|
-
viem.
|
|
790
|
+
viem.stringToHex(partnerCode || ""),
|
|
791
791
|
deadline,
|
|
792
792
|
v,
|
|
793
793
|
r,
|