@irpclib/irpc 1.0.0-beta.17 → 1.0.0-beta.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/module.js +1 -1
- package/package.json +3 -5
package/dist/module.js
CHANGED
|
@@ -4,7 +4,7 @@ import { IRPCTransport } from "./transport.js";
|
|
|
4
4
|
|
|
5
5
|
//#region src/module.ts
|
|
6
6
|
const DEFAULT_TIMEOUT = 2e4;
|
|
7
|
-
const NAME_CONSTRAINT = /^[a-zA-Z0-
|
|
7
|
+
const NAME_CONSTRAINT = /^[a-zA-Z0-9\-_]+$/;
|
|
8
8
|
const VERSION_CONSTRAINT = /^[0-9]+\.[0-9]+\.[0-9]+$/;
|
|
9
9
|
/**
|
|
10
10
|
* IRPCPackage represents a package containing multiple IRPC (Isomorphic-RPC) specifications
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"type": "module",
|
|
3
3
|
"name": "@irpclib/irpc",
|
|
4
|
-
"version": "1.0.0-beta.
|
|
4
|
+
"version": "1.0.0-beta.18",
|
|
5
5
|
"types": "./dist/index.d.ts",
|
|
6
6
|
"module": "./dist/index.js",
|
|
7
7
|
"exports": {
|
|
@@ -10,9 +10,7 @@
|
|
|
10
10
|
"import": "./dist/index.js"
|
|
11
11
|
}
|
|
12
12
|
},
|
|
13
|
-
"files": [
|
|
14
|
-
"dist"
|
|
15
|
-
],
|
|
13
|
+
"files": ["dist"],
|
|
16
14
|
"directories": {
|
|
17
15
|
"dist": "./dist"
|
|
18
16
|
},
|
|
@@ -47,4 +45,4 @@
|
|
|
47
45
|
"prepublish": "bun run format && bun run clean && tsdown && publint"
|
|
48
46
|
},
|
|
49
47
|
"license": "MIT"
|
|
50
|
-
}
|
|
48
|
+
}
|