@tsukilabs/nil-bindings 0.7.15 → 0.7.16

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/dist/Market.d.ts CHANGED
@@ -2,10 +2,10 @@
2
2
  //! SPDX-License-Identifier: AGPL-3.0-only
3
3
 
4
4
  import { MarketFee } from './MarketFee';
5
- import { MarketPrice } from './MarketPrice';
5
+ import { MarketPriceTable } from './MarketPriceTable';
6
6
  import { MarketVault } from './MarketVault';
7
7
  export type Market = {
8
8
  vault: MarketVault;
9
9
  fee: MarketFee;
10
- price: MarketPrice;
10
+ priceTable: MarketPriceTable;
11
11
  };
@@ -2,7 +2,7 @@
2
2
  //! SPDX-License-Identifier: AGPL-3.0-only
3
3
 
4
4
  import { Gold } from './Gold';
5
- export type MarketPrice = {
5
+ export type MarketPriceTable = {
6
6
  food: Gold;
7
7
  iron: Gold;
8
8
  stone: Gold;
@@ -0,0 +1,4 @@
1
+ //! Copyright (C) Call of Nil contributors
2
+ //! SPDX-License-Identifier: AGPL-3.0-only
3
+
4
+ export type ResourceId = "food" | "iron" | "stone" | "wood";
@@ -0,0 +1,4 @@
1
+ //! Copyright (C) Call of Nil contributors
2
+ //! SPDX-License-Identifier: AGPL-3.0-only
3
+
4
+ export type SiloResourceId = "food";
@@ -0,0 +1,4 @@
1
+ //! Copyright (C) Call of Nil contributors
2
+ //! SPDX-License-Identifier: AGPL-3.0-only
3
+
4
+ export type WarehouseResourceId = "iron" | "stone" | "wood";
package/dist/index.d.ts CHANGED
@@ -272,7 +272,7 @@ export type { ManeuverRequest } from './ManeuverRequest';
272
272
  export type { ManeuverState } from './ManeuverState';
273
273
  export type { Market } from './Market';
274
274
  export type { MarketFee } from './MarketFee';
275
- export type { MarketPrice } from './MarketPrice';
275
+ export type { MarketPriceTable } from './MarketPriceTable';
276
276
  export type { MarketVault } from './MarketVault';
277
277
  export type { Military } from './Military';
278
278
  export type { MineId } from './MineId';
@@ -315,6 +315,7 @@ export type { ReportId } from './ReportId';
315
315
  export type { ReportKind } from './ReportKind';
316
316
  export type { RequestManeuverRequest } from './RequestManeuverRequest';
317
317
  export type { RequestManeuverResponse } from './RequestManeuverResponse';
318
+ export type { ResourceId } from './ResourceId';
318
319
  export type { Resources } from './Resources';
319
320
  export type { Round } from './Round';
320
321
  export type { RoundDuration } from './RoundDuration';
@@ -336,6 +337,7 @@ export type { SetPlayerReadyRequest } from './SetPlayerReadyRequest';
336
337
  export type { SetPlayerReadyResponse } from './SetPlayerReadyResponse';
337
338
  export type { SetPlayerStatusRequest } from './SetPlayerStatusRequest';
338
339
  export type { Silo } from './Silo';
340
+ export type { SiloResourceId } from './SiloResourceId';
339
341
  export type { SimulateBattleRequest } from './SimulateBattleRequest';
340
342
  export type { SimulateBattleResponse } from './SimulateBattleResponse';
341
343
  export type { SpawnPlayerRequest } from './SpawnPlayerRequest';
@@ -376,6 +378,7 @@ export type { WallDefenseBonus } from './WallDefenseBonus';
376
378
  export type { WallStats } from './WallStats';
377
379
  export type { WallStatsTable } from './WallStatsTable';
378
380
  export type { Warehouse } from './Warehouse';
381
+ export type { WarehouseResourceId } from './WarehouseResourceId';
379
382
  export type { Wood } from './Wood';
380
383
  export type { Workforce } from './Workforce';
381
384
  export type { Workshop } from './Workshop';
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  //#region package.json
2
- var version = "0.7.15";
2
+ var version = "0.7.16";
3
3
  //#endregion
4
4
  //#region src/env_Var.ts
5
5
  var env_Var = /* @__PURE__ */ function(env_Var) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tsukilabs/nil-bindings",
3
- "version": "0.7.15",
3
+ "version": "0.7.16",
4
4
  "description": "TypeScript bindings for Call of Nil",
5
5
  "type": "module",
6
6
  "packageManager": "pnpm@11.20.0",