Skip to content

fix: fix stale typescript definitions - #579

Merged
PierreJeanjacquot merged 30 commits into
masterfrom
fix/ts
Oct 15, 2026
Merged

PierreJeanjacquot merged 30 commits into
masterfrom
fix/ts

Conversation

@PierreJeanjacquot

Copy link
Copy Markdown
Contributor

No description provided.

@github-actions

Copy link
Copy Markdown

🐳 Hadolint Dockerfile Lint Results

Click to expand detailed results
Dockerfile:12 DL3066 info: Non-numeric user-id may not be resolvable by host system
Dockerfile:17 DL3016 warning: Pin versions in npm. Instead of `npm install <package>` use `npm install <package>@<version>`

The sponsored field was left in the type declaration when voucher support was removed (#511), but the implementation only returns volume and total.
fetchRequestOrderbook resolves with request orders, not workerpool orders.
The beneficiary filter is supported by the implementation but was not declared.
The positional address argument was removed, the examples now pass an options object.
obsDeal emits tasksCount and failedTasksCount, not taskCount and failedTaksCount.
obsDeal emits tasks as an object indexed by position in the deal, and idx is a string until the task is initialized.
show resolves tasks as an array of task ids, the first item being the task at index botFirst.
The deal returned by the PoCo viewDeal method includes the sponsor address.
The task returned by the PoCo viewTask method includes timeref.
When the task is not initialized and a dealid is specified, obsTask emits only taskid, dealid, status, statusName and taskTimedOut.
deposit and withdraw resolve the amount as a nRLC decimal string, not as a BN.
checkAllowance always resolves a BN.
sweep does not throw when the native token transfer fails, transaction hashes may be missing and failures are reported in errors.
The id of the resource is exposed as objectId, objId was never set.
…t signatures

Both methods take no argument and fetchTokenContract is always defined.
Amounts with units are not supported by formatEth and formatRLC, they throw on unit strings.
parseEth defaults to ether and parseRLC defaults to RLC, both accept numbers.
Every module exposes the sdk version.
showCategory resolves workClockTimeRef as a BN.
Since TDX is the default tag, tee and tdx tags are always added to the orders tag on creation and signing.
prepareDatasetBulk resolves the bulk CID as cid, not bulkCid.
There is a single Secret Management Service since multi SMS support was removed.
The workerpool API url is fetched from Compass, not from the blockchain.
These methods do not return a more() method, page and pageSize options must be used instead.
@PierreJeanjacquot
PierreJeanjacquot merged commit bfa99a9 into master Oct 15, 2026
8 checks passed
@PierreJeanjacquot
PierreJeanjacquot deleted the fix/ts branch October 15, 2026 09:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant