@tsukilabs/nil-bindings 0.7.3 → 0.7.5

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 CHANGED
@@ -1,3 +1,3 @@
1
1
  # nil-bindings
2
2
 
3
- See: https://github.com/tsukilabs/nil
3
+ API Reference: https://nil.dev.br/js-docs/bindings
@@ -6,11 +6,11 @@ import { PlayerId } from './PlayerId';
6
6
  import { ServerAddr } from './ServerAddr';
7
7
  import { Token } from './Token';
8
8
  import { WorldId } from './WorldId';
9
- export type ffi_UpdateClient = {
9
+ export type ClientOptions = {
10
10
  server: ServerAddr;
11
- world_id?: WorldId | null;
12
- world_password?: Password | null;
13
- player_id?: PlayerId | null;
14
- player_password?: Password | null;
15
- authorization_token?: Token | null;
11
+ worldId?: WorldId | null;
12
+ worldPassword?: Password | null;
13
+ playerId?: PlayerId | null;
14
+ playerPassword?: Password | null;
15
+ authorizationToken?: Token | null;
16
16
  };
package/dist/index.d.ts CHANGED
@@ -2,6 +2,7 @@
2
2
  //! SPDX-License-Identifier: AGPL-3.0-only
3
3
 
4
4
  export declare const VERSION: string;
5
+ export type { JsonValue } from './serde_json/JsonValue';
5
6
  export type { Academy } from './Academy';
6
7
  export type { AcademyRecruitCatalog } from './AcademyRecruitCatalog';
7
8
  export type { AcademyRecruitCatalogEntry } from './AcademyRecruitCatalogEntry';
@@ -122,6 +123,7 @@ export type { CheatSpawnPersonnelRequest } from './CheatSpawnPersonnelRequest';
122
123
  export type { City } from './City';
123
124
  export type { CityName } from './CityName';
124
125
  export type { CitySearch } from './CitySearch';
126
+ export type { ClientOptions } from './ClientOptions';
125
127
  export type { ContinentIndex } from './ContinentIndex';
126
128
  export type { ContinentSize } from './ContinentSize';
127
129
  export type { Coord } from './Coord';
@@ -142,7 +144,6 @@ export type { ffi_RequestId } from './ffi_RequestId';
142
144
  export type { ffi_Response } from './ffi_Response';
143
145
  export type { ffi_Result } from './ffi_Result';
144
146
  export { ffi_Status } from './ffi_Status';
145
- export type { ffi_UpdateClient } from './ffi_UpdateClient';
146
147
  export type { Food } from './Food';
147
148
  export type { ForwardReportRequest } from './ForwardReportRequest';
148
149
  export type { GetAcademyRecruitCatalogRequest } from './GetAcademyRecruitCatalogRequest';
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  //#region package.json
2
- var version = "0.7.3";
2
+ var version = "0.7.5";
3
3
  //#endregion
4
4
  //#region src/env_Var.ts
5
5
  var env_Var = /* @__PURE__ */ function(env_Var) {
package/package.json CHANGED
@@ -1,8 +1,9 @@
1
1
  {
2
2
  "name": "@tsukilabs/nil-bindings",
3
- "version": "0.7.3",
3
+ "version": "0.7.5",
4
+ "description": "TypeScript bindings for Call of Nil",
4
5
  "type": "module",
5
- "packageManager": "pnpm@11.17.0",
6
+ "packageManager": "pnpm@11.18.0",
6
7
  "license": "AGPL-3.0-only",
7
8
  "private": false,
8
9
  "homepage": "https://nil.dev.br",
@@ -25,7 +26,8 @@
25
26
  "keywords": ["call-of-nil"],
26
27
  "scripts": {
27
28
  "build": "vite build",
28
- "type-check": "tsc --noEmit"
29
+ "type-check": "tsc --noEmit",
30
+ "typedoc": "typedoc --plugin typedoc-plugin-mdn-links"
29
31
  },
30
32
  "files": ["dist"],
31
33
  "main": "./dist/index.js",