
Research
Two Malicious Rust Crates Impersonate Popular Logger to Steal Wallet Keys
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
@datawheel/tesseract-client
Advanced tools
A javascript client to fetch and work with entities from a tesseract-olap server.
A javascript client to fetch and work with entities from a tesseract-olap server. Heavily inspired by the mondrian-rest-client project, but with some added functionality.
npm install @datawheel/tesseract-client
The main classes you will want to use are Client
and MultiClient
.
import {Client as TesseractClient} from "@datawheel/tesseract-client";
const client = new TesseractClient(SERVER_URL);
MultiClient
is a wrapper around the Client
class, which allows you to use the same public methods as Client
but with multiple remote servers at once.
import {MultiClient} from "@datawheel/tesseract-client";
const client = new MultiClient([SERVER1_URL, SERVER2_URL]);
Notice that MultiClient
can accept a string or an array, while Client
just accepts a string. If you intend to work with only one tesseract-olap server, you can use both classes, but Client
will perform better.
All methods in the Client classes return a Promise of the item you are requesting. You can use .then()
chaining or the async/await
combo to work with the returned objects:
function getAllCubeNames(client) {
return client.cubes().then(cubes => cubes.map(cube => cube.name));
}
async function getAllCubeNames(client) {
const cubes = await client.cubes();
return cubes.map(cube => cube.name);
}
The package also exports TypeScript definitions for most of the classes used.
FAQs
A javascript client to fetch and work with entities from a tesseract-olap server.
The npm package @datawheel/tesseract-client receives a total of 1 weekly downloads. As such, @datawheel/tesseract-client popularity was classified as not popular.
We found that @datawheel/tesseract-client demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
Research
A malicious package uses a QR code as steganography in an innovative technique.
Research
/Security News
Socket identified 80 fake candidates targeting engineering roles, including suspected North Korean operators, exposing the new reality of hiring as a security function.