fleethub-core 1.10.12 → 1.10.13

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.
@@ -598,6 +598,13 @@ export interface CustomPowerModifiers {
598
598
  historical_mod?: AttackPowerModifier;
599
599
  }
600
600
 
601
+ export interface ShipPosition {
602
+ org_type?: OrgType;
603
+ fleet_type?: FleetType;
604
+ fleet_len?: number;
605
+ index?: number;
606
+ }
607
+
601
608
  export type CompiledEvaler = string;
602
609
 
603
610
  export interface MasterData extends MasterBattleDefinitions {
@@ -762,13 +769,6 @@ export type OrgType =
762
769
  | "EnemySingle"
763
770
  | "EnemyCombined";
764
771
 
765
- export interface ShipPosition {
766
- org_type?: OrgType;
767
- fleet_type?: FleetType;
768
- fleet_len?: number;
769
- index?: number;
770
- }
771
-
772
772
  export type SpecialEnemyType =
773
773
  | "None"
774
774
  | "SoftSkinned"
@@ -899,6 +899,24 @@ export interface EBonuses {
899
899
  range: number;
900
900
  }
901
901
 
902
+ export interface CompAntiAirAnalysis {
903
+ fleet_adjusted_anti_air: number;
904
+ ships: AntiAirReport[];
905
+ anti_air_cutin_chance: [number, number][];
906
+ }
907
+
908
+ export interface AntiAirReport {
909
+ ship_id: number;
910
+ role: Role;
911
+ index: number;
912
+ adjusted_anti_air: number | null;
913
+ proportional_shotdown_rate: number | null;
914
+ fixed_shotdown_number: number | null;
915
+ guaranteed: number | null;
916
+ anti_air_cutin_chance: [number, number][];
917
+ anti_air_propellant_barrage_chance: number | null;
918
+ }
919
+
902
920
  export interface ShellingStyle {
903
921
  tag: "ShellingStyle";
904
922
  attack_type: ShellingType;
@@ -936,22 +954,6 @@ export interface SupportShellingStyle {
936
954
  attack_type: SupportShellingType;
937
955
  }
938
956
 
939
- export type SingleFormation =
940
- | "LineAhead"
941
- | "DoubleLine"
942
- | "Diamond"
943
- | "Echelon"
944
- | "LineAbreast"
945
- | "Vanguard";
946
-
947
- export type CombinedFormation =
948
- | "Cruising1"
949
- | "Cruising2"
950
- | "Cruising3"
951
- | "Cruising4";
952
-
953
- export type Formation = SingleFormation | CombinedFormation;
954
-
955
957
  export interface DamageReport {
956
958
  miss_damage_min: number;
957
959
  miss_damage_max: number;
@@ -998,23 +1000,21 @@ export interface AttackAnalyzerShipConfig
998
1000
  fleet_los_mod?: number | null;
999
1001
  }
1000
1002
 
1001
- export interface CompAntiAirAnalysis {
1002
- fleet_adjusted_anti_air: number;
1003
- ships: AntiAirReport[];
1004
- anti_air_cutin_chance: [number, number][];
1005
- }
1003
+ export type SingleFormation =
1004
+ | "LineAhead"
1005
+ | "DoubleLine"
1006
+ | "Diamond"
1007
+ | "Echelon"
1008
+ | "LineAbreast"
1009
+ | "Vanguard";
1006
1010
 
1007
- export interface AntiAirReport {
1008
- ship_id: number;
1009
- role: Role;
1010
- index: number;
1011
- adjusted_anti_air: number | null;
1012
- proportional_shotdown_rate: number | null;
1013
- fixed_shotdown_number: number | null;
1014
- guaranteed: number | null;
1015
- anti_air_cutin_chance: [number, number][];
1016
- anti_air_propellant_barrage_chance: number | null;
1017
- }
1011
+ export type CombinedFormation =
1012
+ | "Cruising1"
1013
+ | "Cruising2"
1014
+ | "Cruising3"
1015
+ | "Cruising4";
1016
+
1017
+ export type Formation = SingleFormation | CombinedFormation;
1018
1018
 
1019
1019
  export type NodeId = string;
1020
1020
 
@@ -2898,7 +2898,7 @@ module.exports.__wbindgen_is_undefined = function(arg0) {
2898
2898
  return ret;
2899
2899
  };
2900
2900
 
2901
- module.exports.__wbg_createEquipmentBonuses_eabaf914ffa2c586 = function(arg0, arg1) {
2901
+ module.exports.__wbg_createEquipmentBonuses_04e2a613eb71208e = function(arg0, arg1) {
2902
2902
  const ret = createEquipmentBonuses(takeObject(arg0), takeObject(arg1));
2903
2903
  return addHeapObject(ret);
2904
2904
  };
@@ -2924,16 +2924,16 @@ module.exports.__wbg_error_f851667af71bcfc6 = function(arg0, arg1) {
2924
2924
  }
2925
2925
  };
2926
2926
 
2927
- module.exports.__wbg_randomFillSync_065afffde01daa66 = function() { return handleError(function (arg0, arg1, arg2) {
2927
+ module.exports.__wbg_randomFillSync_6894564c2c334c42 = function() { return handleError(function (arg0, arg1, arg2) {
2928
2928
  getObject(arg0).randomFillSync(getArrayU8FromWasm0(arg1, arg2));
2929
2929
  }, arguments) };
2930
2930
 
2931
- module.exports.__wbg_getRandomValues_b99eec4244a475bb = function() { return handleError(function (arg0, arg1) {
2931
+ module.exports.__wbg_getRandomValues_805f1c3d65988a5a = function() { return handleError(function (arg0, arg1) {
2932
2932
  getObject(arg0).getRandomValues(getObject(arg1));
2933
2933
  }, arguments) };
2934
2934
 
2935
- module.exports.__wbg_process_0cc2ada8524d6f83 = function(arg0) {
2936
- const ret = getObject(arg0).process;
2935
+ module.exports.__wbg_crypto_e1d53a1d73fb10b8 = function(arg0) {
2936
+ const ret = getObject(arg0).crypto;
2937
2937
  return addHeapObject(ret);
2938
2938
  };
2939
2939
 
@@ -2943,12 +2943,17 @@ module.exports.__wbindgen_is_object = function(arg0) {
2943
2943
  return ret;
2944
2944
  };
2945
2945
 
2946
- module.exports.__wbg_versions_c11acceab27a6c87 = function(arg0) {
2946
+ module.exports.__wbg_process_038c26bf42b093f8 = function(arg0) {
2947
+ const ret = getObject(arg0).process;
2948
+ return addHeapObject(ret);
2949
+ };
2950
+
2951
+ module.exports.__wbg_versions_ab37218d2f0b24a8 = function(arg0) {
2947
2952
  const ret = getObject(arg0).versions;
2948
2953
  return addHeapObject(ret);
2949
2954
  };
2950
2955
 
2951
- module.exports.__wbg_node_7ff1ce49caf23815 = function(arg0) {
2956
+ module.exports.__wbg_node_080f4b19d15bc1fe = function(arg0) {
2952
2957
  const ret = getObject(arg0).node;
2953
2958
  return addHeapObject(ret);
2954
2959
  };
@@ -2958,22 +2963,17 @@ module.exports.__wbindgen_is_string = function(arg0) {
2958
2963
  return ret;
2959
2964
  };
2960
2965
 
2961
- module.exports.__wbg_static_accessor_NODE_MODULE_cf6401cc1091279e = function() {
2962
- const ret = module;
2963
- return addHeapObject(ret);
2964
- };
2965
-
2966
- module.exports.__wbg_require_a746e79b322b9336 = function() { return handleError(function (arg0, arg1, arg2) {
2967
- const ret = getObject(arg0).require(getStringFromWasm0(arg1, arg2));
2966
+ module.exports.__wbg_require_78a3dcfbdba9cbce = function() { return handleError(function () {
2967
+ const ret = module.require;
2968
2968
  return addHeapObject(ret);
2969
2969
  }, arguments) };
2970
2970
 
2971
- module.exports.__wbg_crypto_2036bed7c44c25e7 = function(arg0) {
2972
- const ret = getObject(arg0).crypto;
2973
- return addHeapObject(ret);
2971
+ module.exports.__wbindgen_is_function = function(arg0) {
2972
+ const ret = typeof(getObject(arg0)) === 'function';
2973
+ return ret;
2974
2974
  };
2975
2975
 
2976
- module.exports.__wbg_msCrypto_a21fc88caf1ecdc8 = function(arg0) {
2976
+ module.exports.__wbg_msCrypto_6e7d3e1f92610cbb = function(arg0) {
2977
2977
  const ret = getObject(arg0).msCrypto;
2978
2978
  return addHeapObject(ret);
2979
2979
  };
@@ -3027,6 +3027,11 @@ module.exports.__wbg_push_740e4b286702d964 = function(arg0, arg1) {
3027
3027
  return ret;
3028
3028
  };
3029
3029
 
3030
+ module.exports.__wbg_call_168da88779e35f61 = function() { return handleError(function (arg0, arg1, arg2) {
3031
+ const ret = getObject(arg0).call(getObject(arg1), getObject(arg2));
3032
+ return addHeapObject(ret);
3033
+ }, arguments) };
3034
+
3030
3035
  module.exports.__wbg_buffer_3f3d764d4747d564 = function(arg0) {
3031
3036
  const ret = getObject(arg0).buffer;
3032
3037
  return addHeapObject(ret);
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fleethub-core",
3
- "version": "1.10.12",
3
+ "version": "1.10.13",
4
4
  "license": "UNLICENSED",
5
5
  "sideEffects": false,
6
6
  "exports": {
@@ -598,6 +598,13 @@ export interface CustomPowerModifiers {
598
598
  historical_mod?: AttackPowerModifier;
599
599
  }
600
600
 
601
+ export interface ShipPosition {
602
+ org_type?: OrgType;
603
+ fleet_type?: FleetType;
604
+ fleet_len?: number;
605
+ index?: number;
606
+ }
607
+
601
608
  export type CompiledEvaler = string;
602
609
 
603
610
  export interface MasterData extends MasterBattleDefinitions {
@@ -762,13 +769,6 @@ export type OrgType =
762
769
  | "EnemySingle"
763
770
  | "EnemyCombined";
764
771
 
765
- export interface ShipPosition {
766
- org_type?: OrgType;
767
- fleet_type?: FleetType;
768
- fleet_len?: number;
769
- index?: number;
770
- }
771
-
772
772
  export type SpecialEnemyType =
773
773
  | "None"
774
774
  | "SoftSkinned"
@@ -899,6 +899,24 @@ export interface EBonuses {
899
899
  range: number;
900
900
  }
901
901
 
902
+ export interface CompAntiAirAnalysis {
903
+ fleet_adjusted_anti_air: number;
904
+ ships: AntiAirReport[];
905
+ anti_air_cutin_chance: [number, number][];
906
+ }
907
+
908
+ export interface AntiAirReport {
909
+ ship_id: number;
910
+ role: Role;
911
+ index: number;
912
+ adjusted_anti_air: number | null;
913
+ proportional_shotdown_rate: number | null;
914
+ fixed_shotdown_number: number | null;
915
+ guaranteed: number | null;
916
+ anti_air_cutin_chance: [number, number][];
917
+ anti_air_propellant_barrage_chance: number | null;
918
+ }
919
+
902
920
  export interface ShellingStyle {
903
921
  tag: "ShellingStyle";
904
922
  attack_type: ShellingType;
@@ -936,22 +954,6 @@ export interface SupportShellingStyle {
936
954
  attack_type: SupportShellingType;
937
955
  }
938
956
 
939
- export type SingleFormation =
940
- | "LineAhead"
941
- | "DoubleLine"
942
- | "Diamond"
943
- | "Echelon"
944
- | "LineAbreast"
945
- | "Vanguard";
946
-
947
- export type CombinedFormation =
948
- | "Cruising1"
949
- | "Cruising2"
950
- | "Cruising3"
951
- | "Cruising4";
952
-
953
- export type Formation = SingleFormation | CombinedFormation;
954
-
955
957
  export interface DamageReport {
956
958
  miss_damage_min: number;
957
959
  miss_damage_max: number;
@@ -998,23 +1000,21 @@ export interface AttackAnalyzerShipConfig
998
1000
  fleet_los_mod?: number | null;
999
1001
  }
1000
1002
 
1001
- export interface CompAntiAirAnalysis {
1002
- fleet_adjusted_anti_air: number;
1003
- ships: AntiAirReport[];
1004
- anti_air_cutin_chance: [number, number][];
1005
- }
1003
+ export type SingleFormation =
1004
+ | "LineAhead"
1005
+ | "DoubleLine"
1006
+ | "Diamond"
1007
+ | "Echelon"
1008
+ | "LineAbreast"
1009
+ | "Vanguard";
1006
1010
 
1007
- export interface AntiAirReport {
1008
- ship_id: number;
1009
- role: Role;
1010
- index: number;
1011
- adjusted_anti_air: number | null;
1012
- proportional_shotdown_rate: number | null;
1013
- fixed_shotdown_number: number | null;
1014
- guaranteed: number | null;
1015
- anti_air_cutin_chance: [number, number][];
1016
- anti_air_propellant_barrage_chance: number | null;
1017
- }
1011
+ export type CombinedFormation =
1012
+ | "Cruising1"
1013
+ | "Cruising2"
1014
+ | "Cruising3"
1015
+ | "Cruising4";
1016
+
1017
+ export type Formation = SingleFormation | CombinedFormation;
1018
1018
 
1019
1019
  export type NodeId = string;
1020
1020
 
@@ -2891,7 +2891,7 @@ export function __wbindgen_is_undefined(arg0) {
2891
2891
  return ret;
2892
2892
  };
2893
2893
 
2894
- export function __wbg_createEquipmentBonuses_eabaf914ffa2c586(arg0, arg1) {
2894
+ export function __wbg_createEquipmentBonuses_04e2a613eb71208e(arg0, arg1) {
2895
2895
  const ret = createEquipmentBonuses(takeObject(arg0), takeObject(arg1));
2896
2896
  return addHeapObject(ret);
2897
2897
  };
@@ -2917,16 +2917,16 @@ export function __wbg_error_f851667af71bcfc6(arg0, arg1) {
2917
2917
  }
2918
2918
  };
2919
2919
 
2920
- export function __wbg_randomFillSync_065afffde01daa66() { return handleError(function (arg0, arg1, arg2) {
2920
+ export function __wbg_randomFillSync_6894564c2c334c42() { return handleError(function (arg0, arg1, arg2) {
2921
2921
  getObject(arg0).randomFillSync(getArrayU8FromWasm0(arg1, arg2));
2922
2922
  }, arguments) };
2923
2923
 
2924
- export function __wbg_getRandomValues_b99eec4244a475bb() { return handleError(function (arg0, arg1) {
2924
+ export function __wbg_getRandomValues_805f1c3d65988a5a() { return handleError(function (arg0, arg1) {
2925
2925
  getObject(arg0).getRandomValues(getObject(arg1));
2926
2926
  }, arguments) };
2927
2927
 
2928
- export function __wbg_process_0cc2ada8524d6f83(arg0) {
2929
- const ret = getObject(arg0).process;
2928
+ export function __wbg_crypto_e1d53a1d73fb10b8(arg0) {
2929
+ const ret = getObject(arg0).crypto;
2930
2930
  return addHeapObject(ret);
2931
2931
  };
2932
2932
 
@@ -2936,12 +2936,17 @@ export function __wbindgen_is_object(arg0) {
2936
2936
  return ret;
2937
2937
  };
2938
2938
 
2939
- export function __wbg_versions_c11acceab27a6c87(arg0) {
2939
+ export function __wbg_process_038c26bf42b093f8(arg0) {
2940
+ const ret = getObject(arg0).process;
2941
+ return addHeapObject(ret);
2942
+ };
2943
+
2944
+ export function __wbg_versions_ab37218d2f0b24a8(arg0) {
2940
2945
  const ret = getObject(arg0).versions;
2941
2946
  return addHeapObject(ret);
2942
2947
  };
2943
2948
 
2944
- export function __wbg_node_7ff1ce49caf23815(arg0) {
2949
+ export function __wbg_node_080f4b19d15bc1fe(arg0) {
2945
2950
  const ret = getObject(arg0).node;
2946
2951
  return addHeapObject(ret);
2947
2952
  };
@@ -2951,22 +2956,17 @@ export function __wbindgen_is_string(arg0) {
2951
2956
  return ret;
2952
2957
  };
2953
2958
 
2954
- export function __wbg_static_accessor_NODE_MODULE_cf6401cc1091279e() {
2955
- const ret = module;
2956
- return addHeapObject(ret);
2957
- };
2958
-
2959
- export function __wbg_require_a746e79b322b9336() { return handleError(function (arg0, arg1, arg2) {
2960
- const ret = getObject(arg0).require(getStringFromWasm0(arg1, arg2));
2959
+ export function __wbg_require_78a3dcfbdba9cbce() { return handleError(function () {
2960
+ const ret = module.require;
2961
2961
  return addHeapObject(ret);
2962
2962
  }, arguments) };
2963
2963
 
2964
- export function __wbg_crypto_2036bed7c44c25e7(arg0) {
2965
- const ret = getObject(arg0).crypto;
2966
- return addHeapObject(ret);
2964
+ export function __wbindgen_is_function(arg0) {
2965
+ const ret = typeof(getObject(arg0)) === 'function';
2966
+ return ret;
2967
2967
  };
2968
2968
 
2969
- export function __wbg_msCrypto_a21fc88caf1ecdc8(arg0) {
2969
+ export function __wbg_msCrypto_6e7d3e1f92610cbb(arg0) {
2970
2970
  const ret = getObject(arg0).msCrypto;
2971
2971
  return addHeapObject(ret);
2972
2972
  };
@@ -3020,6 +3020,11 @@ export function __wbg_push_740e4b286702d964(arg0, arg1) {
3020
3020
  return ret;
3021
3021
  };
3022
3022
 
3023
+ export function __wbg_call_168da88779e35f61() { return handleError(function (arg0, arg1, arg2) {
3024
+ const ret = getObject(arg0).call(getObject(arg1), getObject(arg2));
3025
+ return addHeapObject(ret);
3026
+ }, arguments) };
3027
+
3023
3028
  export function __wbg_buffer_3f3d764d4747d564(arg0) {
3024
3029
  const ret = getObject(arg0).buffer;
3025
3030
  return addHeapObject(ret);
Binary file