@layerzerolabs/utils-evm-contracts 1.2.100 → 1.2.101

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.
@@ -170,6 +170,7 @@ interface IRateLimiter {
170
170
  * @notice Returns the rate limit state and configuration for a given ID.
171
171
  * @dev May return unscaled state if `SCALE_DECIMALS` is set, use `getRateLimitUsages` for scaled values.
172
172
  * @dev Reads the rate limit state from storage without checking defaults.
173
+ * @dev A window of `type(uint32).max` means usage in that direction does not decay.
173
174
  * @param _id ID of the rate limit
174
175
  * @return rateLimit Rate limit state and configuration
175
176
  */
@@ -215,6 +216,7 @@ interface IRateLimiter {
215
216
  * @notice Sets ID-specific configurations for the rate limiter.
216
217
  * @dev Configurations must be significantly larger than windows to avoid precision loss when calculating decays.
217
218
  * @dev It does not checkpoint rate limits for the configured IDs.
219
+ * @dev A window of `type(uint32).max` disables decay in that direction instead of setting a finite window.
218
220
  * @param _params Array of configurations to set
219
221
  */
220
222
  function setRateLimitConfigs(SetRateLimitConfigParam[] calldata _params) external;
package/package.json CHANGED
@@ -1,14 +1,14 @@
1
1
  {
2
2
  "name": "@layerzerolabs/utils-evm-contracts",
3
- "version": "1.2.100",
3
+ "version": "1.2.101",
4
4
  "private": false,
5
5
  "description": "LayerZero Labs utility EVM contracts",
6
6
  "license": "MIT",
7
7
  "devDependencies": {
8
- "@layerzerolabs/solhint-configuration": "1.2.100",
8
+ "@layerzerolabs/solhint-configuration": "1.2.101",
9
9
  "@layerzerolabs/test-devtools-evm-foundry": "8.0.1",
10
10
  "@layerzerolabs/toolbox-foundry": "^0.1.13",
11
- "@layerzerolabs/vm-tooling-evm": "1.2.100",
11
+ "@layerzerolabs/vm-tooling-evm": "1.2.101",
12
12
  "@openzeppelin/contracts": "^5.0.2",
13
13
  "solhint": "^6.0.1"
14
14
  },