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

@databeat/tracker

Package Overview
Dependencies
Maintainers
1
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@databeat/tracker - npm Package Compare versions

Comparing version 0.8.3 to 0.9.0

12

dist/databeat-tracker.js

@@ -6,5 +6,5 @@ "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; } var _class; var _class2; var _class3;// src/rpc/proto/databeat.gen.ts

__init() {this.path = "/rpc/Databeat/"}
constructor(hostname, fetch2) {;_class.prototype.__init.call(this);_class.prototype.__init2.call(this);_class.prototype.__init3.call(this);_class.prototype.__init4.call(this);_class.prototype.__init5.call(this);_class.prototype.__init6.call(this);
constructor(hostname, fetch) {;_class.prototype.__init.call(this);_class.prototype.__init2.call(this);_class.prototype.__init3.call(this);_class.prototype.__init4.call(this);_class.prototype.__init5.call(this);_class.prototype.__init6.call(this);
this.hostname = hostname;
this.fetch = (input, init) => fetch2(input, init);
this.fetch = (input, init) => fetch(input, init);
}

@@ -269,9 +269,11 @@ url(name) {

// src/rpc/proto/index.ts
var fetch = typeof global === "object" ? global.fetch : window.fetch;
var DatabeatRpcClient = (_class2 = class extends Databeat {
constructor(hostname, auth) {
super(hostname.endsWith("/") ? hostname.slice(0, -1) : hostname, fetch);_class2.prototype.__init7.call(this);;
const globalFetch = typeof global === "object" ? global.fetch : window.fetch;
super(hostname.endsWith("/") ? hostname.slice(0, -1) : hostname, globalFetch);_class2.prototype.__init7.call(this);;
this.auth = auth;
this._globalFetch = globalFetch;
this.fetch = this._fetch;
}
__init7() {this._fetch = (input, init) => {

@@ -288,3 +290,3 @@ if (this.auth) {

}
return fetch(input, init);
return this._globalFetch(input, init);
}}

@@ -291,0 +293,0 @@ }, _class2);

{
"name": "@databeat/tracker",
"version": "0.8.3",
"version": "0.9.0",
"description": "databeat tracker client for Web browsers and node.js",

@@ -5,0 +5,0 @@ "main": "dist/databeat-tracker.js",

Sorry, the diff of this file is not supported yet

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