Comparing version 1.1.0 to 1.1.1
@@ -102,5 +102,10 @@ "use strict"; | ||
addressWithChecksum.set(crc16(addr), 34); | ||
return addressWithChecksum.toString(urlSafe ? 'base64url' : 'base64'); | ||
if (urlSafe) { | ||
return addressWithChecksum.toString('base64').replace(/\+/g, '-').replace(/\//g, '_'); | ||
} | ||
else { | ||
return addressWithChecksum.toString('base64'); | ||
} | ||
}; | ||
} | ||
exports.Address = Address; |
{ | ||
"name": "ton", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"repository": "https://github.com/ex3ndr/ton.git", | ||
@@ -5,0 +5,0 @@ "author": "Steve Korshakov <steve@korshakov.com>", |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
22735
573
0