async-call-rpc
Advanced tools
Comparing version 6.4.1 to 6.4.2
{ | ||
"name": "async-call-rpc", | ||
"packageManager": "pnpm@8.15.1", | ||
"version": "6.4.1", | ||
"version": "6.4.2", | ||
"description": "A lightweight JSON RPC server & client", | ||
@@ -6,0 +6,0 @@ "main": "out/base.js", |
@@ -7,3 +7,3 @@ # Async Call | ||
[![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/Jack-Works/async-call-rpc/build.yml?branch=main)](https://github.com/Jack-Works/async-call-rpc/actions) | ||
[![npm](https://img.shields.io/npm/v/async-call-rpc)](https://npmjs.org/async-call-rpc) | ||
[![npm](https://img.shields.io/npm/v/async-call-rpc)](https://npmjs.org/async-call-rpc) [![@works/json-rpc on jsr](https://jsr.io/badges/@works/json-rpc)](https://jsr.io/@works/json-rpc) | ||
![ES2015+](https://img.shields.io/badge/ECMAScript-2015%2B-brightgreen) | ||
@@ -53,6 +53,23 @@ | ||
### Import from browser or Deno | ||
### Install via [jsr](https://jsr.io/@works/json-rpc) | ||
This package is published as `@works/json-rpc` on the jsr. | ||
If you install it via jsr, you should import this package from `"@works/json-rpc"` instead of `"async-call-rpc"` | ||
> deno add @works/json-rpc | ||
> | ||
> npx jsr add @works/json-rpc | ||
> | ||
> yarn dlx jsr add @works/json-rpc | ||
> | ||
> pnpm dlx jsr add @works/json-rpc | ||
> | ||
> bunx jsr add @works/json-rpc | ||
### Import from browser | ||
You can access <https://www.jsdelivr.com/package/npm/async-call-rpc?path=out> to get the latest URL and [SRI](https://developer.mozilla.org/en-US/docs/Web/Security/Subresource_Integrity). | ||
Note: the `utils/` entrypoint is not published on the jsr. | ||
```js | ||
@@ -59,0 +76,0 @@ import { AsyncCall } from 'https://cdn.jsdelivr.net/npm/async-call-rpc@latest/out/base.mjs' |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
900893
309