Skip to content

Commit

Permalink
release v1.3.5
Browse files Browse the repository at this point in the history
Add Cid.bareMultihash()
  • Loading branch information
ianopolous committed Feb 1, 2023
1 parent 160637b commit 1ed3070
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
<attribute name="Class-Path" value="${manifest_cp}"/>
<attribute name="Implementation-Vendor" value="io.ipfs"/>
<attribute name="Implementation-Title" value="cid"/>
<attribute name="Implementation-Version" value="1.3.4"/>
<attribute name="Implementation-Version" value="1.3.5"/>
</manifest>
</jar>
</target>
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<groupId>com.github.ipld</groupId>
<artifactId>java-cid</artifactId>
<version>v1.3.4</version>
<version>v1.3.5</version>
<packaging>jar</packaging>

<name>cid</name>
Expand Down
4 changes: 4 additions & 0 deletions src/main/java/io/ipfs/cid/Cid.java
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,10 @@ public String toString() {
throw new IllegalStateException("Unknown Cid version: " + version);
}

public Multihash bareMultihash() {
return new Multihash(getType(), getHash());
}

@Override
public boolean equals(Object o) {
if (this == o) return true;
Expand Down

0 comments on commit 1ed3070

Please sign in to comment.