@shware/http 0.2.2 → 0.2.3

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/index.d.mts CHANGED
@@ -243,7 +243,7 @@ declare function valid<S extends ZodSchema>(request: Request, target: Target, sc
243
243
  *
244
244
  * ID data bits:
245
245
  * +----------------------+----------------+-----------+
246
- * | delta millisecond | worker node id | sequence |
246
+ * | delta millisecond | machine id | sequence |
247
247
  * +----------------------+----------------+-----------+
248
248
  * | 41bits | 10bits | 12bits |
249
249
  * +----------------------+----------------+-----------+
@@ -0,0 +1,2 @@
1
+
2
+ export { }
@@ -0,0 +1,3 @@
1
+ BigInt.prototype.toJSON = function() {
2
+ return this.toString();
3
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shware/http",
3
- "version": "0.2.2",
3
+ "version": "0.2.3",
4
4
  "type": "module",
5
5
  "scripts": {
6
6
  "dev": "tsc --watch",
@@ -11,7 +11,8 @@
11
11
  "module": "./dist/index.mjs",
12
12
  "types": "./dist/index.d.mts",
13
13
  "exports": {
14
- ".": "./dist/index.mjs"
14
+ ".": "./dist/index.mjs",
15
+ "./polyfills": "./dist/polyfills.mjs"
15
16
  },
16
17
  "files": [
17
18
  "dist"