diff --git a/packages/coingecko/CHANGELOG.md b/packages/coingecko/CHANGELOG.md index d3cde617d..77094aae7 100644 --- a/packages/coingecko/CHANGELOG.md +++ b/packages/coingecko/CHANGELOG.md @@ -1,5 +1,12 @@ # @usedapp/coingecko +## 1.1.21 + +### Patch Changes + +- Updated dependencies [c688928] + - @usedapp/core@1.2.15 + ## 1.1.20 ### Patch Changes diff --git a/packages/coingecko/package.json b/packages/coingecko/package.json index 4616a466f..d7cddbeb6 100644 --- a/packages/coingecko/package.json +++ b/packages/coingecko/package.json @@ -1,6 +1,6 @@ { "name": "@usedapp/coingecko", - "version": "1.1.20", + "version": "1.1.21", "main": "dist/cjs/src/index.js", "module": "dist/esm/src/index.js", "types": "dist/esm/src/index.d.ts", diff --git a/packages/core/CHANGELOG.md b/packages/core/CHANGELOG.md index 3a4980c84..251cb2c5b 100644 --- a/packages/core/CHANGELOG.md +++ b/packages/core/CHANGELOG.md @@ -1,5 +1,11 @@ # @usedapp/core +## 1.2.15 + +### Patch Changes + +- c688928: 🌝 Add optimism sepolia to chain ids + ## 1.2.14 ### Patch Changes diff --git a/packages/core/package.json b/packages/core/package.json index cbda595e7..b3246d71c 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@usedapp/core", - "version": "1.2.14", + "version": "1.2.15", "repository": "git@github.com:TrueFiEng/useDApp.git", "author": "Ethworks", "license": "MIT", diff --git a/packages/core/src/constants/chainId.ts b/packages/core/src/constants/chainId.ts index 8f02f9838..78407bca7 100644 --- a/packages/core/src/constants/chainId.ts +++ b/packages/core/src/constants/chainId.ts @@ -68,6 +68,7 @@ import { MantleTestnet, KromaSepoliaTestnet, KromaMainnet, + OptimismSepolia, } from '../model' // rough alphabet order (put network from the same chain together) @@ -121,6 +122,7 @@ export const DEFAULT_SUPPORTED_CHAINS = [ ThunderCoreTestnet, OptimismGoerli, OptimismKovan, + OptimismSepolia, Optimism, Velas, VelasTestnet, @@ -187,6 +189,7 @@ export enum ChainId { Andromeda = 1088, OptimismGoerli = 420, OptimismKovan = 69, + OptimismSepolia = 11155420, Optimism = 10, Arbitrum = 42161, ArbitrumRinkeby = 421611, diff --git a/packages/core/src/hooks/useConfig.test.tsx b/packages/core/src/hooks/useConfig.test.tsx index 990338728..48a44b930 100644 --- a/packages/core/src/hooks/useConfig.test.tsx +++ b/packages/core/src/hooks/useConfig.test.tsx @@ -26,7 +26,7 @@ describe('useConfig', () => { const { result, waitForCurrent } = await renderDAppHook(() => useConfig(), { config: setup.config }) await waitForCurrent((val) => val !== undefined) expect(result.error).to.be.undefined - expect(result.current.networks?.length).to.eq(68) + expect(result.current.networks?.length).to.eq(69) expect(result.current.notifications?.checkInterval).to.eq(500) expect(result.current.notifications?.expirationPeriod).to.eq(5000) }) diff --git a/packages/docs/playwright/with-metamask.test.ts b/packages/docs/playwright/with-metamask.test.ts index e4c189966..3dcb5e657 100644 --- a/packages/docs/playwright/with-metamask.test.ts +++ b/packages/docs/playwright/with-metamask.test.ts @@ -101,12 +101,8 @@ describe(`Browser: ${browserType.name()} with Metamask`, () => { const popupPage = await popupPromise await sleep(2000) // Wait for the popup to be fully loaded. - expect( - // if this link is visible, then the network does not match metamask records - await popupPage.isVisible(`//a[@href='https://metamask.zendesk.com/hc/en-us/articles/360057142392']`) - ).to.be.false - await popupPage.click(XPath.text('a', 'View all')) + await popupPage.click(XPath.text('a', 'View all details')) await waitForExpect(async () => { expect(await popupPage.isVisible(`//*[text()='${Optimism.chainName}']`)).to.be.true expect(await popupPage.isVisible(`//*[text()='${Optimism.rpcUrl}']`)).to.be.true diff --git a/packages/testing/CHANGELOG.md b/packages/testing/CHANGELOG.md index 1fbf76543..5b291cb54 100644 --- a/packages/testing/CHANGELOG.md +++ b/packages/testing/CHANGELOG.md @@ -1,5 +1,12 @@ # @usedapp/testing +## 1.1.21 + +### Patch Changes + +- Updated dependencies [c688928] + - @usedapp/core@1.2.15 + ## 1.1.20 ### Patch Changes diff --git a/packages/testing/package.json b/packages/testing/package.json index 2f0bc818a..a79770e7a 100644 --- a/packages/testing/package.json +++ b/packages/testing/package.json @@ -1,6 +1,6 @@ { "name": "@usedapp/testing", - "version": "1.1.20", + "version": "1.1.21", "main": "dist/src/index.js", "types": "dist/src/index.d.ts", "repository": "git@github.com:TrueFiEng/useDApp.git",