@aa-sdk/core
Advanced tools
Comparing version 4.3.0 to 4.3.1
@@ -71,5 +71,5 @@ import { keccak256, toHex } from "viem"; | ||
const val = roundingMode === RoundingMode.ROUND_UP | ||
? BigInt(base) * BigInt(multiplier * 10 ** decimalPlaces) + | ||
? BigInt(base) * BigInt(Math.round(multiplier * 10 ** decimalPlaces)) + | ||
BigInt(10 ** decimalPlaces - 1) | ||
: BigInt(base) * BigInt(multiplier * 10 ** decimalPlaces); | ||
: BigInt(base) * BigInt(Math.round(multiplier * 10 ** decimalPlaces)); | ||
return val / BigInt(10 ** decimalPlaces); | ||
@@ -76,0 +76,0 @@ }; |
@@ -1,1 +0,1 @@ | ||
export declare const VERSION = "4.3.0"; | ||
export declare const VERSION = "4.3.1"; |
// This file is autogenerated by inject-version.ts. Any changes will be | ||
// overwritten on commit! | ||
export const VERSION = "4.3.0"; | ||
export const VERSION = "4.3.1"; | ||
//# sourceMappingURL=version.js.map |
@@ -1,2 +0,2 @@ | ||
export declare const VERSION = "4.3.0"; | ||
export declare const VERSION = "4.3.1"; | ||
//# sourceMappingURL=version.d.ts.map |
{ | ||
"name": "@aa-sdk/core", | ||
"license": "MIT", | ||
"version": "4.3.0", | ||
"version": "4.3.1", | ||
"description": "viem based SDK that enables interactions with ERC-4337 Smart Accounts. ABIs are based off the definitions generated in @account-abstraction/contracts", | ||
@@ -67,3 +67,3 @@ "author": "Alchemy", | ||
"homepage": "https://github.com/alchemyplatform/aa-sdk#readme", | ||
"gitHead": "78c86103afeee309748c9d604af58bc7707c8b16" | ||
"gitHead": "68052c506336d4c7eee1d2ee78e9b07892488351" | ||
} |
@@ -94,5 +94,5 @@ import { keccak256, toHex } from "viem"; | ||
roundingMode === RoundingMode.ROUND_UP | ||
? BigInt(base) * BigInt(multiplier * 10 ** decimalPlaces) + | ||
? BigInt(base) * BigInt(Math.round(multiplier * 10 ** decimalPlaces)) + | ||
BigInt(10 ** decimalPlaces - 1) | ||
: BigInt(base) * BigInt(multiplier * 10 ** decimalPlaces); | ||
: BigInt(base) * BigInt(Math.round(multiplier * 10 ** decimalPlaces)); | ||
@@ -99,0 +99,0 @@ return val / BigInt(10 ** decimalPlaces); |
// This file is autogenerated by inject-version.ts. Any changes will be | ||
// overwritten on commit! | ||
export const VERSION = "4.3.0"; | ||
export const VERSION = "4.3.1"; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1770501