From b651bae4ba481185135bc694ce51fa87e3e40615 Mon Sep 17 00:00:00 2001 From: kumaryash90 Date: Sun, 2 Feb 2025 01:19:51 +0000 Subject: [PATCH] Update addresses (#6141) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit TOOL-3279 --- ## PR-Codex overview This PR focuses on refining type imports in `usageV2.ts`, adding a new address in `implementations.ts`, and simplifying the `package.json` formatting for better readability. ### Detailed summary - Changed import style in `usageV2.ts` to use `import type`. - Added a new address entry in `implementations.ts`. - Reformatted `typesVersions` and `files` sections in `package.json` for improved clarity. > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` --- packages/service-utils/package.json | 12 +++--------- packages/service-utils/src/cf-worker/usageV2.ts | 2 +- .../contract/deployment/zksync/implementations.ts | 1 + 3 files changed, 5 insertions(+), 10 deletions(-) diff --git a/packages/service-utils/package.json b/packages/service-utils/package.json index d2898266b18..915e4e5ac36 100644 --- a/packages/service-utils/package.json +++ b/packages/service-utils/package.json @@ -26,12 +26,8 @@ }, "typesVersions": { "*": { - "node": [ - "./dist/types/node/index.d.ts" - ], - "cf-worker": [ - "./dist/types/cf-worker/index.d.ts" - ] + "node": ["./dist/types/node/index.d.ts"], + "cf-worker": ["./dist/types/cf-worker/index.d.ts"] } }, "repository": "https://github.com/thirdweb-dev/js/tree/main/packages/pay", @@ -40,9 +36,7 @@ "url": "https://github.com/thirdweb-dev/js/issues" }, "author": "thirdweb eng ", - "files": [ - "dist/" - ], + "files": ["dist/"], "sideEffects": false, "dependencies": { "aws4fetch": "1.0.20", diff --git a/packages/service-utils/src/cf-worker/usageV2.ts b/packages/service-utils/src/cf-worker/usageV2.ts index b37ea100c6d..f5ee8b3fde8 100644 --- a/packages/service-utils/src/cf-worker/usageV2.ts +++ b/packages/service-utils/src/cf-worker/usageV2.ts @@ -1,5 +1,5 @@ import type { ServiceName } from "../core/services.js"; -import { type UsageV2Event } from "../core/usageV2.js"; +import type { UsageV2Event } from "../core/usageV2.js"; /** * Send events to Kafka. diff --git a/packages/thirdweb/src/contract/deployment/zksync/implementations.ts b/packages/thirdweb/src/contract/deployment/zksync/implementations.ts index 43d0357f614..aea33558bbe 100644 --- a/packages/thirdweb/src/contract/deployment/zksync/implementations.ts +++ b/packages/thirdweb/src/contract/deployment/zksync/implementations.ts @@ -25,4 +25,5 @@ export const ZKSYNC_WETH: Record = { [11124]: "0x9EDCde0257F2386Ce177C3a7FCdd97787F0D841d", [37111]: "0xaA91D645D7a6C1aeaa5988e0547267B77d33fe16", [555271]: "0xb0b8b267d44c64BA6dD1Daf442949887c85199f6", + [2741]: "0x3439153EB7AF838Ad19d56E1571FBD09333C2809", };