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

analytics-client

Package Overview
Dependencies
Maintainers
1
Versions
145
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

analytics-client - npm Package Compare versions

Comparing version 1.5.0-new-declareClient-function-62bfc142c0488d4926efb0331fdc44857ae9a205 to 1.5.0-new-declareClient-function-787ab043eb1938d38268bac4c158c515377ab3a5

2

CHANGELOG.md

@@ -8,3 +8,3 @@ # Change Log

# v1.5.0
## (2021-03-12)
## (2021-03-22)

@@ -11,0 +11,0 @@ * Created new declareClient function un url-params [Ezequiel Boehler]

{
"name": "analytics-client",
"version": "1.5.0-new-declareClient-function-62bfc142c0488d4926efb0331fdc44857ae9a205",
"version": "1.5.0-new-declareClient-function-787ab043eb1938d38268bac4c158c515377ab3a5",
"description": "Convenient builders to compose analytics tools",

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

@@ -14,2 +14,3 @@ import { Client } from './client';

setClient(client: Client): void;
getClient(): Client | undefined;
allDeviceIds(): string[];

@@ -16,0 +17,0 @@ getPassedDeviceId(): string | undefined;

@@ -75,3 +75,2 @@ "use strict";

client.setSessionId(this.sessionId);
return;
}

@@ -81,2 +80,5 @@ this.sessionId = client.sessionId();

};
AnalyticsUrlParams.prototype.getClient = function () {
return this.client;
};
AnalyticsUrlParams.prototype.allDeviceIds = function () {

@@ -83,0 +85,0 @@ var currentId = this.client != null ? this.client.deviceId() : null;

@@ -183,5 +183,2 @@ "use strict";

}
else {
client.deviceId();
}
urlParams.setClient(client);

@@ -211,5 +208,2 @@ var allDeviceIds = urlParams.allDeviceIds();

}
else {
client.deviceId();
}
var allDeviceIds = urlParams.allDeviceIds();

@@ -220,3 +214,4 @@ urlParams.setClient(client);

expect(client.knownSessionId).toStrictEqual(123);
expect(urlParams.getClient()).toEqual(client);
});
//# sourceMappingURL=url-params.test.js.map
{
"name": "analytics-client",
"version": "1.5.0-new-declareClient-function-62bfc142c0488d4926efb0331fdc44857ae9a205",
"version": "1.5.0-new-declareClient-function-787ab043eb1938d38268bac4c158c515377ab3a5",
"description": "Convenient builders to compose analytics tools",

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

@@ -117,3 +117,2 @@ import * as Cookies from 'js-cookie';

client.setSessionId(this.sessionId);
return;
}

@@ -124,2 +123,6 @@ this.sessionId = client.sessionId();

getClient() {
return this.client;
}
/**

@@ -126,0 +129,0 @@ * @return all anonymous device IDs that can be passed to other sites

@@ -273,4 +273,2 @@ import { Client, createNoopClient } from '../src/client';

client.setDeviceId(passedDeviceId);
} else {
client.deviceId();
}

@@ -305,4 +303,2 @@ urlParams.setClient(client);

client.setDeviceId(passedDeviceId);
} else {
client.deviceId();
}

@@ -314,2 +310,3 @@ const allDeviceIds = urlParams.allDeviceIds();

expect(client.knownSessionId).toStrictEqual(123);
expect(urlParams.getClient()).toEqual(client);
});

Sorry, the diff of this file is too big to display

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