Skip to content

Commit

Permalink
Merge pull request #92 from storyprotocol/dev
Browse files Browse the repository at this point in the history
beta rc7 fix (#91)
  • Loading branch information
edisonz0718 authored Feb 24, 2024
2 parents 9546822 + d195e84 commit 76060ce
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/core-sdk/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@story-protocol/core-sdk",
"version": "0.0.1-beta-rc.6",
"version": "0.0.1-beta-rc.7",
"description": "Story Protocol Core SDK",
"main": "dist/story-protocol-core-sdk.cjs.js",
"module": "dist/story-protocol-core-sdk.esm.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/core-sdk/src/resources/ipAsset.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export class IPAssetClient {
request.tokenContractAddress,
request.tokenId,
);
if (ipId) {
if (ipId !== "0x") {
return { ipId: ipId };
}
const { request: call } = await this.rpcClient.simulateContract({
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ describe("IP Asset Functions", () => {
client.ipAsset.registerRootIp({
policyId: "0",
tokenContractAddress: "0xd516482bef63Ff19Ed40E4C6C2e626ccE04e19ED",
tokenId: "19",
tokenId: "10",
txOptions: {
waitForTransaction: waitForTransaction,
},
Expand Down

0 comments on commit 76060ce

Please sign in to comment.