Skip to content

Commit

Permalink
fix: package type (#95)
Browse files Browse the repository at this point in the history
  • Loading branch information
darrenvechain authored Nov 24, 2023
1 parent abded46 commit fafc059
Show file tree
Hide file tree
Showing 5 changed files with 681 additions and 44 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"build:deps": "turbo build --no-daemon --filter='@vechainfoundation/*'",
"clean": "rm -rf .turbo .parcel-cache build && npx turbo@latest run clean",
"cucumber": "yarn && cucumber-js",
"dev": "turbo run dev",
"format": "prettier --write \"**/*.{ts,tsx,md,json,js,jsx}\"",
"install:all": "yarn && yarn run build:deps",
"lint": "turbo run lint",
Expand Down
File renamed without changes.
5 changes: 3 additions & 2 deletions packages/dapp-kit-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,13 @@
"private": false,
"license": "MIT",
"sideEffects": false,
"type": "module",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"scripts": {
"build": "tsup src/index.tsx --format cjs --dts --external react",
"build": "tsup src/index.tsx --format cjs,esm --dts --external react",
"clean": "rm -rf dist .turbo",
"dev": "tsup src/index.tsx --format cjs --watch --dts --external react",
"dev": "tsup src/index.tsx --format cjs,esm --watch --dts --external react",
"lint": "tsc --noEmit && eslint src --ext .js,.jsx,.ts,.tsx",
"purge": "yarn clean && rm -rf node_modules"
},
Expand Down
8 changes: 5 additions & 3 deletions packages/dapp-kit/src/wallet-connect/signer.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
import type { SessionTypes } from '@walletconnect/types';
import type { ProposalTypes } from '@walletconnect/types/dist/types/sign-client/proposal';
import type { EngineTypes } from '@walletconnect/types/dist/types/sign-client/engine';
import type {
EngineTypes,
ProposalTypes,
SessionTypes,
} from '@walletconnect/types';
import { getSdkError } from '@walletconnect/utils';
import type { SignClient } from '@walletconnect/sign-client/dist/types/client';
import type { WCSigner, WCSignerOptions } from './types';
Expand Down
Loading

0 comments on commit fafc059

Please sign in to comment.