Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@2bad/tvt

Package Overview
Dependencies
Maintainers
0
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@2bad/tvt - npm Package Compare versions

Comparing version 1.0.3 to 1.0.4

4

build/decorators/auth.d.ts

@@ -1,2 +0,2 @@

import { type Device } from '../device.js';
import type { Device } from '../device.js';
/**

@@ -13,2 +13,2 @@ * A method decorator that checks if the user is logged in (userId is defined) before executing the decorated method.

*/
export declare const auth: <This extends Device, Args extends any[], Return>(target: (this: This, ...args: Args) => Return, _context: DecoratorContext) => any;
export declare const auth: <This extends Device, Args extends unknown[], Return>(target: (this: This, ...args: Args) => Return, _context: DecoratorContext) => any;

@@ -8,2 +8,2 @@ /**

*/
export declare const measure: <This, Args extends any[], Return>(target: (this: This, ...args: Args) => Return, context: DecoratorContext) => any;
export declare const measure: <This, Args extends unknown[], Return>(target: (this: This, ...args: Args) => Return, context: DecoratorContext) => any;

@@ -34,8 +34,2 @@ import { type DeviceInfo } from './lib/types.js';

/**
* Dispose of the SDK resources.
*
* @returns A boolean indicating whether the cleanup was successful.
*/
cleanup(): boolean;
/**
* This getter method returns the versions information of the device and sdk.

@@ -42,0 +36,0 @@ * If the the information is not available, it throws an error.

@@ -482,9 +482,2 @@ function applyDecs2203RFactory() {

}
return this.cleanup();
}
/**
* Dispose of the SDK resources.
*
* @returns A boolean indicating whether the cleanup was successful.
*/ cleanup() {
return sdk.cleanup();

@@ -578,5 +571,6 @@ }

* @returns A string describing the last error.
*/ getLastError() {
*/ // eslint-disable-next-line @typescript-eslint/class-methods-use-this
getLastError() {
return NET_SDK_ERROR[sdk.getLastError()] ?? 'Unknown error';
}
}

@@ -1,2 +0,1 @@

/// <reference types="node" resolution-mode="require"/>
/**

@@ -3,0 +2,0 @@ * Performs a bitwise XOR operation on two buffers of equal length.

@@ -1,2 +0,2 @@

import { type DeviceInfo, type LOG_LEVEL } from './types.js';
import type { DeviceInfo, LOG_LEVEL } from './types.js';
type SDK = {

@@ -3,0 +3,0 @@ getSDKVersion: () => number;

{
"name": "@2bad/tvt",
"version": "1.0.3",
"version": "1.0.4",
"description": "",

@@ -61,5 +61,5 @@ "keywords": [

"dependencies": {
"debug": "4.3.5",
"debug": "4.3.6",
"easy-buffer": "1.2.0",
"koffi": "2.8.9",
"koffi": "2.9.0",
"roarr": "7.21.1"

@@ -69,22 +69,22 @@ },

"@2bad/tsconfig": "3.0.1",
"@swc/cli": "0.3.12",
"@swc/core": "1.5.24",
"@swc/cli": "0.4.0",
"@swc/core": "1.7.10",
"@types/debug": "4.1.12",
"@types/node": "20.12.13",
"@vitest/coverage-v8": "1.6.0",
"eslint-config-love": "52.0.0",
"@types/node": "20.14.15",
"@vitest/coverage-v8": "2.0.5",
"eslint-config-love": "62.0.0",
"eslint-config-prettier": "9.1.0",
"eslint-import-resolver-typescript": "3.6.1",
"eslint-plugin-jsdoc": "48.2.7",
"eslint-plugin-prettier": "5.1.3",
"eslint-plugin-jsdoc": "50.0.1",
"eslint-plugin-prettier": "5.2.1",
"eslint-plugin-vitest": "0.5.4",
"npm-run-all2": "6.2.0",
"prettier": "3.2.5",
"rimraf": "5.0.7",
"npm-run-all2": "6.2.2",
"prettier": "3.3.3",
"rimraf": "6.0.1",
"tsc-alias": "1.8.10",
"typescript": "5.4.5",
"vite-tsconfig-paths": "4.3.2",
"vitest": "1.6.0"
"typescript": "5.5.4",
"vite-tsconfig-paths": "5.0.1",
"vitest": "2.0.5"
},
"packageManager": "npm@10.8.0",
"packageManager": "npm@10.8.2",
"engines": {

@@ -94,5 +94,5 @@ "node": ">=20"

"volta": {
"node": "22.2.0",
"npm": "10.8.1"
"node": "22.6.0",
"npm": "10.8.2"
}
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc