@janssenproject/cedarling_wasm 0.0.338 → 0.0.339
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 +4 -25
- package/cedarling_wasm.d.ts +57 -31
- package/cedarling_wasm.js +272 -66
- package/cedarling_wasm_bg.wasm +0 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -46,14 +46,14 @@ After building WASM bindings in folder `pkg` you can find where you can find `ce
|
|
|
46
46
|
In `index.html` described simple usage of `cedarling wasm` API:
|
|
47
47
|
|
|
48
48
|
```js
|
|
49
|
-
import { BOOTSTRAP_CONFIG,
|
|
49
|
+
import { BOOTSTRAP_CONFIG, REQUEST_UNSIGNED } from "/example_data.js"; // Import js objects: bootstrap config and request
|
|
50
50
|
import initWasm, { init } from "/pkg/cedarling_wasm.js";
|
|
51
51
|
|
|
52
52
|
async function main() {
|
|
53
53
|
await initWasm(); // Initialize the WebAssembly module
|
|
54
54
|
|
|
55
55
|
let instance = await init(BOOTSTRAP_CONFIG);
|
|
56
|
-
let result = await instance.
|
|
56
|
+
let result = await instance.authorize_unsigned(REQUEST_UNSIGNED);
|
|
57
57
|
console.log("result:", result);
|
|
58
58
|
}
|
|
59
59
|
main().catch(console.error);
|
|
@@ -103,11 +103,6 @@ export class Cedarling {
|
|
|
103
103
|
* Assume that config is `Map`
|
|
104
104
|
*/
|
|
105
105
|
static new_from_map(config: Map<any, any>): Promise<Cedarling>;
|
|
106
|
-
/**
|
|
107
|
-
* Authorize request
|
|
108
|
-
* makes authorization decision based on the [`Request`]
|
|
109
|
-
*/
|
|
110
|
-
authorize(request: any): Promise<AuthorizeResult>;
|
|
111
106
|
/**
|
|
112
107
|
* Authorize request for unsigned principals.
|
|
113
108
|
* makes authorization decision based on the [`RequestUnsigned`]
|
|
@@ -257,13 +252,9 @@ export class AuthorizeResult {
|
|
|
257
252
|
*/
|
|
258
253
|
json_string(): string;
|
|
259
254
|
/**
|
|
260
|
-
*
|
|
261
|
-
*/
|
|
262
|
-
workload?: AuthorizeResultResponse;
|
|
263
|
-
/**
|
|
264
|
-
* Result of authorization where principal is `Jans::User`
|
|
255
|
+
* Get authorization responses for all principals
|
|
265
256
|
*/
|
|
266
|
-
|
|
257
|
+
principals: Record<string, AuthorizeResultResponse>;
|
|
267
258
|
/**
|
|
268
259
|
* Get result for a specific principal
|
|
269
260
|
*/
|
|
@@ -453,17 +444,6 @@ cd policy-store && zip -r ../policy-store.cjar .
|
|
|
453
444
|
|
|
454
445
|
See [Policy Store Formats](../../../docs/cedarling/reference/cedarling-policy-store.md#policy-store-formats) for details on the directory structure and metadata.json format.
|
|
455
446
|
|
|
456
|
-
### ID Token Trust Mode
|
|
457
|
-
|
|
458
|
-
The `CEDARLING_ID_TOKEN_TRUST_MODE` property controls how ID tokens are validated:
|
|
459
|
-
|
|
460
|
-
- **`strict`** (default): Enforces strict validation rules
|
|
461
|
-
- ID token `aud` must match access token `client_id`
|
|
462
|
-
- If userinfo token is present, its `sub` must match the ID token `sub`
|
|
463
|
-
- **`never`**: Disables ID token validation (useful for testing)
|
|
464
|
-
- **`always`**: Always validates ID tokens when present
|
|
465
|
-
- **`ifpresent`**: Validates ID tokens only if they are provided
|
|
466
|
-
|
|
467
447
|
### Testing Configuration
|
|
468
448
|
|
|
469
449
|
For testing scenarios, you may want to disable JWT validation. You can configure this in your bootstrap configuration:
|
|
@@ -472,7 +452,6 @@ For testing scenarios, you may want to disable JWT validation. You can configure
|
|
|
472
452
|
const BOOTSTRAP_CONFIG = {
|
|
473
453
|
CEDARLING_JWT_SIG_VALIDATION: "disabled",
|
|
474
454
|
CEDARLING_JWT_STATUS_VALIDATION: "disabled",
|
|
475
|
-
CEDARLING_ID_TOKEN_TRUST_MODE: "never",
|
|
476
455
|
};
|
|
477
456
|
```
|
|
478
457
|
|
package/cedarling_wasm.d.ts
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* The `ReadableStreamType` enum.
|
|
5
|
+
*
|
|
6
|
+
* *This API requires the following crate features to be activated: `ReadableStreamType`*
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
type ReadableStreamType = "bytes";
|
|
3
10
|
|
|
4
11
|
/**
|
|
5
12
|
* A WASM wrapper for the Rust `cedarling::AuthorizeResult` struct.
|
|
@@ -22,26 +29,10 @@ export class AuthorizeResult {
|
|
|
22
29
|
* this field is [`bool`] type to be compatible with [authzen Access Evaluation Decision](https://openid.github.io/authzen/#section-6.2.1).
|
|
23
30
|
*/
|
|
24
31
|
decision: boolean;
|
|
25
|
-
/**
|
|
26
|
-
* Result of authorization where principal is `Jans::User`
|
|
27
|
-
*/
|
|
28
|
-
get person(): AuthorizeResultResponse | undefined;
|
|
29
|
-
/**
|
|
30
|
-
* Result of authorization where principal is `Jans::User`
|
|
31
|
-
*/
|
|
32
|
-
set person(value: AuthorizeResultResponse | null | undefined);
|
|
33
32
|
/**
|
|
34
33
|
* Request ID of the authorization request
|
|
35
34
|
*/
|
|
36
35
|
request_id: string;
|
|
37
|
-
/**
|
|
38
|
-
* Result of authorization where principal is `Jans::Workload`
|
|
39
|
-
*/
|
|
40
|
-
get workload(): AuthorizeResultResponse | undefined;
|
|
41
|
-
/**
|
|
42
|
-
* Result of authorization where principal is `Jans::Workload`
|
|
43
|
-
*/
|
|
44
|
-
set workload(value: AuthorizeResultResponse | null | undefined);
|
|
45
36
|
}
|
|
46
37
|
|
|
47
38
|
/**
|
|
@@ -69,11 +60,6 @@ export class Cedarling {
|
|
|
69
60
|
private constructor();
|
|
70
61
|
free(): void;
|
|
71
62
|
[Symbol.dispose](): void;
|
|
72
|
-
/**
|
|
73
|
-
* Authorize request
|
|
74
|
-
* makes authorization decision based on the [`Request`]
|
|
75
|
-
*/
|
|
76
|
-
authorize(request: any): Promise<AuthorizeResult>;
|
|
77
63
|
/**
|
|
78
64
|
* Authorize multi-issuer request.
|
|
79
65
|
* Makes authorization decision based on multiple JWT tokens from different issuers
|
|
@@ -362,6 +348,34 @@ export class Diagnostics {
|
|
|
362
348
|
readonly reason: string[];
|
|
363
349
|
}
|
|
364
350
|
|
|
351
|
+
export class IntoUnderlyingByteSource {
|
|
352
|
+
private constructor();
|
|
353
|
+
free(): void;
|
|
354
|
+
[Symbol.dispose](): void;
|
|
355
|
+
cancel(): void;
|
|
356
|
+
pull(controller: ReadableByteStreamController): Promise<any>;
|
|
357
|
+
start(controller: ReadableByteStreamController): void;
|
|
358
|
+
readonly autoAllocateChunkSize: number;
|
|
359
|
+
readonly type: ReadableStreamType;
|
|
360
|
+
}
|
|
361
|
+
|
|
362
|
+
export class IntoUnderlyingSink {
|
|
363
|
+
private constructor();
|
|
364
|
+
free(): void;
|
|
365
|
+
[Symbol.dispose](): void;
|
|
366
|
+
abort(reason: any): Promise<any>;
|
|
367
|
+
close(): Promise<any>;
|
|
368
|
+
write(chunk: any): Promise<any>;
|
|
369
|
+
}
|
|
370
|
+
|
|
371
|
+
export class IntoUnderlyingSource {
|
|
372
|
+
private constructor();
|
|
373
|
+
free(): void;
|
|
374
|
+
[Symbol.dispose](): void;
|
|
375
|
+
cancel(): void;
|
|
376
|
+
pull(controller: ReadableStreamDefaultController): Promise<any>;
|
|
377
|
+
}
|
|
378
|
+
|
|
365
379
|
/**
|
|
366
380
|
* A WASM wrapper for the Rust `cedarling::MultiIssuerAuthorizeResult` struct.
|
|
367
381
|
* Represents the result of a multi-issuer authorization request.
|
|
@@ -452,7 +466,6 @@ export interface InitOutput {
|
|
|
452
466
|
readonly init_from_archive_bytes: (a: any, b: any) => any;
|
|
453
467
|
readonly cedarling_new: (a: any) => any;
|
|
454
468
|
readonly cedarling_new_from_map: (a: any) => any;
|
|
455
|
-
readonly cedarling_authorize: (a: number, b: any) => any;
|
|
456
469
|
readonly cedarling_authorize_unsigned: (a: number, b: any) => any;
|
|
457
470
|
readonly cedarling_authorize_multi_issuer: (a: number, b: any) => any;
|
|
458
471
|
readonly cedarling_pop_logs: (a: number) => [number, number, number];
|
|
@@ -470,10 +483,6 @@ export interface InitOutput {
|
|
|
470
483
|
readonly cedarling_list_data_ctx: (a: number) => [number, number, number];
|
|
471
484
|
readonly cedarling_get_stats_ctx: (a: number) => [number, number, number];
|
|
472
485
|
readonly __wbg_authorizeresult_free: (a: number, b: number) => void;
|
|
473
|
-
readonly __wbg_get_authorizeresult_workload: (a: number) => number;
|
|
474
|
-
readonly __wbg_set_authorizeresult_workload: (a: number, b: number) => void;
|
|
475
|
-
readonly __wbg_get_authorizeresult_person: (a: number) => number;
|
|
476
|
-
readonly __wbg_set_authorizeresult_person: (a: number, b: number) => void;
|
|
477
486
|
readonly __wbg_get_authorizeresult_decision: (a: number) => number;
|
|
478
487
|
readonly __wbg_set_authorizeresult_decision: (a: number, b: number) => void;
|
|
479
488
|
readonly __wbg_get_authorizeresult_request_id: (a: number) => [number, number];
|
|
@@ -522,6 +531,19 @@ export interface InitOutput {
|
|
|
522
531
|
readonly __wbg_get_datastorestats_memory_alert_triggered: (a: number) => number;
|
|
523
532
|
readonly __wbg_set_datastorestats_memory_alert_triggered: (a: number, b: number) => void;
|
|
524
533
|
readonly datastorestats_json_string: (a: number) => [number, number];
|
|
534
|
+
readonly __wbg_intounderlyingbytesource_free: (a: number, b: number) => void;
|
|
535
|
+
readonly intounderlyingbytesource_type: (a: number) => number;
|
|
536
|
+
readonly intounderlyingbytesource_autoAllocateChunkSize: (a: number) => number;
|
|
537
|
+
readonly intounderlyingbytesource_start: (a: number, b: any) => void;
|
|
538
|
+
readonly intounderlyingbytesource_pull: (a: number, b: any) => any;
|
|
539
|
+
readonly intounderlyingbytesource_cancel: (a: number) => void;
|
|
540
|
+
readonly __wbg_intounderlyingsource_free: (a: number, b: number) => void;
|
|
541
|
+
readonly intounderlyingsource_pull: (a: number, b: any) => any;
|
|
542
|
+
readonly intounderlyingsource_cancel: (a: number) => void;
|
|
543
|
+
readonly __wbg_intounderlyingsink_free: (a: number, b: number) => void;
|
|
544
|
+
readonly intounderlyingsink_write: (a: number, b: any) => any;
|
|
545
|
+
readonly intounderlyingsink_close: (a: number) => any;
|
|
546
|
+
readonly intounderlyingsink_abort: (a: number, b: any) => any;
|
|
525
547
|
readonly rust_zstd_wasm_shim_qsort: (a: number, b: number, c: number, d: number) => void;
|
|
526
548
|
readonly rust_zstd_wasm_shim_malloc: (a: number) => number;
|
|
527
549
|
readonly rust_zstd_wasm_shim_memcmp: (a: number, b: number, c: number) => number;
|
|
@@ -530,11 +552,15 @@ export interface InitOutput {
|
|
|
530
552
|
readonly rust_zstd_wasm_shim_memcpy: (a: number, b: number, c: number) => number;
|
|
531
553
|
readonly rust_zstd_wasm_shim_memmove: (a: number, b: number, c: number) => number;
|
|
532
554
|
readonly rust_zstd_wasm_shim_memset: (a: number, b: number, c: number) => number;
|
|
533
|
-
readonly
|
|
534
|
-
readonly
|
|
535
|
-
readonly
|
|
536
|
-
readonly
|
|
537
|
-
readonly
|
|
555
|
+
readonly wasm_bindgen__closure__destroy__hcbf2ec2b115651da: (a: number, b: number) => void;
|
|
556
|
+
readonly wasm_bindgen__closure__destroy__hb94dbe4a47b9147c: (a: number, b: number) => void;
|
|
557
|
+
readonly wasm_bindgen__closure__destroy__hd11c5dfc6ff843b5: (a: number, b: number) => void;
|
|
558
|
+
readonly wasm_bindgen__closure__destroy__h14227e6b7ccdc7d9: (a: number, b: number) => void;
|
|
559
|
+
readonly wasm_bindgen__convert__closures_____invoke__hce0de7781e15b6ff: (a: number, b: number, c: any) => [number, number];
|
|
560
|
+
readonly wasm_bindgen__convert__closures_____invoke__h17a92308e79e69c0: (a: number, b: number, c: any, d: any) => void;
|
|
561
|
+
readonly wasm_bindgen__convert__closures_____invoke__hdb4e3955a815023f: (a: number, b: number, c: any) => void;
|
|
562
|
+
readonly wasm_bindgen__convert__closures_____invoke__h09da5be58b802521: (a: number, b: number) => void;
|
|
563
|
+
readonly wasm_bindgen__convert__closures_____invoke__h5ac545e984d2dde4: (a: number, b: number) => void;
|
|
538
564
|
readonly __wbindgen_malloc: (a: number, b: number) => number;
|
|
539
565
|
readonly __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
|
|
540
566
|
readonly __wbindgen_exn_store: (a: number) => void;
|
package/cedarling_wasm.js
CHANGED
|
@@ -60,14 +60,6 @@ export class AuthorizeResult {
|
|
|
60
60
|
const ret = wasm.__wbg_get_authorizeresult_decision(this.__wbg_ptr);
|
|
61
61
|
return ret !== 0;
|
|
62
62
|
}
|
|
63
|
-
/**
|
|
64
|
-
* Result of authorization where principal is `Jans::User`
|
|
65
|
-
* @returns {AuthorizeResultResponse | undefined}
|
|
66
|
-
*/
|
|
67
|
-
get person() {
|
|
68
|
-
const ret = wasm.__wbg_get_authorizeresult_person(this.__wbg_ptr);
|
|
69
|
-
return ret === 0 ? undefined : AuthorizeResultResponse.__wrap(ret);
|
|
70
|
-
}
|
|
71
63
|
/**
|
|
72
64
|
* Request ID of the authorization request
|
|
73
65
|
* @returns {string}
|
|
@@ -84,14 +76,6 @@ export class AuthorizeResult {
|
|
|
84
76
|
wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
|
|
85
77
|
}
|
|
86
78
|
}
|
|
87
|
-
/**
|
|
88
|
-
* Result of authorization where principal is `Jans::Workload`
|
|
89
|
-
* @returns {AuthorizeResultResponse | undefined}
|
|
90
|
-
*/
|
|
91
|
-
get workload() {
|
|
92
|
-
const ret = wasm.__wbg_get_authorizeresult_workload(this.__wbg_ptr);
|
|
93
|
-
return ret === 0 ? undefined : AuthorizeResultResponse.__wrap(ret);
|
|
94
|
-
}
|
|
95
79
|
/**
|
|
96
80
|
* Result of authorization
|
|
97
81
|
* true means `ALLOW`
|
|
@@ -103,18 +87,6 @@ export class AuthorizeResult {
|
|
|
103
87
|
set decision(arg0) {
|
|
104
88
|
wasm.__wbg_set_authorizeresult_decision(this.__wbg_ptr, arg0);
|
|
105
89
|
}
|
|
106
|
-
/**
|
|
107
|
-
* Result of authorization where principal is `Jans::User`
|
|
108
|
-
* @param {AuthorizeResultResponse | null} [arg0]
|
|
109
|
-
*/
|
|
110
|
-
set person(arg0) {
|
|
111
|
-
let ptr0 = 0;
|
|
112
|
-
if (!isLikeNone(arg0)) {
|
|
113
|
-
_assertClass(arg0, AuthorizeResultResponse);
|
|
114
|
-
ptr0 = arg0.__destroy_into_raw();
|
|
115
|
-
}
|
|
116
|
-
wasm.__wbg_set_authorizeresult_person(this.__wbg_ptr, ptr0);
|
|
117
|
-
}
|
|
118
90
|
/**
|
|
119
91
|
* Request ID of the authorization request
|
|
120
92
|
* @param {string} arg0
|
|
@@ -124,18 +96,6 @@ export class AuthorizeResult {
|
|
|
124
96
|
const len0 = WASM_VECTOR_LEN;
|
|
125
97
|
wasm.__wbg_set_authorizeresult_request_id(this.__wbg_ptr, ptr0, len0);
|
|
126
98
|
}
|
|
127
|
-
/**
|
|
128
|
-
* Result of authorization where principal is `Jans::Workload`
|
|
129
|
-
* @param {AuthorizeResultResponse | null} [arg0]
|
|
130
|
-
*/
|
|
131
|
-
set workload(arg0) {
|
|
132
|
-
let ptr0 = 0;
|
|
133
|
-
if (!isLikeNone(arg0)) {
|
|
134
|
-
_assertClass(arg0, AuthorizeResultResponse);
|
|
135
|
-
ptr0 = arg0.__destroy_into_raw();
|
|
136
|
-
}
|
|
137
|
-
wasm.__wbg_set_authorizeresult_workload(this.__wbg_ptr, ptr0);
|
|
138
|
-
}
|
|
139
99
|
}
|
|
140
100
|
if (Symbol.dispose) AuthorizeResult.prototype[Symbol.dispose] = AuthorizeResult.prototype.free;
|
|
141
101
|
|
|
@@ -201,16 +161,6 @@ export class Cedarling {
|
|
|
201
161
|
const ptr = this.__destroy_into_raw();
|
|
202
162
|
wasm.__wbg_cedarling_free(ptr, 0);
|
|
203
163
|
}
|
|
204
|
-
/**
|
|
205
|
-
* Authorize request
|
|
206
|
-
* makes authorization decision based on the [`Request`]
|
|
207
|
-
* @param {any} request
|
|
208
|
-
* @returns {Promise<AuthorizeResult>}
|
|
209
|
-
*/
|
|
210
|
-
authorize(request) {
|
|
211
|
-
const ret = wasm.cedarling_authorize(this.__wbg_ptr, request);
|
|
212
|
-
return ret;
|
|
213
|
-
}
|
|
214
164
|
/**
|
|
215
165
|
* Authorize multi-issuer request.
|
|
216
166
|
* Makes authorization decision based on multiple JWT tokens from different issuers
|
|
@@ -918,6 +868,117 @@ export class Diagnostics {
|
|
|
918
868
|
}
|
|
919
869
|
if (Symbol.dispose) Diagnostics.prototype[Symbol.dispose] = Diagnostics.prototype.free;
|
|
920
870
|
|
|
871
|
+
export class IntoUnderlyingByteSource {
|
|
872
|
+
__destroy_into_raw() {
|
|
873
|
+
const ptr = this.__wbg_ptr;
|
|
874
|
+
this.__wbg_ptr = 0;
|
|
875
|
+
IntoUnderlyingByteSourceFinalization.unregister(this);
|
|
876
|
+
return ptr;
|
|
877
|
+
}
|
|
878
|
+
free() {
|
|
879
|
+
const ptr = this.__destroy_into_raw();
|
|
880
|
+
wasm.__wbg_intounderlyingbytesource_free(ptr, 0);
|
|
881
|
+
}
|
|
882
|
+
/**
|
|
883
|
+
* @returns {number}
|
|
884
|
+
*/
|
|
885
|
+
get autoAllocateChunkSize() {
|
|
886
|
+
const ret = wasm.intounderlyingbytesource_autoAllocateChunkSize(this.__wbg_ptr);
|
|
887
|
+
return ret >>> 0;
|
|
888
|
+
}
|
|
889
|
+
cancel() {
|
|
890
|
+
const ptr = this.__destroy_into_raw();
|
|
891
|
+
wasm.intounderlyingbytesource_cancel(ptr);
|
|
892
|
+
}
|
|
893
|
+
/**
|
|
894
|
+
* @param {ReadableByteStreamController} controller
|
|
895
|
+
* @returns {Promise<any>}
|
|
896
|
+
*/
|
|
897
|
+
pull(controller) {
|
|
898
|
+
const ret = wasm.intounderlyingbytesource_pull(this.__wbg_ptr, controller);
|
|
899
|
+
return ret;
|
|
900
|
+
}
|
|
901
|
+
/**
|
|
902
|
+
* @param {ReadableByteStreamController} controller
|
|
903
|
+
*/
|
|
904
|
+
start(controller) {
|
|
905
|
+
wasm.intounderlyingbytesource_start(this.__wbg_ptr, controller);
|
|
906
|
+
}
|
|
907
|
+
/**
|
|
908
|
+
* @returns {ReadableStreamType}
|
|
909
|
+
*/
|
|
910
|
+
get type() {
|
|
911
|
+
const ret = wasm.intounderlyingbytesource_type(this.__wbg_ptr);
|
|
912
|
+
return __wbindgen_enum_ReadableStreamType[ret];
|
|
913
|
+
}
|
|
914
|
+
}
|
|
915
|
+
if (Symbol.dispose) IntoUnderlyingByteSource.prototype[Symbol.dispose] = IntoUnderlyingByteSource.prototype.free;
|
|
916
|
+
|
|
917
|
+
export class IntoUnderlyingSink {
|
|
918
|
+
__destroy_into_raw() {
|
|
919
|
+
const ptr = this.__wbg_ptr;
|
|
920
|
+
this.__wbg_ptr = 0;
|
|
921
|
+
IntoUnderlyingSinkFinalization.unregister(this);
|
|
922
|
+
return ptr;
|
|
923
|
+
}
|
|
924
|
+
free() {
|
|
925
|
+
const ptr = this.__destroy_into_raw();
|
|
926
|
+
wasm.__wbg_intounderlyingsink_free(ptr, 0);
|
|
927
|
+
}
|
|
928
|
+
/**
|
|
929
|
+
* @param {any} reason
|
|
930
|
+
* @returns {Promise<any>}
|
|
931
|
+
*/
|
|
932
|
+
abort(reason) {
|
|
933
|
+
const ptr = this.__destroy_into_raw();
|
|
934
|
+
const ret = wasm.intounderlyingsink_abort(ptr, reason);
|
|
935
|
+
return ret;
|
|
936
|
+
}
|
|
937
|
+
/**
|
|
938
|
+
* @returns {Promise<any>}
|
|
939
|
+
*/
|
|
940
|
+
close() {
|
|
941
|
+
const ptr = this.__destroy_into_raw();
|
|
942
|
+
const ret = wasm.intounderlyingsink_close(ptr);
|
|
943
|
+
return ret;
|
|
944
|
+
}
|
|
945
|
+
/**
|
|
946
|
+
* @param {any} chunk
|
|
947
|
+
* @returns {Promise<any>}
|
|
948
|
+
*/
|
|
949
|
+
write(chunk) {
|
|
950
|
+
const ret = wasm.intounderlyingsink_write(this.__wbg_ptr, chunk);
|
|
951
|
+
return ret;
|
|
952
|
+
}
|
|
953
|
+
}
|
|
954
|
+
if (Symbol.dispose) IntoUnderlyingSink.prototype[Symbol.dispose] = IntoUnderlyingSink.prototype.free;
|
|
955
|
+
|
|
956
|
+
export class IntoUnderlyingSource {
|
|
957
|
+
__destroy_into_raw() {
|
|
958
|
+
const ptr = this.__wbg_ptr;
|
|
959
|
+
this.__wbg_ptr = 0;
|
|
960
|
+
IntoUnderlyingSourceFinalization.unregister(this);
|
|
961
|
+
return ptr;
|
|
962
|
+
}
|
|
963
|
+
free() {
|
|
964
|
+
const ptr = this.__destroy_into_raw();
|
|
965
|
+
wasm.__wbg_intounderlyingsource_free(ptr, 0);
|
|
966
|
+
}
|
|
967
|
+
cancel() {
|
|
968
|
+
const ptr = this.__destroy_into_raw();
|
|
969
|
+
wasm.intounderlyingsource_cancel(ptr);
|
|
970
|
+
}
|
|
971
|
+
/**
|
|
972
|
+
* @param {ReadableStreamDefaultController} controller
|
|
973
|
+
* @returns {Promise<any>}
|
|
974
|
+
*/
|
|
975
|
+
pull(controller) {
|
|
976
|
+
const ret = wasm.intounderlyingsource_pull(this.__wbg_ptr, controller);
|
|
977
|
+
return ret;
|
|
978
|
+
}
|
|
979
|
+
}
|
|
980
|
+
if (Symbol.dispose) IntoUnderlyingSource.prototype[Symbol.dispose] = IntoUnderlyingSource.prototype.free;
|
|
981
|
+
|
|
921
982
|
/**
|
|
922
983
|
* A WASM wrapper for the Rust `cedarling::MultiIssuerAuthorizeResult` struct.
|
|
923
984
|
* Represents the result of a multi-issuer authorization request.
|
|
@@ -1214,6 +1275,26 @@ function __wbg_get_imports() {
|
|
|
1214
1275
|
const ret = AuthorizeResult.__wrap(arg0);
|
|
1215
1276
|
return ret;
|
|
1216
1277
|
},
|
|
1278
|
+
__wbg_body_ac1dad652946e6da: function(arg0) {
|
|
1279
|
+
const ret = arg0.body;
|
|
1280
|
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
1281
|
+
},
|
|
1282
|
+
__wbg_buffer_60b8043cd926067d: function(arg0) {
|
|
1283
|
+
const ret = arg0.buffer;
|
|
1284
|
+
return ret;
|
|
1285
|
+
},
|
|
1286
|
+
__wbg_byobRequest_6342e5f2b232c0f9: function(arg0) {
|
|
1287
|
+
const ret = arg0.byobRequest;
|
|
1288
|
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
1289
|
+
},
|
|
1290
|
+
__wbg_byteLength_607b856aa6c5a508: function(arg0) {
|
|
1291
|
+
const ret = arg0.byteLength;
|
|
1292
|
+
return ret;
|
|
1293
|
+
},
|
|
1294
|
+
__wbg_byteOffset_b26b63681c83856c: function(arg0) {
|
|
1295
|
+
const ret = arg0.byteOffset;
|
|
1296
|
+
return ret;
|
|
1297
|
+
},
|
|
1217
1298
|
__wbg_call_2d781c1f4d5c0ef8: function() { return handleError(function (arg0, arg1, arg2) {
|
|
1218
1299
|
const ret = arg0.call(arg1, arg2);
|
|
1219
1300
|
return ret;
|
|
@@ -1222,14 +1303,32 @@ function __wbg_get_imports() {
|
|
|
1222
1303
|
const ret = arg0.call(arg1);
|
|
1223
1304
|
return ret;
|
|
1224
1305
|
}, arguments); },
|
|
1306
|
+
__wbg_cancel_79b3bea07a1028e7: function(arg0) {
|
|
1307
|
+
const ret = arg0.cancel();
|
|
1308
|
+
return ret;
|
|
1309
|
+
},
|
|
1310
|
+
__wbg_catch_d7ed0375ab6532a5: function(arg0, arg1) {
|
|
1311
|
+
const ret = arg0.catch(arg1);
|
|
1312
|
+
return ret;
|
|
1313
|
+
},
|
|
1225
1314
|
__wbg_cedarling_new: function(arg0) {
|
|
1226
1315
|
const ret = Cedarling.__wrap(arg0);
|
|
1227
1316
|
return ret;
|
|
1228
1317
|
},
|
|
1318
|
+
__wbg_clearTimeout_1d1b13f4034f30ca: function(arg0) {
|
|
1319
|
+
const ret = clearTimeout(arg0);
|
|
1320
|
+
return ret;
|
|
1321
|
+
},
|
|
1229
1322
|
__wbg_clearTimeout_2256f1e7b94ef517: function(arg0) {
|
|
1230
1323
|
const ret = clearTimeout(arg0);
|
|
1231
1324
|
return ret;
|
|
1232
1325
|
},
|
|
1326
|
+
__wbg_close_690d36108c557337: function() { return handleError(function (arg0) {
|
|
1327
|
+
arg0.close();
|
|
1328
|
+
}, arguments); },
|
|
1329
|
+
__wbg_close_737b4b1fbc658540: function() { return handleError(function (arg0) {
|
|
1330
|
+
arg0.close();
|
|
1331
|
+
}, arguments); },
|
|
1233
1332
|
__wbg_crypto_38df2bab126b63dc: function(arg0) {
|
|
1234
1333
|
const ret = arg0.crypto;
|
|
1235
1334
|
return ret;
|
|
@@ -1245,6 +1344,9 @@ function __wbg_get_imports() {
|
|
|
1245
1344
|
const ret = arg0.done;
|
|
1246
1345
|
return ret;
|
|
1247
1346
|
},
|
|
1347
|
+
__wbg_enqueue_ec3552838b4b7fbf: function() { return handleError(function (arg0, arg1) {
|
|
1348
|
+
arg0.enqueue(arg1);
|
|
1349
|
+
}, arguments); },
|
|
1248
1350
|
__wbg_entries_5b8fe91cea59610e: function(arg0) {
|
|
1249
1351
|
const ret = arg0.entries();
|
|
1250
1352
|
return ret;
|
|
@@ -1260,6 +1362,10 @@ function __wbg_get_imports() {
|
|
|
1260
1362
|
__wbg_error_b282edc683808929: function(arg0) {
|
|
1261
1363
|
console.error(...arg0);
|
|
1262
1364
|
},
|
|
1365
|
+
__wbg_fetch_010aa16f24b763bc: function(arg0, arg1) {
|
|
1366
|
+
const ret = fetch(arg0, arg1);
|
|
1367
|
+
return ret;
|
|
1368
|
+
},
|
|
1263
1369
|
__wbg_fetch_43b2f110608a59ff: function(arg0) {
|
|
1264
1370
|
const ret = fetch(arg0);
|
|
1265
1371
|
return ret;
|
|
@@ -1268,6 +1374,10 @@ function __wbg_get_imports() {
|
|
|
1268
1374
|
const ret = arg0.fetch(arg1);
|
|
1269
1375
|
return ret;
|
|
1270
1376
|
},
|
|
1377
|
+
__wbg_fetch_d77cded604d729e9: function(arg0, arg1, arg2) {
|
|
1378
|
+
const ret = arg0.fetch(arg1, arg2);
|
|
1379
|
+
return ret;
|
|
1380
|
+
},
|
|
1271
1381
|
__wbg_fromEntries_8f078e02a548e8eb: function() { return handleError(function (arg0) {
|
|
1272
1382
|
const ret = Object.fromEntries(arg0);
|
|
1273
1383
|
return ret;
|
|
@@ -1278,6 +1388,10 @@ function __wbg_get_imports() {
|
|
|
1278
1388
|
__wbg_getRandomValues_c44a50d8cfdaebeb: function() { return handleError(function (arg0, arg1) {
|
|
1279
1389
|
arg0.getRandomValues(arg1);
|
|
1280
1390
|
}, arguments); },
|
|
1391
|
+
__wbg_getReader_9facd4f899beac89: function() { return handleError(function (arg0) {
|
|
1392
|
+
const ret = arg0.getReader();
|
|
1393
|
+
return ret;
|
|
1394
|
+
}, arguments); },
|
|
1281
1395
|
__wbg_getTime_1dad7b5386ddd2d9: function(arg0) {
|
|
1282
1396
|
const ret = arg0.getTime();
|
|
1283
1397
|
return ret;
|
|
@@ -1298,10 +1412,18 @@ function __wbg_get_imports() {
|
|
|
1298
1412
|
const ret = arg0[arg1 >>> 0];
|
|
1299
1413
|
return ret;
|
|
1300
1414
|
},
|
|
1415
|
+
__wbg_get_done_d0ab690f8df5501f: function(arg0) {
|
|
1416
|
+
const ret = arg0.done;
|
|
1417
|
+
return isLikeNone(ret) ? 0xFFFFFF : ret ? 1 : 0;
|
|
1418
|
+
},
|
|
1301
1419
|
__wbg_get_unchecked_329cfe50afab7352: function(arg0, arg1) {
|
|
1302
1420
|
const ret = arg0[arg1 >>> 0];
|
|
1303
1421
|
return ret;
|
|
1304
1422
|
},
|
|
1423
|
+
__wbg_get_value_548ae6adf5a174e4: function(arg0) {
|
|
1424
|
+
const ret = arg0.value;
|
|
1425
|
+
return ret;
|
|
1426
|
+
},
|
|
1305
1427
|
__wbg_get_with_ref_key_6412cf3094599694: function(arg0, arg1) {
|
|
1306
1428
|
const ret = arg0[arg1];
|
|
1307
1429
|
return ret;
|
|
@@ -1430,6 +1552,10 @@ function __wbg_get_imports() {
|
|
|
1430
1552
|
const ret = new AbortController();
|
|
1431
1553
|
return ret;
|
|
1432
1554
|
}, arguments); },
|
|
1555
|
+
__wbg_new_d15cb560a6a0e5f0: function(arg0, arg1) {
|
|
1556
|
+
const ret = new Error(getStringFromWasm0(arg0, arg1));
|
|
1557
|
+
return ret;
|
|
1558
|
+
},
|
|
1433
1559
|
__wbg_new_fd94ca5c9639abd2: function(arg0) {
|
|
1434
1560
|
const ret = new Date(arg0);
|
|
1435
1561
|
return ret;
|
|
@@ -1445,7 +1571,7 @@ function __wbg_get_imports() {
|
|
|
1445
1571
|
const a = state0.a;
|
|
1446
1572
|
state0.a = 0;
|
|
1447
1573
|
try {
|
|
1448
|
-
return
|
|
1574
|
+
return wasm_bindgen__convert__closures_____invoke__h17a92308e79e69c0(a, state0.b, arg0, arg1);
|
|
1449
1575
|
} finally {
|
|
1450
1576
|
state0.a = a;
|
|
1451
1577
|
}
|
|
@@ -1456,6 +1582,10 @@ function __wbg_get_imports() {
|
|
|
1456
1582
|
state0.a = state0.b = 0;
|
|
1457
1583
|
}
|
|
1458
1584
|
},
|
|
1585
|
+
__wbg_new_with_byte_offset_and_length_b2ec5bf7b2f35743: function(arg0, arg1, arg2) {
|
|
1586
|
+
const ret = new Uint8Array(arg0, arg1 >>> 0, arg2 >>> 0);
|
|
1587
|
+
return ret;
|
|
1588
|
+
},
|
|
1459
1589
|
__wbg_new_with_length_825018a1616e9e55: function(arg0) {
|
|
1460
1590
|
const ret = new Uint8Array(arg0 >>> 0);
|
|
1461
1591
|
return ret;
|
|
@@ -1501,6 +1631,13 @@ function __wbg_get_imports() {
|
|
|
1501
1631
|
__wbg_randomFillSync_6c25eac9869eb53c: function() { return handleError(function (arg0, arg1) {
|
|
1502
1632
|
arg0.randomFillSync(arg1);
|
|
1503
1633
|
}, arguments); },
|
|
1634
|
+
__wbg_read_7f593a961a7f80ed: function(arg0) {
|
|
1635
|
+
const ret = arg0.read();
|
|
1636
|
+
return ret;
|
|
1637
|
+
},
|
|
1638
|
+
__wbg_releaseLock_ef7766a5da654ff8: function(arg0) {
|
|
1639
|
+
arg0.releaseLock();
|
|
1640
|
+
},
|
|
1504
1641
|
__wbg_require_b4edbdcf3e2a1ef0: function() { return handleError(function () {
|
|
1505
1642
|
const ret = module.require;
|
|
1506
1643
|
return ret;
|
|
@@ -1509,6 +1646,13 @@ function __wbg_get_imports() {
|
|
|
1509
1646
|
const ret = Promise.resolve(arg0);
|
|
1510
1647
|
return ret;
|
|
1511
1648
|
},
|
|
1649
|
+
__wbg_respond_e286ee502e7cf7e4: function() { return handleError(function (arg0, arg1) {
|
|
1650
|
+
arg0.respond(arg1 >>> 0);
|
|
1651
|
+
}, arguments); },
|
|
1652
|
+
__wbg_setTimeout_a3127d9f29a851c3: function(arg0, arg1) {
|
|
1653
|
+
const ret = setTimeout(arg0, arg1);
|
|
1654
|
+
return ret;
|
|
1655
|
+
},
|
|
1512
1656
|
__wbg_setTimeout_b188b3bcc8977c7d: function(arg0, arg1) {
|
|
1513
1657
|
const ret = setTimeout(arg0, arg1);
|
|
1514
1658
|
return ret;
|
|
@@ -1523,6 +1667,9 @@ function __wbg_get_imports() {
|
|
|
1523
1667
|
const ret = Reflect.set(arg0, arg1, arg2);
|
|
1524
1668
|
return ret;
|
|
1525
1669
|
}, arguments); },
|
|
1670
|
+
__wbg_set_8c0b3ffcf05d61c2: function(arg0, arg1, arg2) {
|
|
1671
|
+
arg0.set(getArrayU8FromWasm0(arg1, arg2));
|
|
1672
|
+
},
|
|
1526
1673
|
__wbg_set_bf7251625df30a02: function(arg0, arg1, arg2) {
|
|
1527
1674
|
const ret = arg0.set(arg1, arg2);
|
|
1528
1675
|
return ret;
|
|
@@ -1536,15 +1683,30 @@ function __wbg_get_imports() {
|
|
|
1536
1683
|
__wbg_set_credentials_ed63183445882c65: function(arg0, arg1) {
|
|
1537
1684
|
arg0.credentials = __wbindgen_enum_RequestCredentials[arg1];
|
|
1538
1685
|
},
|
|
1686
|
+
__wbg_set_e09648bea3f1af1e: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
|
|
1687
|
+
arg0.set(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
|
|
1688
|
+
}, arguments); },
|
|
1539
1689
|
__wbg_set_headers_3c8fecc693b75327: function(arg0, arg1) {
|
|
1540
1690
|
arg0.headers = arg1;
|
|
1541
1691
|
},
|
|
1692
|
+
__wbg_set_integrity_6e605069e31cef0a: function(arg0, arg1, arg2) {
|
|
1693
|
+
arg0.integrity = getStringFromWasm0(arg1, arg2);
|
|
1694
|
+
},
|
|
1542
1695
|
__wbg_set_method_8c015e8bcafd7be1: function(arg0, arg1, arg2) {
|
|
1543
1696
|
arg0.method = getStringFromWasm0(arg1, arg2);
|
|
1544
1697
|
},
|
|
1545
1698
|
__wbg_set_mode_5a87f2c809cf37c2: function(arg0, arg1) {
|
|
1546
1699
|
arg0.mode = __wbindgen_enum_RequestMode[arg1];
|
|
1547
1700
|
},
|
|
1701
|
+
__wbg_set_redirect_c7b340412376b11a: function(arg0, arg1) {
|
|
1702
|
+
arg0.redirect = __wbindgen_enum_RequestRedirect[arg1];
|
|
1703
|
+
},
|
|
1704
|
+
__wbg_set_referrer_4f2f273104bee6d0: function(arg0, arg1, arg2) {
|
|
1705
|
+
arg0.referrer = getStringFromWasm0(arg1, arg2);
|
|
1706
|
+
},
|
|
1707
|
+
__wbg_set_referrer_policy_3cea8b6e31a9e636: function(arg0, arg1) {
|
|
1708
|
+
arg0.referrerPolicy = __wbindgen_enum_ReferrerPolicy[arg1];
|
|
1709
|
+
},
|
|
1548
1710
|
__wbg_set_signal_0cebecb698f25d21: function(arg0, arg1) {
|
|
1549
1711
|
arg0.signal = arg1;
|
|
1550
1712
|
},
|
|
@@ -1588,6 +1750,10 @@ function __wbg_get_imports() {
|
|
|
1588
1750
|
const ret = arg0.then(arg1, arg2);
|
|
1589
1751
|
return ret;
|
|
1590
1752
|
},
|
|
1753
|
+
__wbg_toString_3272fa0dfd05dd87: function(arg0) {
|
|
1754
|
+
const ret = arg0.toString();
|
|
1755
|
+
return ret;
|
|
1756
|
+
},
|
|
1591
1757
|
__wbg_trace_e81c2d096c740f11: function(arg0) {
|
|
1592
1758
|
console.trace(...arg0);
|
|
1593
1759
|
},
|
|
@@ -1606,40 +1772,54 @@ function __wbg_get_imports() {
|
|
|
1606
1772
|
const ret = arg0.versions;
|
|
1607
1773
|
return ret;
|
|
1608
1774
|
},
|
|
1775
|
+
__wbg_view_f68a712e7315f8b2: function(arg0) {
|
|
1776
|
+
const ret = arg0.view;
|
|
1777
|
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
1778
|
+
},
|
|
1609
1779
|
__wbg_warn_ff4a30433095bbe4: function(arg0) {
|
|
1610
1780
|
console.warn(...arg0);
|
|
1611
1781
|
},
|
|
1612
1782
|
__wbindgen_cast_0000000000000001: function(arg0, arg1) {
|
|
1613
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
1614
|
-
const ret = makeMutClosure(arg0, arg1, wasm.
|
|
1783
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 595, function: Function { arguments: [], shim_idx: 596, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
1784
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__hcbf2ec2b115651da, wasm_bindgen__convert__closures_____invoke__h09da5be58b802521);
|
|
1615
1785
|
return ret;
|
|
1616
1786
|
},
|
|
1617
1787
|
__wbindgen_cast_0000000000000002: function(arg0, arg1) {
|
|
1618
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
1619
|
-
const ret = makeMutClosure(arg0, arg1, wasm.
|
|
1788
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 640, function: Function { arguments: [Externref], shim_idx: 641, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
1789
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__hb94dbe4a47b9147c, wasm_bindgen__convert__closures_____invoke__hdb4e3955a815023f);
|
|
1790
|
+
return ret;
|
|
1791
|
+
},
|
|
1792
|
+
__wbindgen_cast_0000000000000003: function(arg0, arg1) {
|
|
1793
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 752, function: Function { arguments: [], shim_idx: 753, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
1794
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__hd11c5dfc6ff843b5, wasm_bindgen__convert__closures_____invoke__h5ac545e984d2dde4);
|
|
1620
1795
|
return ret;
|
|
1621
1796
|
},
|
|
1622
|
-
|
|
1797
|
+
__wbindgen_cast_0000000000000004: function(arg0, arg1) {
|
|
1798
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 794, function: Function { arguments: [Externref], shim_idx: 2224, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
1799
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h14227e6b7ccdc7d9, wasm_bindgen__convert__closures_____invoke__hce0de7781e15b6ff);
|
|
1800
|
+
return ret;
|
|
1801
|
+
},
|
|
1802
|
+
__wbindgen_cast_0000000000000005: function(arg0) {
|
|
1623
1803
|
// Cast intrinsic for `F64 -> Externref`.
|
|
1624
1804
|
const ret = arg0;
|
|
1625
1805
|
return ret;
|
|
1626
1806
|
},
|
|
1627
|
-
|
|
1807
|
+
__wbindgen_cast_0000000000000006: function(arg0) {
|
|
1628
1808
|
// Cast intrinsic for `I64 -> Externref`.
|
|
1629
1809
|
const ret = arg0;
|
|
1630
1810
|
return ret;
|
|
1631
1811
|
},
|
|
1632
|
-
|
|
1812
|
+
__wbindgen_cast_0000000000000007: function(arg0, arg1) {
|
|
1633
1813
|
// Cast intrinsic for `Ref(Slice(U8)) -> NamedExternref("Uint8Array")`.
|
|
1634
1814
|
const ret = getArrayU8FromWasm0(arg0, arg1);
|
|
1635
1815
|
return ret;
|
|
1636
1816
|
},
|
|
1637
|
-
|
|
1817
|
+
__wbindgen_cast_0000000000000008: function(arg0, arg1) {
|
|
1638
1818
|
// Cast intrinsic for `Ref(String) -> Externref`.
|
|
1639
1819
|
const ret = getStringFromWasm0(arg0, arg1);
|
|
1640
1820
|
return ret;
|
|
1641
1821
|
},
|
|
1642
|
-
|
|
1822
|
+
__wbindgen_cast_0000000000000009: function(arg0) {
|
|
1643
1823
|
// Cast intrinsic for `U64 -> Externref`.
|
|
1644
1824
|
const ret = BigInt.asUintN(64, arg0);
|
|
1645
1825
|
return ret;
|
|
@@ -1660,22 +1840,36 @@ function __wbg_get_imports() {
|
|
|
1660
1840
|
};
|
|
1661
1841
|
}
|
|
1662
1842
|
|
|
1663
|
-
function
|
|
1664
|
-
wasm.
|
|
1843
|
+
function wasm_bindgen__convert__closures_____invoke__h09da5be58b802521(arg0, arg1) {
|
|
1844
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h09da5be58b802521(arg0, arg1);
|
|
1845
|
+
}
|
|
1846
|
+
|
|
1847
|
+
function wasm_bindgen__convert__closures_____invoke__h5ac545e984d2dde4(arg0, arg1) {
|
|
1848
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h5ac545e984d2dde4(arg0, arg1);
|
|
1849
|
+
}
|
|
1850
|
+
|
|
1851
|
+
function wasm_bindgen__convert__closures_____invoke__hdb4e3955a815023f(arg0, arg1, arg2) {
|
|
1852
|
+
wasm.wasm_bindgen__convert__closures_____invoke__hdb4e3955a815023f(arg0, arg1, arg2);
|
|
1665
1853
|
}
|
|
1666
1854
|
|
|
1667
|
-
function
|
|
1668
|
-
const ret = wasm.
|
|
1855
|
+
function wasm_bindgen__convert__closures_____invoke__hce0de7781e15b6ff(arg0, arg1, arg2) {
|
|
1856
|
+
const ret = wasm.wasm_bindgen__convert__closures_____invoke__hce0de7781e15b6ff(arg0, arg1, arg2);
|
|
1669
1857
|
if (ret[1]) {
|
|
1670
1858
|
throw takeFromExternrefTable0(ret[0]);
|
|
1671
1859
|
}
|
|
1672
1860
|
}
|
|
1673
1861
|
|
|
1674
|
-
function
|
|
1675
|
-
wasm.
|
|
1862
|
+
function wasm_bindgen__convert__closures_____invoke__h17a92308e79e69c0(arg0, arg1, arg2, arg3) {
|
|
1863
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h17a92308e79e69c0(arg0, arg1, arg2, arg3);
|
|
1676
1864
|
}
|
|
1677
1865
|
|
|
1678
1866
|
|
|
1867
|
+
const __wbindgen_enum_ReadableStreamType = ["bytes"];
|
|
1868
|
+
|
|
1869
|
+
|
|
1870
|
+
const __wbindgen_enum_ReferrerPolicy = ["", "no-referrer", "no-referrer-when-downgrade", "origin", "origin-when-cross-origin", "unsafe-url", "same-origin", "strict-origin", "strict-origin-when-cross-origin"];
|
|
1871
|
+
|
|
1872
|
+
|
|
1679
1873
|
const __wbindgen_enum_RequestCache = ["default", "no-store", "reload", "no-cache", "force-cache", "only-if-cached"];
|
|
1680
1874
|
|
|
1681
1875
|
|
|
@@ -1683,6 +1877,9 @@ const __wbindgen_enum_RequestCredentials = ["omit", "same-origin", "include"];
|
|
|
1683
1877
|
|
|
1684
1878
|
|
|
1685
1879
|
const __wbindgen_enum_RequestMode = ["same-origin", "no-cors", "cors", "navigate"];
|
|
1880
|
+
|
|
1881
|
+
|
|
1882
|
+
const __wbindgen_enum_RequestRedirect = ["follow", "error", "manual"];
|
|
1686
1883
|
const AuthorizeResultFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
1687
1884
|
? { register: () => {}, unregister: () => {} }
|
|
1688
1885
|
: new FinalizationRegistry(ptr => wasm.__wbg_authorizeresult_free(ptr >>> 0, 1));
|
|
@@ -1701,6 +1898,15 @@ const DataStoreStatsFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
|
1701
1898
|
const DiagnosticsFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
1702
1899
|
? { register: () => {}, unregister: () => {} }
|
|
1703
1900
|
: new FinalizationRegistry(ptr => wasm.__wbg_diagnostics_free(ptr >>> 0, 1));
|
|
1901
|
+
const IntoUnderlyingByteSourceFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
1902
|
+
? { register: () => {}, unregister: () => {} }
|
|
1903
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_intounderlyingbytesource_free(ptr >>> 0, 1));
|
|
1904
|
+
const IntoUnderlyingSinkFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
1905
|
+
? { register: () => {}, unregister: () => {} }
|
|
1906
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_intounderlyingsink_free(ptr >>> 0, 1));
|
|
1907
|
+
const IntoUnderlyingSourceFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
1908
|
+
? { register: () => {}, unregister: () => {} }
|
|
1909
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_intounderlyingsource_free(ptr >>> 0, 1));
|
|
1704
1910
|
const MultiIssuerAuthorizeResultFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
1705
1911
|
? { register: () => {}, unregister: () => {} }
|
|
1706
1912
|
: new FinalizationRegistry(ptr => wasm.__wbg_multiissuerauthorizeresult_free(ptr >>> 0, 1));
|
package/cedarling_wasm_bg.wasm
CHANGED
|
Binary file
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@janssenproject/cedarling_wasm",
|
|
3
3
|
"type": "module",
|
|
4
4
|
"description": "The Cedarling is a performant local authorization service that runs the Rust Cedar Engine",
|
|
5
|
-
"version": "0.0.
|
|
5
|
+
"version": "0.0.339",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
7
|
"repository": {
|
|
8
8
|
"type": "git",
|