Update jsonrpc2.js

This commit is contained in:
Namhyeon Go 2024-06-26 17:17:15 +09:00 committed by GitHub
parent d86c9728e3
commit 27636a4a72
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -5,7 +5,7 @@ var HTTP = require("lib/http");
function jsonrpc2(url) {
this.url = url;
this.call = function(method, params, id) {
this.invoke = function(method, params, id) {
var result;
var response = HTTP.create("MSXML")
.setContentType("application/json")
@ -45,7 +45,7 @@ function create(url) {
exports.encode = encode;
exports.create = create;
exports.VERSIONINFO = "JSON-RPC 2.0 Interface (jsonrpc2.js) version 0.1.1";
exports.VERSIONINFO = "JSON-RPC 2.0 Interface (jsonrpc2.js) version 0.1.2";
exports.AUTHOR = "abuse@catswords.net";
exports.global = global;
exports.require = global.require;