@paxoslabs/amplify-sdk 0.1.1-alpha.2 → 0.1.1-beta.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/CHANGELOG.md CHANGED
@@ -8,11 +8,7 @@ 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.2](///compare/v0.1.1-alpha.1...v0.1.1-alpha.2) (2025-12-10)
12
-
13
- ### Bug Fixes
14
-
15
- * **types:** correct DepositTxData args tuple and withdraw docs 748593e
11
+ ## [0.1.1-beta.0](///compare/v0.1.1-alpha.1...v0.1.1-beta.0) (2025-12-10)
16
12
 
17
13
  ## [0.1.1-alpha.1](///compare/v0.1.1-alpha.0...v0.1.1-alpha.1) (2025-12-10)
18
14
 
package/dist/index.d.mts CHANGED
@@ -836,7 +836,7 @@ interface DepositTxData {
836
836
  abi: typeof CommunityCodeDepositorAbi;
837
837
  address: Address;
838
838
  functionName: "deposit";
839
- args: readonly [Address, bigint, bigint, Address, ByteArray];
839
+ args: [Address, bigint, bigint, Address, ByteArray];
840
840
  chainId: number;
841
841
  }
842
842
  /**
@@ -3457,6 +3457,7 @@ type UserRequest = {
3457
3457
  * @property {Address} wantAssetAddress - Address of the want token
3458
3458
  * @property {ChainId} chainId - ID of the chain where the withdrawal will occur
3459
3459
  * @property {string} offerAmount - Amount of vault shares to withdraw as a decimal string
3460
+ * @property {Address} recipientAddress - Ethereum address of the user making the withdrawal
3460
3461
  * @property {number} [deadline] - Unix timestamp when the request expires (optional)
3461
3462
  * @property {number} [slippage] - Maximum acceptable slippage in basis points (optional, default: 100 for 1%)
3462
3463
  *
@@ -3521,9 +3522,10 @@ interface WithdrawTxData {
3521
3522
  * yieldType: 'PRIME',
3522
3523
  * wantAssetAddress: '0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48', // USDC
3523
3524
  * chainId: 1,
3525
+ * recipientAddress: '0x1234...',
3524
3526
  * offerAmount: "1.0", // 1 vault share
3525
- * deadline: Math.floor(Date.now() / 1000) + 3600, // Optional: Defaults to 3 days from now
3526
- * slippage: 100, // Optional: Defaults to 0.5% slippage (50 bps)
3527
+ * deadline: Math.floor(Date.now() / 1000) + 3600, // 1 hour from now
3528
+ * slippage: 100, // 1% slippage (100 bps)
3527
3529
  * });
3528
3530
  * ```
3529
3531
  *
package/dist/index.d.ts CHANGED
@@ -836,7 +836,7 @@ interface DepositTxData {
836
836
  abi: typeof CommunityCodeDepositorAbi;
837
837
  address: Address;
838
838
  functionName: "deposit";
839
- args: readonly [Address, bigint, bigint, Address, ByteArray];
839
+ args: [Address, bigint, bigint, Address, ByteArray];
840
840
  chainId: number;
841
841
  }
842
842
  /**
@@ -3457,6 +3457,7 @@ type UserRequest = {
3457
3457
  * @property {Address} wantAssetAddress - Address of the want token
3458
3458
  * @property {ChainId} chainId - ID of the chain where the withdrawal will occur
3459
3459
  * @property {string} offerAmount - Amount of vault shares to withdraw as a decimal string
3460
+ * @property {Address} recipientAddress - Ethereum address of the user making the withdrawal
3460
3461
  * @property {number} [deadline] - Unix timestamp when the request expires (optional)
3461
3462
  * @property {number} [slippage] - Maximum acceptable slippage in basis points (optional, default: 100 for 1%)
3462
3463
  *
@@ -3521,9 +3522,10 @@ interface WithdrawTxData {
3521
3522
  * yieldType: 'PRIME',
3522
3523
  * wantAssetAddress: '0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48', // USDC
3523
3524
  * chainId: 1,
3525
+ * recipientAddress: '0x1234...',
3524
3526
  * offerAmount: "1.0", // 1 vault share
3525
- * deadline: Math.floor(Date.now() / 1000) + 3600, // Optional: Defaults to 3 days from now
3526
- * slippage: 100, // Optional: Defaults to 0.5% slippage (50 bps)
3527
+ * deadline: Math.floor(Date.now() / 1000) + 3600, // 1 hour from now
3528
+ * slippage: 100, // 1% slippage (100 bps)
3527
3529
  * });
3528
3530
  * ```
3529
3531
  *