@zuplo/runtime 6.17.3 → 6.17.6
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/index.js +19 -19
- package/out/types/index.d.ts +1 -37
- package/package.json +1 -1
package/out/types/index.d.ts
CHANGED
|
@@ -626,17 +626,6 @@ declare abstract class BaseCryptoBeta {
|
|
|
626
626
|
abstract digest(algorithm: string, data: string): Promise<string>;
|
|
627
627
|
}
|
|
628
628
|
|
|
629
|
-
/**
|
|
630
|
-
* @beta
|
|
631
|
-
*/
|
|
632
|
-
declare abstract class BaseKeyValueStore {
|
|
633
|
-
protected context: ZuploContext;
|
|
634
|
-
constructor(context: ZuploContext);
|
|
635
|
-
abstract put(key: string, value: string, options?: KeyValueStorePutOptions): Promise<void>;
|
|
636
|
-
abstract get(key: string, options?: KevValueStoreGetOptions): Promise<string | null>;
|
|
637
|
-
abstract delete(key: string): Promise<void>;
|
|
638
|
-
}
|
|
639
|
-
|
|
640
629
|
declare class BaseOpenFGAAuthZInboundPolicy extends InboundPolicy<OpenFGAAuthZInboundPolicyOptions> {
|
|
641
630
|
private client;
|
|
642
631
|
private authorizer;
|
|
@@ -1303,7 +1292,7 @@ declare interface CronDefinition {
|
|
|
1303
1292
|
}
|
|
1304
1293
|
|
|
1305
1294
|
/**
|
|
1306
|
-
* @
|
|
1295
|
+
* @deprecated Use standard `crypto` API instead.
|
|
1307
1296
|
*/
|
|
1308
1297
|
export declare class CryptoBeta extends BaseCryptoBeta {
|
|
1309
1298
|
digest(algorithm: string, data: string): Promise<string>;
|
|
@@ -2789,31 +2778,6 @@ export declare interface JWTScopeValidationInboundPolicyOptions {
|
|
|
2789
2778
|
scopes: string[];
|
|
2790
2779
|
}
|
|
2791
2780
|
|
|
2792
|
-
/**
|
|
2793
|
-
* @beta
|
|
2794
|
-
*/
|
|
2795
|
-
declare interface KevValueStoreGetOptions {
|
|
2796
|
-
cacheSecondsTtl?: number;
|
|
2797
|
-
}
|
|
2798
|
-
|
|
2799
|
-
/**
|
|
2800
|
-
* @beta
|
|
2801
|
-
*/
|
|
2802
|
-
export declare class KeyValueStore extends BaseKeyValueStore {
|
|
2803
|
-
#private;
|
|
2804
|
-
constructor(context: ZuploContext);
|
|
2805
|
-
put(key: string, value: string, options?: KeyValueStorePutOptions): Promise<void>;
|
|
2806
|
-
get(key: string, options?: KevValueStoreGetOptions): Promise<string | null>;
|
|
2807
|
-
delete(key: string): Promise<void>;
|
|
2808
|
-
}
|
|
2809
|
-
|
|
2810
|
-
/**
|
|
2811
|
-
* @beta
|
|
2812
|
-
*/
|
|
2813
|
-
declare interface KeyValueStorePutOptions {
|
|
2814
|
-
expirationSecondsTtl?: number;
|
|
2815
|
-
}
|
|
2816
|
-
|
|
2817
2781
|
/**
|
|
2818
2782
|
* @beta
|
|
2819
2783
|
*/
|