add: client.js

This commit is contained in:
2026-04-13 18:03:06 +08:00
parent cc8c9a6045
commit 00feaab096
4 changed files with 17 additions and 1 deletions

View File

@@ -5,7 +5,7 @@ build-backend = "setuptools.build_meta"
[project]
name = "common"
description = "Reusable code stubs"
version = "0.1.4"
version = "0.1.5"
requires-python = ">=3.13"
authors = [
{ name="BreakerBear", email="breakerbear@autistic.men" },

View File

@@ -0,0 +1,16 @@
import os
from common.jsonrpc2.server import *
script = os.path.join(os.path.dirname(os.path.realpath(__file__)), "client.js")
__all__ = [
"Request",
"Response",
"Error",
"History",
"ConnectionContext",
"define",
"remove",
"script",
"url",
"run",
]

View File