🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

@wix/sdk-types

Package Overview
Dependencies
Maintainers
29
Versions
149
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@wix/sdk-types - npm Package Compare versions

Comparing version

to
1.13.13

49

internal/build/index.d.ts

@@ -40,18 +40,2 @@ import { MonitoringClient } from '@wix/monitoring-types';

}
declare class Experiments extends ReadOnlyExperiments {
private readonly loaders;
private readonly baseUrl;
private requestContext;
readonly useNewApi: boolean;
private onError;
constructor(obj?: ExperimentsProps);
add(obj: ExperimentsBag): void;
private _addLoader;
private _getUrlWithFallback;
load(scope: string): Promise<void>;
conduct(spec: string, fallbackValue?: string): Promise<string>;
pending(): boolean;
ready(): Promise<any>;
_addConductResult(spec: string, conductResponse: string): Promise<string>;
}
interface ExperimentsBag {

@@ -63,33 +47,2 @@ [key: string]: string | boolean;

}
interface ExperimentsProps extends ReadOnlyExperimentsOptions {
useNewApi?: boolean;
baseUrl?: string;
scope?: string;
scopes?: string[];
requestContext?: RequestContext$1;
onError?: (error: Error) => void;
}
type RequestContext$1 = RequestContextMetasite & OneOf<RequestContextOwner, RequestContextVisitors>;
interface RequestContextMetasite {
overrideCriteria?: {
entityId: string;
};
}
interface RequestContextOwner {
forSiteOwner?: {
loggedInUserId: string;
siteOwnerId: string;
};
}
interface RequestContextVisitors {
forSiteVisitors?: {
visitorId: string;
siteOwnerId: string;
};
}
type OneOf<T1, T2> = ({
[P in keyof T1]?: never;
} & T2) | ({
[P in keyof T2]?: never;
} & T1);

@@ -136,3 +89,3 @@ type Conductor = {

*/
getPetriExperimentsClient?: () => Experiments;
getPetriExperimentsClient?: () => ReadOnlyExperiments;
/**

@@ -139,0 +92,0 @@ * Optional function to get conductor experiments

6

package.json
{
"name": "@wix/sdk-types",
"version": "1.13.12",
"version": "1.13.13",
"license": "MIT",

@@ -36,3 +36,3 @@ "author": {

"devDependencies": {
"@types/node": "^20.17.30",
"@types/node": "^20.17.31",
"eslint": "^8.57.1",

@@ -63,3 +63,3 @@ "eslint-config-sdk": "0.0.0",

},
"falconPackageHash": "30c9904511db4ec394c30380f2bf0130223ee527b2e35e0f4963f149"
"falconPackageHash": "6d0bd6b55864debf549a0f6e0ea8aabdf9747f35cf33cfa81b7af5ab"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet