@appium/types 0.10.0 → 0.10.2

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.
Files changed (55) hide show
  1. package/LICENSE +1 -1
  2. package/build/lib/action.d.ts +4 -1
  3. package/build/lib/action.d.ts.map +1 -1
  4. package/build/lib/action.js +1 -1
  5. package/build/lib/action.js.map +1 -1
  6. package/build/lib/capabilities.d.ts +34 -23
  7. package/build/lib/capabilities.d.ts.map +1 -1
  8. package/build/lib/command.d.ts +116 -0
  9. package/build/lib/command.d.ts.map +1 -0
  10. package/build/lib/command.js +3 -0
  11. package/build/lib/command.js.map +1 -0
  12. package/build/lib/config.d.ts +2 -13
  13. package/build/lib/config.d.ts.map +1 -1
  14. package/build/lib/config.js.map +1 -1
  15. package/build/lib/constraints.d.ts +54 -67
  16. package/build/lib/constraints.d.ts.map +1 -1
  17. package/build/lib/constraints.js +2 -5
  18. package/build/lib/constraints.js.map +1 -1
  19. package/build/lib/driver.d.ts +223 -292
  20. package/build/lib/driver.d.ts.map +1 -1
  21. package/build/lib/http.d.ts +11 -0
  22. package/build/lib/http.d.ts.map +1 -0
  23. package/build/lib/http.js +3 -0
  24. package/build/lib/http.js.map +1 -0
  25. package/build/lib/index.d.ts +6 -157
  26. package/build/lib/index.d.ts.map +1 -1
  27. package/build/lib/index.js +6 -3
  28. package/build/lib/index.js.map +1 -1
  29. package/build/lib/logger.d.ts +39 -0
  30. package/build/lib/logger.d.ts.map +1 -0
  31. package/build/lib/logger.js +3 -0
  32. package/build/lib/logger.js.map +1 -0
  33. package/build/lib/plugin.d.ts +30 -5
  34. package/build/lib/plugin.d.ts.map +1 -1
  35. package/build/lib/server.d.ts +60 -0
  36. package/build/lib/server.d.ts.map +1 -0
  37. package/build/lib/server.js +3 -0
  38. package/build/lib/server.js.map +1 -0
  39. package/build/lib/util.d.ts +51 -0
  40. package/build/lib/util.d.ts.map +1 -0
  41. package/build/lib/util.js +3 -0
  42. package/build/lib/util.js.map +1 -0
  43. package/lib/action.ts +4 -1
  44. package/lib/capabilities.ts +40 -53
  45. package/lib/command.ts +139 -0
  46. package/lib/config.ts +2 -36
  47. package/lib/{constraints.js → constraints.ts} +5 -5
  48. package/lib/driver.ts +260 -370
  49. package/lib/http.ts +31 -0
  50. package/lib/index.ts +6 -214
  51. package/lib/logger.ts +41 -0
  52. package/lib/plugin.ts +38 -6
  53. package/lib/server.ts +73 -0
  54. package/lib/util.ts +74 -0
  55. package/package.json +6 -5
package/lib/http.ts ADDED
@@ -0,0 +1,31 @@
1
+ /**
2
+ * An object of HTTP headers.
3
+ */
4
+ export type HTTPHeaders = Record<string, string | string[] | number | boolean | null>;
5
+
6
+ /**
7
+ * Possible HTTP methods, as stolen from `axios`.
8
+ *
9
+ * @see https://npm.im/axios
10
+ */
11
+ export type HTTPMethod =
12
+ | 'get'
13
+ | 'GET'
14
+ | 'delete'
15
+ | 'DELETE'
16
+ | 'head'
17
+ | 'HEAD'
18
+ | 'options'
19
+ | 'OPTIONS'
20
+ | 'post'
21
+ | 'POST'
22
+ | 'put'
23
+ | 'PUT'
24
+ | 'patch'
25
+ | 'PATCH'
26
+ | 'purge'
27
+ | 'PURGE'
28
+ | 'link'
29
+ | 'LINK'
30
+ | 'unlink'
31
+ | 'UNLINK';
package/lib/index.ts CHANGED
@@ -1,220 +1,12 @@
1
- import type {Express} from 'express';
2
- import type {Server} from 'http';
3
- import type {Socket} from 'net';
4
- import type {Logger} from 'npmlog';
5
- import type {Class as _Class, ConditionalPick, MultidimensionalReadonlyArray} from 'type-fest';
6
- import type {Server as WSServer} from 'ws';
7
- import {ServerArgs} from './config';
8
- import {Driver} from './driver';
9
- import {Plugin, PluginCommand} from './plugin';
10
-
1
+ export * from './command';
11
2
  export * from './action';
12
3
  export * from './appium-config';
13
4
  export * from './capabilities';
14
5
  export * from './config';
15
- export {BASE_DESIRED_CAP_CONSTRAINTS} from './constraints';
16
- export type {BaseDriverCapConstraints} from './constraints';
6
+ export * from './constraints';
17
7
  export * from './driver';
18
8
  export * from './plugin';
19
-
20
- /**
21
- * Utility type for a object with string-only props
22
- */
23
- export type StringRecord = Record<string, any>;
24
-
25
- /**
26
- * A log prefix for {@linkcode AppiumLogger}
27
- *
28
- * If a function, the function will return the prefix. Log messages will be prefixed with this value.
29
- */
30
- export type AppiumLoggerPrefix = string | (() => string);
31
-
32
- /**
33
- * Possible "log levels" for {@linkcode AppiumLogger}.
34
- *
35
- * Extracted from `npmlog`.
36
- */
37
- export type AppiumLoggerLevel = 'silly' | 'verbose' | 'debug' | 'info' | 'http' | 'warn' | 'error';
38
-
39
- /**
40
- * Describes the `npmlog`-based internal logger.
41
- *
42
- * @see https://npm.im/npmlog
43
- */
44
- export interface AppiumLogger {
45
- /**
46
- * Returns the underlying `npmlog` {@link Logger}.
47
- */
48
- unwrap(): Logger;
49
- level: AppiumLoggerLevel;
50
- levels: AppiumLoggerLevel[];
51
- /**
52
- * Log prefix, if applicable.
53
- */
54
- prefix?: AppiumLoggerPrefix;
55
- debug(...args: any[]): void;
56
- info(...args: any[]): void;
57
- warn(...args: any[]): void;
58
- error(...args: any[]): void;
59
- verbose(...args: any[]): void;
60
- silly(...args: any[]): void;
61
- http(...args: any[]): void;
62
- errorAndThrow(...args: any[]): never;
63
- }
64
-
65
- /**
66
- * Appium's slightly-modified {@linkcode Server http.Server}.
67
- */
68
- export type AppiumServer = Omit<Server, 'close'> & AppiumServerExtension;
69
-
70
- export interface AppiumServerExtension {
71
- close(): Promise<void>;
72
- addWebSocketHandler(handlerPathname: string, handlerServer: WSServer): Promise<void>;
73
- removeWebSocketHandler(handlerPathname: string): Promise<boolean>;
74
- removeAllWebSocketHandlers(): Promise<boolean>;
75
- getWebSocketHandlers(keysFilter: string | null | undefined): Promise<Record<string, WSServer>>;
76
- webSocketsMapping: Record<string, WSServer>;
77
- }
78
-
79
- export interface AppiumServerSocket extends Socket {
80
- _openReqCount: number;
81
- }
82
-
83
- /**
84
- * The definition of an extension method, which will be provided via Appium's API.
85
- *
86
- */
87
- export interface MethodDef<Ext extends Plugin | Driver> {
88
- /**
89
- * Name of the command.
90
- */
91
- readonly command?: keyof ConditionalPick<
92
- Required<Ext>,
93
- Ext extends Plugin ? PluginCommand : Ext extends Driver ? DriverCommand : never
94
- >;
95
- /**
96
- * If true, this `Method` will never proxy.
97
- */
98
- readonly neverProxy?: boolean;
99
- /**
100
- * Specifies shape of payload
101
- */
102
- readonly payloadParams?: PayloadParams;
103
- }
104
-
105
- export interface ExecuteMethodDef<Ext extends Driver | Plugin> {
106
- command: keyof ConditionalPick<
107
- Required<Ext>,
108
- Ext extends Plugin ? PluginCommand : Ext extends Driver ? DriverCommand : never
109
- >;
110
- params?: {
111
- required?: ReadonlyArray<string>;
112
- optional?: ReadonlyArray<string>;
113
- };
114
- }
115
- export type ExecuteMethodMap<Ext extends Driver | Plugin> = Readonly<
116
- Record<string, Readonly<ExecuteMethodDef<Ext>>>
117
- >;
118
-
119
- /**
120
- * An instance method of a driver class, whose name may be referenced by {@linkcode MethodDef.command}, and serves as an Appium command.
121
- *
122
- * Note that this signature differs from a `PluginCommand`.
123
- */
124
- export type DriverCommand<TArgs = any, TRetval = unknown> = (...args: TArgs[]) => Promise<TRetval>;
125
-
126
- /**
127
- * Defines the shape of a payload for a {@linkcode MethodDef}.
128
- */
129
- export interface PayloadParams {
130
- wrap?: string;
131
- unwrap?: string;
132
- required?: ReadonlyArray<string> | MultidimensionalReadonlyArray<string, 2>;
133
- optional?: ReadonlyArray<string> | MultidimensionalReadonlyArray<string, 2>;
134
- validate?: (obj: any, protocol: string) => boolean | string | undefined;
135
- makeArgs?: (obj: any) => any;
136
- }
137
- /**
138
- * A mapping of URL paths to HTTP methods to {@linkcode MethodDef}s.
139
- */
140
- export type MethodMap<Ext extends Plugin | Driver> = Readonly<
141
- Record<
142
- string,
143
- {
144
- GET?: MethodDef<Ext>;
145
- POST?: MethodDef<Ext>;
146
- DELETE?: MethodDef<Ext>;
147
- }
148
- >
149
- >;
150
-
151
- /**
152
- * Wraps {@linkcode _Class `type-fest`'s `Class`} to include static members.
153
- */
154
- export type Class<
155
- Proto,
156
- StaticMembers extends object = {},
157
- Args extends unknown[] = any[]
158
- > = _Class<Proto, Args> & StaticMembers;
159
-
160
- /**
161
- * The string referring to a "driver"-type extension
162
- */
163
- export type DriverType = 'driver';
164
-
165
- /**
166
- * The string referring to a "plugin"-type extension
167
- *
168
- */
169
- export type PluginType = 'plugin';
170
-
171
- /**
172
- * The strings referring to all extension types.
173
- */
174
- export type ExtensionType = DriverType | PluginType;
175
-
176
- /**
177
- * Optionally updates an Appium express app and http server, by calling
178
- * methods that may mutate those objects. For example, you could call:
179
- *
180
- * `expressApp.get('/foo', handler)`
181
- *
182
- * In order to add a new route to Appium with this plugin. Or, you could add
183
- * new listeners to the httpServer object.
184
- *
185
- * @param expressApp - the Express 'app' object used by Appium for route handling
186
- * @param httpServer - the node HTTP server that hosts the app
187
- * @param cliArgs - Arguments from config files, CLI, etc.
188
- */
189
- export type UpdateServerCallback = (
190
- expressApp: Express,
191
- httpServer: AppiumServer,
192
- cliArgs: Partial<ServerArgs>
193
- ) => Promise<void>;
194
-
195
- /**
196
- * Possible HTTP methods, as stolen from `axios`.
197
- *
198
- * @see https://npm.im/axios
199
- */
200
- export type HTTPMethod =
201
- | 'get'
202
- | 'GET'
203
- | 'delete'
204
- | 'DELETE'
205
- | 'head'
206
- | 'HEAD'
207
- | 'options'
208
- | 'OPTIONS'
209
- | 'post'
210
- | 'POST'
211
- | 'put'
212
- | 'PUT'
213
- | 'patch'
214
- | 'PATCH'
215
- | 'purge'
216
- | 'PURGE'
217
- | 'link'
218
- | 'LINK'
219
- | 'unlink'
220
- | 'UNLINK';
9
+ export * from './http';
10
+ export * from './util';
11
+ export * from './server';
12
+ export * from './logger';
package/lib/logger.ts ADDED
@@ -0,0 +1,41 @@
1
+ import type {Logger} from 'npmlog';
2
+
3
+ /**
4
+ * A log prefix for {@linkcode AppiumLogger}
5
+ *
6
+ * If a function, the function will return the prefix. Log messages will be prefixed with this value.
7
+ */
8
+ export type AppiumLoggerPrefix = string | (() => string);
9
+
10
+ /**
11
+ * Possible "log levels" for {@linkcode AppiumLogger}.
12
+ *
13
+ * Extracted from `npmlog`.
14
+ */
15
+ export type AppiumLoggerLevel = 'silly' | 'verbose' | 'debug' | 'info' | 'http' | 'warn' | 'error';
16
+
17
+ /**
18
+ * Describes the `npmlog`-based internal logger.
19
+ *
20
+ * @see https://npm.im/npmlog
21
+ */
22
+ export interface AppiumLogger {
23
+ /**
24
+ * Returns the underlying `npmlog` {@link Logger}.
25
+ */
26
+ unwrap(): Logger;
27
+ level: AppiumLoggerLevel;
28
+ levels: AppiumLoggerLevel[];
29
+ /**
30
+ * Log prefix, if applicable.
31
+ */
32
+ prefix?: AppiumLoggerPrefix;
33
+ debug(...args: any[]): void;
34
+ info(...args: any[]): void;
35
+ warn(...args: any[]): void;
36
+ error(...args: any[]): void;
37
+ verbose(...args: any[]): void;
38
+ silly(...args: any[]): void;
39
+ http(...args: any[]): void;
40
+ errorAndThrow(...args: any[]): never;
41
+ }
package/lib/plugin.ts CHANGED
@@ -1,5 +1,9 @@
1
- import {AppiumLogger, Class, ExecuteMethodMap, MethodMap, UpdateServerCallback} from '.';
2
- import {ExternalDriver} from './driver';
1
+ import {AsyncReturnType} from 'type-fest';
2
+ import {ExecuteMethodMap, MethodMap} from './command';
3
+ import {DriverCommand, ExternalDriver} from './driver';
4
+ import {AppiumLogger} from './logger';
5
+ import {UpdateServerCallback} from './server';
6
+ import {Class, StringRecord} from './util';
3
7
 
4
8
  /**
5
9
  * The interface describing the constructor and static properties of a Plugin.
@@ -24,6 +28,33 @@ export interface PluginStatic<P extends Plugin> {
24
28
  executeMethodMap?: ExecuteMethodMap<P>;
25
29
  }
26
30
 
31
+ /**
32
+ * This utility type can presently be used by Plugin authors to mark a method in their plugin as one
33
+ * which overrides a method in a Driver.
34
+ * @privateRemarks This would work well as a decorator. May want to accept a type arg for `Driver`
35
+ * and use a string method name to lookup the method instead.
36
+ * @example
37
+ *
38
+ * class MyPlugin extends BasePlugin implements Plugin {
39
+ * public getPageSource: DriverCommandToPluginCommand<
40
+ * ExternalDriver['getPageSource'], // method to override
41
+ * [flag: boolean], // new arguments; defaults to the args of the method
42
+ * string|Buffer, // new return type; defaults to the async return type of the method
43
+ * string // async return type of `next()`
44
+ * > = async function (next, driver, flag = boolean) {
45
+ * const source = await next();
46
+ * return flag ? source : Buffer.from(source);
47
+ * }
48
+ * }
49
+ *
50
+ */
51
+ export type DriverCommandToPluginCommand<
52
+ DC extends DriverCommand,
53
+ TArgs extends readonly any[] = Parameters<DC>,
54
+ TReturn = AsyncReturnType<DC>,
55
+ NextRetval = unknown
56
+ > = PluginCommand<ExternalDriver, TArgs, TReturn, NextRetval>;
57
+
27
58
  /**
28
59
  * An instance of a "plugin" extension.
29
60
  *
@@ -69,7 +100,7 @@ export interface Plugin {
69
100
  * `driver._eventHistory.commands.push({cmd: cmdName, startTime, endTime})` --
70
101
  * after running plugin logic
71
102
  */
72
- export type NextPluginCallback = () => Promise<void>;
103
+ export type NextPluginCallback<T = unknown> = () => Promise<T>;
73
104
 
74
105
  /**
75
106
  * Implementation of a command within a plugin
@@ -79,8 +110,9 @@ export type NextPluginCallback = () => Promise<void>;
79
110
  export type PluginCommand<
80
111
  D extends ExternalDriver = ExternalDriver,
81
112
  TArgs extends readonly any[] = any[],
82
- TReturn = any
83
- > = (next: NextPluginCallback, driver: D, ...args: TArgs) => Promise<TReturn>;
113
+ TReturn = unknown,
114
+ NextReturn = unknown
115
+ > = (next: NextPluginCallback<NextReturn>, driver: D, ...args: TArgs) => Promise<TReturn>;
84
116
 
85
117
  /**
86
118
  * Mainly for internal use.
@@ -90,5 +122,5 @@ export type PluginCommand<
90
122
  export type PluginClass<P extends Plugin = Plugin> = Class<
91
123
  P,
92
124
  PluginStatic<P>,
93
- [pluginName: string, cliArgs: Record<string, unknown>]
125
+ [pluginName: string, cliArgs: StringRecord<unknown>]
94
126
  >;
package/lib/server.ts ADDED
@@ -0,0 +1,73 @@
1
+ import type {Express} from 'express';
2
+ import type {Server as WSServer} from 'ws';
3
+ import type {Server as HTTPServer} from 'node:http';
4
+ import type {Socket} from 'node:net';
5
+ import {ServerArgs} from './config';
6
+
7
+ /**
8
+ * Appium's slightly-modified {@linkcode HTTPServer http.Server}.
9
+ */
10
+ export type AppiumServer = Omit<HTTPServer, 'close'> & AppiumServerExtension;
11
+
12
+ export interface AppiumServerExtension {
13
+ close(): Promise<void>;
14
+ /**
15
+ * Adds websocket handler to an {@linkcode AppiumServer}.
16
+ * @param handlerPathname - Web socket endpoint path starting with a single slash character. It is recommended to always prepend `/ws` to all web socket pathnames.
17
+ * @param handlerServer - WebSocket server instance. See https://github.com/websockets/ws/pull/885 for more details on how to configure the handler properly.
18
+ */
19
+ addWebSocketHandler(
20
+ this: AppiumServer,
21
+ handlerPathname: string,
22
+ handlerServer: WSServer
23
+ ): Promise<void>;
24
+ /**
25
+ * Removes existing WebSocket handler from the server instance.
26
+ *
27
+ * The call is ignored if the given `handlerPathname` handler is not present in the handlers list.
28
+ * @param handlerPathname - WebSocket endpoint path
29
+ * @returns `true` if the `handlerPathname` was found and deleted; `false` otherwise.
30
+ */
31
+ removeWebSocketHandler(this: AppiumServer, handlerPathname: string): Promise<boolean>;
32
+ /**
33
+ * Removes all existing WebSocket handlers from the server instance.
34
+ * @returns `true` if at least one handler was deleted; `false` otherwise.
35
+ */
36
+ removeAllWebSocketHandlers(this: AppiumServer): Promise<boolean>;
37
+ /**
38
+ * Returns web socket handlers registered for the given server
39
+ * instance.
40
+ * @param keysFilter - Only include pathnames with given value if set. All pairs will be included by default.
41
+ * @returns Pathnames to WS server instances mapping matching the search criteria, if any found.
42
+ */
43
+ getWebSocketHandlers(
44
+ this: AppiumServer,
45
+ keysFilter?: string | null
46
+ ): Promise<Record<string, WSServer>>;
47
+ webSocketsMapping: Record<string, WSServer>;
48
+ }
49
+
50
+ export interface AppiumServerSocket extends Socket {
51
+ _openReqCount: number;
52
+ }
53
+
54
+ export {WSServer};
55
+
56
+ /**
57
+ * Optionally updates an Appium express app and http server, by calling
58
+ * methods that may mutate those objects. For example, you could call:
59
+ *
60
+ * `expressApp.get('/foo', handler)`
61
+ *
62
+ * In order to add a new route to Appium with this plugin. Or, you could add
63
+ * new listeners to the httpServer object.
64
+ *
65
+ * @param expressApp - the Express 'app' object used by Appium for route handling
66
+ * @param httpServer - the node HTTP server that hosts the app
67
+ * @param cliArgs - Arguments from config files, CLI, etc.
68
+ */
69
+ export type UpdateServerCallback = (
70
+ expressApp: Express,
71
+ httpServer: AppiumServer,
72
+ cliArgs: Partial<ServerArgs>
73
+ ) => Promise<void>;
package/lib/util.ts ADDED
@@ -0,0 +1,74 @@
1
+ import type {Class as _Class} from 'type-fest';
2
+
3
+ /**
4
+ * Utility type for a object with string-only props
5
+ */
6
+ export type StringRecord<T = any> = Record<string, T>;
7
+
8
+ /**
9
+ * Wraps {@linkcode _Class `type-fest`'s `Class`} to include static members.
10
+ */
11
+ export type Class<
12
+ Proto,
13
+ StaticMembers extends object = object,
14
+ Args extends unknown[] = any[]
15
+ > = _Class<Proto, Args> & StaticMembers;
16
+
17
+ /**
18
+ * The string referring to a "driver"-type extension
19
+ */
20
+ export type DriverType = 'driver';
21
+
22
+ /**
23
+ * The string referring to a "plugin"-type extension
24
+ *
25
+ */
26
+ export type PluginType = 'plugin';
27
+
28
+ /**
29
+ * The strings referring to all extension types.
30
+ */
31
+ export type ExtensionType = DriverType | PluginType;
32
+
33
+ /**
34
+ * Converts a kebab-cased string into a camel-cased string.
35
+ */
36
+ export type KebabToCamel<S extends string> = S extends `${infer P1}-${infer P2}${infer P3}`
37
+ ? `${Lowercase<P1>}${Uppercase<P2>}${KebabToCamel<P3>}`
38
+ : Lowercase<S>;
39
+
40
+ /**
41
+ * Converts an object with kebab-cased keys into camel-cased keys.
42
+ */
43
+ export type ObjectToCamel<T> = {
44
+ [K in keyof T as KebabToCamel<string & K>]: T[K] extends Record<string, any>
45
+ ? KeysToCamelCase<T[K]>
46
+ : T[K];
47
+ };
48
+
49
+ /**
50
+ * Converts an object or array to have camel-cased keys.
51
+ */
52
+ export type KeysToCamelCase<T> = {
53
+ [K in keyof T as KebabToCamel<string & K>]: T[K] extends Array<any>
54
+ ? KeysToCamelCase<T[K][number]>[]
55
+ : ObjectToCamel<T[K]>;
56
+ };
57
+
58
+ /**
59
+ * Object `B` has all the keys as object `A` (even if those keys in `A` are otherwise optional).
60
+ */
61
+ export type Associated<A extends object, B extends {[key in keyof Required<A>]: unknown}> = {
62
+ [Prop in keyof Required<A>]: B[Prop];
63
+ };
64
+
65
+ /**
66
+ * Given `string` `T`, this is a case-insensitive version of `T`.
67
+ */
68
+ export type AnyCase<T extends string> = string extends T
69
+ ? string
70
+ : T extends `${infer F1}${infer F2}${infer R}`
71
+ ? `${Uppercase<F1> | Lowercase<F1>}${Uppercase<F2> | Lowercase<F2>}${AnyCase<R>}`
72
+ : T extends `${infer F}${infer R}`
73
+ ? `${Uppercase<F> | Lowercase<F>}${AnyCase<R>}`
74
+ : '';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@appium/types",
3
- "version": "0.10.0",
3
+ "version": "0.10.2",
4
4
  "description": "Various type declarations used across Appium",
5
5
  "keywords": [
6
6
  "automation",
@@ -34,15 +34,16 @@
34
34
  "scripts": {
35
35
  "build": "node ./scripts/generate-schema-types.js",
36
36
  "clean": "git checkout -- ./types/lib/appium-config.ts || true",
37
- "test:smoke": "node ./index.js"
37
+ "test:smoke": "node ./index.js",
38
+ "test:types": "tsd"
38
39
  },
39
40
  "dependencies": {
40
- "@appium/schema": "^0.2.5",
41
+ "@appium/schema": "^0.2.6",
41
42
  "@appium/tsconfig": "^0.2.4",
42
43
  "@types/express": "4.17.17",
43
44
  "@types/npmlog": "4.1.4",
44
45
  "@types/ws": "8.5.4",
45
- "type-fest": "3.6.0"
46
+ "type-fest": "3.7.1"
46
47
  },
47
48
  "engines": {
48
49
  "node": "^14.17.0 || ^16.13.0 || >=18.0.0",
@@ -51,7 +52,7 @@
51
52
  "publishConfig": {
52
53
  "access": "public"
53
54
  },
54
- "gitHead": "7b4935632222123a4fa7422461f6312f1f0dfbe4",
55
+ "gitHead": "d514ebdd7ebd27bb236509d0a3d580f0f18a34e5",
55
56
  "typedoc": {
56
57
  "entryPoint": "./lib/index.ts"
57
58
  }