requestshield 1.1.0 → 2.0.0-qat.301
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/README.md
CHANGED
|
@@ -257,9 +257,7 @@ It shows the current plan and subscription billing period, included allowance,
|
|
|
257
257
|
approximate usage, remaining quota, overage and estimated cost in its currency.
|
|
258
258
|
The CLI reads billing estimates directly; `usage` monitoring totals are separate.
|
|
259
259
|
|
|
260
|
-
Billing counts
|
|
261
|
-
rejected requests and retries. API v1 activity, unauthenticated requests and
|
|
262
|
-
service errors are excluded.
|
|
260
|
+
Billing counts successful token verifications.
|
|
263
261
|
|
|
264
262
|
Express includes 10,000 calls per period at no charge. Pro includes 100,000 calls
|
|
265
263
|
for USD 100 per period, plus USD 0.001 per additional call. The estimate includes
|
package/config/.env.qat
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
# Public QAT settings for the QAT npm release and source runner. Never add secrets.
|
|
2
|
+
API_URL=https://management-api-qat.intellifend.ai
|
|
3
|
+
CHALLENGE_URL=https://challenge-dev.intellifend.ai
|
|
4
|
+
DOCS_URL=https://docs-qat.intellifend.ai
|
|
5
|
+
OAUTH_ISSUER=https://incongruous-cherry-0283.customers.stytch.dev
|
|
6
|
+
OAUTH_AUTHORIZATION_ISSUER=stytch.com/project-test-968146e2-6f34-4936-9d1c-a7e966813c70
|
|
7
|
+
OAUTH_CLIENT_ID=connected-app-test-5ff62ca4-c0eb-48c3-84e5-06ae8f669998
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "requestshield",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.0-qat.301",
|
|
4
4
|
"description": "Customer CLI for IntelliFend RequestShield.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -9,11 +9,11 @@
|
|
|
9
9
|
"publishConfig": {
|
|
10
10
|
"access": "public",
|
|
11
11
|
"registry": "https://registry.npmjs.org/",
|
|
12
|
-
"tag": "
|
|
12
|
+
"tag": "qat"
|
|
13
13
|
},
|
|
14
14
|
"files": [
|
|
15
15
|
"src/",
|
|
16
|
-
"config/.env.
|
|
16
|
+
"config/.env.qat",
|
|
17
17
|
"skills/",
|
|
18
18
|
"README.md"
|
|
19
19
|
],
|
|
@@ -22,6 +22,6 @@
|
|
|
22
22
|
},
|
|
23
23
|
"license": "UNLICENSED",
|
|
24
24
|
"requestshield": {
|
|
25
|
-
"profile": "
|
|
25
|
+
"profile": "qat"
|
|
26
26
|
}
|
|
27
27
|
}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: requestshield
|
|
3
|
+
metadata:
|
|
4
|
+
version: "2.0.0"
|
|
3
5
|
description: Install, verify, troubleshoot, or remove IntelliFend RequestShield bot protection in a customer codebase — the browser SDK in Seamless or Manual mode, plus Java backend enforcement via the Spring Boot 3 starter or the Java core SDK — using the `requestshield` CLI for sign-in, applications and credentials, with SDK documentation and runtime observations for integration checks. Use this skill whenever the user mentions RequestShield, IntelliFend, `X-IntelliFend-Token`, `IntelliFend.getToken()`, `data-protect`, `@RequestShieldProtected`, App Key or API Secret setup, or asks to protect an endpoint such as registration, sign-in, password reset, checkout, or form submission from bots, scripted abuse, or credential stuffing — even when they never name the product. Also use it before hand-editing any file that already contains a RequestShield script tag, `verify()` call, or protection annotation.
|
|
4
6
|
---
|
|
5
7
|
|
|
@@ -234,9 +234,7 @@ The App Key selects an account-wide report across its applications; do not
|
|
|
234
234
|
allocate the account charge or included allowance to the requested app. The
|
|
235
235
|
command is read-only and uses the existing application-read permission.
|
|
236
236
|
|
|
237
|
-
Billing counts
|
|
238
|
-
rejected requests and retries. API v1 activity, unauthenticated requests and
|
|
239
|
-
service errors are excluded.
|
|
237
|
+
Billing counts successful token verifications.
|
|
240
238
|
|
|
241
239
|
JSON returns `{data: ...}` with `appKey`, `scope: "account"`, subscription
|
|
242
240
|
`status`, nullable `plan` (`free` for Express or `pro`), nullable
|
package/src/api-client.mjs
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { CliError } from "./errors.mjs";
|
|
3
3
|
import { validateBearerToken, validatedUrl } from "./config.mjs";
|
|
4
4
|
|
|
5
|
-
const APPLICATIONS = "/
|
|
5
|
+
const APPLICATIONS = "/v2/applications";
|
|
6
6
|
const MAX_BODY_BYTES = 1024 * 1024;
|
|
7
7
|
const API_ERRORS = new Set(["invalid_request", "invalid_token", "insufficient_scope", "application_not_found",
|
|
8
8
|
"idempotency_conflict", "secret_revoked", "email_not_verified", "identity_not_found", "dependency_unavailable", "rate_limited"]);
|
package/config/.env.prod
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
# Public production settings shipped in the npm package. Never add secrets.
|
|
2
|
-
API_URL=https://management-api.intellifend.ai
|
|
3
|
-
CHALLENGE_URL=https://challenge.intellifend.ai
|
|
4
|
-
DOCS_URL=https://docs.intellifend.ai
|
|
5
|
-
# Fill in the production Connected App values before releasing sign-in.
|
|
6
|
-
OAUTH_ISSUER=https://diligent-snagglefoot-6840.customers.stytch.com
|
|
7
|
-
# Optional callback iss pin; blank uses OAUTH_ISSUER.
|
|
8
|
-
OAUTH_AUTHORIZATION_ISSUER=
|
|
9
|
-
OAUTH_CLIENT_ID=connected-app-live-8383c2b5-6f1e-42b5-af4e-6c49e5bb5fe6
|