Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

@spz-loader/core

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@spz-loader/core - npm Package Compare versions

Comparing version
0.2.0
to
0.3.0
+13
-10
dist/spz-wasm/build/main.d.ts
// TypeScript bindings for emscripten-generated code. Automatically generated at compile time.
declare namespace RuntimeExports {
let HEAPF32: any;
let HEAPF64: any;
let HEAP_DATA_VIEW: any;
let HEAP8: any;
let HEAPU8: any;
let HEAP16: any;
let HEAPU16: any;
let HEAP32: any;
let HEAPU32: any;
let HEAP64: any;
let HEAPU64: any;
}

@@ -25,2 +16,4 @@ interface WasmModule {

isDeleted(): boolean;
// @ts-ignore - If targeting lower than ESNext, this symbol might not exist.
[Symbol.dispose](): void;
clone(): this;

@@ -44,2 +37,11 @@ }

export interface CoordinateSystemValue<T extends number> {
value: T;
}
export type CoordinateSystem = CoordinateSystemValue<0>|CoordinateSystemValue<1>|CoordinateSystemValue<2>|CoordinateSystemValue<3>|CoordinateSystemValue<4>|CoordinateSystemValue<5>|CoordinateSystemValue<6>|CoordinateSystemValue<7>|CoordinateSystemValue<8>;
export type UnpackOptions = {
coordinateSystem: CoordinateSystem
};
export type RawGaussianCloud = {

@@ -64,4 +66,5 @@ numPoints: number,

};
CoordinateSystem: {UNSPECIFIED: CoordinateSystemValue<0>, LDB: CoordinateSystemValue<1>, RDB: CoordinateSystemValue<2>, LUB: CoordinateSystemValue<3>, RUB: CoordinateSystemValue<4>, LDF: CoordinateSystemValue<5>, RDF: CoordinateSystemValue<6>, LUF: CoordinateSystemValue<7>, RUF: CoordinateSystemValue<8>};
vf32_ptr(_0: VectorFloat32): number;
load_spz(_0: number, _1: number): RawGaussianCloud;
load_spz(_0: number, _1: number, _2: UnpackOptions): RawGaussianCloud;
}

@@ -68,0 +71,0 @@

@@ -0,4 +1,9 @@

import { MainModule } from './build/main';
import { GaussianCloud } from './gaussianCloud';
type CoordinateSystemUnion = keyof MainModule["CoordinateSystem"];
interface ILoadSpzOptions {
colorScaleFactor?: number;
unpackOptions?: {
coordinateSystem?: CoordinateSystemUnion;
};
}

@@ -12,2 +17,2 @@ /**

declare const loadSpzFromUrl: (url: string, options?: ILoadSpzOptions) => Promise<GaussianCloud>;
export { type ILoadSpzOptions, loadSpz, loadSpzFromUrl };
export { type ILoadSpzOptions, loadSpz, loadSpzFromUrl, type CoordinateSystemUnion, };

@@ -35,3 +35,3 @@ {

},
"version": "0.2.0",
"version": "0.3.0",
"type": "module",

@@ -38,0 +38,0 @@ "files": [

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display