@microsoft/ccf-app 4.0.0-dev5 → 4.0.0-dev6
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/global.d.ts +14 -2
- package/package.json +2 -2
- package/polyfill.js +3 -0
package/global.d.ts
CHANGED
|
@@ -561,14 +561,26 @@ export interface CCF {
|
|
|
561
561
|
historical: CCFHistorical;
|
|
562
562
|
/**
|
|
563
563
|
* Toggles implementation of Date global API between using untrusted host time
|
|
564
|
-
* and returning 0 (
|
|
564
|
+
* (when enabled)and returning 0 (when disabled). By default this is disabled.
|
|
565
565
|
*
|
|
566
|
-
* Returns previous value, allowing a global default to be maintained.
|
|
566
|
+
* Returns the previous value, allowing a global default to be maintained.
|
|
567
567
|
*
|
|
568
568
|
* @param enable If true, then subsequent calls to Date.now() will return untrusted
|
|
569
569
|
* host time
|
|
570
570
|
*/
|
|
571
571
|
enableUntrustedDateTime(enable: boolean): boolean;
|
|
572
|
+
/**
|
|
573
|
+
* Toggles whether common metrics (including the path, the response status,
|
|
574
|
+
* and the execution time) should be logged when this execution completes.
|
|
575
|
+
* By default this is enabled. If the request pattern should not be visible
|
|
576
|
+
* to an operator, then this behaviour should be disabled.
|
|
577
|
+
*
|
|
578
|
+
* Returns the previous value, allowing a global default to be maintained.
|
|
579
|
+
*
|
|
580
|
+
* @param enable If false, then no built-in logging will be emitted describing
|
|
581
|
+
* this execution
|
|
582
|
+
*/
|
|
583
|
+
enableMetricsLogging(enable: boolean): boolean;
|
|
572
584
|
}
|
|
573
585
|
export declare const openenclave: OpenEnclave;
|
|
574
586
|
export interface EvidenceClaims {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@microsoft/ccf-app",
|
|
3
|
-
"version": "4.0.0-
|
|
3
|
+
"version": "4.0.0-dev6",
|
|
4
4
|
"description": "CCF app support package",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"files": [
|
|
@@ -29,6 +29,6 @@
|
|
|
29
29
|
"node-forge": "^1.2.0",
|
|
30
30
|
"ts-node": "^10.4.0",
|
|
31
31
|
"typedoc": "^0.23.1",
|
|
32
|
-
"typescript": "^
|
|
32
|
+
"typescript": "^5.0.2"
|
|
33
33
|
}
|
|
34
34
|
}
|
package/polyfill.js
CHANGED