@514labs/moose-lib
Advanced tools
Comparing version 0.3.699 to 0.3.700
@@ -27,4 +27,4 @@ import { JWTPayload } from 'jose'; | ||
client: ClickHouseClient; | ||
query_id: string; | ||
constructor(client: ClickHouseClient, query_id: string); | ||
query_id_prefix: string; | ||
constructor(client: ClickHouseClient, query_id_prefix: string); | ||
query(sql: Sql): Promise<_clickhouse_client_web.ResultSet<"JSONEachRow">>; | ||
@@ -31,0 +31,0 @@ } |
@@ -209,2 +209,3 @@ "use strict"; | ||
// src/consumption-apis/helpers.ts | ||
var import_node_crypto = require("crypto"); | ||
var mapToClickHouseType = (value) => { | ||
@@ -280,5 +281,5 @@ if (typeof value === "number") { | ||
var MooseClient = class { | ||
constructor(client, query_id) { | ||
constructor(client, query_id_prefix) { | ||
this.client = client; | ||
this.query_id = query_id; | ||
this.query_id_prefix = query_id_prefix; | ||
} | ||
@@ -304,3 +305,3 @@ query(sql2) { | ||
format: "JSONEachRow", | ||
query_id: this.query_id | ||
query_id: this.query_id_prefix + (0, import_node_crypto.randomUUID)() | ||
}); | ||
@@ -307,0 +308,0 @@ }); |
@@ -324,2 +324,3 @@ #!/usr/bin/env node | ||
// src/consumption-apis/helpers.ts | ||
var import_node_crypto = require("crypto"); | ||
var mapToClickHouseType = (value) => { | ||
@@ -395,5 +396,5 @@ if (typeof value === "number") { | ||
var MooseClient = class { | ||
constructor(client, query_id) { | ||
constructor(client, query_id_prefix) { | ||
this.client = client; | ||
this.query_id = query_id; | ||
this.query_id_prefix = query_id_prefix; | ||
} | ||
@@ -419,3 +420,3 @@ query(sql2) { | ||
format: "JSONEachRow", | ||
query_id: this.query_id | ||
query_id: this.query_id_prefix + (0, import_node_crypto.randomUUID)() | ||
}); | ||
@@ -422,0 +423,0 @@ }); |
{ | ||
"name": "@514labs/moose-lib", | ||
"version": "0.3.699", | ||
"version": "0.3.700", | ||
"main": "./dist/index.js", | ||
@@ -5,0 +5,0 @@ "module": "./dist/index.mjs", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
AI-detected potential security risk
Supply chain riskAI has determined that this package may contain potential security issues or vulnerabilities.
Found 1 instance in 1 package
277951
3092
9