Skip to content

Commit

Permalink
Update @cross/kv
Browse files Browse the repository at this point in the history
  • Loading branch information
Hexagon committed May 20, 2024
1 parent 36b6c35 commit 8be9e4b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion deno.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"@cross/env": "jsr:@cross/env@^1.0.2",
"@cross/fs": "jsr:@cross/fs@^0.1.11",
"@cross/jwt": "jsr:@cross/jwt@^0.4.7",
"@cross/kv": "jsr:@cross/kv@^0.0.13",
"@cross/kv": "jsr:@cross/kv@^0.11.0",
"@cross/runtime": "jsr:@cross/runtime@^1.0.0",
"@cross/service": "jsr:@cross/service@^1.0.3",
"@cross/test": "jsr:@cross/test@^0.0.9",
Expand Down
4 changes: 2 additions & 2 deletions lib/core/logger.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

import { stripAnsi } from "@cross/utils"
import { type GlobalLoggerConfiguration, KV_LIMIT_STRING_LENGTH_BYTES, type ProcessConfiguration } from "./configuration.ts"
import { KV, KVKeyRange, KVQuery } from "@cross/kv"
import { KV, KVQuery, KVQueryRange } from "@cross/kv"
import { writeFile } from "@cross/fs"

export interface LogEvent {
Expand Down Expand Up @@ -53,7 +53,7 @@ class Logger {
private prepareSelector(processId?: string, startTimeStamp?: number, endTimeStamp?: number): KVQuery {
const key: KVQuery = processId ? ["logs_by_time", {}, processId] : ["logs_by_time"]
if (startTimeStamp || endTimeStamp) {
const rangeSelector: KVKeyRange = {}
const rangeSelector: KVQueryRange = {}
if (startTimeStamp) {
rangeSelector.from = startTimeStamp
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"@cross/env": "npm:@jsr/cross__env@^1.0.2",
"@cross/fs": "npm:@jsr/cross__fs@^0.1.11",
"@cross/jwt": "npm:@jsr/cross__jwt@^0.4.7",
"@cross/kv": "npm:@jsr/cross__kv@^0.9.0",
"@cross/kv": "npm:@jsr/cross__kv@^0.11.0",
"@cross/runtime": "npm:@jsr/cross__runtime@^1.0.0",
"@cross/service": "npm:@jsr/cross__service@^1.0.3",
"@cross/test": "npm:@jsr/cross__test@^0.0.9",
Expand Down

0 comments on commit 8be9e4b

Please sign in to comment.