@janssenproject/cedarling_wasm 1.13.0 → 1.14.0-nodejs
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/README.md +1 -1
- package/cedarling_wasm.d.ts +0 -77
- package/cedarling_wasm.js +689 -675
- package/cedarling_wasm_bg.wasm +0 -0
- package/package.json +2 -6
package/README.md
CHANGED
|
@@ -232,7 +232,7 @@ const BOOTSTRAP_CONFIG = {
|
|
|
232
232
|
};
|
|
233
233
|
```
|
|
234
234
|
|
|
235
|
-
For complete configuration documentation, see [cedarling-properties.md](../../../docs/cedarling/cedarling-properties.md).
|
|
235
|
+
For complete configuration documentation, see [cedarling-properties.md](../../../docs/cedarling/cedarling-properties.md) or on [our page](https://docs.jans.io/stable/cedarling/cedarling-properties/) .
|
|
236
236
|
|
|
237
237
|
```
|
|
238
238
|
|
package/cedarling_wasm.d.ts
CHANGED
|
@@ -175,80 +175,3 @@ export class PolicyEvaluationError {
|
|
|
175
175
|
*/
|
|
176
176
|
readonly error: string;
|
|
177
177
|
}
|
|
178
|
-
|
|
179
|
-
export type InitInput = RequestInfo | URL | Response | BufferSource | WebAssembly.Module;
|
|
180
|
-
|
|
181
|
-
export interface InitOutput {
|
|
182
|
-
readonly memory: WebAssembly.Memory;
|
|
183
|
-
readonly __wbg_cedarling_free: (a: number, b: number) => void;
|
|
184
|
-
readonly init: (a: any) => any;
|
|
185
|
-
readonly cedarling_new: (a: any) => any;
|
|
186
|
-
readonly cedarling_new_from_map: (a: any) => any;
|
|
187
|
-
readonly cedarling_authorize: (a: number, b: any) => any;
|
|
188
|
-
readonly cedarling_authorize_unsigned: (a: number, b: any) => any;
|
|
189
|
-
readonly cedarling_pop_logs: (a: number) => [number, number, number];
|
|
190
|
-
readonly cedarling_get_log_by_id: (a: number, b: number, c: number) => [number, number, number];
|
|
191
|
-
readonly cedarling_get_log_ids: (a: number) => any;
|
|
192
|
-
readonly cedarling_get_logs_by_tag: (a: number, b: number, c: number) => [number, number, number, number];
|
|
193
|
-
readonly cedarling_get_logs_by_request_id: (a: number, b: number, c: number) => [number, number, number, number];
|
|
194
|
-
readonly cedarling_get_logs_by_request_id_and_tag: (a: number, b: number, c: number, d: number, e: number) => [number, number, number, number];
|
|
195
|
-
readonly cedarling_shut_down: (a: number) => any;
|
|
196
|
-
readonly __wbg_authorizeresult_free: (a: number, b: number) => void;
|
|
197
|
-
readonly __wbg_get_authorizeresult_workload: (a: number) => number;
|
|
198
|
-
readonly __wbg_set_authorizeresult_workload: (a: number, b: number) => void;
|
|
199
|
-
readonly __wbg_get_authorizeresult_person: (a: number) => number;
|
|
200
|
-
readonly __wbg_set_authorizeresult_person: (a: number, b: number) => void;
|
|
201
|
-
readonly __wbg_get_authorizeresult_decision: (a: number) => number;
|
|
202
|
-
readonly __wbg_set_authorizeresult_decision: (a: number, b: number) => void;
|
|
203
|
-
readonly __wbg_get_authorizeresult_request_id: (a: number) => [number, number];
|
|
204
|
-
readonly __wbg_set_authorizeresult_request_id: (a: number, b: number, c: number) => void;
|
|
205
|
-
readonly authorizeresult_json_string: (a: number) => [number, number];
|
|
206
|
-
readonly authorizeresult_principal: (a: number, b: number, c: number) => number;
|
|
207
|
-
readonly __wbg_authorizeresultresponse_free: (a: number, b: number) => void;
|
|
208
|
-
readonly authorizeresultresponse_decision: (a: number) => number;
|
|
209
|
-
readonly authorizeresultresponse_diagnostics: (a: number) => number;
|
|
210
|
-
readonly __wbg_diagnostics_free: (a: number, b: number) => void;
|
|
211
|
-
readonly diagnostics_reason: (a: number) => [number, number];
|
|
212
|
-
readonly diagnostics_errors: (a: number) => [number, number];
|
|
213
|
-
readonly __wbg_policyevaluationerror_free: (a: number, b: number) => void;
|
|
214
|
-
readonly policyevaluationerror_id: (a: number) => [number, number];
|
|
215
|
-
readonly policyevaluationerror_error: (a: number) => [number, number];
|
|
216
|
-
readonly __wbg_jsjsonlogic_free: (a: number, b: number) => void;
|
|
217
|
-
readonly jsjsonlogic_new: () => number;
|
|
218
|
-
readonly jsjsonlogic_apply: (a: number, b: any, c: any) => [number, number, number];
|
|
219
|
-
readonly ring_core_0_17_14__bn_mul_mont: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
|
|
220
|
-
readonly __wbindgen_malloc: (a: number, b: number) => number;
|
|
221
|
-
readonly __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
|
|
222
|
-
readonly __wbindgen_exn_store: (a: number) => void;
|
|
223
|
-
readonly __externref_table_alloc: () => number;
|
|
224
|
-
readonly __wbindgen_export_4: WebAssembly.Table;
|
|
225
|
-
readonly __wbindgen_export_5: WebAssembly.Table;
|
|
226
|
-
readonly __externref_table_dealloc: (a: number) => void;
|
|
227
|
-
readonly __externref_drop_slice: (a: number, b: number) => void;
|
|
228
|
-
readonly __wbindgen_free: (a: number, b: number, c: number) => void;
|
|
229
|
-
readonly wasm_bindgen__convert__closures_____invoke__hd85855495ef290f9: (a: number, b: number) => void;
|
|
230
|
-
readonly closure551_externref_shim: (a: number, b: number, c: any) => void;
|
|
231
|
-
readonly closure1832_externref_shim: (a: number, b: number, c: any, d: any) => void;
|
|
232
|
-
readonly __wbindgen_start: () => void;
|
|
233
|
-
}
|
|
234
|
-
|
|
235
|
-
export type SyncInitInput = BufferSource | WebAssembly.Module;
|
|
236
|
-
/**
|
|
237
|
-
* Instantiates the given `module`, which can either be bytes or
|
|
238
|
-
* a precompiled `WebAssembly.Module`.
|
|
239
|
-
*
|
|
240
|
-
* @param {{ module: SyncInitInput }} module - Passing `SyncInitInput` directly is deprecated.
|
|
241
|
-
*
|
|
242
|
-
* @returns {InitOutput}
|
|
243
|
-
*/
|
|
244
|
-
export function initSync(module: { module: SyncInitInput } | SyncInitInput): InitOutput;
|
|
245
|
-
|
|
246
|
-
/**
|
|
247
|
-
* If `module_or_path` is {RequestInfo} or {URL}, makes a request and
|
|
248
|
-
* for everything else, calls `WebAssembly.instantiate` directly.
|
|
249
|
-
*
|
|
250
|
-
* @param {{ module_or_path: InitInput | Promise<InitInput> }} module_or_path - Passing `InitInput` directly is deprecated.
|
|
251
|
-
*
|
|
252
|
-
* @returns {Promise<InitOutput>}
|
|
253
|
-
*/
|
|
254
|
-
export default function __wbg_init (module_or_path?: { module_or_path: InitInput | Promise<InitInput> } | InitInput | Promise<InitInput>): Promise<InitOutput>;
|