New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

morphcloud

Package Overview
Dependencies
Maintainers
1
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

morphcloud - npm Package Compare versions

Comparing version
0.0.17-test.0
to
0.0.17
+9
-0
dist/index.cjs

@@ -1304,2 +1304,11 @@ "use strict";

}
async setTTL(ttlSeconds, ttlAction) {
const action = ttlAction ?? "stop";
const payload = {
ttl_seconds: ttlSeconds,
ttl_action: action
};
await this.client.POST(`/instance/${this.id}/ttl`, {}, payload);
await this.refresh();
}
/**

@@ -1306,0 +1315,0 @@ * Get the SSH key details for this instance.

+1
-0

@@ -205,2 +205,3 @@ import { NodeSSH } from 'node-ssh';

sync(source: string, dest: string, options?: SyncOptions): Promise<void>;
setTTL(ttlSeconds: number, ttlAction?: "stop" | "pause"): Promise<void>;
/**

@@ -207,0 +208,0 @@ * Get the SSH key details for this instance.

@@ -205,2 +205,3 @@ import { NodeSSH } from 'node-ssh';

sync(source: string, dest: string, options?: SyncOptions): Promise<void>;
setTTL(ttlSeconds: number, ttlAction?: "stop" | "pause"): Promise<void>;
/**

@@ -207,0 +208,0 @@ * Get the SSH key details for this instance.

@@ -1265,2 +1265,11 @@ var __getOwnPropNames = Object.getOwnPropertyNames;

}
async setTTL(ttlSeconds, ttlAction) {
const action = ttlAction ?? "stop";
const payload = {
ttl_seconds: ttlSeconds,
ttl_action: action
};
await this.client.POST(`/instance/${this.id}/ttl`, {}, payload);
await this.refresh();
}
/**

@@ -1267,0 +1276,0 @@ * Get the SSH key details for this instance.

+1
-1
{
"name": "morphcloud",
"version": "0.0.17-test.0",
"version": "0.0.17",
"description": "A Typescript SDK for creating, managing, and interacting with Morph Cloud VMs.",

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

@@ -1166,2 +1166,13 @@ import * as crypto from "crypto";

async setTTL(ttlSeconds: number, ttlAction?: "stop" | "pause"): Promise<void> {
const action = ttlAction ?? "stop";
const payload = {
ttl_seconds: ttlSeconds,
ttl_action: action,
};
await this.client.POST(`/instance/${this.id}/ttl`, {}, payload);
await this.refresh();
}
/**

@@ -1168,0 +1179,0 @@ * Get the SSH key details for this instance.

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display