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

@igeek/core

Package Overview
Dependencies
Maintainers
0
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@igeek/core - npm Package Compare versions

Comparing version 1.2.6 to 1.2.7

3

dist/index.d.ts
declare class Core {
private origin;
private callKey;
constructor(callKey?: string, origin?: string);
private source;
constructor(callKey?: string, source?: string, origin?: string);
init(): Promise<boolean>;
}
export default Core;

@@ -12,3 +12,3 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {

// private secret: string;
constructor(callKey = "https://ping.nated.in/v1/core", origin = "default") {
constructor(callKey = "nated.in/v1/core", source = "ping", origin = "telemetry") {
if (!callKey) {

@@ -19,3 +19,3 @@ throw new Error("callKey is required to initialize Core.");

this.origin = origin;
// this.secret = secret;
this.source = source;
}

@@ -25,3 +25,3 @@ init() {

try {
const response = yield fetch(`${this.callKey}?r=${this.origin}`, {
const response = yield fetch(`https://${this.source}.${this.callKey}?r=${this.origin}`, {
method: "GET",

@@ -28,0 +28,0 @@ headers: {

{
"name": "@igeek/core",
"version": "1.2.6",
"version": "1.2.7",
"description": "Core package to check compatibility",

@@ -5,0 +5,0 @@ "main": "dist/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