Skip to content

Commit

Permalink
chore: add vue entrypoint
Browse files Browse the repository at this point in the history
  • Loading branch information
tmm committed Sep 11, 2024
1 parent 5da329e commit acb70e2
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/vue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,10 @@
"types": "./dist/types/exports/actions.d.ts",
"default": "./dist/esm/exports/actions.js"
},
"./actions/experimental": {
"types": "./dist/types/exports/actions.experimental.d.ts",
"default": "./dist/esm/exports/actions.experimental.js"
},
"./chains": {
"types": "./dist/types/exports/chains.d.ts",
"default": "./dist/esm/exports/chains.js"
Expand Down
22 changes: 22 additions & 0 deletions packages/vue/src/exports/actions.experimental.test.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
import { expect, test } from 'vitest'

import * as experimentalActions from './actions.experimental.js'

test('exports', () => {
expect(Object.keys(experimentalActions)).toMatchInlineSnapshot(`
[
"getCallsStatus",
"getCapabilities",
"sendCalls",
"showCallsStatus",
"writeContracts",
"getCallsStatusQueryOptions",
"getCallsStatusQueryKey",
"getCapabilitiesQueryOptions",
"getCapabilitiesQueryKey",
"sendCallsMutationOptions",
"showCallsStatusMutationOptions",
"writeContractsMutationOptions",
]
`)
})
7 changes: 7 additions & 0 deletions packages/vue/src/exports/actions.experimental.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
////////////////////////////////////////////////////////////////////////////////
// @wagmi/core/experimental
////////////////////////////////////////////////////////////////////////////////

// biome-ignore lint/performance/noBarrelFile: entrypoint module
// biome-ignore lint/performance/noReExportAll: entrypoint module
export * from '@wagmi/core/experimental'

0 comments on commit acb70e2

Please sign in to comment.