1
|
|
-var EXPORTED_SYMBOLS = ["set_panic_hook", "open_invite", "handle_new_lox_credential", "trust_promotion", "handle_trust_promotion", "trust_migration", "handle_trust_migration", "level_up", "handle_level_up", "issue_invite", "handle_issue_invite", "prepare_invite", "redeem_invite", "handle_redeem_invite", "check_blockage", "handle_check_blockage", "blockage_migration", "handle_blockage_migration", "get_last_upgrade_time", "get_trust_level", "get_invites_remaining", "get_issued_invite_expiry", "get_received_invite_expiry", "get_bridgelines_from_bucket", "invitation_is_trusted", "get_next_unlock", "init", "initSync"];
|
|
1
|
+var EXPORTED_SYMBOLS = ["set_panic_hook", "open_invite", "handle_new_lox_credential", "trust_promotion", "handle_trust_promotion", "trust_migration", "handle_trust_migration", "level_up", "handle_level_up", "issue_invite", "handle_issue_invite", "prepare_invite", "redeem_invite", "handle_redeem_invite", "check_blockage", "handle_check_blockage", "blockage_migration", "handle_blockage_migration", "update_cred", "handle_update_cred", "update_invite", "handle_update_invite", "get_last_upgrade_time", "get_trust_level", "get_invites_remaining", "get_issued_invite_expiry", "get_received_invite_expiry", "get_bridgelines_from_bucket", "invitation_is_trusted", "get_next_unlock", "check_lox_pubkeys_update", "check_invitation_pubkeys_update", "init", "initSync"];
|
2
|
2
|
|
3
|
3
|
let wasm;
|
4
|
4
|
let module;
|
... |
... |
@@ -57,52 +57,6 @@ function set_panic_hook() { |
57
|
57
|
|
58
|
58
|
let WASM_VECTOR_LEN = 0;
|
59
|
59
|
|
60
|
|
-function passArray8ToWasm0(arg, malloc) {
|
61
|
|
- const ptr = malloc(arg.length * 1, 1) >>> 0;
|
62
|
|
- getUint8Memory0().set(arg, ptr / 1);
|
63
|
|
- WASM_VECTOR_LEN = arg.length;
|
64
|
|
- return ptr;
|
65
|
|
-}
|
66
|
|
-
|
67
|
|
-let cachedInt32Memory0 = null;
|
68
|
|
-
|
69
|
|
-function getInt32Memory0() {
|
70
|
|
- if (cachedInt32Memory0 === null || cachedInt32Memory0.byteLength === 0) {
|
71
|
|
- cachedInt32Memory0 = new Int32Array(wasm.memory.buffer);
|
72
|
|
- }
|
73
|
|
- return cachedInt32Memory0;
|
74
|
|
-}
|
75
|
|
-/**
|
76
|
|
-* @param {Uint8Array} invite
|
77
|
|
-* @returns {string}
|
78
|
|
-*/
|
79
|
|
-function open_invite(invite) {
|
80
|
|
- let deferred3_0;
|
81
|
|
- let deferred3_1;
|
82
|
|
- try {
|
83
|
|
- const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
84
|
|
- const ptr0 = passArray8ToWasm0(invite, wasm.__wbindgen_malloc);
|
85
|
|
- const len0 = WASM_VECTOR_LEN;
|
86
|
|
- wasm.open_invite(retptr, ptr0, len0);
|
87
|
|
- var r0 = getInt32Memory0()[retptr / 4 + 0];
|
88
|
|
- var r1 = getInt32Memory0()[retptr / 4 + 1];
|
89
|
|
- var r2 = getInt32Memory0()[retptr / 4 + 2];
|
90
|
|
- var r3 = getInt32Memory0()[retptr / 4 + 3];
|
91
|
|
- var ptr2 = r0;
|
92
|
|
- var len2 = r1;
|
93
|
|
- if (r3) {
|
94
|
|
- ptr2 = 0; len2 = 0;
|
95
|
|
- throw takeObject(r2);
|
96
|
|
- }
|
97
|
|
- deferred3_0 = ptr2;
|
98
|
|
- deferred3_1 = len2;
|
99
|
|
- return getStringFromWasm0(ptr2, len2);
|
100
|
|
- } finally {
|
101
|
|
- wasm.__wbindgen_add_to_stack_pointer(16);
|
102
|
|
- wasm.__wbindgen_free(deferred3_0, deferred3_1, 1);
|
103
|
|
- }
|
104
|
|
-}
|
105
|
|
-
|
106
|
60
|
const cachedTextEncoder = (typeof TextEncoder !== 'undefined' ? new TextEncoder('utf-8') : { encode: () => { throw Error('TextEncoder not available') } } );
|
107
|
61
|
|
108
|
62
|
const encodeString = (typeof cachedTextEncoder.encodeInto === 'function'
|
... |
... |
@@ -150,11 +104,52 @@ function passStringToWasm0(arg, malloc, realloc) { |
150
|
104
|
const ret = encodeString(arg, view);
|
151
|
105
|
|
152
|
106
|
offset += ret.written;
|
|
107
|
+ ptr = realloc(ptr, len, offset, 1) >>> 0;
|
153
|
108
|
}
|
154
|
109
|
|
155
|
110
|
WASM_VECTOR_LEN = offset;
|
156
|
111
|
return ptr;
|
157
|
112
|
}
|
|
113
|
+
|
|
114
|
+let cachedInt32Memory0 = null;
|
|
115
|
+
|
|
116
|
+function getInt32Memory0() {
|
|
117
|
+ if (cachedInt32Memory0 === null || cachedInt32Memory0.byteLength === 0) {
|
|
118
|
+ cachedInt32Memory0 = new Int32Array(wasm.memory.buffer);
|
|
119
|
+ }
|
|
120
|
+ return cachedInt32Memory0;
|
|
121
|
+}
|
|
122
|
+/**
|
|
123
|
+* @param {string} base64_invite
|
|
124
|
+* @returns {string}
|
|
125
|
+*/
|
|
126
|
+function open_invite(base64_invite) {
|
|
127
|
+ let deferred3_0;
|
|
128
|
+ let deferred3_1;
|
|
129
|
+ try {
|
|
130
|
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
131
|
+ const ptr0 = passStringToWasm0(base64_invite, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
132
|
+ const len0 = WASM_VECTOR_LEN;
|
|
133
|
+ wasm.open_invite(retptr, ptr0, len0);
|
|
134
|
+ var r0 = getInt32Memory0()[retptr / 4 + 0];
|
|
135
|
+ var r1 = getInt32Memory0()[retptr / 4 + 1];
|
|
136
|
+ var r2 = getInt32Memory0()[retptr / 4 + 2];
|
|
137
|
+ var r3 = getInt32Memory0()[retptr / 4 + 3];
|
|
138
|
+ var ptr2 = r0;
|
|
139
|
+ var len2 = r1;
|
|
140
|
+ if (r3) {
|
|
141
|
+ ptr2 = 0; len2 = 0;
|
|
142
|
+ throw takeObject(r2);
|
|
143
|
+ }
|
|
144
|
+ deferred3_0 = ptr2;
|
|
145
|
+ deferred3_1 = len2;
|
|
146
|
+ return getStringFromWasm0(ptr2, len2);
|
|
147
|
+ } finally {
|
|
148
|
+ wasm.__wbindgen_add_to_stack_pointer(16);
|
|
149
|
+ wasm.__wbindgen_free(deferred3_0, deferred3_1, 1);
|
|
150
|
+ }
|
|
151
|
+}
|
|
152
|
+
|
158
|
153
|
/**
|
159
|
154
|
* @param {string} open_lox_result
|
160
|
155
|
* @param {string} open_lox_response
|
... |
... |
@@ -726,6 +721,148 @@ function handle_blockage_migration(blockage_migration_request, blockage_migratio |
726
|
721
|
}
|
727
|
722
|
}
|
728
|
723
|
|
|
724
|
+/**
|
|
725
|
+* @param {string} lox_cred
|
|
726
|
+* @param {string} lox_pub
|
|
727
|
+* @returns {string}
|
|
728
|
+*/
|
|
729
|
+function update_cred(lox_cred, lox_pub) {
|
|
730
|
+ let deferred4_0;
|
|
731
|
+ let deferred4_1;
|
|
732
|
+ try {
|
|
733
|
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
734
|
+ const ptr0 = passStringToWasm0(lox_cred, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
735
|
+ const len0 = WASM_VECTOR_LEN;
|
|
736
|
+ const ptr1 = passStringToWasm0(lox_pub, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
737
|
+ const len1 = WASM_VECTOR_LEN;
|
|
738
|
+ wasm.update_cred(retptr, ptr0, len0, ptr1, len1);
|
|
739
|
+ var r0 = getInt32Memory0()[retptr / 4 + 0];
|
|
740
|
+ var r1 = getInt32Memory0()[retptr / 4 + 1];
|
|
741
|
+ var r2 = getInt32Memory0()[retptr / 4 + 2];
|
|
742
|
+ var r3 = getInt32Memory0()[retptr / 4 + 3];
|
|
743
|
+ var ptr3 = r0;
|
|
744
|
+ var len3 = r1;
|
|
745
|
+ if (r3) {
|
|
746
|
+ ptr3 = 0; len3 = 0;
|
|
747
|
+ throw takeObject(r2);
|
|
748
|
+ }
|
|
749
|
+ deferred4_0 = ptr3;
|
|
750
|
+ deferred4_1 = len3;
|
|
751
|
+ return getStringFromWasm0(ptr3, len3);
|
|
752
|
+ } finally {
|
|
753
|
+ wasm.__wbindgen_add_to_stack_pointer(16);
|
|
754
|
+ wasm.__wbindgen_free(deferred4_0, deferred4_1, 1);
|
|
755
|
+ }
|
|
756
|
+}
|
|
757
|
+
|
|
758
|
+/**
|
|
759
|
+* @param {string} update_cred_request
|
|
760
|
+* @param {string} update_cred_response
|
|
761
|
+* @param {string} updated_lox_pub
|
|
762
|
+* @returns {string}
|
|
763
|
+*/
|
|
764
|
+function handle_update_cred(update_cred_request, update_cred_response, updated_lox_pub) {
|
|
765
|
+ let deferred5_0;
|
|
766
|
+ let deferred5_1;
|
|
767
|
+ try {
|
|
768
|
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
769
|
+ const ptr0 = passStringToWasm0(update_cred_request, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
770
|
+ const len0 = WASM_VECTOR_LEN;
|
|
771
|
+ const ptr1 = passStringToWasm0(update_cred_response, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
772
|
+ const len1 = WASM_VECTOR_LEN;
|
|
773
|
+ const ptr2 = passStringToWasm0(updated_lox_pub, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
774
|
+ const len2 = WASM_VECTOR_LEN;
|
|
775
|
+ wasm.handle_update_cred(retptr, ptr0, len0, ptr1, len1, ptr2, len2);
|
|
776
|
+ var r0 = getInt32Memory0()[retptr / 4 + 0];
|
|
777
|
+ var r1 = getInt32Memory0()[retptr / 4 + 1];
|
|
778
|
+ var r2 = getInt32Memory0()[retptr / 4 + 2];
|
|
779
|
+ var r3 = getInt32Memory0()[retptr / 4 + 3];
|
|
780
|
+ var ptr4 = r0;
|
|
781
|
+ var len4 = r1;
|
|
782
|
+ if (r3) {
|
|
783
|
+ ptr4 = 0; len4 = 0;
|
|
784
|
+ throw takeObject(r2);
|
|
785
|
+ }
|
|
786
|
+ deferred5_0 = ptr4;
|
|
787
|
+ deferred5_1 = len4;
|
|
788
|
+ return getStringFromWasm0(ptr4, len4);
|
|
789
|
+ } finally {
|
|
790
|
+ wasm.__wbindgen_add_to_stack_pointer(16);
|
|
791
|
+ wasm.__wbindgen_free(deferred5_0, deferred5_1, 1);
|
|
792
|
+ }
|
|
793
|
+}
|
|
794
|
+
|
|
795
|
+/**
|
|
796
|
+* @param {string} invite_cred
|
|
797
|
+* @param {string} lox_pub
|
|
798
|
+* @returns {string}
|
|
799
|
+*/
|
|
800
|
+function update_invite(invite_cred, lox_pub) {
|
|
801
|
+ let deferred4_0;
|
|
802
|
+ let deferred4_1;
|
|
803
|
+ try {
|
|
804
|
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
805
|
+ const ptr0 = passStringToWasm0(invite_cred, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
806
|
+ const len0 = WASM_VECTOR_LEN;
|
|
807
|
+ const ptr1 = passStringToWasm0(lox_pub, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
808
|
+ const len1 = WASM_VECTOR_LEN;
|
|
809
|
+ wasm.update_invite(retptr, ptr0, len0, ptr1, len1);
|
|
810
|
+ var r0 = getInt32Memory0()[retptr / 4 + 0];
|
|
811
|
+ var r1 = getInt32Memory0()[retptr / 4 + 1];
|
|
812
|
+ var r2 = getInt32Memory0()[retptr / 4 + 2];
|
|
813
|
+ var r3 = getInt32Memory0()[retptr / 4 + 3];
|
|
814
|
+ var ptr3 = r0;
|
|
815
|
+ var len3 = r1;
|
|
816
|
+ if (r3) {
|
|
817
|
+ ptr3 = 0; len3 = 0;
|
|
818
|
+ throw takeObject(r2);
|
|
819
|
+ }
|
|
820
|
+ deferred4_0 = ptr3;
|
|
821
|
+ deferred4_1 = len3;
|
|
822
|
+ return getStringFromWasm0(ptr3, len3);
|
|
823
|
+ } finally {
|
|
824
|
+ wasm.__wbindgen_add_to_stack_pointer(16);
|
|
825
|
+ wasm.__wbindgen_free(deferred4_0, deferred4_1, 1);
|
|
826
|
+ }
|
|
827
|
+}
|
|
828
|
+
|
|
829
|
+/**
|
|
830
|
+* @param {string} update_invite_request
|
|
831
|
+* @param {string} update_invite_response
|
|
832
|
+* @param {string} updated_lox_pub
|
|
833
|
+* @returns {string}
|
|
834
|
+*/
|
|
835
|
+function handle_update_invite(update_invite_request, update_invite_response, updated_lox_pub) {
|
|
836
|
+ let deferred5_0;
|
|
837
|
+ let deferred5_1;
|
|
838
|
+ try {
|
|
839
|
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
840
|
+ const ptr0 = passStringToWasm0(update_invite_request, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
841
|
+ const len0 = WASM_VECTOR_LEN;
|
|
842
|
+ const ptr1 = passStringToWasm0(update_invite_response, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
843
|
+ const len1 = WASM_VECTOR_LEN;
|
|
844
|
+ const ptr2 = passStringToWasm0(updated_lox_pub, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
845
|
+ const len2 = WASM_VECTOR_LEN;
|
|
846
|
+ wasm.handle_update_invite(retptr, ptr0, len0, ptr1, len1, ptr2, len2);
|
|
847
|
+ var r0 = getInt32Memory0()[retptr / 4 + 0];
|
|
848
|
+ var r1 = getInt32Memory0()[retptr / 4 + 1];
|
|
849
|
+ var r2 = getInt32Memory0()[retptr / 4 + 2];
|
|
850
|
+ var r3 = getInt32Memory0()[retptr / 4 + 3];
|
|
851
|
+ var ptr4 = r0;
|
|
852
|
+ var len4 = r1;
|
|
853
|
+ if (r3) {
|
|
854
|
+ ptr4 = 0; len4 = 0;
|
|
855
|
+ throw takeObject(r2);
|
|
856
|
+ }
|
|
857
|
+ deferred5_0 = ptr4;
|
|
858
|
+ deferred5_1 = len4;
|
|
859
|
+ return getStringFromWasm0(ptr4, len4);
|
|
860
|
+ } finally {
|
|
861
|
+ wasm.__wbindgen_add_to_stack_pointer(16);
|
|
862
|
+ wasm.__wbindgen_free(deferred5_0, deferred5_1, 1);
|
|
863
|
+ }
|
|
864
|
+}
|
|
865
|
+
|
729
|
866
|
/**
|
730
|
867
|
* @param {string} lox_cred_str
|
731
|
868
|
* @returns {string}
|
... |
... |
@@ -971,6 +1108,80 @@ function get_next_unlock(constants_str, lox_cred_str) { |
971
|
1108
|
}
|
972
|
1109
|
}
|
973
|
1110
|
|
|
1111
|
+/**
|
|
1112
|
+* @param {string} new_pubkeys_str
|
|
1113
|
+* @param {string} old_pubkeys_str
|
|
1114
|
+* @param {string} old_lox_cred
|
|
1115
|
+* @returns {string}
|
|
1116
|
+*/
|
|
1117
|
+function check_lox_pubkeys_update(new_pubkeys_str, old_pubkeys_str, old_lox_cred) {
|
|
1118
|
+ let deferred5_0;
|
|
1119
|
+ let deferred5_1;
|
|
1120
|
+ try {
|
|
1121
|
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
1122
|
+ const ptr0 = passStringToWasm0(new_pubkeys_str, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
1123
|
+ const len0 = WASM_VECTOR_LEN;
|
|
1124
|
+ const ptr1 = passStringToWasm0(old_pubkeys_str, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
1125
|
+ const len1 = WASM_VECTOR_LEN;
|
|
1126
|
+ const ptr2 = passStringToWasm0(old_lox_cred, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
1127
|
+ const len2 = WASM_VECTOR_LEN;
|
|
1128
|
+ wasm.check_lox_pubkeys_update(retptr, ptr0, len0, ptr1, len1, ptr2, len2);
|
|
1129
|
+ var r0 = getInt32Memory0()[retptr / 4 + 0];
|
|
1130
|
+ var r1 = getInt32Memory0()[retptr / 4 + 1];
|
|
1131
|
+ var r2 = getInt32Memory0()[retptr / 4 + 2];
|
|
1132
|
+ var r3 = getInt32Memory0()[retptr / 4 + 3];
|
|
1133
|
+ var ptr4 = r0;
|
|
1134
|
+ var len4 = r1;
|
|
1135
|
+ if (r3) {
|
|
1136
|
+ ptr4 = 0; len4 = 0;
|
|
1137
|
+ throw takeObject(r2);
|
|
1138
|
+ }
|
|
1139
|
+ deferred5_0 = ptr4;
|
|
1140
|
+ deferred5_1 = len4;
|
|
1141
|
+ return getStringFromWasm0(ptr4, len4);
|
|
1142
|
+ } finally {
|
|
1143
|
+ wasm.__wbindgen_add_to_stack_pointer(16);
|
|
1144
|
+ wasm.__wbindgen_free(deferred5_0, deferred5_1, 1);
|
|
1145
|
+ }
|
|
1146
|
+}
|
|
1147
|
+
|
|
1148
|
+/**
|
|
1149
|
+* @param {string} new_pubkeys_str
|
|
1150
|
+* @param {string} old_pubkeys_str
|
|
1151
|
+* @param {string} old_invite_cred
|
|
1152
|
+* @returns {string}
|
|
1153
|
+*/
|
|
1154
|
+function check_invitation_pubkeys_update(new_pubkeys_str, old_pubkeys_str, old_invite_cred) {
|
|
1155
|
+ let deferred5_0;
|
|
1156
|
+ let deferred5_1;
|
|
1157
|
+ try {
|
|
1158
|
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
1159
|
+ const ptr0 = passStringToWasm0(new_pubkeys_str, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
1160
|
+ const len0 = WASM_VECTOR_LEN;
|
|
1161
|
+ const ptr1 = passStringToWasm0(old_pubkeys_str, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
1162
|
+ const len1 = WASM_VECTOR_LEN;
|
|
1163
|
+ const ptr2 = passStringToWasm0(old_invite_cred, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
1164
|
+ const len2 = WASM_VECTOR_LEN;
|
|
1165
|
+ wasm.check_invitation_pubkeys_update(retptr, ptr0, len0, ptr1, len1, ptr2, len2);
|
|
1166
|
+ var r0 = getInt32Memory0()[retptr / 4 + 0];
|
|
1167
|
+ var r1 = getInt32Memory0()[retptr / 4 + 1];
|
|
1168
|
+ var r2 = getInt32Memory0()[retptr / 4 + 2];
|
|
1169
|
+ var r3 = getInt32Memory0()[retptr / 4 + 3];
|
|
1170
|
+ var ptr4 = r0;
|
|
1171
|
+ var len4 = r1;
|
|
1172
|
+ if (r3) {
|
|
1173
|
+ ptr4 = 0; len4 = 0;
|
|
1174
|
+ throw takeObject(r2);
|
|
1175
|
+ }
|
|
1176
|
+ deferred5_0 = ptr4;
|
|
1177
|
+ deferred5_1 = len4;
|
|
1178
|
+ return getStringFromWasm0(ptr4, len4);
|
|
1179
|
+ } finally {
|
|
1180
|
+ wasm.__wbindgen_add_to_stack_pointer(16);
|
|
1181
|
+ wasm.__wbindgen_free(deferred5_0, deferred5_1, 1);
|
|
1182
|
+ }
|
|
1183
|
+}
|
|
1184
|
+
|
974
|
1185
|
function handleError(f, args) {
|
975
|
1186
|
try {
|
976
|
1187
|
return f.apply(this, args);
|
... |
... |
@@ -1013,11 +1224,11 @@ async function __wbg_load(module, imports) { |
1013
|
1224
|
function __wbg_get_imports(window) {
|
1014
|
1225
|
const imports = {};
|
1015
|
1226
|
imports.wbg = {};
|
1016
|
|
- imports.wbg.__wbg_new0_622c21a64f3d83ea = function() {
|
|
1227
|
+ imports.wbg.__wbg_new0_7d84e5b2cd9fdc73 = function() {
|
1017
|
1228
|
const ret = new Date();
|
1018
|
1229
|
return addHeapObject(ret);
|
1019
|
1230
|
};
|
1020
|
|
- imports.wbg.__wbg_getTime_9272be78826033e1 = function(arg0) {
|
|
1231
|
+ imports.wbg.__wbg_getTime_2bc4375165f02d15 = function(arg0) {
|
1021
|
1232
|
const ret = getObject(arg0).getTime();
|
1022
|
1233
|
return ret;
|
1023
|
1234
|
};
|
... |
... |
@@ -1057,7 +1268,7 @@ function __wbg_get_imports(window) { |
1057
|
1268
|
const ret = getObject(arg0);
|
1058
|
1269
|
return addHeapObject(ret);
|
1059
|
1270
|
};
|
1060
|
|
- imports.wbg.__wbg_crypto_c48a774b022d20ac = function(arg0) {
|
|
1271
|
+ imports.wbg.__wbg_crypto_1d1f22824a6a080c = function(arg0) {
|
1061
|
1272
|
const ret = getObject(arg0).crypto;
|
1062
|
1273
|
return addHeapObject(ret);
|
1063
|
1274
|
};
|
... |
... |
@@ -1066,15 +1277,15 @@ function __wbg_get_imports(window) { |
1066
|
1277
|
const ret = typeof(val) === 'object' && val !== null;
|
1067
|
1278
|
return ret;
|
1068
|
1279
|
};
|
1069
|
|
- imports.wbg.__wbg_process_298734cf255a885d = function(arg0) {
|
|
1280
|
+ imports.wbg.__wbg_process_4a72847cc503995b = function(arg0) {
|
1070
|
1281
|
const ret = getObject(arg0).process;
|
1071
|
1282
|
return addHeapObject(ret);
|
1072
|
1283
|
};
|
1073
|
|
- imports.wbg.__wbg_versions_e2e78e134e3e5d01 = function(arg0) {
|
|
1284
|
+ imports.wbg.__wbg_versions_f686565e586dd935 = function(arg0) {
|
1074
|
1285
|
const ret = getObject(arg0).versions;
|
1075
|
1286
|
return addHeapObject(ret);
|
1076
|
1287
|
};
|
1077
|
|
- imports.wbg.__wbg_node_1cd7a5d853dbea79 = function(arg0) {
|
|
1288
|
+ imports.wbg.__wbg_node_104a2ff8d6ea03a2 = function(arg0) {
|
1078
|
1289
|
const ret = getObject(arg0).node;
|
1079
|
1290
|
return addHeapObject(ret);
|
1080
|
1291
|
};
|
... |
... |
@@ -1082,7 +1293,7 @@ function __wbg_get_imports(window) { |
1082
|
1293
|
const ret = typeof(getObject(arg0)) === 'string';
|
1083
|
1294
|
return ret;
|
1084
|
1295
|
};
|
1085
|
|
- imports.wbg.__wbg_require_8f08ceecec0f4fee = function() { return handleError(function () {
|
|
1296
|
+ imports.wbg.__wbg_require_cca90b1a94a0255b = function() { return handleError(function () {
|
1086
|
1297
|
const ret = module.require;
|
1087
|
1298
|
return addHeapObject(ret);
|
1088
|
1299
|
}, arguments) };
|
... |
... |
@@ -1090,31 +1301,31 @@ function __wbg_get_imports(window) { |
1090
|
1301
|
const ret = typeof(getObject(arg0)) === 'function';
|
1091
|
1302
|
return ret;
|
1092
|
1303
|
};
|
1093
|
|
- imports.wbg.__wbg_call_5da1969d7cd31ccd = function() { return handleError(function (arg0, arg1, arg2) {
|
|
1304
|
+ imports.wbg.__wbg_call_b3ca7c6051f9bec1 = function() { return handleError(function (arg0, arg1, arg2) {
|
1094
|
1305
|
const ret = getObject(arg0).call(getObject(arg1), getObject(arg2));
|
1095
|
1306
|
return addHeapObject(ret);
|
1096
|
1307
|
}, arguments) };
|
1097
|
|
- imports.wbg.__wbg_msCrypto_bcb970640f50a1e8 = function(arg0) {
|
|
1308
|
+ imports.wbg.__wbg_msCrypto_eb05e62b530a1508 = function(arg0) {
|
1098
|
1309
|
const ret = getObject(arg0).msCrypto;
|
1099
|
1310
|
return addHeapObject(ret);
|
1100
|
1311
|
};
|
1101
|
|
- imports.wbg.__wbg_newwithlength_6c2df9e2f3028c43 = function(arg0) {
|
|
1312
|
+ imports.wbg.__wbg_newwithlength_e9b4878cebadb3d3 = function(arg0) {
|
1102
|
1313
|
const ret = new Uint8Array(arg0 >>> 0);
|
1103
|
1314
|
return addHeapObject(ret);
|
1104
|
1315
|
};
|
1105
|
|
- imports.wbg.__wbg_self_f0e34d89f33b99fd = function() { return handleError(function () {
|
|
1316
|
+ imports.wbg.__wbg_self_ce0dbfc45cf2f5be = function() { return handleError(function () {
|
1106
|
1317
|
const ret = window;
|
1107
|
1318
|
return addHeapObject(ret);
|
1108
|
1319
|
}, arguments) };
|
1109
|
|
- imports.wbg.__wbg_window_d3b084224f4774d7 = function() { return handleError(function () {
|
|
1320
|
+ imports.wbg.__wbg_window_c6fb939a7f436783 = function() { return handleError(function () {
|
1110
|
1321
|
const ret = window.window;
|
1111
|
1322
|
return addHeapObject(ret);
|
1112
|
1323
|
}, arguments) };
|
1113
|
|
- imports.wbg.__wbg_globalThis_9caa27ff917c6860 = function() { return handleError(function () {
|
|
1324
|
+ imports.wbg.__wbg_globalThis_d1e6af4856ba331b = function() { return handleError(function () {
|
1114
|
1325
|
const ret = globalThis.globalThis;
|
1115
|
1326
|
return addHeapObject(ret);
|
1116
|
1327
|
}, arguments) };
|
1117
|
|
- imports.wbg.__wbg_global_35dfdd59a4da3e74 = function() { return handleError(function () {
|
|
1328
|
+ imports.wbg.__wbg_global_207b558942527489 = function() { return handleError(function () {
|
1118
|
1329
|
const ret = global.global;
|
1119
|
1330
|
return addHeapObject(ret);
|
1120
|
1331
|
}, arguments) };
|
... |
... |
@@ -1122,11 +1333,11 @@ function __wbg_get_imports(window) { |
1122
|
1333
|
const ret = getObject(arg0) === undefined;
|
1123
|
1334
|
return ret;
|
1124
|
1335
|
};
|
1125
|
|
- imports.wbg.__wbg_newnoargs_c62ea9419c21fbac = function(arg0, arg1) {
|
|
1336
|
+ imports.wbg.__wbg_newnoargs_e258087cd0daa0ea = function(arg0, arg1) {
|
1126
|
1337
|
const ret = new Function(getStringFromWasm0(arg0, arg1));
|
1127
|
1338
|
return addHeapObject(ret);
|
1128
|
1339
|
};
|
1129
|
|
- imports.wbg.__wbg_call_90c26b09837aba1c = function() { return handleError(function (arg0, arg1) {
|
|
1340
|
+ imports.wbg.__wbg_call_27c0f87801dedf93 = function() { return handleError(function (arg0, arg1) {
|
1130
|
1341
|
const ret = getObject(arg0).call(getObject(arg1));
|
1131
|
1342
|
return addHeapObject(ret);
|
1132
|
1343
|
}, arguments) };
|
... |
... |
@@ -1134,29 +1345,29 @@ function __wbg_get_imports(window) { |
1134
|
1345
|
const ret = wasm.memory;
|
1135
|
1346
|
return addHeapObject(ret);
|
1136
|
1347
|
};
|
1137
|
|
- imports.wbg.__wbg_buffer_a448f833075b71ba = function(arg0) {
|
|
1348
|
+ imports.wbg.__wbg_buffer_12d079cc21e14bdb = function(arg0) {
|
1138
|
1349
|
const ret = getObject(arg0).buffer;
|
1139
|
1350
|
return addHeapObject(ret);
|
1140
|
1351
|
};
|
1141
|
|
- imports.wbg.__wbg_newwithbyteoffsetandlength_d0482f893617af71 = function(arg0, arg1, arg2) {
|
|
1352
|
+ imports.wbg.__wbg_newwithbyteoffsetandlength_aa4a17c33a06e5cb = function(arg0, arg1, arg2) {
|
1142
|
1353
|
const ret = new Uint8Array(getObject(arg0), arg1 >>> 0, arg2 >>> 0);
|
1143
|
1354
|
return addHeapObject(ret);
|
1144
|
1355
|
};
|
1145
|
|
- imports.wbg.__wbg_randomFillSync_dc1e9a60c158336d = function() { return handleError(function (arg0, arg1) {
|
|
1356
|
+ imports.wbg.__wbg_randomFillSync_5c9c955aa56b6049 = function() { return handleError(function (arg0, arg1) {
|
1146
|
1357
|
getObject(arg0).randomFillSync(takeObject(arg1));
|
1147
|
1358
|
}, arguments) };
|
1148
|
|
- imports.wbg.__wbg_subarray_2e940e41c0f5a1d9 = function(arg0, arg1, arg2) {
|
|
1359
|
+ imports.wbg.__wbg_subarray_a1f73cd4b5b42fe1 = function(arg0, arg1, arg2) {
|
1149
|
1360
|
const ret = getObject(arg0).subarray(arg1 >>> 0, arg2 >>> 0);
|
1150
|
1361
|
return addHeapObject(ret);
|
1151
|
1362
|
};
|
1152
|
|
- imports.wbg.__wbg_getRandomValues_37fa2ca9e4e07fab = function() { return handleError(function (arg0, arg1) {
|
|
1363
|
+ imports.wbg.__wbg_getRandomValues_3aa56aa6edec874c = function() { return handleError(function (arg0, arg1) {
|
1153
|
1364
|
getObject(arg0).getRandomValues(getObject(arg1));
|
1154
|
1365
|
}, arguments) };
|
1155
|
|
- imports.wbg.__wbg_new_8f67e318f15d7254 = function(arg0) {
|
|
1366
|
+ imports.wbg.__wbg_new_63b92bc8671ed464 = function(arg0) {
|
1156
|
1367
|
const ret = new Uint8Array(getObject(arg0));
|
1157
|
1368
|
return addHeapObject(ret);
|
1158
|
1369
|
};
|
1159
|
|
- imports.wbg.__wbg_set_2357bf09366ee480 = function(arg0, arg1, arg2) {
|
|
1370
|
+ imports.wbg.__wbg_set_a47bac70306a19a7 = function(arg0, arg1, arg2) {
|
1160
|
1371
|
getObject(arg0).set(getObject(arg1), arg2 >>> 0);
|
1161
|
1372
|
};
|
1162
|
1373
|
imports.wbg.__wbindgen_throw = function(arg0, arg1) {
|