@bananapus/721-hook-v6 0.0.58 → 0.0.59

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/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@bananapus/721-hook-v6",
3
- "version": "0.0.58",
3
+ "version": "0.0.59",
4
4
  "license": "MIT",
5
5
  "repository": {
6
6
  "type": "git",
7
- "url": "git+https://github.com/Bananapus/nana-721-hook-v6"
7
+ "url": "git+https://github.com/Bananapus/nana-721-hook-v6.git"
8
8
  },
9
9
  "files": [
10
10
  "foundry.toml",
@@ -26,7 +26,7 @@
26
26
  },
27
27
  "dependencies": {
28
28
  "@bananapus/address-registry-v6": "^0.0.26",
29
- "@bananapus/core-v6": "^0.0.70",
29
+ "@bananapus/core-v6": "^0.0.72",
30
30
  "@bananapus/ownable-v6": "^0.0.31",
31
31
  "@bananapus/permission-ids-v6": "^0.0.27",
32
32
  "@openzeppelin/contracts": "5.6.1",
@@ -12,7 +12,7 @@ library JBIpfsDecoder {
12
12
 
13
13
  /// @notice Just a kind reminder to our readers.
14
14
  /// @dev Used in `base58ToString`
15
- bytes internal constant ALPHABET = "123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz";
15
+ bytes internal constant _ALPHABET = "123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz";
16
16
 
17
17
  /// @notice Decode an IPFS hash from a bytes32 and concatenate it with a base URI.
18
18
  /// @param baseUri The base URI to prepend to the decoded IPFS hash.
@@ -47,15 +47,15 @@ library JBIpfsDecoder {
47
47
  return output;
48
48
  }
49
49
 
50
- /// @notice Map each base-58 digit (0–57) to its corresponding character in `ALPHABET`.
50
+ /// @notice Map each base-58 digit (0–57) to its corresponding character in `_ALPHABET`.
51
51
  /// @dev Final stage of `_toBase58`: turns the numeric digit array into the canonical base-58 string bytes.
52
52
  /// @param indices Each element must satisfy `0 <= indices[i] < 58`; out-of-range values revert via index OOB.
53
- /// @return output ASCII bytes with `output[i] = ALPHABET[indices[i]]`.
53
+ /// @return output ASCII bytes with `output[i] = _ALPHABET[indices[i]]`.
54
54
  function _toAlphabet(uint8[] memory indices) private pure returns (bytes memory) {
55
55
  uint256 indicesLength = indices.length;
56
56
  bytes memory output = new bytes(indicesLength);
57
57
  for (uint256 i; i < indicesLength;) {
58
- output[i] = ALPHABET[indices[i]];
58
+ output[i] = _ALPHABET[indices[i]];
59
59
 
60
60
  unchecked {
61
61
  ++i;