Skip to content

Commit

Permalink
Version Packages
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] authored and iosh committed Nov 1, 2024
1 parent cca897c commit 67b1f58
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 20 deletions.
5 changes: 0 additions & 5 deletions .changeset/sour-impalas-peel.md

This file was deleted.

6 changes: 6 additions & 0 deletions src/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# cive

## 0.7.0

### Minor Changes

- cca897c: Added test client and action

## 0.6.0

### Minor Changes
Expand Down
17 changes: 3 additions & 14 deletions src/clients/createTestClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<
Expand Down Expand Up @@ -65,17 +62,9 @@ export function createTestClient<
rpcSchema extends RpcSchema | undefined = undefined,
>(
parameters: TestClientConfig<transport, chain, accountOrAddress, rpcSchema>,
): TestClient<
transport,
chain,
ParseAccount<accountOrAddress>,
true,
rpcSchema
>
): TestClient<transport, chain, ParseAccount<accountOrAddress>, 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,
Expand Down
2 changes: 1 addition & 1 deletion src/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "cive",
"version": "0.6.0",
"version": "0.7.0",
"description": "",
"type": "module",
"main": "./_cjs/index.js",
Expand Down

0 comments on commit 67b1f58

Please sign in to comment.