Skip to content

Update trading branch#28

Merged
jeffersonBastos merged 1 commit into
jefferson/cow-430-create-cow-trading-packagefrom
jefferson/cow-480-create-umbruella-package
Jun 30, 2025
Merged

Update trading branch#28
jeffersonBastos merged 1 commit into
jefferson/cow-430-create-cow-trading-packagefrom
jefferson/cow-480-create-umbruella-package

Conversation

@jeffersonBastos
Copy link
Copy Markdown

This PR updates the trading package, which is currently open on the CoW side.

@linear
Copy link
Copy Markdown

linear Bot commented Jun 30, 2025

@github-actions
Copy link
Copy Markdown


Thank you for your submission, we really appreciate it. Like many open-source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution. You can sign the CLA by just posting a Pull Request Comment same as the below format.


I have read the CLA Document and I hereby sign the CLA


You can retrigger this bot by commenting recheck in this Pull Request. Posted by the CLA Assistant Lite bot.

@socket-security
Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Added@​nicolo-ribaudo/​eslint-scope-5-internals@​5.1.1-v11001004675100
Addedarray-buffer-byte-length@​1.0.0671007351100
Addedarray.prototype.tosorted@​1.1.1671009151100
Addedabab@​2.0.6671008351100
Addedarray.prototype.flat@​1.3.1671009152100
Addedarray.prototype.reduce@​1.0.5671009052100
Addedarray.prototype.flatmap@​1.3.1671009452100
Added@​types/​parse-json@​4.0.01001005577100
Addedassert@​2.1.0671009355100
Addedarray-includes@​3.1.66710010055100
Added@​jest/​globals@​27.5.11001005897100
Addedat-least-node@​1.0.01001005876100
Added@​babel/​plugin-transform-react-jsx-development@​7.18.61001005892100
Added@​tootallnate/​once@​1.1.21001005976100
Addedbabel-plugin-named-asset-import@​0.3.81001006082100
Added@​babel/​plugin-syntax-async-generators@​7.8.41001006081100
Added@​babel/​plugin-syntax-bigint@​7.8.31001006081100
Added@​babel/​plugin-syntax-import-meta@​7.10.41001006081100
Added@​babel/​plugin-syntax-json-strings@​7.8.31001006081100
Added@​babel/​plugin-syntax-logical-assignment-operators@​7.10.41001006081100
Added@​babel/​plugin-syntax-nullish-coalescing-operator@​7.8.31001006081100
Added@​babel/​plugin-syntax-numeric-separator@​7.10.41001006081100
Added@​babel/​plugin-syntax-object-rest-spread@​7.8.31001006081100
Added@​babel/​plugin-syntax-optional-catch-binding@​7.8.31001006081100
Added@​babel/​plugin-syntax-optional-chaining@​7.8.31001006081100
Added@​babel/​plugin-syntax-dynamic-import@​7.8.31001006081100
Added@​babel/​plugin-syntax-export-namespace-from@​7.8.31001006081100
Added@​babel/​plugin-syntax-private-property-in-object@​7.14.51001006081100
Added@​babel/​plugin-transform-dotall-regex@​7.18.61001006189100
Added@​babel/​plugin-transform-unicode-regex@​7.18.61001006189100
Added@​svgr/​babel-plugin-remove-jsx-empty-expression@​5.0.11001006176100
Added@​babel/​plugin-syntax-class-properties@​7.12.131001006181100
Added@​babel/​plugin-syntax-class-static-block@​7.14.51001006181100
Added@​babel/​plugin-syntax-top-level-await@​7.14.51001006181100
See 233 more rows in the dashboard

View full report

Copy link
Copy Markdown

@cursor cursor Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bug: Misleading Optional Properties Initialization

Type inconsistency: The cowShed, trading, and composable properties are declared as optional (?) but are always initialized in the constructor. This makes their optional typing misleading, as they will never be undefined at runtime.

packages/sdk/src/CowSdk.ts#L32-L38

public readonly contracts: ContractsTs
public readonly cowShed?: CowShedSdk
public readonly trading?: TradingSdk
public readonly composable?: {
factory: ConditionalOrderFactory
multiplexer?: Multiplexer
}

Fix in Cursor


Was this report helpful? Give feedback by reacting with 👍 or 👎

@jeffersonBastos jeffersonBastos merged commit 11d31e1 into jefferson/cow-430-create-cow-trading-package Jun 30, 2025
4 of 13 checks passed
@github-actions github-actions Bot locked and limited conversation to collaborators Jun 30, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant