fleethub-core 1.8.11 → 1.8.12
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/node/fleethub_core.d.ts +74 -70
- package/node/fleethub_core.js +79 -129
- package/node/fleethub_core_bg.wasm +0 -0
- package/node/fleethub_core_bg.wasm.d.ts +29 -28
- package/package.json +2 -2
- package/pkg/fleethub_core.d.ts +74 -70
- package/pkg/fleethub_core_bg.js +79 -129
- package/pkg/fleethub_core_bg.wasm +0 -0
- package/pkg/fleethub_core_bg.wasm.d.ts +29 -28
package/node/fleethub_core.d.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
*/
|
|
5
|
-
export function set_panic_hook(): void;
|
|
6
3
|
/**
|
|
7
4
|
* @param {ShipConditions} value
|
|
8
5
|
* @returns {ShipConditions}
|
|
9
6
|
*/
|
|
10
7
|
export function parse_ship_conditions(value: ShipConditions): ShipConditions;
|
|
8
|
+
/**
|
|
9
|
+
*/
|
|
10
|
+
export function set_panic_hook(): void;
|
|
11
11
|
export interface ShipPosition {
|
|
12
12
|
org_type?: OrgType;
|
|
13
13
|
fleet_type?: FleetType;
|
|
@@ -150,7 +150,52 @@ export type SpeedGroup = "A" | "B1" | "B2" | "C";
|
|
|
150
150
|
|
|
151
151
|
export type SlotSizeVec = (number | null)[];
|
|
152
152
|
|
|
153
|
-
export
|
|
153
|
+
export interface NightFleetConditions {
|
|
154
|
+
night_contact_rank?: ContactRank | null;
|
|
155
|
+
starshell_index?: number | null;
|
|
156
|
+
searchlight_index?: number | null;
|
|
157
|
+
activates_large_searchlight?: boolean;
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
export interface NightConditions {
|
|
161
|
+
player?: NightFleetConditions;
|
|
162
|
+
enemy?: NightFleetConditions;
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
export interface BattleConditions {
|
|
166
|
+
org_type: OrgType;
|
|
167
|
+
role: Role;
|
|
168
|
+
ship_index: number;
|
|
169
|
+
fleet_len: number;
|
|
170
|
+
formation: Formation;
|
|
171
|
+
fleet_los_mod: number | null;
|
|
172
|
+
night_conditions: NightFleetConditions;
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
export interface MasterGear {
|
|
176
|
+
gear_id: number;
|
|
177
|
+
name: string;
|
|
178
|
+
types: GearTypeIdArray;
|
|
179
|
+
special_type?: number;
|
|
180
|
+
max_hp?: number;
|
|
181
|
+
firepower?: number;
|
|
182
|
+
armor?: number;
|
|
183
|
+
torpedo?: number;
|
|
184
|
+
anti_air?: number;
|
|
185
|
+
speed?: number;
|
|
186
|
+
bombing?: number;
|
|
187
|
+
asw?: number;
|
|
188
|
+
los?: number;
|
|
189
|
+
luck?: number;
|
|
190
|
+
accuracy?: number;
|
|
191
|
+
evasion?: number;
|
|
192
|
+
range?: number;
|
|
193
|
+
radius?: number;
|
|
194
|
+
cost?: number;
|
|
195
|
+
improvable?: boolean;
|
|
196
|
+
ship_anti_air_resist?: number;
|
|
197
|
+
fleet_anti_air_resist?: number;
|
|
198
|
+
}
|
|
154
199
|
|
|
155
200
|
export interface ActionReport<T> {
|
|
156
201
|
data: Record<string, AttackReport<T>>;
|
|
@@ -160,18 +205,6 @@ export interface ActionReport<T> {
|
|
|
160
205
|
|
|
161
206
|
export type GearTypeIdArray = [number, number, number, number, number];
|
|
162
207
|
|
|
163
|
-
export type SpecialEnemyType =
|
|
164
|
-
| "None"
|
|
165
|
-
| "SoftSkinned"
|
|
166
|
-
| "Pillbox"
|
|
167
|
-
| "IsolatedIsland"
|
|
168
|
-
| "SupplyDepot"
|
|
169
|
-
| "NewSupplyDepot"
|
|
170
|
-
| "HarbourSummerPrincess"
|
|
171
|
-
| "PtImp"
|
|
172
|
-
| "BattleshipSummerPrincess"
|
|
173
|
-
| "HeavyCruiserSummerPrincess";
|
|
174
|
-
|
|
175
208
|
export type Align = "Left" | "Right";
|
|
176
209
|
|
|
177
210
|
export type Side = "Player" | "Enemy";
|
|
@@ -211,6 +244,8 @@ export type ShipCategory =
|
|
|
211
244
|
| "Submarine"
|
|
212
245
|
| "AuxiliaryShip";
|
|
213
246
|
|
|
247
|
+
export type Role = "Main" | "Escort";
|
|
248
|
+
|
|
214
249
|
export interface MasterIBonuses {
|
|
215
250
|
shelling_power: MasterIBonusRule[];
|
|
216
251
|
shelling_accuracy: MasterIBonusRule[];
|
|
@@ -748,6 +783,18 @@ export interface AttackAnalyzerShipConfig
|
|
|
748
783
|
|
|
749
784
|
export type Histogram<K, V> = Partial<Record<K, V>>;
|
|
750
785
|
|
|
786
|
+
export type SpecialEnemyType =
|
|
787
|
+
| "None"
|
|
788
|
+
| "SoftSkinned"
|
|
789
|
+
| "Pillbox"
|
|
790
|
+
| "IsolatedIsland"
|
|
791
|
+
| "SupplyDepot"
|
|
792
|
+
| "NewSupplyDepot"
|
|
793
|
+
| "HarbourSummerPrincess"
|
|
794
|
+
| "PtImp"
|
|
795
|
+
| "BattleshipSummerPrincess"
|
|
796
|
+
| "HeavyCruiserSummerPrincess";
|
|
797
|
+
|
|
751
798
|
export type Formation = SingleFormation | CombinedFormation;
|
|
752
799
|
|
|
753
800
|
export type CombinedFormation =
|
|
@@ -786,13 +833,6 @@ export interface AttackPowerModifier {
|
|
|
786
833
|
b?: number;
|
|
787
834
|
}
|
|
788
835
|
|
|
789
|
-
export interface MasterBattleDefinitions {
|
|
790
|
-
formation: NestedFormationDef[];
|
|
791
|
-
anti_air_cutin: AntiAirCutinDef[];
|
|
792
|
-
day_cutin: DayCutinDef[];
|
|
793
|
-
night_cutin: NightCutinDef[];
|
|
794
|
-
}
|
|
795
|
-
|
|
796
836
|
export interface HitRate {
|
|
797
837
|
normal: number;
|
|
798
838
|
critical: number;
|
|
@@ -917,6 +957,13 @@ export interface EquipStype {
|
|
|
917
957
|
equip_type: number[];
|
|
918
958
|
}
|
|
919
959
|
|
|
960
|
+
export interface MasterBattleDefinitions {
|
|
961
|
+
formation: NestedFormationDef[];
|
|
962
|
+
anti_air_cutin: AntiAirCutinDef[];
|
|
963
|
+
day_cutin: DayCutinDef[];
|
|
964
|
+
night_cutin: NightCutinDef[];
|
|
965
|
+
}
|
|
966
|
+
|
|
920
967
|
export interface CompAnalyzerConfig {
|
|
921
968
|
engagement: Engagement;
|
|
922
969
|
formation: Formation;
|
|
@@ -944,53 +991,6 @@ export interface CompAnalysis {
|
|
|
944
991
|
anti_air: CompAntiAirAnalysis;
|
|
945
992
|
}
|
|
946
993
|
|
|
947
|
-
export interface NightFleetConditions {
|
|
948
|
-
night_contact_rank?: ContactRank | null;
|
|
949
|
-
starshell_index?: number | null;
|
|
950
|
-
searchlight_index?: number | null;
|
|
951
|
-
activates_large_searchlight?: boolean;
|
|
952
|
-
}
|
|
953
|
-
|
|
954
|
-
export interface NightConditions {
|
|
955
|
-
player?: NightFleetConditions;
|
|
956
|
-
enemy?: NightFleetConditions;
|
|
957
|
-
}
|
|
958
|
-
|
|
959
|
-
export interface BattleConditions {
|
|
960
|
-
org_type: OrgType;
|
|
961
|
-
role: Role;
|
|
962
|
-
ship_index: number;
|
|
963
|
-
fleet_len: number;
|
|
964
|
-
formation: Formation;
|
|
965
|
-
fleet_los_mod: number | null;
|
|
966
|
-
night_conditions: NightFleetConditions;
|
|
967
|
-
}
|
|
968
|
-
|
|
969
|
-
export interface MasterGear {
|
|
970
|
-
gear_id: number;
|
|
971
|
-
name: string;
|
|
972
|
-
types: GearTypeIdArray;
|
|
973
|
-
special_type?: number;
|
|
974
|
-
max_hp?: number;
|
|
975
|
-
firepower?: number;
|
|
976
|
-
armor?: number;
|
|
977
|
-
torpedo?: number;
|
|
978
|
-
anti_air?: number;
|
|
979
|
-
speed?: number;
|
|
980
|
-
bombing?: number;
|
|
981
|
-
asw?: number;
|
|
982
|
-
los?: number;
|
|
983
|
-
luck?: number;
|
|
984
|
-
accuracy?: number;
|
|
985
|
-
evasion?: number;
|
|
986
|
-
range?: number;
|
|
987
|
-
radius?: number;
|
|
988
|
-
cost?: number;
|
|
989
|
-
improvable?: boolean;
|
|
990
|
-
ship_anti_air_resist?: number;
|
|
991
|
-
fleet_anti_air_resist?: number;
|
|
992
|
-
}
|
|
993
|
-
|
|
994
994
|
export interface AttackReport<T> {
|
|
995
995
|
style: T;
|
|
996
996
|
proc_rate: number | null;
|
|
@@ -1880,6 +1880,10 @@ export class Ship {
|
|
|
1880
1880
|
* @returns {boolean}
|
|
1881
1881
|
*/
|
|
1882
1882
|
is_pt_imp(): boolean;
|
|
1883
|
+
/**
|
|
1884
|
+
* @returns {SpecialEnemyType}
|
|
1885
|
+
*/
|
|
1886
|
+
special_enemy_type(): SpecialEnemyType;
|
|
1883
1887
|
/**
|
|
1884
1888
|
* @returns {boolean}
|
|
1885
1889
|
*/
|
package/node/fleethub_core.js
CHANGED
|
@@ -113,34 +113,6 @@ function getInt32Memory0() {
|
|
|
113
113
|
}
|
|
114
114
|
return cachedInt32Memory0;
|
|
115
115
|
}
|
|
116
|
-
/**
|
|
117
|
-
*/
|
|
118
|
-
module.exports.set_panic_hook = function() {
|
|
119
|
-
wasm.set_panic_hook();
|
|
120
|
-
};
|
|
121
|
-
|
|
122
|
-
const u32CvtShim = new Uint32Array(2);
|
|
123
|
-
|
|
124
|
-
const uint64CvtShim = new BigUint64Array(u32CvtShim.buffer);
|
|
125
|
-
|
|
126
|
-
let cachedUint32Memory0 = new Uint32Array();
|
|
127
|
-
|
|
128
|
-
function getUint32Memory0() {
|
|
129
|
-
if (cachedUint32Memory0.byteLength === 0) {
|
|
130
|
-
cachedUint32Memory0 = new Uint32Array(wasm.memory.buffer);
|
|
131
|
-
}
|
|
132
|
-
return cachedUint32Memory0;
|
|
133
|
-
}
|
|
134
|
-
|
|
135
|
-
function getArrayJsValueFromWasm0(ptr, len) {
|
|
136
|
-
const mem = getUint32Memory0();
|
|
137
|
-
const slice = mem.subarray(ptr / 4, ptr / 4 + len);
|
|
138
|
-
const result = [];
|
|
139
|
-
for (let i = 0; i < slice.length; i++) {
|
|
140
|
-
result.push(takeObject(slice[i]));
|
|
141
|
-
}
|
|
142
|
-
return result;
|
|
143
|
-
}
|
|
144
116
|
|
|
145
117
|
let cachedFloat64Memory0 = new Float64Array();
|
|
146
118
|
|
|
@@ -178,6 +150,25 @@ function passArray16ToWasm0(arg, malloc) {
|
|
|
178
150
|
return ptr;
|
|
179
151
|
}
|
|
180
152
|
|
|
153
|
+
let cachedUint32Memory0 = new Uint32Array();
|
|
154
|
+
|
|
155
|
+
function getUint32Memory0() {
|
|
156
|
+
if (cachedUint32Memory0.byteLength === 0) {
|
|
157
|
+
cachedUint32Memory0 = new Uint32Array(wasm.memory.buffer);
|
|
158
|
+
}
|
|
159
|
+
return cachedUint32Memory0;
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
function getArrayJsValueFromWasm0(ptr, len) {
|
|
163
|
+
const mem = getUint32Memory0();
|
|
164
|
+
const slice = mem.subarray(ptr / 4, ptr / 4 + len);
|
|
165
|
+
const result = [];
|
|
166
|
+
for (let i = 0; i < slice.length; i++) {
|
|
167
|
+
result.push(takeObject(slice[i]));
|
|
168
|
+
}
|
|
169
|
+
return result;
|
|
170
|
+
}
|
|
171
|
+
|
|
181
172
|
function getArrayU16FromWasm0(ptr, len) {
|
|
182
173
|
return getUint16Memory0().subarray(ptr / 2, ptr / 2 + len);
|
|
183
174
|
}
|
|
@@ -200,6 +191,11 @@ function passArray8ToWasm0(arg, malloc) {
|
|
|
200
191
|
WASM_VECTOR_LEN = arg.length;
|
|
201
192
|
return ptr;
|
|
202
193
|
}
|
|
194
|
+
/**
|
|
195
|
+
*/
|
|
196
|
+
module.exports.set_panic_hook = function() {
|
|
197
|
+
wasm.set_panic_hook();
|
|
198
|
+
};
|
|
203
199
|
|
|
204
200
|
function handleError(f, args) {
|
|
205
201
|
try {
|
|
@@ -259,27 +255,14 @@ class AirSquadron {
|
|
|
259
255
|
* @returns {bigint}
|
|
260
256
|
*/
|
|
261
257
|
get hash() {
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
wasm.__wbg_get_airsquadron_hash(retptr, this.ptr);
|
|
265
|
-
var r0 = getInt32Memory0()[retptr / 4 + 0];
|
|
266
|
-
var r1 = getInt32Memory0()[retptr / 4 + 1];
|
|
267
|
-
u32CvtShim[0] = r0;
|
|
268
|
-
u32CvtShim[1] = r1;
|
|
269
|
-
const n0 = uint64CvtShim[0];
|
|
270
|
-
return n0;
|
|
271
|
-
} finally {
|
|
272
|
-
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
273
|
-
}
|
|
258
|
+
const ret = wasm.__wbg_get_airsquadron_hash(this.ptr);
|
|
259
|
+
return BigInt.asUintN(64, ret);
|
|
274
260
|
}
|
|
275
261
|
/**
|
|
276
262
|
* @param {bigint} arg0
|
|
277
263
|
*/
|
|
278
264
|
set hash(arg0) {
|
|
279
|
-
|
|
280
|
-
const low0 = u32CvtShim[0];
|
|
281
|
-
const high0 = u32CvtShim[1];
|
|
282
|
-
wasm.__wbg_set_airsquadron_hash(this.ptr, low0, high0);
|
|
265
|
+
wasm.__wbg_set_airsquadron_hash(this.ptr, arg0);
|
|
283
266
|
}
|
|
284
267
|
/**
|
|
285
268
|
* @returns {AirSquadronMode}
|
|
@@ -944,18 +927,8 @@ class Fleet {
|
|
|
944
927
|
* @returns {bigint}
|
|
945
928
|
*/
|
|
946
929
|
get hash() {
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
wasm.__wbg_get_fleet_hash(retptr, this.ptr);
|
|
950
|
-
var r0 = getInt32Memory0()[retptr / 4 + 0];
|
|
951
|
-
var r1 = getInt32Memory0()[retptr / 4 + 1];
|
|
952
|
-
u32CvtShim[0] = r0;
|
|
953
|
-
u32CvtShim[1] = r1;
|
|
954
|
-
const n0 = uint64CvtShim[0];
|
|
955
|
-
return n0;
|
|
956
|
-
} finally {
|
|
957
|
-
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
958
|
-
}
|
|
930
|
+
const ret = wasm.__wbg_get_fleet_hash(this.ptr);
|
|
931
|
+
return BigInt.asUintN(64, ret);
|
|
959
932
|
}
|
|
960
933
|
/**
|
|
961
934
|
* @returns {number}
|
|
@@ -1229,18 +1202,8 @@ class Gear {
|
|
|
1229
1202
|
* @returns {bigint}
|
|
1230
1203
|
*/
|
|
1231
1204
|
get hash() {
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
wasm.__wbg_get_airsquadron_hash(retptr, this.ptr);
|
|
1235
|
-
var r0 = getInt32Memory0()[retptr / 4 + 0];
|
|
1236
|
-
var r1 = getInt32Memory0()[retptr / 4 + 1];
|
|
1237
|
-
u32CvtShim[0] = r0;
|
|
1238
|
-
u32CvtShim[1] = r1;
|
|
1239
|
-
const n0 = uint64CvtShim[0];
|
|
1240
|
-
return n0;
|
|
1241
|
-
} finally {
|
|
1242
|
-
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
1243
|
-
}
|
|
1205
|
+
const ret = wasm.__wbg_get_airsquadron_hash(this.ptr);
|
|
1206
|
+
return BigInt.asUintN(64, ret);
|
|
1244
1207
|
}
|
|
1245
1208
|
/**
|
|
1246
1209
|
* @returns {number}
|
|
@@ -1721,18 +1684,8 @@ class Org {
|
|
|
1721
1684
|
* @returns {bigint}
|
|
1722
1685
|
*/
|
|
1723
1686
|
get hash() {
|
|
1724
|
-
|
|
1725
|
-
|
|
1726
|
-
wasm.__wbg_get_org_hash(retptr, this.ptr);
|
|
1727
|
-
var r0 = getInt32Memory0()[retptr / 4 + 0];
|
|
1728
|
-
var r1 = getInt32Memory0()[retptr / 4 + 1];
|
|
1729
|
-
u32CvtShim[0] = r0;
|
|
1730
|
-
u32CvtShim[1] = r1;
|
|
1731
|
-
const n0 = uint64CvtShim[0];
|
|
1732
|
-
return n0;
|
|
1733
|
-
} finally {
|
|
1734
|
-
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
1735
|
-
}
|
|
1687
|
+
const ret = wasm.__wbg_get_org_hash(this.ptr);
|
|
1688
|
+
return BigInt.asUintN(64, ret);
|
|
1736
1689
|
}
|
|
1737
1690
|
/**
|
|
1738
1691
|
* @returns {number}
|
|
@@ -2155,18 +2108,8 @@ class Ship {
|
|
|
2155
2108
|
* @returns {bigint}
|
|
2156
2109
|
*/
|
|
2157
2110
|
get hash() {
|
|
2158
|
-
|
|
2159
|
-
|
|
2160
|
-
wasm.__wbg_get_ship_hash(retptr, this.ptr);
|
|
2161
|
-
var r0 = getInt32Memory0()[retptr / 4 + 0];
|
|
2162
|
-
var r1 = getInt32Memory0()[retptr / 4 + 1];
|
|
2163
|
-
u32CvtShim[0] = r0;
|
|
2164
|
-
u32CvtShim[1] = r1;
|
|
2165
|
-
const n0 = uint64CvtShim[0];
|
|
2166
|
-
return n0;
|
|
2167
|
-
} finally {
|
|
2168
|
-
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
2169
|
-
}
|
|
2111
|
+
const ret = wasm.__wbg_get_ship_hash(this.ptr);
|
|
2112
|
+
return BigInt.asUintN(64, ret);
|
|
2170
2113
|
}
|
|
2171
2114
|
/**
|
|
2172
2115
|
* @returns {number}
|
|
@@ -2698,6 +2641,13 @@ class Ship {
|
|
|
2698
2641
|
return ret !== 0;
|
|
2699
2642
|
}
|
|
2700
2643
|
/**
|
|
2644
|
+
* @returns {SpecialEnemyType}
|
|
2645
|
+
*/
|
|
2646
|
+
special_enemy_type() {
|
|
2647
|
+
const ret = wasm.ship_special_enemy_type(this.ptr);
|
|
2648
|
+
return takeObject(ret);
|
|
2649
|
+
}
|
|
2650
|
+
/**
|
|
2701
2651
|
* @returns {boolean}
|
|
2702
2652
|
*/
|
|
2703
2653
|
is_attackable_by_torpedo() {
|
|
@@ -2912,27 +2862,27 @@ module.exports.__wbindgen_json_serialize = function(arg0, arg1) {
|
|
|
2912
2862
|
getInt32Memory0()[arg0 / 4 + 0] = ptr0;
|
|
2913
2863
|
};
|
|
2914
2864
|
|
|
2915
|
-
module.exports.
|
|
2865
|
+
module.exports.__wbg_createEquipmentBonuses_15500ac43151ffc3 = function(arg0, arg1) {
|
|
2916
2866
|
const ret = createEquipmentBonuses(takeObject(arg0), takeObject(arg1));
|
|
2917
2867
|
return addHeapObject(ret);
|
|
2918
2868
|
};
|
|
2919
2869
|
|
|
2920
|
-
module.exports.
|
|
2921
|
-
const ret =
|
|
2870
|
+
module.exports.__wbindgen_json_parse = function(arg0, arg1) {
|
|
2871
|
+
const ret = JSON.parse(getStringFromWasm0(arg0, arg1));
|
|
2922
2872
|
return addHeapObject(ret);
|
|
2923
2873
|
};
|
|
2924
2874
|
|
|
2925
|
-
module.exports.
|
|
2926
|
-
const ret =
|
|
2875
|
+
module.exports.__wbg_ship_new = function(arg0) {
|
|
2876
|
+
const ret = Ship.__wrap(arg0);
|
|
2927
2877
|
return addHeapObject(ret);
|
|
2928
2878
|
};
|
|
2929
2879
|
|
|
2930
|
-
module.exports.
|
|
2880
|
+
module.exports.__wbg_new_abda76e883ba8a5f = function() {
|
|
2931
2881
|
const ret = new Error();
|
|
2932
2882
|
return addHeapObject(ret);
|
|
2933
2883
|
};
|
|
2934
2884
|
|
|
2935
|
-
module.exports.
|
|
2885
|
+
module.exports.__wbg_stack_658279fe44541cf6 = function(arg0, arg1) {
|
|
2936
2886
|
const ret = getObject(arg1).stack;
|
|
2937
2887
|
const ptr0 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
2938
2888
|
const len0 = WASM_VECTOR_LEN;
|
|
@@ -2940,7 +2890,7 @@ module.exports.__wbg_stack_0ddaca5d1abfb52f = function(arg0, arg1) {
|
|
|
2940
2890
|
getInt32Memory0()[arg0 / 4 + 0] = ptr0;
|
|
2941
2891
|
};
|
|
2942
2892
|
|
|
2943
|
-
module.exports.
|
|
2893
|
+
module.exports.__wbg_error_f851667af71bcfc6 = function(arg0, arg1) {
|
|
2944
2894
|
try {
|
|
2945
2895
|
console.error(getStringFromWasm0(arg0, arg1));
|
|
2946
2896
|
} finally {
|
|
@@ -2948,15 +2898,7 @@ module.exports.__wbg_error_09919627ac0992f5 = function(arg0, arg1) {
|
|
|
2948
2898
|
}
|
|
2949
2899
|
};
|
|
2950
2900
|
|
|
2951
|
-
module.exports.
|
|
2952
|
-
getObject(arg0).randomFillSync(getArrayU8FromWasm0(arg1, arg2));
|
|
2953
|
-
}, arguments) };
|
|
2954
|
-
|
|
2955
|
-
module.exports.__wbg_getRandomValues_b14734aa289bc356 = function() { return handleError(function (arg0, arg1) {
|
|
2956
|
-
getObject(arg0).getRandomValues(getObject(arg1));
|
|
2957
|
-
}, arguments) };
|
|
2958
|
-
|
|
2959
|
-
module.exports.__wbg_process_e56fd54cf6319b6c = function(arg0) {
|
|
2901
|
+
module.exports.__wbg_process_0cc2ada8524d6f83 = function(arg0) {
|
|
2960
2902
|
const ret = getObject(arg0).process;
|
|
2961
2903
|
return addHeapObject(ret);
|
|
2962
2904
|
};
|
|
@@ -2967,12 +2909,12 @@ module.exports.__wbindgen_is_object = function(arg0) {
|
|
|
2967
2909
|
return ret;
|
|
2968
2910
|
};
|
|
2969
2911
|
|
|
2970
|
-
module.exports.
|
|
2912
|
+
module.exports.__wbg_versions_c11acceab27a6c87 = function(arg0) {
|
|
2971
2913
|
const ret = getObject(arg0).versions;
|
|
2972
2914
|
return addHeapObject(ret);
|
|
2973
2915
|
};
|
|
2974
2916
|
|
|
2975
|
-
module.exports.
|
|
2917
|
+
module.exports.__wbg_node_7ff1ce49caf23815 = function(arg0) {
|
|
2976
2918
|
const ret = getObject(arg0).node;
|
|
2977
2919
|
return addHeapObject(ret);
|
|
2978
2920
|
};
|
|
@@ -2982,37 +2924,45 @@ module.exports.__wbindgen_is_string = function(arg0) {
|
|
|
2982
2924
|
return ret;
|
|
2983
2925
|
};
|
|
2984
2926
|
|
|
2985
|
-
module.exports.
|
|
2927
|
+
module.exports.__wbg_static_accessor_NODE_MODULE_cf6401cc1091279e = function() {
|
|
2986
2928
|
const ret = module;
|
|
2987
2929
|
return addHeapObject(ret);
|
|
2988
2930
|
};
|
|
2989
2931
|
|
|
2990
|
-
module.exports.
|
|
2932
|
+
module.exports.__wbg_require_a746e79b322b9336 = function() { return handleError(function (arg0, arg1, arg2) {
|
|
2991
2933
|
const ret = getObject(arg0).require(getStringFromWasm0(arg1, arg2));
|
|
2992
2934
|
return addHeapObject(ret);
|
|
2993
2935
|
}, arguments) };
|
|
2994
2936
|
|
|
2995
|
-
module.exports.
|
|
2937
|
+
module.exports.__wbg_crypto_2036bed7c44c25e7 = function(arg0) {
|
|
2996
2938
|
const ret = getObject(arg0).crypto;
|
|
2997
2939
|
return addHeapObject(ret);
|
|
2998
2940
|
};
|
|
2999
2941
|
|
|
3000
|
-
module.exports.
|
|
2942
|
+
module.exports.__wbg_msCrypto_a21fc88caf1ecdc8 = function(arg0) {
|
|
3001
2943
|
const ret = getObject(arg0).msCrypto;
|
|
3002
2944
|
return addHeapObject(ret);
|
|
3003
2945
|
};
|
|
3004
2946
|
|
|
3005
|
-
module.exports.
|
|
2947
|
+
module.exports.__wbg_getRandomValues_b99eec4244a475bb = function() { return handleError(function (arg0, arg1) {
|
|
2948
|
+
getObject(arg0).getRandomValues(getObject(arg1));
|
|
2949
|
+
}, arguments) };
|
|
2950
|
+
|
|
2951
|
+
module.exports.__wbg_randomFillSync_065afffde01daa66 = function() { return handleError(function (arg0, arg1, arg2) {
|
|
2952
|
+
getObject(arg0).randomFillSync(getArrayU8FromWasm0(arg1, arg2));
|
|
2953
|
+
}, arguments) };
|
|
2954
|
+
|
|
2955
|
+
module.exports.__wbg_new_1d9a920c6bfc44a8 = function() {
|
|
3006
2956
|
const ret = new Array();
|
|
3007
2957
|
return addHeapObject(ret);
|
|
3008
2958
|
};
|
|
3009
2959
|
|
|
3010
|
-
module.exports.
|
|
2960
|
+
module.exports.__wbg_newnoargs_b5b063fc6c2f0376 = function(arg0, arg1) {
|
|
3011
2961
|
const ret = new Function(getStringFromWasm0(arg0, arg1));
|
|
3012
2962
|
return addHeapObject(ret);
|
|
3013
2963
|
};
|
|
3014
2964
|
|
|
3015
|
-
module.exports.
|
|
2965
|
+
module.exports.__wbg_call_97ae9d8645dc388b = function() { return handleError(function (arg0, arg1) {
|
|
3016
2966
|
const ret = getObject(arg0).call(getObject(arg1));
|
|
3017
2967
|
return addHeapObject(ret);
|
|
3018
2968
|
}, arguments) };
|
|
@@ -3022,22 +2972,22 @@ module.exports.__wbindgen_object_clone_ref = function(arg0) {
|
|
|
3022
2972
|
return addHeapObject(ret);
|
|
3023
2973
|
};
|
|
3024
2974
|
|
|
3025
|
-
module.exports.
|
|
2975
|
+
module.exports.__wbg_self_6d479506f72c6a71 = function() { return handleError(function () {
|
|
3026
2976
|
const ret = self.self;
|
|
3027
2977
|
return addHeapObject(ret);
|
|
3028
2978
|
}, arguments) };
|
|
3029
2979
|
|
|
3030
|
-
module.exports.
|
|
2980
|
+
module.exports.__wbg_window_f2557cc78490aceb = function() { return handleError(function () {
|
|
3031
2981
|
const ret = window.window;
|
|
3032
2982
|
return addHeapObject(ret);
|
|
3033
2983
|
}, arguments) };
|
|
3034
2984
|
|
|
3035
|
-
module.exports.
|
|
2985
|
+
module.exports.__wbg_globalThis_7f206bda628d5286 = function() { return handleError(function () {
|
|
3036
2986
|
const ret = globalThis.globalThis;
|
|
3037
2987
|
return addHeapObject(ret);
|
|
3038
2988
|
}, arguments) };
|
|
3039
2989
|
|
|
3040
|
-
module.exports.
|
|
2990
|
+
module.exports.__wbg_global_ba75c50d1cf384f4 = function() { return handleError(function () {
|
|
3041
2991
|
const ret = global.global;
|
|
3042
2992
|
return addHeapObject(ret);
|
|
3043
2993
|
}, arguments) };
|
|
@@ -3047,36 +2997,36 @@ module.exports.__wbindgen_is_undefined = function(arg0) {
|
|
|
3047
2997
|
return ret;
|
|
3048
2998
|
};
|
|
3049
2999
|
|
|
3050
|
-
module.exports.
|
|
3000
|
+
module.exports.__wbg_push_740e4b286702d964 = function(arg0, arg1) {
|
|
3051
3001
|
const ret = getObject(arg0).push(getObject(arg1));
|
|
3052
3002
|
return ret;
|
|
3053
3003
|
};
|
|
3054
3004
|
|
|
3055
|
-
module.exports.
|
|
3005
|
+
module.exports.__wbg_buffer_3f3d764d4747d564 = function(arg0) {
|
|
3056
3006
|
const ret = getObject(arg0).buffer;
|
|
3057
3007
|
return addHeapObject(ret);
|
|
3058
3008
|
};
|
|
3059
3009
|
|
|
3060
|
-
module.exports.
|
|
3010
|
+
module.exports.__wbg_new_8c3f0052272a457a = function(arg0) {
|
|
3061
3011
|
const ret = new Uint8Array(getObject(arg0));
|
|
3062
3012
|
return addHeapObject(ret);
|
|
3063
3013
|
};
|
|
3064
3014
|
|
|
3065
|
-
module.exports.
|
|
3015
|
+
module.exports.__wbg_set_83db9690f9353e79 = function(arg0, arg1, arg2) {
|
|
3066
3016
|
getObject(arg0).set(getObject(arg1), arg2 >>> 0);
|
|
3067
3017
|
};
|
|
3068
3018
|
|
|
3069
|
-
module.exports.
|
|
3019
|
+
module.exports.__wbg_length_9e1ae1900cb0fbd5 = function(arg0) {
|
|
3070
3020
|
const ret = getObject(arg0).length;
|
|
3071
3021
|
return ret;
|
|
3072
3022
|
};
|
|
3073
3023
|
|
|
3074
|
-
module.exports.
|
|
3024
|
+
module.exports.__wbg_newwithlength_f5933855e4f48a19 = function(arg0) {
|
|
3075
3025
|
const ret = new Uint8Array(arg0 >>> 0);
|
|
3076
3026
|
return addHeapObject(ret);
|
|
3077
3027
|
};
|
|
3078
3028
|
|
|
3079
|
-
module.exports.
|
|
3029
|
+
module.exports.__wbg_subarray_58ad4efbb5bcb886 = function(arg0, arg1, arg2) {
|
|
3080
3030
|
const ret = getObject(arg0).subarray(arg1 >>> 0, arg2 >>> 0);
|
|
3081
3031
|
return addHeapObject(ret);
|
|
3082
3032
|
};
|
|
Binary file
|