diff --git a/.changeset/sour-impalas-peel.md b/.changeset/sour-impalas-peel.md deleted file mode 100644 index 3f7be25..0000000 --- a/.changeset/sour-impalas-peel.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"cive": minor ---- - -Added test client and action diff --git a/src/CHANGELOG.md b/src/CHANGELOG.md index 43f39b0..3fceb2b 100644 --- a/src/CHANGELOG.md +++ b/src/CHANGELOG.md @@ -1,5 +1,11 @@ # cive +## 0.7.0 + +### Minor Changes + +- cca897c: Added test client and action + ## 0.6.0 ### Minor Changes diff --git a/src/clients/createTestClient.ts b/src/clients/createTestClient.ts index fef96ee..a44c093 100644 --- a/src/clients/createTestClient.ts +++ b/src/clients/createTestClient.ts @@ -10,10 +10,7 @@ import { type CreateClientErrorType, createClient, } from './createClient.js' -import { - type TestActions, - testActions, -} from './decorators/test.js' +import { type TestActions, testActions } from './decorators/test.js' import type { Transport } from './transports/createTransport.js' export type TestClientConfig< @@ -65,17 +62,9 @@ export function createTestClient< rpcSchema extends RpcSchema | undefined = undefined, >( parameters: TestClientConfig, -): TestClient< - transport, - chain, - ParseAccount, - true, - rpcSchema -> +): TestClient, true, rpcSchema> -export function createTestClient( - parameters: TestClientConfig, -): TestClient { +export function createTestClient(parameters: TestClientConfig): TestClient { const { key = 'test', name = 'Test Client' } = parameters const client = createClient({ ...parameters, diff --git a/src/package.json b/src/package.json index 870353a..1de9826 100644 --- a/src/package.json +++ b/src/package.json @@ -1,6 +1,6 @@ { "name": "cive", - "version": "0.6.0", + "version": "0.7.0", "description": "", "type": "module", "main": "./_cjs/index.js",