@naturali/sdk 0.306.2 → 0.307.0
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.cts +6 -1
- package/dist/index.d.mts +6 -1
- package/package.json +2 -2
package/dist/index.d.cts
CHANGED
|
@@ -7773,7 +7773,7 @@ type McpServerAuthWrite = {
|
|
|
7773
7773
|
*/
|
|
7774
7774
|
mode?: 'members' | 'allowlist';
|
|
7775
7775
|
/**
|
|
7776
|
-
* The tenant's authorization server (an `https` issuer identifier). A token is accepted when its signature verifies against `jwks_uri` and its `iss` is this value, `exp` is in the future, `aud` names the server's `url`, and its `scope` holds every one of `scopes`.
|
|
7776
|
+
* The tenant's authorization server (an `https` issuer identifier). A token is accepted when its signature verifies against `jwks_uri` and its `iss` is this value, `exp` is in the future, `aud` names the server's `url` or one of `audiences`, and its `scope` holds every one of `scopes`.
|
|
7777
7777
|
*/
|
|
7778
7778
|
issuer?: string;
|
|
7779
7779
|
/**
|
|
@@ -7784,6 +7784,10 @@ type McpServerAuthWrite = {
|
|
|
7784
7784
|
* With `issuer`. Scopes every token must carry; default none.
|
|
7785
7785
|
*/
|
|
7786
7786
|
scopes?: Array<string>;
|
|
7787
|
+
/**
|
|
7788
|
+
* With `issuer`. `aud` values accepted besides the server's `url`, each matched exactly; default none. A token the same issuer minted for another resource with a listed audience is accepted here.
|
|
7789
|
+
*/
|
|
7790
|
+
audiences?: Array<string>;
|
|
7787
7791
|
/**
|
|
7788
7792
|
* With `issuer`. Each key, a `tool_context` key as in `context`, takes the string value of the token claim it names; a claim absent or not a string sets nothing.
|
|
7789
7793
|
*/
|
|
@@ -7811,6 +7815,7 @@ type McpServerAuth = {
|
|
|
7811
7815
|
issuer?: string;
|
|
7812
7816
|
jwks_uri?: string;
|
|
7813
7817
|
scopes?: Array<string>;
|
|
7818
|
+
audiences?: Array<string>;
|
|
7814
7819
|
context_claims?: {
|
|
7815
7820
|
[key: string]: string;
|
|
7816
7821
|
};
|
package/dist/index.d.mts
CHANGED
|
@@ -7773,7 +7773,7 @@ type McpServerAuthWrite = {
|
|
|
7773
7773
|
*/
|
|
7774
7774
|
mode?: 'members' | 'allowlist';
|
|
7775
7775
|
/**
|
|
7776
|
-
* The tenant's authorization server (an `https` issuer identifier). A token is accepted when its signature verifies against `jwks_uri` and its `iss` is this value, `exp` is in the future, `aud` names the server's `url`, and its `scope` holds every one of `scopes`.
|
|
7776
|
+
* The tenant's authorization server (an `https` issuer identifier). A token is accepted when its signature verifies against `jwks_uri` and its `iss` is this value, `exp` is in the future, `aud` names the server's `url` or one of `audiences`, and its `scope` holds every one of `scopes`.
|
|
7777
7777
|
*/
|
|
7778
7778
|
issuer?: string;
|
|
7779
7779
|
/**
|
|
@@ -7784,6 +7784,10 @@ type McpServerAuthWrite = {
|
|
|
7784
7784
|
* With `issuer`. Scopes every token must carry; default none.
|
|
7785
7785
|
*/
|
|
7786
7786
|
scopes?: Array<string>;
|
|
7787
|
+
/**
|
|
7788
|
+
* With `issuer`. `aud` values accepted besides the server's `url`, each matched exactly; default none. A token the same issuer minted for another resource with a listed audience is accepted here.
|
|
7789
|
+
*/
|
|
7790
|
+
audiences?: Array<string>;
|
|
7787
7791
|
/**
|
|
7788
7792
|
* With `issuer`. Each key, a `tool_context` key as in `context`, takes the string value of the token claim it names; a claim absent or not a string sets nothing.
|
|
7789
7793
|
*/
|
|
@@ -7811,6 +7815,7 @@ type McpServerAuth = {
|
|
|
7811
7815
|
issuer?: string;
|
|
7812
7816
|
jwks_uri?: string;
|
|
7813
7817
|
scopes?: Array<string>;
|
|
7818
|
+
audiences?: Array<string>;
|
|
7814
7819
|
context_claims?: {
|
|
7815
7820
|
[key: string]: string;
|
|
7816
7821
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@naturali/sdk",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.307.0",
|
|
4
4
|
"description": "TypeScript SDK for the naturali.ai API, generated from its OpenAPI specs",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"naturali",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
40
|
"@hey-api/openapi-ts": "^0.99.0",
|
|
41
|
-
"@naturali/api": "0.
|
|
41
|
+
"@naturali/api": "0.307.0",
|
|
42
42
|
"@ttoss/openapi-codegen": "^0.10.1",
|
|
43
43
|
"@types/node": "^26.5.1",
|
|
44
44
|
"tsdown": "^0.23.0",
|