@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
|
@@ -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
|
|
9
|
+
export type ClientOptions = {
|
|
10
10
|
server: ServerAddr;
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
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
package/package.json
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tsukilabs/nil-bindings",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.5",
|
|
4
|
+
"description": "TypeScript bindings for Call of Nil",
|
|
4
5
|
"type": "module",
|
|
5
|
-
"packageManager": "pnpm@11.
|
|
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",
|