@ethersproject/strings
Advanced tools
Comparing version 6.0.0-beta.1 to 6.0.0-beta.2
@@ -1,2 +0,2 @@ | ||
export declare const version = "@ethersproject/strings@6.0.0-beta.1"; | ||
export declare const version = "@ethersproject/strings@6.0.0-beta.2"; | ||
//# sourceMappingURL=_version.d.ts.map |
@@ -1,2 +0,2 @@ | ||
export const version = "@ethersproject/strings@6.0.0-beta.1"; | ||
export const version = "@ethersproject/strings@6.0.0-beta.2"; | ||
//# sourceMappingURL=_version.js.map |
@@ -1,2 +0,2 @@ | ||
import { zeroPadRight } from "@ethersproject/bytes"; | ||
import { zeroPadBytes } from "@ethersproject/bytes"; | ||
import { logger } from "./logger.js"; | ||
@@ -12,3 +12,3 @@ import { toUtf8Bytes, toUtf8String } from "./utf8.js"; | ||
// Zero-pad (implicitly null-terminates) | ||
return zeroPadRight(bytes, 32); | ||
return zeroPadBytes(bytes, 32); | ||
} | ||
@@ -15,0 +15,0 @@ export function parseBytes32String(_bytes) { |
@@ -12,3 +12,3 @@ { | ||
"ethereum": "donations.ethers.eth", | ||
"gitHead": "77f691b3bc3a6387a5184ec9b1779faab4bcb30d", | ||
"gitHead": "4fcde0967317451fac6cec6addba8258f98c14b5", | ||
"keywords": [ | ||
@@ -34,6 +34,6 @@ "Ethereum", | ||
"sideEffects": false, | ||
"tarballHash": "0x7384ab5b2d3212ff5cc0290b905e115e0253d44158b6e58958874c7aaefb3aa2", | ||
"tarballHash": "0xed53e70ea1c0b967e3583fcd9e2e7a661a3f90722d8660470ec5175e4f46156e", | ||
"type": "module", | ||
"types": "./lib/index.d.ts", | ||
"version": "6.0.0-beta.1" | ||
"version": "6.0.0-beta.2" | ||
} |
@@ -1,1 +0,1 @@ | ||
export const version = "@ethersproject/strings@6.0.0-beta.1"; | ||
export const version = "@ethersproject/strings@6.0.0-beta.2"; |
import { zeroPadRight } from "@ethersproject/bytes"; | ||
import { zeroPadBytes } from "@ethersproject/bytes"; | ||
@@ -19,3 +19,3 @@ import { logger } from "./logger.js"; | ||
// Zero-pad (implicitly null-terminates) | ||
return zeroPadRight(bytes, 32); | ||
return zeroPadBytes(bytes, 32); | ||
} | ||
@@ -22,0 +22,0 @@ |
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
No README
QualityPackage does not have a README. This may indicate a failed publish or a low quality package.
Found 1 instance in 1 package
70033
33
0
14