New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@unrevealed/node

Package Overview
Dependencies
Maintainers
1
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@unrevealed/node - npm Package Compare versions

Comparing version 0.0.6-rc.1 to 0.0.6-rc.2

2

lib/types/index.d.ts
export type { UnrevealedLogger } from './Logger';
export type { UnrevealedFeatureKey, UnrevealedFeatures, UnrevealedTeamTraits, UnrevealedUserTraits, } from './types';
export type { FeatureKey, Features, TeamTraits, UserTraits } from './types';
export { UnrevealedClient, type ReadyState, type UnrevealedClientOptions, } from './UnrevealedClient';
//# sourceMappingURL=index.d.ts.map

@@ -1,16 +0,16 @@

export interface UnrevealedFeatures {
export interface Features {
}
export type UnrevealedFeatureKey = keyof UnrevealedFeatures extends never ? string : keyof UnrevealedFeatures;
export interface UnrevealedUserTraits {
export type FeatureKey = keyof Features extends never ? string : keyof Features;
export interface UserTraits {
}
export interface User {
id: string;
traits: keyof UnrevealedUserTraits extends never ? Record<string, unknown> : UnrevealedUserTraits;
traits: keyof UserTraits extends never ? Record<string, unknown> : UserTraits;
}
export interface UnrevealedTeamTraits {
export interface TeamTraits {
}
export interface Team {
id: string;
traits: keyof UnrevealedTeamTraits extends never ? Record<string, unknown> : UnrevealedTeamTraits;
traits: keyof TeamTraits extends never ? Record<string, unknown> : TeamTraits;
}
//# sourceMappingURL=types.d.ts.map
import { UnrevealedLogger } from './Logger';
import { Team, UnrevealedFeatureKey, User } from './types';
import { FeatureKey, Team, User } from './types';
export type ReadyState = 'UNINITIALIZED' | 'CONNECTING' | 'READY' | 'CLOSED';

@@ -23,3 +23,3 @@ export interface UnrevealedClientOptions {

close(): void;
isFeatureEnabled(featureKey: UnrevealedFeatureKey, { user, team }?: {
isFeatureEnabled(featureKey: FeatureKey, { user, team }?: {
user?: User;

@@ -31,3 +31,3 @@ team?: Team;

team?: Team;
}): Promise<UnrevealedFeatureKey[]>;
}): Promise<FeatureKey[]>;
identify({ user, team }: {

@@ -34,0 +34,0 @@ user?: User;

{
"name": "@unrevealed/node",
"version": "0.0.6-rc.1",
"version": "0.0.6-rc.2",
"description": "Unrevealed SDK for Node",

@@ -5,0 +5,0 @@ "main": "./lib/index.js",

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

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