Skip to content

Commit

Permalink
Merge pull request #6 from whats-good/changeset-release/main
Browse files Browse the repository at this point in the history
Release
  • Loading branch information
mechanical-turk authored Nov 15, 2023
2 parents 83ca60d + 1c799ae commit 9d20fb7
Show file tree
Hide file tree
Showing 13 changed files with 47 additions and 44 deletions.
5 changes: 0 additions & 5 deletions .changeset/early-apricots-serve.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/good-bottles-joke.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/green-toes-tie.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/little-yaks-drive.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/many-ligers-repeat.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/spotty-mangos-smile.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/tender-flowers-notice.md

This file was deleted.

12 changes: 12 additions & 0 deletions docs/changelog.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,18 @@ title: Changelog
description: Take a look what we have been shipping
---

### 0.0.6

Patch Changes

- 30094ad: multi-entrypoint builds added
- 30094ad: introduced AbstractRequestHandler for cross-platform extensions
- 578b242: tsup builds with code splitting
- 30094ad: Introducing esm builds
- 30094ad: Nexus class created as main library and config object
- 30094ad: whatwg-node integrated for cross-platform support
- 30094ad: Config object can now disable providers

### 0.0.5

Patch Changes
Expand Down
14 changes: 14 additions & 0 deletions examples/cloudflare-worker/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
# @whatsgood/example-cloudflare-worker

## 0.1.15

### Patch Changes

- 30094ad: whatwg-node integrated for cross-platform support
- Updated dependencies [30094ad]
- Updated dependencies [30094ad]
- Updated dependencies [578b242]
- Updated dependencies [30094ad]
- Updated dependencies [30094ad]
- Updated dependencies [30094ad]
- Updated dependencies [30094ad]
- @whatsgood/nexus@0.0.6

## 0.1.14

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion examples/cloudflare-worker/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@whatsgood/example-cloudflare-worker",
"version": "0.1.14",
"version": "0.1.15",
"private": true,
"author": {
"name": "Kerem Kazan",
Expand Down
12 changes: 12 additions & 0 deletions packages/nexus/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
# @whatsgood/nexus

## 0.0.6

### Patch Changes

- 30094ad: multi-entrypoint builds added
- 30094ad: introduced AbstractRequestHandler for cross-platform extensions
- 578b242: tsup builds with code splitting
- 30094ad: Introducing esm builds
- 30094ad: Nexus class created as main library and config object
- 30094ad: whatwg-node integrated for cross-platform support
- 30094ad: Config object can now disable providers

## 0.0.5

### Patch Changes
Expand Down
13 changes: 7 additions & 6 deletions packages/nexus/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,21 +48,22 @@ yarn add @whatsgood/nexus
```ts
// Cloudflare worker example

import { Config, RpcProxyResponseHandler } from "@whatsgood/nexus";
import { Nexus } from "@whatsgood/nexus";
import { RequestHandler } from "@whatsgood/nexus/fetch";

export default {
async fetch(
request: Request,
env: Record<string, string>
): Promise<Response> {
const config = new Config({
const nexus = new Nexus({
env,
});
const responseHandler = new RpcProxyResponseHandler({
config,
});
return responseHandler.handle(request);
const requestHandler = new RequestHandler(nexus, request);
return requestHandler.handle();
},
};

```

<!-- TODO: remove the nexus/README.md from version control, and only generate it pre npm publish -->
2 changes: 1 addition & 1 deletion packages/nexus/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@whatsgood/nexus",
"version": "0.0.5",
"version": "0.0.6",
"description": "A simple TypeScript proxy server for any Ethereum JSON RPC compliant blockchain",
"private": false,
"access": "public",
Expand Down

0 comments on commit 9d20fb7

Please sign in to comment.