Skip to content

Commit 0458902

Browse files
committed
chore: version
1 parent a78d789 commit 0458902

11 files changed

Lines changed: 139 additions & 42 deletions

File tree

.gitignore

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,20 @@ packages/core/codegen
3030
packages/core/experimental
3131
packages/core/internal
3232
packages/core/query
33+
packages/core/tempo
3334
packages/react/actions
3435
packages/react/chains
3536
packages/react/codegen
3637
packages/react/connectors
3738
packages/react/experimental
3839
packages/react/internal
3940
packages/react/query
41+
packages/react/tempo
42+
packages/solid/actions
43+
packages/solid/chains
44+
packages/solid/connectors
45+
packages/solid/internal
46+
packages/solid/query
4047
packages/vue/actions
4148
packages/vue/chains
4249
packages/vue/connectors

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"private": true,
44
"type": "module",
55
"scripts": {
6-
"build": "pnpm run --filter @wagmi/core --filter @wagmi/cli build && pnpm run --filter @wagmi/connectors build && pnpm run --filter wagmi --filter @wagmi/vue build",
6+
"build": "pnpm run --filter @wagmi/core --filter @wagmi/cli build && pnpm run --filter @wagmi/connectors build && pnpm run --filter wagmi --filter @wagmi/solid --filter @wagmi/vue build",
77
"bench:types": "TYPES=true vitest bench-d.ts",
88
"changeset:prepublish": "pnpm clean && pnpm version:update && pnpm build && node scripts/formatPackageJson.ts && node scripts/generateProxyPackages.ts",
99
"changeset:publish": "pnpm changeset:prepublish && changeset publish",

packages/solid/package.json

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"build": "pnpm run clean && pnpm run build:esm+types",
1313
"build:esm+types": "tsc --project tsconfig.build.json --outDir ./dist/esm --declaration --declarationMap --declarationDir ./dist/types",
1414
"check:types": "tsc --noEmit",
15-
"clean": "rm -rf dist tsconfig.tsbuildinfo actions chains codegen connectors query",
15+
"clean": "rm -rf dist tsconfig.tsbuildinfo actions chains connectors query",
1616
"test:build": "publint --strict && attw --pack --ignore-rules cjs-resolves-to-esm"
1717
},
1818
"files": [
@@ -23,7 +23,6 @@
2323
"!src/**/*.test-d.ts",
2424
"/actions",
2525
"/chains",
26-
"/codegen",
2726
"/connectors",
2827
"/query"
2928
],
@@ -45,10 +44,6 @@
4544
"types": "./dist/types/exports/chains.d.ts",
4645
"default": "./dist/esm/exports/chains.js"
4746
},
48-
"./codegen": {
49-
"types": "./dist/types/exports/codegen.d.ts",
50-
"default": "./dist/esm/exports/codegen.js"
51-
},
5247
"./connectors": {
5348
"types": "./dist/types/exports/connectors.d.ts",
5449
"default": "./dist/esm/exports/connectors.js"
@@ -67,9 +62,6 @@
6762
"chains": [
6863
"./dist/types/exports/chains.d.ts"
6964
],
70-
"codegen": [
71-
"./dist/types/exports/codegen.d.ts"
72-
],
7365
"connectors": [
7466
"./dist/types/exports/connectors.d.ts"
7567
],

packages/solid/src/exports/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,8 @@ export { useConnectors } from '../primitives/useConnectors.js'
5050

5151
export { useDisconnect } from '../primitives/useDisconnect.js'
5252

53+
export { useReconnect } from '../primitives/useReconnect.js'
54+
5355
export { useSwitchChain } from '../primitives/useSwitchChain.js'
5456

5557
export { useSwitchConnection } from '../primitives/useSwitchConnection.js'
Lines changed: 106 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,106 @@
1+
import { expect, test } from 'vitest'
2+
3+
import * as query from './query.js'
4+
5+
test('exports', () => {
6+
expect(Object.keys(query)).toMatchInlineSnapshot(`
7+
[
8+
"callQueryKey",
9+
"callQueryOptions",
10+
"connectMutationOptions",
11+
"deployContractMutationOptions",
12+
"disconnectMutationOptions",
13+
"estimateFeesPerGasQueryKey",
14+
"estimateFeesPerGasQueryOptions",
15+
"estimateGasQueryKey",
16+
"estimateGasQueryOptions",
17+
"estimateMaxPriorityFeePerGasQueryKey",
18+
"estimateMaxPriorityFeePerGasQueryOptions",
19+
"getBalanceQueryKey",
20+
"getBalanceQueryOptions",
21+
"getBlobBaseFeeQueryKey",
22+
"getBlobBaseFeeQueryOptions",
23+
"getBlockNumberQueryKey",
24+
"getBlockNumberQueryOptions",
25+
"getBlockQueryKey",
26+
"getBlockQueryOptions",
27+
"getBlockTransactionCountQueryKey",
28+
"getBlockTransactionCountQueryOptions",
29+
"getBytecodeQueryKey",
30+
"getBytecodeQueryOptions",
31+
"getCallsStatusQueryKey",
32+
"getCallsStatusQueryOptions",
33+
"getCapabilitiesQueryKey",
34+
"getCapabilitiesQueryOptions",
35+
"getConnectorClientQueryKey",
36+
"getConnectorClientQueryOptions",
37+
"getContractEventsQueryKey",
38+
"getContractEventsQueryOptions",
39+
"getEnsAddressQueryKey",
40+
"getEnsAddressQueryOptions",
41+
"getEnsAvatarQueryKey",
42+
"getEnsAvatarQueryOptions",
43+
"getEnsNameQueryKey",
44+
"getEnsNameQueryOptions",
45+
"getEnsResolverQueryKey",
46+
"getEnsResolverQueryOptions",
47+
"getEnsTextQueryKey",
48+
"getEnsTextQueryOptions",
49+
"getFeeHistoryQueryKey",
50+
"getFeeHistoryQueryOptions",
51+
"getGasPriceQueryKey",
52+
"getGasPriceQueryOptions",
53+
"getProofQueryKey",
54+
"getProofQueryOptions",
55+
"getStorageAtQueryKey",
56+
"getStorageAtQueryOptions",
57+
"getTransactionConfirmationsQueryKey",
58+
"getTransactionConfirmationsQueryOptions",
59+
"getTransactionCountQueryKey",
60+
"getTransactionCountQueryOptions",
61+
"getTransactionQueryKey",
62+
"getTransactionQueryOptions",
63+
"getTransactionReceiptQueryKey",
64+
"getTransactionReceiptQueryOptions",
65+
"getWalletClientQueryKey",
66+
"getWalletClientQueryOptions",
67+
"hashFn",
68+
"infiniteReadContractsQueryKey",
69+
"infiniteReadContractsQueryOptions",
70+
"prepareTransactionRequestQueryKey",
71+
"prepareTransactionRequestQueryOptions",
72+
"readContractQueryKey",
73+
"readContractQueryOptions",
74+
"readContractsQueryKey",
75+
"readContractsQueryOptions",
76+
"reconnectMutationOptions",
77+
"sendCallsMutationOptions",
78+
"sendCallsSyncMutationOptions",
79+
"sendTransactionMutationOptions",
80+
"sendTransactionSyncMutationOptions",
81+
"showCallsStatusMutationOptions",
82+
"signMessageMutationOptions",
83+
"signTypedDataMutationOptions",
84+
"simulateContractQueryKey",
85+
"simulateContractQueryOptions",
86+
"structuralSharing",
87+
"switchAccountMutationOptions",
88+
"switchChainMutationOptions",
89+
"switchConnectionMutationOptions",
90+
"useInfiniteQuery",
91+
"useMutation",
92+
"useQuery",
93+
"verifyMessageQueryKey",
94+
"verifyMessageQueryOptions",
95+
"verifyTypedDataQueryKey",
96+
"verifyTypedDataQueryOptions",
97+
"waitForCallsStatusQueryKey",
98+
"waitForCallsStatusQueryOptions",
99+
"waitForTransactionReceiptQueryKey",
100+
"waitForTransactionReceiptQueryOptions",
101+
"watchAssetMutationOptions",
102+
"writeContractMutationOptions",
103+
"writeContractSyncMutationOptions",
104+
]
105+
`)
106+
})
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
////////////////////////////////////////////////////////////////////////////////
2+
// @wagmi/core/query
3+
////////////////////////////////////////////////////////////////////////////////
4+
5+
// biome-ignore lint/performance/noBarrelFile: entrypoint module
6+
// biome-ignore lint/performance/noReExportAll: entrypoint module
7+
export * from '@wagmi/core/query'
8+
9+
export {
10+
type SolidInfiniteQueryParameters,
11+
type SolidMutationParameters,
12+
type SolidQueryParameters,
13+
type UseInfiniteQueryReturnType,
14+
type UseMutationReturnType,
15+
type UseQueryReturnType,
16+
useInfiniteQuery,
17+
useMutation,
18+
useQuery,
19+
} from '../utils/query.js'

packages/solid/src/types/properties.ts

Lines changed: 0 additions & 24 deletions
This file was deleted.

packages/solid/src/version.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export const version = '0.0.1'
1+
export const version = '0.0.0'

packages/vue/src/composables/useWatchBlockNumber.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@ import {
66
} from '@wagmi/core'
77
import type {
88
ConfigParameter,
9-
EnabledParameter,
109
UnionCompute,
1110
UnionExactPartial,
1211
} from '@wagmi/core/internal'
1312
import { computed, watchEffect } from 'vue'
13+
import type { EnabledParameter } from '../types/properties.js'
1414
import type { DeepMaybeRef } from '../types/ref.js'
1515
import { deepUnref } from '../utils/cloneDeep.js'
1616
import { useChainId } from './useChainId.js'

packages/vue/src/composables/useWatchContractEvent.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ import {
66
} from '@wagmi/core'
77
import type {
88
ConfigParameter,
9-
EnabledParameter,
109
UnionCompute,
1110
UnionExactPartial,
1211
} from '@wagmi/core/internal'
1312
import type { Abi, ContractEventName } from 'viem'
1413
import { computed, watchEffect } from 'vue'
14+
import type { EnabledParameter } from '../types/properties.js'
1515
import type { DeepMaybeRef } from '../types/ref.js'
1616
import { deepUnref } from '../utils/cloneDeep.js'
1717
import { useChainId } from './useChainId.js'

0 commit comments

Comments
 (0)