@gravito/flare 4.0.0 → 4.0.1
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.cjs +2 -1
- package/dist/index.d.cts +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +2 -1
- package/package.json +6 -6
package/dist/index.cjs
CHANGED
package/dist/index.d.cts
CHANGED
|
@@ -1038,7 +1038,8 @@ declare class RateLimitMiddleware implements ChannelMiddleware {
|
|
|
1038
1038
|
*/
|
|
1039
1039
|
private buckets;
|
|
1040
1040
|
/**
|
|
1041
|
-
* Cache store for rate
|
|
1041
|
+
* Cache store for distributed rate limiting.
|
|
1042
|
+
* 分散式限流使用的快取儲存
|
|
1042
1043
|
*/
|
|
1043
1044
|
private store;
|
|
1044
1045
|
/**
|
package/dist/index.d.ts
CHANGED
|
@@ -1038,7 +1038,8 @@ declare class RateLimitMiddleware implements ChannelMiddleware {
|
|
|
1038
1038
|
*/
|
|
1039
1039
|
private buckets;
|
|
1040
1040
|
/**
|
|
1041
|
-
* Cache store for rate
|
|
1041
|
+
* Cache store for distributed rate limiting.
|
|
1042
|
+
* 分散式限流使用的快取儲存
|
|
1042
1043
|
*/
|
|
1043
1044
|
private store;
|
|
1044
1045
|
/**
|
package/dist/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gravito/flare",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.1",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"typecheck": "bun tsc -p tsconfig.json --noEmit --skipLibCheck",
|
|
28
28
|
"test:coverage": "bun test --timeout=10000 --coverage --coverage-reporter=lcov --coverage-dir coverage && bun run --bun scripts/check-coverage.ts",
|
|
29
29
|
"test:ci": "bun test --timeout=10000 --coverage --coverage-reporter=lcov --coverage-dir coverage && bun run --bun scripts/check-coverage.ts",
|
|
30
|
-
"test:unit": "bun test tests/ --timeout=10000",
|
|
30
|
+
"test:unit": "bun test $(find tests -name '*.test.ts' ! -name '*.integration.test.ts' 2>/dev/null | tr '\\n' ' ') --timeout=10000",
|
|
31
31
|
"test:integration": "test $(find tests -name '*.integration.test.ts' 2>/dev/null | wc -l) -gt 0 && find tests -name '*.integration.test.ts' -print0 | xargs -0 bun test --timeout=10000 || echo 'No integration tests found'"
|
|
32
32
|
},
|
|
33
33
|
"keywords": [
|
|
@@ -42,13 +42,13 @@
|
|
|
42
42
|
"author": "Carl Lee <carllee0520@gmail.com>",
|
|
43
43
|
"license": "MIT",
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"@gravito/core": "
|
|
45
|
+
"@gravito/core": "^1.6.1",
|
|
46
46
|
"@aws-sdk/client-sns": "^3.734.0"
|
|
47
47
|
},
|
|
48
48
|
"peerDependencies": {
|
|
49
|
-
"@gravito/stream": "
|
|
50
|
-
"@gravito/signal": "
|
|
51
|
-
"@gravito/radiance": "
|
|
49
|
+
"@gravito/stream": "^2.0.2",
|
|
50
|
+
"@gravito/signal": "^3.0.4",
|
|
51
|
+
"@gravito/radiance": "^1.0.4"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
54
|
"bun-types": "latest",
|