You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We should consider removing JSDoc tags on the functions and instead move the descriptions to the properties on the types. This improves reuse and better support IDEs like VSCode's IntelliSense.
IE Instead of
/** * Registers a derivative with license tokens. The derivative IP is registered with license tokens minted from the parent IP's license terms. * The license terms of the parent IPs issued with license tokens are attached to the derivative IP. * The caller must be the derivative IP owner or an authorized operator. * @param request - The request object that contains all data needed to register derivative license tokens. * @param request.childIpId The derivative IP ID. * @param {Array} request.licenseTokenIds The IDs of the license tokens. * @param request.args.maxRts The maximum number of royalty tokens that can be distributed to the external royalty policies (max: 100,000,000). * @param request.txOptions - [Optional] transaction. This extends `WaitForTransactionReceiptParameters` from the Viem library, excluding the `hash` property. * @returns A Promise that resolves to an object containing the transaction hash. */publicasyncregisterDerivativeWithLicenseTokens(request: RegisterDerivativeWithLicenseTokensRequest,)
Should be
/** * Registers a derivative with license tokens. The derivative IP is registered with license tokens minted from the parent IP's license terms. * The license terms of the parent IPs issued with license tokens are attached to the derivative IP. * The caller must be the derivative IP owner or an authorized operator. */publicasyncregisterDerivativeWithLicenseTokens(request: RegisterDerivativeWithLicenseTokensRequest,)
exporttypeRegisterDerivativeWithLicenseTokensRequest={/** The derivative IP ID */childIpId: Address;/** The IDs of the license tokens.*/licenseTokenIds: string[]|bigint[]|number[];/** * The maximum number of royalty tokens that can be distributed to the * external royalty policies (max: 100,000,000). */maxRts: number|string;txOptions?: TxOptions;};
The text was updated successfully, but these errors were encountered:
We should consider removing JSDoc tags on the functions and instead move the descriptions to the properties on the types. This improves reuse and better support IDEs like VSCode's IntelliSense.
IE
Instead of
Should be
The text was updated successfully, but these errors were encountered: