feat(cow-shed): support Poller deployment domains - #990
Conversation
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Team Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
📦 GitHub Packages PublishedLast updated: Sep 7, 2026, 09:51:05 AM UTC The following packages have been published to GitHub Packages with pre-release version
InstallationThese packages require authentication to install from GitHub Packages. First, create a # Create .npmrc file in your project root
echo "@cowprotocol:registry=https://npm.pkg.github.com" > .npmrc
echo "//npm.pkg.github.com/:_authToken=YOUR_GITHUB_TOKEN" >> .npmrcTo get your GitHub token:
Then install any of the packages above, either by exact version (i.e. # Yarn
yarn add npm:@cowprotocol/cow-sdk@pr-990
# pnpm
pnpm install npm:@cowprotocol/cow-sdk@pr-990
# NPM
npm install npm:@cowprotocol/cow-sdk@pr-990Update to the latest version (only if you used the tag)Every commit will publish a new package. To upgrade to the latest version, run: # Yarn
yarn upgrade @cowprotocol/cow-sdk
# pnpm
pnpm update @cowprotocol/cow-sdk
# NPM
npm update @cowprotocol/cow-sdkView PackagesYou can view the published packages at: https://github.com/cowprotocol/cow-sdk/packages |
|
I think |
What and why
ComposableCowPollerintegrations can now bundleregisterFromShedandrevokeFromShedcalls throughCowShedSdkwithout subclassing it for custom deployments.CowShedSdkaccepts custom factory, implementation, proxy-code, and EIP-712 domain settings, including domain version2.1.0, while preserving its existing version and subclass APIs.Depends on #966 and cowprotocol/composable-cow#145.
Related: TWAP for EOAs
Test
pnpm --filter @cowprotocol/sdk-cow-shed testTry it
The returned bundle targets the configured CowShed factory and signs with EIP-712 domain version
2.1.0.