diff --git a/.github/workflows/drift.yml b/.github/workflows/drift.yml new file mode 100644 index 0000000..1b01e07 --- /dev/null +++ b/.github/workflows/drift.yml @@ -0,0 +1,23 @@ +name: Drift CI + +on: + pull_request: + types: [opened, synchronize, reopened, closed] + branches: [main] + +permissions: + contents: write + pull-requests: write + +jobs: + drift: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + with: + fetch-depth: 0 + + - uses: ryanwaits/drift/action@main + with: + anthropic-key: ${{ secrets.ANTHROPIC_API_KEY }} + min-coverage: '0' diff --git a/drift.config.json b/drift.config.json new file mode 100644 index 0000000..2722391 --- /dev/null +++ b/drift.config.json @@ -0,0 +1,11 @@ +{ + "entry": "packages/stacks/src/index.ts", + "coverage": { + "min": 0 + }, + "docs": { + "remote": [ + { "repo": "ryanwaits/secondlayer-docs" } + ] + } +} diff --git a/packages/stacks/src/index.ts b/packages/stacks/src/index.ts index 337ca4f..1fc3720 100644 --- a/packages/stacks/src/index.ts +++ b/packages/stacks/src/index.ts @@ -1,22 +1,22 @@ // Clients export { createClient, - createPublicClient, + createPublicClient as createReadClient, createWalletClient, createMultiSigClient, - publicActions, + publicActions as readActions, walletActions, multisigActions, } from "./clients/index.ts"; export type { Client, ClientConfig, - PublicClient, + PublicClient as ReadClient, WalletClient, Account, - PublicClientConfig, + PublicClientConfig as ReadClientConfig, WalletClientConfig, - PublicActions, + PublicActions as ReadActions, WalletActions, MultiSigClientConfig, MultiSigClient,