From cb3acfff0e9dc7cbd98a83fbb1f42d1e095fcf27 Mon Sep 17 00:00:00 2001 From: Oleksii Kosynskyi Date: Thu, 12 Sep 2024 14:51:11 -0400 Subject: [PATCH] fix docs build --- package.json | 4 ++-- src/web3zksync-l2.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index ffdb2f6..ea2f308 100644 --- a/package.json +++ b/package.json @@ -14,7 +14,7 @@ "build": "tsc --project tsconfig.build.json", "test:prepare": "ts-node test/setup.ts", "test:wait": "ts-node test/wait.ts", - "build:docs": "npx -y typedoc src/index.ts", + "build:docs": "npx -y typedoc src/index.ts --tsconfig tsconfig.build.json", "test": "jest --config=./test/jest.config.js", "test:unit": "jest --config=./test/jest.config.js test/unit", "test:local": "jest --config=./test/jest.config.js --runInBand --maxConcurrency=1 test/local", @@ -48,4 +48,4 @@ "peerDependencies": { "web3": ">= 4.12.0" } -} \ No newline at end of file +} diff --git a/src/web3zksync-l2.ts b/src/web3zksync-l2.ts index 1a72f88..d792e2f 100644 --- a/src/web3zksync-l2.ts +++ b/src/web3zksync-l2.ts @@ -48,7 +48,7 @@ import * as web3Accounts from 'web3-eth-accounts'; import * as web3Utils from 'web3-utils'; import * as Web3 from 'web3'; import type { Web3ContextInitOptions } from 'web3-core'; -import { PayableTxOptions } from 'web3-eth-contract/lib/commonjs/types'; +import { PayableTxOptions } from 'web3-eth-contract'; // Equivalent to both Provider and Signer in zksync-ethers export class Web3ZKsyncL2 extends Web3ZkSync {