@voltagent/server-core 1.0.28 → 1.0.29
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 +5 -0
- package/dist/index.d.ts +5 -0
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
package/dist/index.d.mts
CHANGED
|
@@ -1900,6 +1900,11 @@ interface JWTAuthOptions {
|
|
|
1900
1900
|
audience?: string;
|
|
1901
1901
|
issuer?: string;
|
|
1902
1902
|
};
|
|
1903
|
+
/**
|
|
1904
|
+
* When true, all routes require authentication by default (opt-out model)
|
|
1905
|
+
* @default false
|
|
1906
|
+
*/
|
|
1907
|
+
defaultPrivate?: boolean;
|
|
1903
1908
|
}
|
|
1904
1909
|
/**
|
|
1905
1910
|
* Create a JWT authentication provider
|
package/dist/index.d.ts
CHANGED
|
@@ -1900,6 +1900,11 @@ interface JWTAuthOptions {
|
|
|
1900
1900
|
audience?: string;
|
|
1901
1901
|
issuer?: string;
|
|
1902
1902
|
};
|
|
1903
|
+
/**
|
|
1904
|
+
* When true, all routes require authentication by default (opt-out model)
|
|
1905
|
+
* @default false
|
|
1906
|
+
*/
|
|
1907
|
+
defaultPrivate?: boolean;
|
|
1903
1908
|
}
|
|
1904
1909
|
/**
|
|
1905
1910
|
* Create a JWT authentication provider
|