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

@heathmont/lab-flask

Package Overview
Dependencies
Maintainers
134
Versions
232
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@heathmont/lab-flask - npm Package Compare versions

Comparing version 1.17.0 to 1.17.1

2

dist/createUrls.js

@@ -37,2 +37,4 @@ "use strict";

}) : undefined,
operatorId: labContext.operatorId ? labContext.operatorId : undefined,
subjectInfo: labContext.subjectInfo ? labContext.subjectInfo : undefined,
sourceFlaskName: labContext.sourceFlaskName,

@@ -39,0 +41,0 @@ sourceFlaskInstanceUuid: Buffer.from(labContext.instanceUuid),

6

dist/index.d.ts

@@ -36,2 +36,4 @@ import 'source-map-support/register';

siteId: number;
operatorId: number;
subjectInfo?: Proto.Global.Context.SubjectInfo;
targetFlaskName?: string;

@@ -53,5 +55,5 @@ instanceUuid?: string;

}
export declare const init: (options: InitOptions, initDefaultContext?: PartialBy<PartialBy<LabContext, "sourceFlaskName">, "siteId">) => Promise<Lab>;
export declare const init: (options: InitOptions, initDefaultContext?: PartialBy<PartialBy<PartialBy<PartialBy<LabContext, "sourceFlaskName">, "siteId">, "operatorId">, "subjectInfo">) => Promise<Lab>;
declare const defaultExport: {
init: (options: InitOptions, initDefaultContext?: PartialBy<PartialBy<LabContext, "sourceFlaskName">, "siteId">) => Promise<Lab>;
init: (options: InitOptions, initDefaultContext?: PartialBy<PartialBy<PartialBy<PartialBy<LabContext, "sourceFlaskName">, "siteId">, "operatorId">, "subjectInfo">) => Promise<Lab>;
longToBigNumber: (long: Long) => import("bignumber.js").BigNumber;

@@ -58,0 +60,0 @@ decimalToBigNumber: (decimal: Proto.Global.Decimal) => import("bignumber.js").BigNumber;

{
"name": "@heathmont/lab-flask",
"version": "1.17.0",
"version": "1.17.1",
"author": "Margus Lamp",

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

import { createLabUrl, createSubstanceActUrl } from './createUrls';
import { Proto } from '@heathmont/coingaming-protobuf';
import { Google, Proto } from '@heathmont/coingaming-protobuf';
import { URL } from 'url';

@@ -21,4 +21,6 @@

siteId: 123223,
operatorId: 2,
targetFlaskName: 'target_flask',
instanceUuid: 'instanceUuid-123',
subjectInfo: Proto.Global.Context.SubjectInfo.create({userToken: Google.Protobuf.StringValue.create({value: 'userToken'})})
},

@@ -35,7 +37,9 @@ 'USERS',

expect(contextProto.siteId.value.toNumber()).toBe(123223);
expect(contextProto.operatorId).toBe(2);
expect(contextProto.sourceFlaskName).toBe('source_flask');
expect(contextProto.sourceFlaskInstanceUuid.toString()).toBe('instanceUuid-123');
expect(contextProto.reaction.targetFlaskName.value).toBe('target_flask');
expect(contextProto.subjectInfo.userToken.value).toBe('userToken');
});
});

@@ -51,2 +51,4 @@ import { LabConfig, LabContext } from './index';

}) : undefined,
operatorId: labContext.operatorId ? labContext.operatorId : undefined,
subjectInfo: labContext.subjectInfo ? labContext.subjectInfo : undefined,
sourceFlaskName: labContext.sourceFlaskName,

@@ -53,0 +55,0 @@ sourceFlaskInstanceUuid: Buffer.from(labContext.instanceUuid),

@@ -59,2 +59,4 @@ import 'source-map-support/register';

siteId: number;
operatorId: number;
subjectInfo?: Proto.Global.Context.SubjectInfo;
targetFlaskName?: string;

@@ -93,3 +95,3 @@ instanceUuid?: string;

options: InitOptions,
initDefaultContext?: PartialBy<PartialBy<LabContext, 'sourceFlaskName'>, 'siteId'>,
initDefaultContext?: PartialBy<PartialBy<PartialBy<PartialBy<LabContext, 'sourceFlaskName'>, 'siteId'>, 'operatorId'>, 'subjectInfo'>,
): Promise<Lab> => {

@@ -96,0 +98,0 @@ const requiredOptions = ['flaskName', 'labUrl', 'labPubKey', 'flaskPrivKey', 'instanceUrl', 'healthCheckFunction'];

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