@janssenproject/cedarling_wasm 0.0.480 → 0.0.482
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/browser/index.js +45 -12
- package/dist/browser/index.js.map +2 -2
- package/dist/cjs/index.cjs +45 -12
- package/dist/cjs/index.cjs.map +2 -2
- package/dist/edge/index.js +45 -12
- package/dist/edge/index.js.map +2 -2
- package/dist/esm/index.js +45 -12
- package/dist/esm/index.js.map +2 -2
- package/dist/manual/index.js +45 -12
- package/dist/manual/index.js.map +2 -2
- package/dist/types/cjs/generated.d.ts +22 -4
- package/dist/types/esm/generated.d.ts +22 -4
- package/dist/wasm/cedarling_wasm_bg.wasm +0 -0
- package/package.json +1 -1
|
@@ -605,6 +605,23 @@ export class Cedarling {
|
|
|
605
605
|
* ```
|
|
606
606
|
*/
|
|
607
607
|
static new(config: object): Promise<Cedarling>;
|
|
608
|
+
/**
|
|
609
|
+
* Get the ID of the currently published policy store, if it carries one.
|
|
610
|
+
*
|
|
611
|
+
* `undefined` means the store carries no ID. The value is an opaque,
|
|
612
|
+
* source-dependent string; it may change after a background refresh.
|
|
613
|
+
*
|
|
614
|
+
* # Arguments
|
|
615
|
+
*
|
|
616
|
+
* None.
|
|
617
|
+
*
|
|
618
|
+
* # Example
|
|
619
|
+
*
|
|
620
|
+
* ```javascript
|
|
621
|
+
* const id = cedarling.policyStoreId();
|
|
622
|
+
* ```
|
|
623
|
+
*/
|
|
624
|
+
policyStoreId(): string | undefined;
|
|
608
625
|
/**
|
|
609
626
|
* Returns all retained memory logs and removes them from storage.
|
|
610
627
|
* Other log configurations return an empty array.
|
|
@@ -1079,6 +1096,7 @@ export interface InitOutput {
|
|
|
1079
1096
|
readonly cedarling_loadedTrustedIssuersCount: (a: number) => number;
|
|
1080
1097
|
readonly cedarling_new: (a: number) => number;
|
|
1081
1098
|
readonly cedarling_newFromMap: (a: number) => number;
|
|
1099
|
+
readonly cedarling_policyStoreId: (a: number, b: number) => void;
|
|
1082
1100
|
readonly cedarling_popLogs: (a: number, b: number) => void;
|
|
1083
1101
|
readonly cedarling_pushDataCtx: (a: number, b: number, c: number, d: number, e: number, f: number, g: bigint) => void;
|
|
1084
1102
|
readonly cedarling_removeDataCtx: (a: number, b: number, c: number, d: number) => void;
|
|
@@ -1113,10 +1131,10 @@ export interface InitOutput {
|
|
|
1113
1131
|
readonly multiissuerauthorizeresult_jsonString: (a: number, b: number) => void;
|
|
1114
1132
|
readonly policyevaluationerror_error: (a: number, b: number) => void;
|
|
1115
1133
|
readonly policyevaluationerror_id: (a: number, b: number) => void;
|
|
1116
|
-
readonly
|
|
1117
|
-
readonly
|
|
1118
|
-
readonly
|
|
1119
|
-
readonly
|
|
1134
|
+
readonly __wasm_bindgen_func_elem_8935: (a: number, b: number, c: number, d: number) => void;
|
|
1135
|
+
readonly __wasm_bindgen_func_elem_8990: (a: number, b: number, c: number, d: number) => void;
|
|
1136
|
+
readonly __wasm_bindgen_func_elem_12496: (a: number, b: number, c: number) => void;
|
|
1137
|
+
readonly __wasm_bindgen_func_elem_8769: (a: number, b: number) => void;
|
|
1120
1138
|
readonly __wbindgen_export: (a: number, b: number) => number;
|
|
1121
1139
|
readonly __wbindgen_export2: (a: number, b: number, c: number, d: number) => number;
|
|
1122
1140
|
readonly __wbindgen_export3: (a: number) => void;
|
|
@@ -605,6 +605,23 @@ export class Cedarling {
|
|
|
605
605
|
* ```
|
|
606
606
|
*/
|
|
607
607
|
static new(config: object): Promise<Cedarling>;
|
|
608
|
+
/**
|
|
609
|
+
* Get the ID of the currently published policy store, if it carries one.
|
|
610
|
+
*
|
|
611
|
+
* `undefined` means the store carries no ID. The value is an opaque,
|
|
612
|
+
* source-dependent string; it may change after a background refresh.
|
|
613
|
+
*
|
|
614
|
+
* # Arguments
|
|
615
|
+
*
|
|
616
|
+
* None.
|
|
617
|
+
*
|
|
618
|
+
* # Example
|
|
619
|
+
*
|
|
620
|
+
* ```javascript
|
|
621
|
+
* const id = cedarling.policyStoreId();
|
|
622
|
+
* ```
|
|
623
|
+
*/
|
|
624
|
+
policyStoreId(): string | undefined;
|
|
608
625
|
/**
|
|
609
626
|
* Returns all retained memory logs and removes them from storage.
|
|
610
627
|
* Other log configurations return an empty array.
|
|
@@ -1079,6 +1096,7 @@ export interface InitOutput {
|
|
|
1079
1096
|
readonly cedarling_loadedTrustedIssuersCount: (a: number) => number;
|
|
1080
1097
|
readonly cedarling_new: (a: number) => number;
|
|
1081
1098
|
readonly cedarling_newFromMap: (a: number) => number;
|
|
1099
|
+
readonly cedarling_policyStoreId: (a: number, b: number) => void;
|
|
1082
1100
|
readonly cedarling_popLogs: (a: number, b: number) => void;
|
|
1083
1101
|
readonly cedarling_pushDataCtx: (a: number, b: number, c: number, d: number, e: number, f: number, g: bigint) => void;
|
|
1084
1102
|
readonly cedarling_removeDataCtx: (a: number, b: number, c: number, d: number) => void;
|
|
@@ -1113,10 +1131,10 @@ export interface InitOutput {
|
|
|
1113
1131
|
readonly multiissuerauthorizeresult_jsonString: (a: number, b: number) => void;
|
|
1114
1132
|
readonly policyevaluationerror_error: (a: number, b: number) => void;
|
|
1115
1133
|
readonly policyevaluationerror_id: (a: number, b: number) => void;
|
|
1116
|
-
readonly
|
|
1117
|
-
readonly
|
|
1118
|
-
readonly
|
|
1119
|
-
readonly
|
|
1134
|
+
readonly __wasm_bindgen_func_elem_8935: (a: number, b: number, c: number, d: number) => void;
|
|
1135
|
+
readonly __wasm_bindgen_func_elem_8990: (a: number, b: number, c: number, d: number) => void;
|
|
1136
|
+
readonly __wasm_bindgen_func_elem_12496: (a: number, b: number, c: number) => void;
|
|
1137
|
+
readonly __wasm_bindgen_func_elem_8769: (a: number, b: number) => void;
|
|
1120
1138
|
readonly __wbindgen_export: (a: number, b: number) => number;
|
|
1121
1139
|
readonly __wbindgen_export2: (a: number, b: number, c: number, d: number) => number;
|
|
1122
1140
|
readonly __wbindgen_export3: (a: number) => void;
|
|
Binary file
|
package/package.json
CHANGED