File tree Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 11# assert-ok-response
22
3- A tiny helper to assert that response from ` fetch() ` is ok
3+ A tiny helper to assert that response from ` fetch() ` is ok.
Original file line number Diff line number Diff line change 11{
2- "name" : " tiny-json-rpc " ,
2+ "name" : " assert-ok-response " ,
33 "version" : " 1.0.0" ,
4- "description" : " A tiny JSON RPC client " ,
4+ "description" : " A tiny helper to assert that response from `fetch()` is ok. " ,
55 "type" : " module" ,
66 "main" : " index.js" ,
77 "scripts" : {
1313 },
1414 "repository" : {
1515 "type" : " git" ,
16- "url" : " git+https://github.com/CheckerNetwork/tiny-json-rpc .git"
16+ "url" : " git+https://github.com/CheckerNetwork/assert-ok-response .git"
1717 },
1818 "author" : " " ,
1919 "license" : " (Apache-2.0 AND MIT)" ,
2020 "bugs" : {
21- "url" : " https://github.com/CheckerNetwork/tiny-json-rpc /issues"
21+ "url" : " https://github.com/CheckerNetwork/assert-ok-response /issues"
2222 },
23- "homepage" : " https://github.com/CheckerNetwork/tiny-json-rpc #readme" ,
23+ "homepage" : " https://github.com/CheckerNetwork/assert-ok-response #readme" ,
2424 "devDependencies" : {
2525 "@types/node" : " ^22.13.10" ,
2626 "eslint" : " ^9.22.0" ,
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ import { describe, it } from 'node:test'
22import assert from 'node:assert'
33import { createJsonRpcClient } from './index.js'
44
5- describe ( 'tiny-json-rpc ' , ( ) => {
5+ describe ( 'assert-ok-response ' , ( ) => {
66 it ( 'should create a JSON-RPC client' , ( ) => {
77 const client = createJsonRpcClient ( 'http://example.com' )
88 assert . ok ( client )
You can’t perform that action at this time.
0 commit comments