@zuplo/runtime 5.2454.0 → 5.2456.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/out/esm/{chunk-HQYDEVIA.js → chunk-C655W6MN.js} +2 -2
- package/out/esm/{chunk-NZXOB6F5.js → chunk-JWGMLMWV.js} +1 -1
- package/out/esm/{chunk-BGTPRWGR.js → chunk-OZDH5CEO.js} +2 -2
- package/out/esm/index.js +18 -18
- package/out/esm/internal/index.js +1 -1
- package/out/esm/policies/axiomatics-authz-inbound/exports.js +1 -1
- package/out/types/index.d.ts +9 -1
- package/package.json +2 -2
- /package/out/esm/{chunk-HQYDEVIA.js.LEGAL.txt → chunk-C655W6MN.js.LEGAL.txt} +0 -0
- /package/out/esm/{chunk-BGTPRWGR.js.LEGAL.txt → chunk-JWGMLMWV.js.LEGAL.txt} +0 -0
- /package/out/esm/{chunk-NZXOB6F5.js.LEGAL.txt → chunk-OZDH5CEO.js.LEGAL.txt} +0 -0
|
@@ -22,5 +22,5 @@
|
|
|
22
22
|
* DEALINGS IN THE SOFTWARE.
|
|
23
23
|
*--------------------------------------------------------------------------------------------*/
|
|
24
24
|
|
|
25
|
-
import{b as e,c as t,e as a,f as o,g as r,h as i,i as n}from"../chunk-
|
|
25
|
+
import{b as e,c as t,e as a,f as o,g as r,h as i,i as n}from"../chunk-OZDH5CEO.js";import"../chunk-JWGMLMWV.js";import"../chunk-OQPRFCK5.js";export{o as getIdForParameterSchema,i as getIdForRefSchema,r as getIdForRequestBodySchema,a as getRawOperationDataIdentifierName,e as isRestrictedEnvVariableName,t as isZuploReadableEnvVariableName,n as sanitizedIdentifierName};
|
|
26
26
|
/*! For license information please see index.js.LEGAL.txt */
|
|
@@ -22,5 +22,5 @@
|
|
|
22
22
|
* DEALINGS IN THE SOFTWARE.
|
|
23
23
|
*--------------------------------------------------------------------------------------------*/
|
|
24
24
|
|
|
25
|
-
import{g as o}from"../../chunk-
|
|
25
|
+
import{g as o}from"../../chunk-C655W6MN.js";import"../../chunk-JWGMLMWV.js";import"../../chunk-OQPRFCK5.js";export{o as PdpService};
|
|
26
26
|
/*! For license information please see exports.js.LEGAL.txt */
|
package/out/types/index.d.ts
CHANGED
|
@@ -1047,7 +1047,7 @@ export declare interface CompositeInboundPolicyOptions {
|
|
|
1047
1047
|
/**
|
|
1048
1048
|
* Creates a composite, or group policy - composed of other policies. For reuse across routes.
|
|
1049
1049
|
*
|
|
1050
|
-
* @title Composite
|
|
1050
|
+
* @title Composite Outbound (Group Policies)
|
|
1051
1051
|
* @public
|
|
1052
1052
|
* @param request - The ZuploRequest
|
|
1053
1053
|
* @param context - The ZuploContext
|
|
@@ -1468,6 +1468,12 @@ export declare type GetQuotaAnchorDateFunction = (request: ZuploRequest, context
|
|
|
1468
1468
|
*/
|
|
1469
1469
|
export declare type GetQuotaDetailFunction = (request: ZuploRequest, context: ZuploContext, policyName: string) => Promise<QuotaDetail>;
|
|
1470
1470
|
|
|
1471
|
+
declare interface GetQuotaResult {
|
|
1472
|
+
anchorDate: string;
|
|
1473
|
+
nextResetDate: string;
|
|
1474
|
+
meters: Record<string, number>;
|
|
1475
|
+
}
|
|
1476
|
+
|
|
1471
1477
|
export declare function getRawOperationDataIdentifierName(oasFileName: string, path: string, operation: string): string;
|
|
1472
1478
|
|
|
1473
1479
|
declare interface GoogleCloudLoggingOptions {
|
|
@@ -4023,9 +4029,11 @@ export declare interface QuotaDetail {
|
|
|
4023
4029
|
* @returns A Request or a Response
|
|
4024
4030
|
*/
|
|
4025
4031
|
export declare class QuotaInboundPolicy extends InboundPolicy<QuotaInboundPolicyOptions> {
|
|
4032
|
+
#private;
|
|
4026
4033
|
constructor(options: QuotaInboundPolicyOptions, policyName: string);
|
|
4027
4034
|
handler(request: ZuploRequest<RequestGeneric>, context: ZuploContext): Promise<ZuploRequest<RequestGeneric> | Response>;
|
|
4028
4035
|
static setMeters(context: ZuploContext, meters: Record<string, number>): void;
|
|
4036
|
+
static getUsage(context: ZuploContext, policyName: string): GetQuotaResult;
|
|
4029
4037
|
}
|
|
4030
4038
|
|
|
4031
4039
|
/**
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zuplo/runtime",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "5.
|
|
4
|
+
"version": "5.2456.0",
|
|
5
5
|
"repository": "https://github.com/zuplo/zuplo",
|
|
6
6
|
"author": "Zuplo, Inc.",
|
|
7
7
|
"exports": {
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"typescript": "^5.5.4"
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"ajv": "^8.
|
|
39
|
+
"ajv": "^8.17.1",
|
|
40
40
|
"bs58": "^6.0.0",
|
|
41
41
|
"jose": "^5.6.3",
|
|
42
42
|
"path-to-regexp": "^6.2.1"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|