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

@12stonechurch/omnihive-worker-common

Package Overview
Dependencies
Maintainers
5
Versions
145
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@12stonechurch/omnihive-worker-common - npm Package Compare versions

Comparing version 2.0.50 to 2.0.51

6

package.json
{
"name": "@12stonechurch/omnihive-worker-common",
"version": "2.0.50",
"version": "2.0.51",
"description": "OmniHive Custom Function package",

@@ -27,4 +27,4 @@ "license": "MIT",

"dependencies": {
"@12stonechurch/omnihive-worker-cloudinary": "2.0.50",
"@12stonechurch/omnihive-worker-elastic": "2.0.50",
"@12stonechurch/omnihive-worker-cloudinary": "2.0.51",
"@12stonechurch/omnihive-worker-elastic": "2.0.51",
"@withonevision/omnihive-client": "6.2.54",

@@ -31,0 +31,0 @@ "@withonevision/omnihive-core": "6.2.54",

@@ -6,2 +6,3 @@ /// <reference types="src/types/globals.omnihive" />

graphRootUrl: string;
accessToken?: string;
private static singleton;

@@ -8,0 +9,0 @@ static getSingleton: () => GraphService;

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

this.graphRootUrl = "";
this.accessToken = "";
this.init = (workers, environmentVariables) => __awaiter(this, void 0, void 0, function* () {

@@ -33,2 +34,5 @@ try {

}
if (this.accessToken) {
omnihive_client_1.OmniHiveClient.getSingleton().setAccessToken(this.accessToken);
}
const results = yield AwaitHelper_1.AwaitHelper.execute(omnihive_client_1.OmniHiveClient.getSingleton().graphClient(this.graphRootUrl, query));

@@ -51,2 +55,5 @@ return results;

}
if (this.accessToken) {
omnihive_client_1.OmniHiveClient.getSingleton().setAccessToken(this.accessToken);
}
const results = yield AwaitHelper_1.AwaitHelper.execute(omnihive_client_1.OmniHiveClient.getSingleton().runCustomSql(this.graphRootUrl, query));

@@ -53,0 +60,0 @@ return results;

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