Socket
Socket
Sign inDemoInstall

@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.3 to 2.0.4

helpers/MpHelper.d.ts

10

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

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

"dependencies": {
"@12stonechurch/omnihive-worker-cloudinary": "2.0.3",
"@12stonechurch/omnihive-worker-elastic": "2.0.3",
"@withonevision/omnihive-client": "6.2.48",
"@withonevision/omnihive-core": "6.2.48",
"@12stonechurch/omnihive-worker-cloudinary": "2.0.4",
"@12stonechurch/omnihive-worker-elastic": "2.0.4",
"@withonevision/omnihive-client": "6.2.52",
"@withonevision/omnihive-core": "6.2.52",
"axios": "0.21.1",

@@ -33,0 +33,0 @@ "serialize-error": "8.1.0"

@@ -9,5 +9,5 @@ /// <reference types="src/types/globals.omnihive" />

init: (workers: RegisteredHiveWorker[], environmentVariables: EnvironmentVariable[]) => Promise<void>;
runQuery: (query: string) => Promise<any>;
runQuery: (query: string, retry?: boolean) => Promise<any>;
runCustomSql: (query: string) => Promise<any>;
}
//# sourceMappingURL=GraphService.d.ts.map

@@ -21,3 +21,3 @@ "use strict";

try {
omnihive_client_1.OmniHiveClient.getSingleton().init(workers, environmentVariables);
yield omnihive_client_1.OmniHiveClient.getSingleton().init(workers, environmentVariables);
}

@@ -28,3 +28,3 @@ catch (err) {

});
this.runQuery = (query) => __awaiter(this, void 0, void 0, function* () {
this.runQuery = (query, retry = false) => __awaiter(this, void 0, void 0, function* () {
try {

@@ -38,3 +38,8 @@ if (!query) {

catch (err) {
throw new Error(JSON.stringify(serialize_error_1.serializeError(err)));
if (err.message.includes("Connection is closed.") && !retry) {
yield this.runQuery(query, true);
}
else {
throw new Error(JSON.stringify(serialize_error_1.serializeError(err)));
}
}

@@ -41,0 +46,0 @@ });

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