Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@trimble-oss/trimble-id

Package Overview
Dependencies
Maintainers
6
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@trimble-oss/trimble-id - npm Package Compare versions

Comparing version 0.0.2 to 0.0.3-rc.1

4

AnalyticsHttpClient.js

@@ -28,3 +28,3 @@ (function (root, factory) {

sdkName = "@trimble-oss/trimble-id";
sdkVersion = "0.0.2";
sdkVersion = "0.0.3-rc.1";

@@ -105,2 +105,2 @@ constructor() {

return AnalyticsHttpClient;
}));
}));

@@ -8,5 +8,6 @@ 'use strict';

define(['./HttpClient', './AnalyticsHttpClient'], (HttpClient, AnalyticsHttpClient) => {
return factory({
HttpClient: HttpClient,
AnalyticsHttpClient: AnalyticsHttpClient });
return factory({
HttpClient: HttpClient,
AnalyticsHttpClient: AnalyticsHttpClient
});
});

@@ -33,5 +34,6 @@ } else if (typeof exports === 'object') {

this._consumerKey = this.RetrieveConsumerKey();
//Send analytics
this._analyticshttpclient = new imports.AnalyticsHttpClient()
this._analyticshttpclient.sendInitEvent(this.constructor.name);
this._analyticshttpclient.sendInitEvent(this.constructor.name, this._consumerKey);
};

@@ -46,3 +48,3 @@

//Send analytics
this._analyticshttpclient.sendMethodEvent("RetrieveClient");
this._analyticshttpclient.sendMethodEvent("RetrieveClient", this._consumerKey);

@@ -64,4 +66,16 @@ var self = this;

/**
* @function
* @name RetrieveConsumerKey
* @returns {string} It retrieves the consumer key of the application.
*/
BearerTokenHttpClientProvider.prototype.RetrieveConsumerKey = function () {
if (this._tokenProvider != null) {
return this._tokenProvider._consumerKey;
}
return null;
};
// Exposed public methods
return BearerTokenHttpClientProvider;
}));
{
"name": "@trimble-oss/trimble-id",
"version": "0.0.2",
"version": "0.0.3-rc.1",
"description": "Trimble Identity SDK for JavaScript/ TypeScript",

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

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