@vforsh/argus-client 0.1.5 → 0.3.0
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 +75 -9
- package/dist/.tsbuildinfo +1 -1
- package/dist/client/context.d.ts +31 -0
- package/dist/client/context.d.ts.map +1 -0
- package/dist/client/context.js +20 -0
- package/dist/client/context.js.map +1 -0
- package/dist/client/createArgusClient.d.ts +12 -2
- package/dist/client/createArgusClient.d.ts.map +1 -1
- package/dist/client/createArgusClient.js +26 -158
- package/dist/client/createArgusClient.js.map +1 -1
- package/dist/client/methods/capture.d.ts +12 -0
- package/dist/client/methods/capture.d.ts.map +1 -0
- package/dist/client/methods/capture.js +89 -0
- package/dist/client/methods/capture.js.map +1 -0
- package/dist/client/methods/evalMethods.d.ts +9 -0
- package/dist/client/methods/evalMethods.d.ts.map +1 -0
- package/dist/client/methods/evalMethods.js +127 -0
- package/dist/client/methods/evalMethods.js.map +1 -0
- package/dist/client/methods/inspect.d.ts +19 -0
- package/dist/client/methods/inspect.d.ts.map +1 -0
- package/dist/client/methods/inspect.js +110 -0
- package/dist/client/methods/inspect.js.map +1 -0
- package/dist/client/methods/page.d.ts +9 -0
- package/dist/client/methods/page.d.ts.map +1 -0
- package/dist/client/methods/page.js +38 -0
- package/dist/client/methods/page.js.map +1 -0
- package/dist/client/queryParams.d.ts.map +1 -1
- package/dist/client/queryParams.js +9 -2
- package/dist/client/queryParams.js.map +1 -1
- package/dist/client/watcherHandle.d.ts +9 -0
- package/dist/client/watcherHandle.d.ts.map +1 -0
- package/dist/client/watcherHandle.js +29 -0
- package/dist/client/watcherHandle.js.map +1 -0
- package/dist/client/watcherRequest.d.ts.map +1 -1
- package/dist/client/watcherRequest.js +7 -0
- package/dist/client/watcherRequest.js.map +1 -1
- package/dist/eval/ArgusEvalError.d.ts +30 -0
- package/dist/eval/ArgusEvalError.d.ts.map +1 -0
- package/dist/eval/ArgusEvalError.js +37 -0
- package/dist/eval/ArgusEvalError.js.map +1 -0
- package/dist/eval/pollEval.d.ts +81 -0
- package/dist/eval/pollEval.d.ts.map +1 -0
- package/dist/eval/pollEval.js +65 -0
- package/dist/eval/pollEval.js.map +1 -0
- package/dist/index.d.ts +5 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/dist/types.d.ts +229 -5
- package/dist/types.d.ts.map +1 -1
- package/package.json +2 -2
package/dist/types.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { LogEvent, LogLevel, NetworkRequestDetail, NetworkRequestSummary, ScreenshotClipRegion, StatusResponse, WatcherRecord } from '@vforsh/argus-core';
|
|
1
|
+
import type { ElementRef, LogEvent, LogEpoch, LogLevel, MouseButton, NetworkRequestDetail, NetworkRequestSummary, RecordClipRegion, RecordFormat, ScreenshotClipRegion, StatusResponse, VisibilityLock, WatcherRecord } from '@vforsh/argus-core';
|
|
2
2
|
/** Options for configuring the Argus client. */
|
|
3
3
|
export type ArgusClientOptions = {
|
|
4
4
|
/** Override registry path instead of using `ARGUS_REGISTRY_PATH` / default. */
|
|
@@ -36,7 +36,10 @@ export type LogsOptions = {
|
|
|
36
36
|
matchCase?: 'sensitive' | 'insensitive';
|
|
37
37
|
/** Filter by log event source substring. */
|
|
38
38
|
source?: string;
|
|
39
|
-
|
|
39
|
+
/** Opaque cursor returned by `beginLogEpoch` / `logCursor`. */
|
|
40
|
+
after?: LogEpoch;
|
|
41
|
+
/** Read only events produced after this opaque watcher-session marker. */
|
|
42
|
+
sinceEpoch?: LogEpoch;
|
|
40
43
|
limit?: number;
|
|
41
44
|
/**
|
|
42
45
|
* Filter by time window.
|
|
@@ -48,11 +51,15 @@ export type LogsOptions = {
|
|
|
48
51
|
/** Logs response data with pagination cursor. */
|
|
49
52
|
export type LogsResult = {
|
|
50
53
|
events: LogEvent[];
|
|
51
|
-
|
|
54
|
+
nextCursor: LogEpoch;
|
|
52
55
|
};
|
|
53
56
|
/** Current watcher log cursor, suitable as a zero-download baseline. */
|
|
54
57
|
export type LogCursorResult = {
|
|
55
|
-
cursor:
|
|
58
|
+
cursor: LogEpoch;
|
|
59
|
+
};
|
|
60
|
+
/** Opaque watcher-session marker suitable for action-scoped log queries. */
|
|
61
|
+
export type LogEpochResult = {
|
|
62
|
+
epoch: LogEpoch;
|
|
56
63
|
};
|
|
57
64
|
/** Options for fetching network request summaries. */
|
|
58
65
|
export type NetOptions = {
|
|
@@ -93,6 +100,14 @@ export type EvalOptions = {
|
|
|
93
100
|
timeoutMs?: number;
|
|
94
101
|
/** Return by value when possible. Defaults to true. */
|
|
95
102
|
returnByValue?: boolean;
|
|
103
|
+
/**
|
|
104
|
+
* Serialize the result inside the page and return that JSON string as `result`,
|
|
105
|
+
* wrapped as `{"v":<value>}`. Defaults to false.
|
|
106
|
+
*
|
|
107
|
+
* Prefer {@link ArgusClient.evalValue}, which sets this and parses the envelope
|
|
108
|
+
* for you. See {@link EvalValueOptions.jsonValue} for why the mode exists.
|
|
109
|
+
*/
|
|
110
|
+
jsonValue?: boolean;
|
|
96
111
|
/** Install the temporary host bridge expected by bundled Argus scenario code. */
|
|
97
112
|
scenario?: boolean;
|
|
98
113
|
};
|
|
@@ -142,6 +157,153 @@ export type ScreenshotResult = {
|
|
|
142
157
|
outFile: string;
|
|
143
158
|
clipped: boolean;
|
|
144
159
|
};
|
|
160
|
+
/** Options for clicking in the connected page. Mirrors CLI `argus click` semantics. */
|
|
161
|
+
export type DomClickOptions = {
|
|
162
|
+
/** CSS selector to match element(s). */
|
|
163
|
+
selector?: string;
|
|
164
|
+
/** Stable element ref to click. Mutually exclusive with `selector`. */
|
|
165
|
+
ref?: ElementRef;
|
|
166
|
+
/** Allow multiple matches. If false and >1 match, the watcher errors. Defaults to false. */
|
|
167
|
+
all?: boolean;
|
|
168
|
+
/** Viewport x-coordinate, or x-offset from element top-left when `selector` is set. */
|
|
169
|
+
x?: number;
|
|
170
|
+
/** Viewport y-coordinate, or y-offset from element top-left when `selector` is set. */
|
|
171
|
+
y?: number;
|
|
172
|
+
/** Mouse button to click. Defaults to 'left'. */
|
|
173
|
+
button?: MouseButton;
|
|
174
|
+
/** Filter elements by trimmed textContent. Plain string = exact match, `/regex/flags` = regex test. */
|
|
175
|
+
text?: string;
|
|
176
|
+
/** Wait up to this many ms for the selector to appear before clicking. */
|
|
177
|
+
wait?: number;
|
|
178
|
+
};
|
|
179
|
+
/** Result of a click, reporting selector matches separately from actual clicks. */
|
|
180
|
+
export type DomClickResult = {
|
|
181
|
+
/** Number of elements matched by the selector. */
|
|
182
|
+
matches: number;
|
|
183
|
+
/** Number of elements actually clicked. */
|
|
184
|
+
clicked: number;
|
|
185
|
+
};
|
|
186
|
+
/** Result of clearing the watcher's buffered network log. */
|
|
187
|
+
export type NetClearResult = {
|
|
188
|
+
/** Number of buffered requests removed. */
|
|
189
|
+
cleared: number;
|
|
190
|
+
};
|
|
191
|
+
/** Options for the page visibility lock. */
|
|
192
|
+
export type VisibilityOptions = {
|
|
193
|
+
/** `show` locks the page shown+focused; `hide` releases the lock. */
|
|
194
|
+
action: 'show' | 'hide';
|
|
195
|
+
};
|
|
196
|
+
/**
|
|
197
|
+
* Visibility lock result. The desired lock is sticky across detach/reattach:
|
|
198
|
+
* the watcher remembers it and re-applies on the next attach when `attached` is false.
|
|
199
|
+
*/
|
|
200
|
+
export type VisibilityResult = {
|
|
201
|
+
/** Whether the watcher was attached to a CDP target at response time. */
|
|
202
|
+
attached: boolean;
|
|
203
|
+
/** Current desired visibility lock. */
|
|
204
|
+
state: VisibilityLock;
|
|
205
|
+
};
|
|
206
|
+
/** Options for reloading the connected page. */
|
|
207
|
+
export type ReloadOptions = {
|
|
208
|
+
/** Bypass the browser cache. Defaults to false. */
|
|
209
|
+
ignoreCache?: boolean;
|
|
210
|
+
};
|
|
211
|
+
/** Shared options for video recording requests. */
|
|
212
|
+
export type RecordOptions = {
|
|
213
|
+
/** Destination path on the watcher host. Extension may determine `format`. */
|
|
214
|
+
outFile?: string;
|
|
215
|
+
/** Record only the element matched by this CSS selector. Mutually exclusive with `clip`. */
|
|
216
|
+
selector?: string;
|
|
217
|
+
/** Viewport-relative crop rectangle in CSS pixels. Mutually exclusive with `selector`. */
|
|
218
|
+
clip?: RecordClipRegion;
|
|
219
|
+
/** Output frames per second (1-60). Defaults to 30. */
|
|
220
|
+
fps?: number;
|
|
221
|
+
/** Output container. Defaults to mp4 unless inferred from the `outFile` extension. */
|
|
222
|
+
format?: RecordFormat;
|
|
223
|
+
};
|
|
224
|
+
/** Options for a fixed-duration one-shot recording. */
|
|
225
|
+
export type RecordCaptureOptions = RecordOptions & {
|
|
226
|
+
/** Capture duration in milliseconds. Must be greater than 0. */
|
|
227
|
+
durationMs: number;
|
|
228
|
+
};
|
|
229
|
+
/** Metadata returned when a recording starts. */
|
|
230
|
+
export type RecordStartResult = {
|
|
231
|
+
/** Handle for the active recording, accepted by `recordStop`. */
|
|
232
|
+
recordId: string;
|
|
233
|
+
sessionName: string;
|
|
234
|
+
outFile: string;
|
|
235
|
+
format: RecordFormat;
|
|
236
|
+
fps: number;
|
|
237
|
+
/** Whether a `selector` or `clip` crop was applied. */
|
|
238
|
+
clipped: boolean;
|
|
239
|
+
};
|
|
240
|
+
/** Metadata returned when a recording is finalized. */
|
|
241
|
+
export type RecordStopResult = RecordStartResult & {
|
|
242
|
+
/** Number of frames written to `outFile`. */
|
|
243
|
+
frameCount: number;
|
|
244
|
+
/** Wall-clock capture duration in milliseconds. */
|
|
245
|
+
durationMs: number;
|
|
246
|
+
};
|
|
247
|
+
/** Options for stopping an active recording. */
|
|
248
|
+
export type RecordStopOptions = {
|
|
249
|
+
/** Recording to stop. Defaults to the watcher's active recording. */
|
|
250
|
+
recordId?: string;
|
|
251
|
+
/** Move the finalized file to this path before returning. */
|
|
252
|
+
outFile?: string;
|
|
253
|
+
};
|
|
254
|
+
/**
|
|
255
|
+
* Options for {@link ArgusClient.evalValue}.
|
|
256
|
+
*
|
|
257
|
+
* Omits `returnByValue` (always true) and adds {@link EvalValueOptions.jsonValue}.
|
|
258
|
+
*/
|
|
259
|
+
export type EvalValueOptions = Omit<EvalOptions, 'expression' | 'returnByValue' | 'jsonValue'> & {
|
|
260
|
+
/**
|
|
261
|
+
* Have the page serialize the result, so the JSON string — not a structured object —
|
|
262
|
+
* crosses the transport. Defaults to true.
|
|
263
|
+
*
|
|
264
|
+
* This exists because transports disagree about raw `returnByValue` results: the
|
|
265
|
+
* extension relay (Chrome's `chrome.debugger` serialization) returns object keys
|
|
266
|
+
* sorted alphabetically at every nesting level, while a direct CDP watcher preserves
|
|
267
|
+
* insertion order. Values are identical either way, but structural comparisons of the
|
|
268
|
+
* same page state produce different bytes per transport — which silently breaks
|
|
269
|
+
* snapshot assertions in verification runners. Serializing in the page normalizes both
|
|
270
|
+
* to insertion order, and makes `Date` round-trip as an ISO string (via `toJSON`)
|
|
271
|
+
* instead of `{}`.
|
|
272
|
+
*
|
|
273
|
+
* Evaluation semantics are unaffected: statement lists, top-level `await`, REPL-mode
|
|
274
|
+
* redeclaration, and promise unwrapping behave the same either way.
|
|
275
|
+
*
|
|
276
|
+
* Set to false for the raw transport-native value — one less serialization round-trip
|
|
277
|
+
* for large payloads you never compare structurally, at the cost of transport-dependent
|
|
278
|
+
* key order.
|
|
279
|
+
*/
|
|
280
|
+
jsonValue?: boolean;
|
|
281
|
+
};
|
|
282
|
+
/** Options for {@link ArgusClient.evalUntil}. */
|
|
283
|
+
export type EvalUntilOptions = EvalValueOptions & {
|
|
284
|
+
/** Delay between polls in milliseconds. Defaults to 250. */
|
|
285
|
+
intervalMs?: number;
|
|
286
|
+
/** Give up after this much wall-clock time. Defaults to 30000. */
|
|
287
|
+
totalTimeoutMs?: number;
|
|
288
|
+
/** Give up after this many polls. Unlimited when omitted. */
|
|
289
|
+
count?: number;
|
|
290
|
+
/**
|
|
291
|
+
* Stop condition evaluated against each poll's value.
|
|
292
|
+
* Defaults to a truthiness check on the returned value.
|
|
293
|
+
*/
|
|
294
|
+
predicate?: (value: unknown, iteration: number) => boolean;
|
|
295
|
+
/** Abort the poll loop early. The returned promise rejects when aborted. */
|
|
296
|
+
signal?: AbortSignal;
|
|
297
|
+
};
|
|
298
|
+
/** Result of a successful {@link ArgusClient.evalUntil} poll. */
|
|
299
|
+
export type EvalUntilResult = {
|
|
300
|
+
/** The value that satisfied the predicate. */
|
|
301
|
+
value: unknown;
|
|
302
|
+
/** 1-based poll iteration that matched. */
|
|
303
|
+
iteration: number;
|
|
304
|
+
/** Wall-clock milliseconds spent polling. */
|
|
305
|
+
elapsedMs: number;
|
|
306
|
+
};
|
|
145
307
|
/** Argus client API. */
|
|
146
308
|
export type ArgusClient = {
|
|
147
309
|
/** List registered watcher servers. */
|
|
@@ -150,17 +312,79 @@ export type ArgusClient = {
|
|
|
150
312
|
logs: (watcherId: string, options?: LogsOptions) => Promise<LogsResult>;
|
|
151
313
|
/** Read the current log cursor without fetching buffered events. */
|
|
152
314
|
logCursor: (watcherId: string) => Promise<LogCursorResult>;
|
|
315
|
+
/** Begin an action-scoped log epoch without downloading buffered events. */
|
|
316
|
+
beginLogEpoch: (watcherId: string) => Promise<LogEpochResult>;
|
|
153
317
|
/** Fetch network request summaries from a watcher. */
|
|
154
318
|
net: (watcherId: string, options?: NetOptions) => Promise<NetResult>;
|
|
155
319
|
/** Fetch the detailed record for one buffered network request. */
|
|
156
320
|
netRequest: (watcherId: string, request: number | string) => Promise<NetworkRequestDetail>;
|
|
157
|
-
/**
|
|
321
|
+
/** Clear the watcher's buffered network log. */
|
|
322
|
+
netClear: (watcherId: string) => Promise<NetClearResult>;
|
|
323
|
+
/**
|
|
324
|
+
* Evaluate a JS expression in the connected page and return the raw envelope.
|
|
325
|
+
* Page-side exceptions are reported in `exception`, not thrown.
|
|
326
|
+
*/
|
|
158
327
|
eval: (watcherId: string, options: EvalOptions) => Promise<EvalResult>;
|
|
328
|
+
/**
|
|
329
|
+
* Evaluate a JS expression and return its value directly.
|
|
330
|
+
*
|
|
331
|
+
* Unlike {@link ArgusClient.eval}, a page-side exception rejects with an `Error`
|
|
332
|
+
* carrying `exception.text` as its message. Results are normalized across transports
|
|
333
|
+
* by default — see {@link EvalValueOptions.jsonValue}.
|
|
334
|
+
*
|
|
335
|
+
* @throws {Error} When the expression throws in the page.
|
|
336
|
+
*/
|
|
337
|
+
evalValue: <T = unknown>(watcherId: string, expression: string, options?: EvalValueOptions) => Promise<T>;
|
|
338
|
+
/**
|
|
339
|
+
* Poll an expression until it satisfies a predicate (truthy by default).
|
|
340
|
+
*
|
|
341
|
+
* @throws {Error} On page-side exceptions, total-timeout expiry, poll-count
|
|
342
|
+
* exhaustion, or abort via {@link EvalUntilOptions.signal}.
|
|
343
|
+
*/
|
|
344
|
+
evalUntil: (watcherId: string, expression: string, options?: EvalUntilOptions) => Promise<EvalUntilResult>;
|
|
345
|
+
/** Click in the connected page by selector, element ref, or viewport coordinates. */
|
|
346
|
+
domClick: (watcherId: string, options: DomClickOptions) => Promise<DomClickResult>;
|
|
347
|
+
/** Lock the page shown+focused, or release the lock. */
|
|
348
|
+
visibility: (watcherId: string, options: VisibilityOptions) => Promise<VisibilityResult>;
|
|
349
|
+
/** Reload the connected page. Page-scoped even when the active target is an iframe. */
|
|
350
|
+
reload: (watcherId: string, options?: ReloadOptions) => Promise<void>;
|
|
159
351
|
/** Start Chrome tracing and write to disk on the watcher. */
|
|
160
352
|
traceStart: (watcherId: string, options?: TraceStartOptions) => Promise<TraceStartResult>;
|
|
161
353
|
/** Stop an active Chrome trace and finalize the file. */
|
|
162
354
|
traceStop: (watcherId: string, options?: TraceStopOptions) => Promise<TraceStopResult>;
|
|
163
355
|
/** Capture a screenshot and write to disk on the watcher. */
|
|
164
356
|
screenshot: (watcherId: string, options?: ScreenshotOptions) => Promise<ScreenshotResult>;
|
|
357
|
+
/** Capture a fixed-duration silent video and write it to disk on the watcher. */
|
|
358
|
+
record: (watcherId: string, options: RecordCaptureOptions) => Promise<RecordStopResult>;
|
|
359
|
+
/** Begin an open-ended silent video recording. Finalize with `recordStop`. */
|
|
360
|
+
recordStart: (watcherId: string, options?: RecordOptions) => Promise<RecordStartResult>;
|
|
361
|
+
/** Stop the active recording and finalize the file. */
|
|
362
|
+
recordStop: (watcherId: string, options?: RecordStopOptions) => Promise<RecordStopResult>;
|
|
363
|
+
/** Bind every watcher-scoped method to `watcherId`, removing id-threading at call sites. */
|
|
364
|
+
watcher: (watcherId: string) => WatcherClient;
|
|
365
|
+
};
|
|
366
|
+
/**
|
|
367
|
+
* Watcher-scoped subset of {@link ArgusClient}: everything that takes a watcher id first.
|
|
368
|
+
* `evalValue` is excluded because a mapped type erases its generic type parameter;
|
|
369
|
+
* {@link WatcherClient} redeclares it explicitly.
|
|
370
|
+
*/
|
|
371
|
+
type WatcherScopedApi = Omit<ArgusClient, 'list' | 'watcher' | 'evalValue'>;
|
|
372
|
+
/**
|
|
373
|
+
* The same API as {@link ArgusClient} with `watcherId` pre-bound.
|
|
374
|
+
*
|
|
375
|
+
* @example
|
|
376
|
+
* const page = client.watcher('playground')
|
|
377
|
+
* const count = await page.evalValue<number>('document.querySelectorAll("li").length')
|
|
378
|
+
*/
|
|
379
|
+
export type WatcherClient = {
|
|
380
|
+
[K in keyof WatcherScopedApi]: WatcherScopedApi[K] extends (watcherId: string, ...rest: infer A) => infer R ? (...args: A) => R : never;
|
|
381
|
+
} & {
|
|
382
|
+
/**
|
|
383
|
+
* Evaluate a JS expression and return its value directly.
|
|
384
|
+
*
|
|
385
|
+
* @throws {Error} When the expression throws in the page.
|
|
386
|
+
*/
|
|
387
|
+
evalValue: <T = unknown>(expression: string, options?: EvalValueOptions) => Promise<T>;
|
|
165
388
|
};
|
|
389
|
+
export {};
|
|
166
390
|
//# sourceMappingURL=types.d.ts.map
|
package/dist/types.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACX,Q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;IACzF,iFAAiF;IACjF,MAAM,EAAE,CAAC,SAAS,EAAE,MAAM,EAAE,OAAO,EAAE,oBAAoB,KAAK,OAAO,CAAC,gBAAgB,CAAC,CAAA;IACvF,8EAA8E;IAC9E,WAAW,EAAE,CAAC,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,aAAa,KAAK,OAAO,CAAC,iBAAiB,CAAC,CAAA;IACvF,uDAAuD;IACvD,UAAU,EAAE,CAAC,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,iBAAiB,KAAK,OAAO,CAAC,gBAAgB,CAAC,CAAA;IACzF,4FAA4F;IAC5F,OAAO,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,aAAa,CAAA;CAC7C,CAAA;AAED;;;;GAIG;AACH,KAAK,gBAAgB,GAAG,IAAI,CAAC,WAAW,EAAE,MAAM,GAAG,SAAS,GAAG,WAAW,CAAC,CAAA;AAE3E;;;;;;GAMG;AACH,MAAM,MAAM,aAAa,GAAG;KAC1B,CAAC,IAAI,MAAM,gBAAgB,GAAG,gBAAgB,CAAC,CAAC,CAAC,SAAS,CAAC,SAAS,EAAE,MAAM,EAAE,GAAG,IAAI,EAAE,MAAM,CAAC,KAAK,MAAM,CAAC,GAAG,CAAC,GAAG,IAAI,EAAE,CAAC,KAAK,CAAC,GAAG,KAAK;CACvI,GAAG;IACH;;;;OAIG;IACH,SAAS,EAAE,CAAC,CAAC,GAAG,OAAO,EAAE,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,gBAAgB,KAAK,OAAO,CAAC,CAAC,CAAC,CAAA;CACtF,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vforsh/argus-client",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.0",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "git+https://github.com/vforsh/argus.git",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"access": "public"
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@vforsh/argus-core": "^0.
|
|
25
|
+
"@vforsh/argus-core": "^0.3.0"
|
|
26
26
|
},
|
|
27
27
|
"scripts": {
|
|
28
28
|
"clean": "node ../../scripts/clean-dist.mjs",
|