Skip to content

Commit d51505d

Browse files
committed
Move to @borderless
1 parent c77de95 commit d51505d

File tree

3 files changed

+17
-17
lines changed

3 files changed

+17
-17
lines changed

README.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ This package intentionally doesn't implement the "arguments" form of request par
1212
## Installation
1313

1414
```sh
15-
npm install @borderlesslabs/json-rpc --save
15+
npm install @borderless/json-rpc --save
1616
```
1717

1818
## Usage
@@ -39,7 +39,7 @@ type Methods = {
3939
The server accepts a dictionary of resolvers.
4040

4141
```ts
42-
import { createServer } from "@borderlesslabs/json-rpc";
42+
import { createServer } from "@borderless/json-rpc";
4343

4444
const server = createServer<Methods>({
4545
hello: _ => "Hello World!",
@@ -58,7 +58,7 @@ const res = await server({
5858
The client accepts a function to `send` the JSON-RPC request.
5959

6060
```ts
61-
import { createClient } from "@borderlesslabs/json-rpc";
61+
import { createClient } from "@borderless/json-rpc";
6262

6363
const client = createClient(async payload => {
6464
const res = await fetch("...", {
@@ -93,11 +93,11 @@ const results = await client.many([
9393

9494
MIT
9595

96-
[npm-image]: https://img.shields.io/npm/v/@borderlesslabs/json-rpc.svg?style=flat
97-
[npm-url]: https://npmjs.org/package/@borderlesslabs/json-rpc
98-
[downloads-image]: https://img.shields.io/npm/dm/@borderlesslabs/json-rpc.svg?style=flat
99-
[downloads-url]: https://npmjs.org/package/@borderlesslabs/json-rpc
100-
[travis-image]: https://img.shields.io/travis/BorderlessLabs/json-rpc.svg?style=flat
101-
[travis-url]: https://travis-ci.org/BorderlessLabs/json-rpc
102-
[coveralls-image]: https://img.shields.io/coveralls/BorderlessLabs/json-rpc.svg?style=flat
103-
[coveralls-url]: https://coveralls.io/r/BorderlessLabs/json-rpc?branch=master
96+
[npm-image]: https://img.shields.io/npm/v/@borderless/json-rpc.svg?style=flat
97+
[npm-url]: https://npmjs.org/package/@borderless/json-rpc
98+
[downloads-image]: https://img.shields.io/npm/dm/@borderless/json-rpc.svg?style=flat
99+
[downloads-url]: https://npmjs.org/package/@borderless/json-rpc
100+
[travis-image]: https://img.shields.io/travis/borderless/json-rpc.svg?style=flat
101+
[travis-url]: https://travis-ci.org/borderless/json-rpc
102+
[coveralls-image]: https://img.shields.io/coveralls/borderless/json-rpc.svg?style=flat
103+
[coveralls-url]: https://coveralls.io/r/borderless/json-rpc?branch=master

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "@borderlesslabs/json-rpc",
2+
"name": "@borderless/json-rpc",
33
"version": "3.0.0",
44
"description": "Tiny, type-safe JSON-RPC 2.0 implementation",
55
"main": "dist/index.js",
@@ -22,7 +22,7 @@
2222
},
2323
"repository": {
2424
"type": "git",
25-
"url": "git://github.com/BorderlessLabs/json-rpc.git"
25+
"url": "git://github.com/borderless/json-rpc.git"
2626
},
2727
"keywords": [
2828
"json",
@@ -38,9 +38,9 @@
3838
},
3939
"license": "MIT",
4040
"bugs": {
41-
"url": "https://github.com/BorderlessLabs/json-rpc/issues"
41+
"url": "https://github.com/borderless/json-rpc/issues"
4242
},
43-
"homepage": "https://github.com/BorderlessLabs/json-rpc",
43+
"homepage": "https://github.com/borderless/json-rpc",
4444
"jest": {
4545
"roots": [
4646
"<rootDir>/src/"

0 commit comments

Comments
 (0)