Skip to content

Commit

Permalink
Major improvements (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
DaniGuardiola authored Dec 20, 2023
1 parent 5b019a0 commit df6222f
Show file tree
Hide file tree
Showing 35 changed files with 2,156 additions and 742 deletions.
5 changes: 5 additions & 0 deletions .changeset/afraid-insects-glow.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"rpc-anywhere": patch
---

Improved documentation.
5 changes: 5 additions & 0 deletions .changeset/bright-rules-pay.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"rpc-anywhere": minor
---

Added transport identification options to browser runtime port transport.
5 changes: 5 additions & 0 deletions .changeset/clean-falcons-battle.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"rpc-anywhere": minor
---

Merged `request` and `requestProxy` into `request`.
5 changes: 5 additions & 0 deletions .changeset/forty-icons-knock.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"rpc-anywhere": patch
---

Added (very!) exhaustive type tests.
5 changes: 5 additions & 0 deletions .changeset/long-wombats-search.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"rpc-anywhere": patch
---

Added JSDoc tests.
5 changes: 5 additions & 0 deletions .changeset/mean-glasses-study.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"rpc-anywhere": minor
---

Added transport utils to simplify the creation of identifiable transports.
9 changes: 9 additions & 0 deletions .changeset/plenty-readers-wait.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
"rpc-anywhere": minor
---

Refactored from class to functions.

- `new RPC()` -> `createRPC()`
- `RPC.asClient()` -> `createClientRPC()`
- `RPC.asServer()` -> `createServerRPC()`
5 changes: 5 additions & 0 deletions .changeset/popular-readers-love.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"rpc-anywhere": minor
---

Added proxy API for message sending.
5 changes: 5 additions & 0 deletions .changeset/quick-lobsters-mate.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"rpc-anywhere": minor
---

New feature: transport bridges.
5 changes: 5 additions & 0 deletions .changeset/quick-seas-sell.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"rpc-anywhere": minor
---

Centralized transport methods in transport object.
5 changes: 5 additions & 0 deletions .changeset/shaggy-gorillas-rush.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"rpc-anywhere": patch
---

Fix: invalid message payload type inference.
5 changes: 5 additions & 0 deletions .changeset/spicy-drinks-fix.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"rpc-anywhere": minor
---

Added `proxy` property.
5 changes: 5 additions & 0 deletions .changeset/tall-meals-jog.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"rpc-anywhere": patch
---

Improved unit tests.
5 changes: 5 additions & 0 deletions .changeset/twelve-queens-hear.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"rpc-anywhere": minor
---

Added message port transport (iframes, window objects, service workers, etc)
5 changes: 5 additions & 0 deletions .changeset/wild-eggs-wash.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"rpc-anywhere": minor
---

Added `requestProxy` and `sendProxy` with "just the proxy" types.
5 changes: 5 additions & 0 deletions .changeset/witty-rivers-report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"rpc-anywhere": minor
---

Greatly improved type safety: schema dependent methods and options.
Loading

0 comments on commit df6222f

Please sign in to comment.