@paxoslabs/amplify-sdk 0.5.0 → 0.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/CHANGELOG.md +9 -1
- package/dist/{chain-utils-CpOJcWig.d.mts → chain-utils-D_b2LEEi.d.mts} +2 -0
- package/dist/{chain-utils-CpOJcWig.d.ts → chain-utils-D_b2LEEi.d.ts} +2 -0
- package/dist/{chunk-B5BII2XH.mjs → chunk-3D6EDR3Z.mjs} +5 -5
- package/dist/{chunk-B5BII2XH.mjs.map → chunk-3D6EDR3Z.mjs.map} +1 -1
- package/dist/{chunk-XS4SELWC.js → chunk-AUDMOT6F.js} +22 -15
- package/dist/chunk-AUDMOT6F.js.map +1 -0
- package/dist/{chunk-2ZJWWK6D.js → chunk-E5DH5YEE.js} +22 -5
- package/dist/chunk-E5DH5YEE.js.map +1 -0
- package/dist/{chunk-SXIBMN7X.mjs → chunk-E6SBQNDA.mjs} +3 -3
- package/dist/{chunk-SXIBMN7X.mjs.map → chunk-E6SBQNDA.mjs.map} +1 -1
- package/dist/{chunk-MPCRFKSD.mjs → chunk-JLZL25CY.mjs} +23 -7
- package/dist/chunk-JLZL25CY.mjs.map +1 -0
- package/dist/{chunk-KTLGSVD6.js → chunk-L5XT67QZ.js} +111 -111
- package/dist/{chunk-KTLGSVD6.js.map → chunk-L5XT67QZ.js.map} +1 -1
- package/dist/{chunk-GJPTAY5T.mjs → chunk-WJGSTAPB.mjs} +5 -5
- package/dist/{chunk-GJPTAY5T.mjs.map → chunk-WJGSTAPB.mjs.map} +1 -1
- package/dist/{chunk-N5UKVLSS.js → chunk-XVDK6J72.js} +62 -62
- package/dist/{chunk-N5UKVLSS.js.map → chunk-XVDK6J72.js.map} +1 -1
- package/dist/{chunk-XA653JS3.mjs → chunk-Y6RXVDQN.mjs} +15 -8
- package/dist/chunk-Y6RXVDQN.mjs.map +1 -0
- package/dist/{chunk-D7EMZAOQ.js → chunk-YAYUSBC6.js} +12 -12
- package/dist/{chunk-D7EMZAOQ.js.map → chunk-YAYUSBC6.js.map} +1 -1
- package/dist/core.d.mts +2 -2
- package/dist/core.d.ts +2 -2
- package/dist/core.js +16 -16
- package/dist/core.mjs +4 -4
- package/dist/display.d.mts +1 -1
- package/dist/display.d.ts +1 -1
- package/dist/display.js +10 -10
- package/dist/display.mjs +4 -4
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +57 -57
- package/dist/index.mjs +5 -5
- package/dist/utils.d.mts +1 -1
- package/dist/utils.d.ts +1 -1
- package/dist/utils.js +7 -7
- package/dist/utils.mjs +2 -2
- package/dist/vaults.d.mts +1 -1
- package/dist/vaults.d.ts +1 -1
- package/dist/vaults.js +25 -25
- package/dist/vaults.mjs +4 -4
- package/package.json +1 -1
- package/dist/chunk-2ZJWWK6D.js.map +0 -1
- package/dist/chunk-MPCRFKSD.mjs.map +0 -1
- package/dist/chunk-XA653JS3.mjs.map +0 -1
- package/dist/chunk-XS4SELWC.js.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -8,17 +8,21 @@ 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.5.
|
|
11
|
+
## [0.5.1](https://github.com/paxoslabs/paxos-labs-monorepo/compare/v0.4.3-alpha.1...v0.5.1) (2026-03-23)
|
|
12
12
|
|
|
13
13
|
### Features
|
|
14
14
|
|
|
15
|
+
* Add `oasdiff` to check for breaking backend API changes ([#25](https://github.com/paxoslabs/paxos-labs-monorepo/issues/25)) ([9aa1deb](https://github.com/paxoslabs/paxos-labs-monorepo/commit/9aa1debae1a0c97ca11430547450e38e1491f782))
|
|
15
16
|
* Add Amplify SDK config management UI ([ce383ce](https://github.com/paxoslabs/paxos-labs-monorepo/commit/ce383cedcf1e0f7f520a0fa92b6573eb0ad0aa7c))
|
|
16
17
|
* adding initial docs changes for new SDK version and changes ([be45fa6](https://github.com/paxoslabs/paxos-labs-monorepo/commit/be45fa6a6be4013ea4a7c58be40b9b130b3d5e69))
|
|
18
|
+
* **address-book-admin:** address QA feedback for vault and SDK config flows ([ce87154](https://github.com/paxoslabs/paxos-labs-monorepo/commit/ce871540ab4c58ca35f57c2a932def81af094b31))
|
|
17
19
|
* integrate TanStack Form with client-side validation and fix shadcn audit issues ([a5ec00c](https://github.com/paxoslabs/paxos-labs-monorepo/commit/a5ec00c5db1b5afb4a4e2b6c5601dbe4ed4ad47f))
|
|
20
|
+
* Make backend-v2 + GitHub Actions source of migrations ([#39](https://github.com/paxoslabs/paxos-labs-monorepo/issues/39)) ([720aa9c](https://github.com/paxoslabs/paxos-labs-monorepo/commit/720aa9c9d91e185477fb587ce63392af8f140038))
|
|
18
21
|
* Parametrize BASE_URL in SDK using env var replaced at build time by tsup ([#41](https://github.com/paxoslabs/paxos-labs-monorepo/issues/41)) ([a20e3a6](https://github.com/paxoslabs/paxos-labs-monorepo/commit/a20e3a69d76c30fef2e7f53d543ab47b323c77c4))
|
|
19
22
|
|
|
20
23
|
### Bug Fixes
|
|
21
24
|
|
|
25
|
+
* address PR review feedback ([83c612c](https://github.com/paxoslabs/paxos-labs-monorepo/commit/83c612c24a2524b3d025cb0e9bd159f89a863ba1))
|
|
22
26
|
* address PR review feedback — server errors, select a11y, startBlock validation ([d28669b](https://github.com/paxoslabs/paxos-labs-monorepo/commit/d28669b7d6d45743aef558a93364a45fc975d410))
|
|
23
27
|
* address PR review feedback from CodeRabbit ([1567716](https://github.com/paxoslabs/paxos-labs-monorepo/commit/156771673510fa3bbd9f3e57f8dcdf401b777c5c))
|
|
24
28
|
* **address-book-admin:** fix content overflow when sidebar is open ([61f3e61](https://github.com/paxoslabs/paxos-labs-monorepo/commit/61f3e61fe09b96bc80aed493867c269a69efb7c2))
|
|
@@ -26,10 +30,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
26
30
|
* **address-book-admin:** resolve tables not rendering due to client/server boundary violation ([c9b0006](https://github.com/paxoslabs/paxos-labs-monorepo/commit/c9b00062f833edd5f9d401fae038167eef15a1d1))
|
|
27
31
|
* **backend-v2:** query org member by record id instead of userId in remove/update ([26bb1d0](https://github.com/paxoslabs/paxos-labs-monorepo/commit/26bb1d0fd72e1492e36b25015d57c4fbf547dcf0))
|
|
28
32
|
* bound socket.io-parser override to ^4.2.6 to prevent unintended major upgrades ([c0f94ce](https://github.com/paxoslabs/paxos-labs-monorepo/commit/c0f94cefd24b0d1e1a11b2d372f971dcd063c390))
|
|
33
|
+
* handle Supabase query errors in deposit token search ([7a44324](https://github.com/paxoslabs/paxos-labs-monorepo/commit/7a44324e522153e799358bac907b79aaffe39c9b))
|
|
29
34
|
* optimistic update to continue showing new role after update succeeds ([d174c41](https://github.com/paxoslabs/paxos-labs-monorepo/commit/d174c419941d95f858d75d20aab7f9ac362374a1))
|
|
30
35
|
* override socket.io-parser to >=4.2.6 to resolve GHSA-677m-j7p3-52f9 ([47406ea](https://github.com/paxoslabs/paxos-labs-monorepo/commit/47406ea41690428f91d72a723145c9d5d0190893))
|
|
31
36
|
* Prevent adding deleted vault ([#35](https://github.com/paxoslabs/paxos-labs-monorepo/issues/35)) ([34b8b20](https://github.com/paxoslabs/paxos-labs-monorepo/commit/34b8b202a1b058b35ef70e8832ad751c30d4794b))
|
|
32
37
|
* remove duplicate toast ([93fb035](https://github.com/paxoslabs/paxos-labs-monorepo/commit/93fb035ae98cc6db96c2b67fafe70975f61ee528))
|
|
38
|
+
* revert address-book schema change ([1f77a7d](https://github.com/paxoslabs/paxos-labs-monorepo/commit/1f77a7d9608cfd714c2dffd1a3f5a41b2127976a))
|
|
39
|
+
* sdk package version missmatch ([d89500a](https://github.com/paxoslabs/paxos-labs-monorepo/commit/d89500a161ae7ca149ba3fa4a6943c3c4a6841cd))
|
|
33
40
|
* use viem isAddress for validation and fix TanStack Form error handling ([177bc3f](https://github.com/paxoslabs/paxos-labs-monorepo/commit/177bc3f264daddb955187c873d9f408fff30514b))
|
|
34
41
|
* Vault deletion not working from the UI ([#34](https://github.com/paxoslabs/paxos-labs-monorepo/issues/34)) ([3328cca](https://github.com/paxoslabs/paxos-labs-monorepo/commit/3328cca120299ff256f358303a86295b5a4c0ea0))
|
|
35
42
|
|
|
@@ -41,6 +48,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
41
48
|
|
|
42
49
|
* **address-book-admin:** replace Chain select with number input for Chain ID ([45fce7b](https://github.com/paxoslabs/paxos-labs-monorepo/commit/45fce7b71c1ffd97400f09573491d78577bf389f))
|
|
43
50
|
* Extract shared utilities and simplify SDK config state ([ae23b66](https://github.com/paxoslabs/paxos-labs-monorepo/commit/ae23b6686cbd261ffef2cb7f5835e1974d59a03f))
|
|
51
|
+
* isolate distributor_code_depositor column rename to DB layer ([631212b](https://github.com/paxoslabs/paxos-labs-monorepo/commit/631212b6fdcae70dac6e0c5f3b5c014d37471c96))
|
|
44
52
|
* **sdk:** rename fetchVaults/fetchSupportedAssets to getVaults/getSupportedAssets ([8e65846](https://github.com/paxoslabs/paxos-labs-monorepo/commit/8e6584609eb0a184c6ffe9d4a42d36fe63f81b5a))
|
|
45
53
|
|
|
46
54
|
## [0.4.3-alpha.1] (2026-03-13)
|
|
@@ -60,6 +60,8 @@ interface VaultContracts {
|
|
|
60
60
|
interface VaultSupportedAsset {
|
|
61
61
|
/** Token contract address */
|
|
62
62
|
address: Address;
|
|
63
|
+
/** Chain ID where this asset can be deposited/withdrawn (may differ from vault chain for cross-chain vaults) */
|
|
64
|
+
chainId?: number;
|
|
63
65
|
/** Token symbol (e.g., USDC, USDT) */
|
|
64
66
|
symbol: string;
|
|
65
67
|
/** Full token name (e.g., USD Coin) */
|
|
@@ -60,6 +60,8 @@ interface VaultContracts {
|
|
|
60
60
|
interface VaultSupportedAsset {
|
|
61
61
|
/** Token contract address */
|
|
62
62
|
address: Address;
|
|
63
|
+
/** Chain ID where this asset can be deposited/withdrawn (may differ from vault chain for cross-chain vaults) */
|
|
64
|
+
chainId?: number;
|
|
63
65
|
/** Token symbol (e.g., USDC, USDT) */
|
|
64
66
|
symbol: string;
|
|
65
67
|
/** Full token name (e.g., USD Coin) */
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { resolveVault, WithdrawQueueAbi } from './chunk-
|
|
2
|
-
import { getTokenPermitInfoWithAllowance, getErc20AllowanceWithDecimals, getRateInQuoteWithAssetDecimals, erc2612Abi, getErc20Decimals, BoringVaultAbi } from './chunk-
|
|
1
|
+
import { resolveVault, WithdrawQueueAbi } from './chunk-Y6RXVDQN.mjs';
|
|
2
|
+
import { getTokenPermitInfoWithAllowance, getErc20AllowanceWithDecimals, getRateInQuoteWithAssetDecimals, erc2612Abi, getErc20Decimals, BoringVaultAbi } from './chunk-E6SBQNDA.mjs';
|
|
3
3
|
import { WAD } from './chunk-7RWWVUHP.mjs';
|
|
4
|
-
import { toChainId, APIError, getSupportedAssets, DEFAULT_APPROVAL_AMOUNT, DEFAULT_SLIPPAGE_BPS, getClient } from './chunk-
|
|
4
|
+
import { toChainId, APIError, getSupportedAssets, DEFAULT_APPROVAL_AMOUNT, DEFAULT_SLIPPAGE_BPS, getClient } from './chunk-JLZL25CY.mjs';
|
|
5
5
|
import { formatUnits, parseUnits, erc20Abi, stringToHex, hexToSignature } from 'viem';
|
|
6
6
|
|
|
7
7
|
var isDepositSpendApproved = async ({
|
|
@@ -1407,5 +1407,5 @@ async function prepareWithdrawalAuthorization(params) {
|
|
|
1407
1407
|
}
|
|
1408
1408
|
|
|
1409
1409
|
export { DepositAuthMethod, PERMIT_TYPES, WithdrawAuthMethod, isAlreadyApprovedAuth, isApprovalAuth, isDepositSpendApproved, isPermitAuth, isWithdrawAlreadyApprovedAuth, isWithdrawApprovalAuth, isWithdrawalSpendApproved, parsePermitSignature, prepareApproveDepositTokenTxData, prepareApproveWithdrawOrderTxData, prepareCancelWithdrawOrderTxData, prepareDeposit, prepareDepositAuthorization, prepareDepositPermitSignature, prepareDepositTxData, prepareDepositWithPermitTxData, prepareWithdrawOrderTxData, prepareWithdrawal, prepareWithdrawalAuthorization, toEthSignTypedDataV4 };
|
|
1410
|
-
//# sourceMappingURL=chunk-
|
|
1411
|
-
//# sourceMappingURL=chunk-
|
|
1410
|
+
//# sourceMappingURL=chunk-3D6EDR3Z.mjs.map
|
|
1411
|
+
//# sourceMappingURL=chunk-3D6EDR3Z.mjs.map
|