Skip to content

Commit

Permalink
Bp/sdk pr 4 (#245)
Browse files Browse the repository at this point in the history
  • Loading branch information
bpolania authored Aug 29, 2024
1 parent 53e8b7a commit 95eeb15
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 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": "1.0.0-rc.20",
"version": "1.0.0-rc.21",
"description": "Story Protocol Core SDK",
"main": "dist/story-protocol-core-sdk.cjs.js",
"module": "dist/story-protocol-core-sdk.esm.js",
Expand Down
1 change: 1 addition & 0 deletions packages/core-sdk/src/utils/getLicenseTermsByType.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ export function getLicenseTermByType(
uri: "",
};
if (type === PIL_TYPE.NON_COMMERCIAL_REMIX) {
licenseTerms.commercializerCheckerData = "0x";
return licenseTerms;
} else if (type === PIL_TYPE.COMMERCIAL_USE) {
if (!term || term.defaultMintingFee === undefined || term.currency === undefined) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ describe("Get License Terms By Type", () => {
commercialRevShare: 0,
commercialUse: false,
commercializerChecker: "0x0000000000000000000000000000000000000000",
commercializerCheckerData: "0x0000000000000000000000000000000000000000",
commercializerCheckerData: "0x",
currency: "0x0000000000000000000000000000000000000000",
derivativeRevCeiling: 0n,
derivativesAllowed: true,
Expand Down

0 comments on commit 95eeb15

Please sign in to comment.