-
Notifications
You must be signed in to change notification settings - Fork 54
Conversation
@cjthompson Since this bumps deps to new major one, do we want this to be squashed to a |
# [@shapeshiftoss/asset-service-v2.4.2](https://github.com/shapeshift/lib/compare/@shapeshiftoss/asset-service-v2.4.1...@shapeshiftoss/asset-service-v2.4.2) (2022-05-02) ### Bug Fixes * unbreak lib build ([#588](#588)) ([bff0f3d](bff0f3d)) * vscode tsconfig errors ([#577](#577)) ([50138d0](50138d0))
🎉 This PR is included in version @shapeshiftoss/asset-service-v2.4.2 🎉 The release is available on: Your semantic-release bot 📦🚀 |
# [@shapeshiftoss/chain-adapters-v2.13.5](https://github.com/shapeshift/lib/compare/@shapeshiftoss/chain-adapters-v2.13.4...@shapeshiftoss/chain-adapters-v2.13.5) (2022-05-02) ### Bug Fixes * unbreak lib build ([#588](#588)) ([bff0f3d](bff0f3d)) * vscode tsconfig errors ([#577](#577)) ([50138d0](50138d0))
🎉 This PR is included in version @shapeshiftoss/chain-adapters-v2.13.5 🎉 The release is available on: Your semantic-release bot 📦🚀 |
# [@shapeshiftoss/investor-foxy-v1.4.2](https://github.com/shapeshift/lib/compare/@shapeshiftoss/investor-foxy-v1.4.1...@shapeshiftoss/investor-foxy-v1.4.2) (2022-05-02) ### Bug Fixes * unbreak lib build ([#588](#588)) ([bff0f3d](bff0f3d)) * vscode tsconfig errors ([#577](#577)) ([50138d0](50138d0))
🎉 This PR is included in version @shapeshiftoss/investor-foxy-v1.4.2 🎉 The release is available on: Your semantic-release bot 📦🚀 |
# [@shapeshiftoss/investor-yearn-v1.4.6](https://github.com/shapeshift/lib/compare/@shapeshiftoss/investor-yearn-v1.4.5...@shapeshiftoss/investor-yearn-v1.4.6) (2022-05-02) ### Bug Fixes * unbreak lib build ([#588](#588)) ([bff0f3d](bff0f3d)) * vscode tsconfig errors ([#577](#577)) ([50138d0](50138d0))
🎉 This PR is included in version @shapeshiftoss/investor-yearn-v1.4.6 🎉 The release is available on: Your semantic-release bot 📦🚀 |
# [@shapeshiftoss/market-service-v2.2.1](https://github.com/shapeshift/lib/compare/@shapeshiftoss/market-service-v2.2.0...@shapeshiftoss/market-service-v2.2.1) (2022-05-02) ### Bug Fixes * unbreak lib build ([#588](#588)) ([bff0f3d](bff0f3d)) * vscode tsconfig errors ([#577](#577)) ([50138d0](50138d0))
🎉 This PR is included in version @shapeshiftoss/market-service-v2.2.1 🎉 The release is available on: Your semantic-release bot 📦🚀 |
🎉 This PR is included in version @shapeshiftoss/swapper-v3.0.1 🎉 The release is available on: Your semantic-release bot 📦🚀 |
This unbreaks the
yarn build
step, which is currently broken in latest develop since e02a2f4:@shapeshiftoss/types
to latest where neededtokens
property intransformValidator
return typeChainTypes.Ethereum
vs.ChainTypes
currently ininvestor-foxy
. This gives it a properT
generic type that's passed down to various methods and solves many type errors. This also gives it typing parity withinvestor-yearn
, where the typing is actually the correct narrowed down one:lib/packages/investor-yearn/src/api/api.ts
Line 32 in bf5aa33
lib/packages/investor-yearn/src/api/api.ts
Line 40 in bf5aa33
ChainAdapter<ChainTypes.Ethereum>
type casting to adapter property inFoxyApi
args. Until we narrow down the types inchain-adapters
byChainId
, that's probably the easiest way to go@shapeshiftoss/chain-adapters
to ^2.13.0 ininvestor-yearn
for version parity withinvestor-foxy
packages/market-service/src/market-service-manager.ts
:import { FindAllMarketArgs } from '@shapeshiftoss/types/src'
->import { FindAllMarketArgs } from '@shapeshiftoss/types'
lib/packages/market-service/src/market-service-manager.ts
Line 9 in 597dc6e