@noresponse/mcp 0.3.1 → 0.3.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/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.3.3
4
+
5
+ * `SDK.keys.rotate()`: `response.scopes[].enum(delete)` **Added** (Breaking ⚠️)
6
+
7
+ ## 0.3.2
8
+
9
+ No changes detected.
10
+
3
11
  ## 0.3.1
4
12
 
5
13
  No changes detected.
package/README.md CHANGED
@@ -16,8 +16,8 @@ The server uses the API key you give it and stores nothing. API key rotation is
16
16
  | `query_assessments` | Page through one account's unexpired assessments, newest first. | `POST /v1/assessments/query` |
17
17
  | `get_account` | Read an account's one current risk: the score, a decision (`allow`, `step_up`, `review` or `block`) for each flow, and the assessment it comes from. Needs the `history` scope. | `GET /v1/accounts/{account_id}` |
18
18
  | `list_account_assessments` | Page through one account's unexpired assessments, newest first, with the account id in the URL. Needs the `history` scope. | `GET /v1/accounts/{account_id}/assessments` |
19
- | `delete_assessment` | Delete one assessment in the key's environment, with its evidence and outcomes, and score its account again. The answer names the assessment the account's risk now comes from. A repeat answers 404. Needs the `history` scope; marked destructive. | `DELETE /v1/assessments/{assessment_id}` |
20
- | `delete_account` | Erase an account in the key's environment: every assessment of it, with its evidence and outcomes. A repeat answers `assessments_deleted` 0, and an `account.deleted` webhook follows when something was deleted. Needs the `history` scope; marked destructive. | `DELETE /v1/accounts/{account_id}` |
19
+ | `delete_assessment` | Delete one assessment in the key's environment, with its evidence and outcomes, and score its account again. The answer names the assessment the account's risk now comes from. A repeat answers 404. Needs the `delete` scope; marked destructive. | `DELETE /v1/assessments/{assessment_id}` |
20
+ | `delete_account` | Erase an account in the key's environment: every assessment of it, with its evidence and outcomes. A repeat answers `assessments_deleted` 0, and an `account.deleted` webhook follows when something was deleted. Needs the `delete` scope; marked destructive. | `DELETE /v1/accounts/{account_id}` |
21
21
  | `record_outcome` | Report what you later learned about an assessed account (`confirmed_abuse`, `legitimate` and so on). | `POST /v1/assessments/{assessment_id}/outcomes` |
22
22
  | `create_webhook_endpoint` | Register a webhook endpoint; the answer holds its signing secret, shown once. Needs the `webhooks` scope. | `POST /v1/webhooks` |
23
23
  | `list_webhook_endpoints` | List your webhook endpoints and their signing key ids. | `GET /v1/webhooks` |
package/bin/mcp-server.js CHANGED
@@ -48104,9 +48104,9 @@ var init_config = __esm(() => {
48104
48104
  SDK_METADATA = {
48105
48105
  language: "typescript",
48106
48106
  openapiDocVersion: "1",
48107
- sdkVersion: "0.3.1",
48107
+ sdkVersion: "0.3.3",
48108
48108
  genVersion: "internal",
48109
- userAgent: "noresponse-sdk/mcp-typescript 0.3.1 internal 1 @noresponse/mcp"
48109
+ userAgent: "noresponse-sdk/mcp-typescript 0.3.3 internal 1 @noresponse/mcp"
48110
48110
  };
48111
48111
  });
48112
48112
 
@@ -54933,7 +54933,7 @@ endpoint.verification sends a signed challenge now and answers whether the endpo
54933
54933
  function createMCPServer(deps) {
54934
54934
  const server = new McpServer({
54935
54935
  name: "NoResponse",
54936
- version: "0.3.1"
54936
+ version: "0.3.3"
54937
54937
  });
54938
54938
  const getClient = deps.getSDK || (() => new NoResponseCore({
54939
54939
  security: deps.security,
@@ -63622,7 +63622,7 @@ var routes = buildRouteMap({
63622
63622
  var app = buildApplication(routes, {
63623
63623
  name: "mcp",
63624
63624
  versionInfo: {
63625
- currentVersion: "0.3.1"
63625
+ currentVersion: "0.3.3"
63626
63626
  }
63627
63627
  });
63628
63628
  run(app, process3.argv.slice(2), buildContext(process3));
@@ -63630,5 +63630,5 @@ export {
63630
63630
  app
63631
63631
  };
63632
63632
 
63633
- //# debugId=20E6CD0272F767EC64756E2164756E21
63633
+ //# debugId=AC329431EBE7E61664756E2164756E21
63634
63634
  //# sourceMappingURL=mcp-server.js.map