@golem-sdk/golem-js
Advanced tools
Comparing version 3.2.0-beta.3 to 3.2.0-beta.4
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"; |
'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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Shell access
Supply chain riskThis module accesses the system shell. Accessing the system shell increases the risk of executing arbitrary code.
Found 1 instance in 1 package
3085315
21541
22
22
52
+ Addedcross-spawn@^7.0.3