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

@hackler/sdk-core

Package Overview
Dependencies
Maintainers
1
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hackler/sdk-core - npm Package Compare versions

Comparing version 1.1.0 to 1.1.1

28

lib/internal/client/HackleClientImpl.js

@@ -41,3 +41,9 @@ "use strict";

else {
userId = IdentifierManager_1.getHId();
try {
userId = IdentifierManager_1.getHId();
}
catch (e) {
log.error("user must not be null.");
return defaultVariation;
}
}

@@ -53,4 +59,8 @@ var workspace = this.workspaceFetcher.get();

}
var hackleProperties;
// @ts-ignore
var hackleProperties = HacklePropertyGenerator_1.default.generate(window);
if ((typeof window) !== "undefined") {
// @ts-ignore
hackleProperties = HacklePropertyGenerator_1.default.generate(window);
}
var decision = this.decider.decide(experiment, userId);

@@ -95,3 +105,9 @@ if (decision instanceof Decider_1.Decision.NotAllocated) {

else {
userId = IdentifierManager_1.getHId();
try {
userId = IdentifierManager_1.getHId();
}
catch (e) {
log.error("user must not be null.");
return;
}
}

@@ -101,4 +117,8 @@ var workspace = this.workspaceFetcher.get();

return;
var hackleProperties;
// @ts-ignore
var hackleProperties = HacklePropertyGenerator_1.default.generate(window);
if ((typeof window) !== "undefined") {
// @ts-ignore
hackleProperties = HacklePropertyGenerator_1.default.generate(window);
}
if (typeof event === "string") {

@@ -105,0 +125,0 @@ var eventType = workspace.getEventTypeOrNull(event);

2

package.json
{
"name": "@hackler/sdk-core",
"version": "1.1.0",
"version": "1.1.1",
"description": "JavaScript SDK-core",

@@ -5,0 +5,0 @@ "author": {

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

#Hackle JavaScript SDK-core
# Hackle JavaScript SDK-core

@@ -3,0 +3,0 @@ ## Install

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