-
Notifications
You must be signed in to change notification settings - Fork 29
[NO MERGE] Substance labs feat/near intents 4 #661
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
…rIntentsApi and NearIntentsBridgeProvider
…he corresponding test
…ridgeProvider.import within test
…LimitEstimationForHook and getSignedHook
…AIN_TO_NATIVE_WRAPPED_TOKEN_ADDRESS to support wrapped assets, changes an import and rm the sending of native tokens within getUnsignedBridgeCall
…tus and adds const/index.tsx
…ithin getSignedHook and implements getBridgingParams
…hin COW_TRADE_EVENT_INTERFACE
…ment and a remove a useless check within getBridgingParams
…thin getBridgingParams
…ithin getSignedHook, fixes getTokenByAddressAndChainId and getIntermediateTokens
…ridgeCallWithoutHooks within NearIntentsBridgeProvider
…ithin NearIntentsBridgeProvider
…m getUnsignedBridgeCall in favour of the balance of the sell token within the cowshed account at the swap time
…within NearIntentsBridgeProvider
…irect transfer to near deposit address within NearIntentsBridgeProvider
…ype to getTokenByAddressAndChainId
…arIntentsBridgeProvider
…col/one-click-sdk-typescript within dependencies
…TS_BLOCKCHAIN_TO_NATIVE_WRAPPED_TOKEN_ADDRESS into WRAPPED_NATIVE_CURRENCIES
…_INTENTS_BLOCKCHAIN_TO_COW_NETWORK with NEAR_INTENTS_BLOCKCHAIN_CHAIN_IDS
…dNativeCurrency within getIntermediateTokens, adds CHAIN_ID_NEAR_INTENTS_BLOCKCHAIN and replaces the near intents blockchain with chain within WRAPPED_NATIVE_CURRENCIES
…PED_NATIVE_CURRENCIES with the one within @cowprotocol/sdk-config
…ower case within getTokenByAddressAndChainId
…it address within getBridgingParams
…EAR_INTENTS_BLOCKCHAIN
…e within getQuote
…ridgingParams so it works when there are multiple (≥2) settlements within the same transaction
…lculation within getQuote
…ermediateTokens to use targetSymbol=sourceSymbol
…eProvider within NearIntentsBridgeProvider
…vider.ts): forces token addresses to be lower case within getIntermediateTokens
…on with a mock ATTESTATOR_ADDRESS
…places https://1click.chaindefuser.com with OpenAPI.BASE
…ovider.ts): rm useless check
…geProvider.ts): replaces Error with BridgeProviderQuoteError within getQuote
…/cow-sdk into substance-labs-feat/near-intents # Conflicts: # packages/bridging/package.json # packages/bridging/src/providers/near-intents/NearIntentsApi.ts # packages/bridging/src/providers/near-intents/NearIntentsBridgeProvider.ts # packages/bridging/src/providers/near-intents/const/index.ts # packages/bridging/src/providers/near-intents/util.test.ts # packages/bridging/src/providers/near-intents/util.ts # pnpm-lock.yaml
|
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the ✨ Finishing touches🧪 Generate unit tests (beta)
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 |
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
📦 GitHub Packages PublishedLast updated: Nov 10, 2025, 11:41:48 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-661
# pnpm
pnpm install npm:@cowprotocol/cow-sdk@pr-661
# NPM
npm install npm:@cowprotocol/cow-sdk@pr-661Update 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 |
No description provided.