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

@statsig/client-core

Package Overview
Dependencies
Maintainers
4
Versions
116
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@statsig/client-core - npm Package Compare versions

Comparing version 2.1.1 to 2.2.0-beta.1

2

package.json
{
"name": "@statsig/client-core",
"version": "2.1.1",
"version": "2.2.0-beta.1",
"dependencies": {},

@@ -5,0 +5,0 @@ "type": "commonjs",

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

export declare const SDK_VERSION = "2.1.1";
export declare const SDK_VERSION = "2.2.0-beta.1";
export type StatsigMetadata = {

@@ -3,0 +3,0 @@ readonly [key: string]: string | undefined;

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.StatsigMetadataProvider = exports.SDK_VERSION = void 0;
exports.SDK_VERSION = '2.1.1';
exports.SDK_VERSION = '2.2.0-beta.1';
let metadata = {

@@ -6,0 +6,0 @@ sdkVersion: exports.SDK_VERSION,

import { LogLevel } from './Log';
import { NetworkArgs } from './NetworkConfig';
import { OverrideAdapter } from './OverrideAdapter';
import { StorageProvider } from './StorageProvider';
/** Options that can be set at init and updated during runtime. */

@@ -113,2 +114,8 @@ export type StatsigRuntimeMutableOptions = {

initialSessionID?: string;
/**
* Swaps out the storage layer used by the SDK.
*
* default: `window.localStorage` on Web. `@react-native-async-storage/async-storage` on Mobile.
*/
storageProvider?: StorageProvider;
};

@@ -115,0 +122,0 @@ export type AnyStatsigOptions = StatsigOptionsCommon<NetworkConfigCommon>;

export type StorageProvider = {
_isProviderReady?: Promise<void>;
_getProviderName: () => string;

@@ -3,0 +4,0 @@ _getItem: (key: string) => string | null;

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