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

@golem-sdk/golem-js

Package Overview
Dependencies
Maintainers
0
Versions
176
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@golem-sdk/golem-js - npm Package Compare versions

Comparing version 3.2.0-beta.3 to 3.2.0-beta.4

dist/shared-CXQya1Hs.js

1

dist/activity/exe-unit/index.d.ts
export { ExeUnit, LifecycleFunction, ExeUnitOptions } from "./exe-unit";
export { Batch } from "./batch";
export { RemoteProcess } from "./process";
export { GolemWorkError, WorkErrorCode } from "./error";
export { TcpProxy } from "../../network/tcp-proxy";

4

dist/golem-js-experimental.js
'use strict';
var eventemitter3 = require('eventemitter3');
var golemNetwork = require('./shared-CYD0Er8D.js');
var golemNetwork = require('./shared-CXQya1Hs.js');
var uuid = require('uuid');

@@ -16,3 +16,3 @@ require('ya-ts-client');

require('fs');
require('child_process');
require('cross-spawn');
require('flatbuffers/js/flexbuffers.js');

@@ -19,0 +19,0 @@ require('js-sha3');

'use strict';
var golemNetwork = require('./shared-CYD0Er8D.js');
var golemNetwork = require('./shared-CXQya1Hs.js');
var Decimal = require('decimal.js-light');

@@ -16,3 +16,3 @@ require('debug');

require('fs');
require('child_process');
require('cross-spawn');
require('flatbuffers/js/flexbuffers.js');

@@ -189,2 +189,3 @@ require('js-sha3');

});
exports.RemoteProcess = golemNetwork.RemoteProcess;
exports.RentalModuleImpl = golemNetwork.RentalModuleImpl;

@@ -191,0 +192,0 @@ exports.ResourceRental = golemNetwork.ResourceRental;

@@ -13,2 +13,6 @@ import { WorkloadDemandDirectorConfigOptions } from "../options";

readonly engine: string;
readonly runtime: {
name: string;
version: string;
};
readonly minMemGib: number;

@@ -15,0 +19,0 @@ readonly minStorageGib: number;

@@ -19,4 +19,18 @@ import { RequireAtLeastOne } from "../../shared/utils/types";

export type RuntimeDemandOptions = {
/** Type of engine required: vm, wasm, vm-nvidia, etc... */
/** Type of engine required: vm, wasm, vm-nvidia, etc...
* @deprecated This field is deprecated and will be removed in future versions. Please use the 'runtime.name' instead.
*/
engine: string;
runtime: Partial<{
/**
* Name of the runtime supported by the provider: vm, wasm, vm-nvidia, etc...
* @default vm
* */
name: string;
/**
* Runtime version supported by provider
* @default 0.3.0
*/
version: string;
}>;
/** Required providers capabilities to run application: example: ["vpn"] */

@@ -23,0 +37,0 @@ capabilities: string[];

@@ -23,2 +23,3 @@ import { MarketApi } from "ya-ts-client";

runtimeName: string;
runtimeVersion: string;
state: ProposalState;

@@ -25,0 +26,0 @@ }>;

@@ -34,2 +34,3 @@ import { PricingInfo, ProposalProperties } from "../proposal";

get runtimeName(): string;
get runtimeVersion(): string;
/**

@@ -36,0 +37,0 @@ * Get the ID of the offer published by the Provider

export type ScanOptions = {
workload?: {
/**
* @deprecated This param is deprecated and will be removed in future versions. Please use the 'runtime.name' instead.
*/
engine?: string;
runtime?: {
name?: string;
version?: string;
};
capabilities?: string[];

@@ -5,0 +12,0 @@ minMemGib?: number;

@@ -21,3 +21,2 @@ import { StorageProvider } from "./provider";

private startGftpServer;
isInitiated(): boolean;
private generateTempFileName;

@@ -31,3 +30,3 @@ receiveFile(path: string): Promise<string>;

close(): Promise<void>;
private jsonrpc;
private jsonRpc;
private uploadStream;

@@ -34,0 +33,0 @@ private uploadBytes;

{
"name": "@golem-sdk/golem-js",
"version": "3.2.0-beta.3",
"version": "3.2.0-beta.4",
"description": "NodeJS and WebBrowser SDK for building apps running on Golem Network",

@@ -71,2 +71,3 @@ "repository": "https://github.com/golemfactory/golem-js",

"bottleneck": "^2.19.5",
"cross-spawn": "^7.0.3",
"debug": "^4.3.4",

@@ -98,2 +99,3 @@ "decimal.js-light": "^2.5.1",

"@types/async-retry": "^1.4.8",
"@types/cross-spawn": "^6.0.6",
"@types/debug": "^4.1.12",

@@ -100,0 +102,0 @@ "@types/eventsource": "^1.1.15",

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 too big to display

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