🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

@salesforce/apex-node

Package Overview
Dependencies
Maintainers
42
Versions
137
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@salesforce/apex-node - npm Package Compare versions

Comparing version

to
0.0.2

lib/execute/executeService.d.ts

2

lib/i18n/i18n.d.ts

@@ -14,2 +14,4 @@ /**

file_not_found_error: string;
unexpected_log_get_command_error: string;
num_logs_error: string;
};

4

lib/i18n/i18n.js

@@ -21,4 +21,6 @@ "use strict";

unexpected_execute_command_error: 'Unexpected error while executing anonymous apex. %s',
file_not_found_error: 'File not found at the specified path: %s'
file_not_found_error: 'File not found at the specified path: %s',
unexpected_log_get_command_error: 'Unexpected error while getting logs. %s',
num_logs_error: 'Expected number of logs to be greater than 0.'
};
//# sourceMappingURL=i18n.js.map

@@ -1,2 +0,4 @@

export { ExecuteAnonymousResponse, ApexExecuteOptions } from './types/service';
export { ApexService } from './apexService';
export { ExecuteAnonymousResponse, ApexExecuteOptions, ApexLogGetOptions } from './types';
export { ExecuteService } from './execute';
export { LogService } from './logs';
export { TestService } from './tests';

@@ -9,4 +9,8 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
var apexService_1 = require("./apexService");
exports.ApexService = apexService_1.ApexService;
var execute_1 = require("./execute");
exports.ExecuteService = execute_1.ExecuteService;
var logs_1 = require("./logs");
exports.LogService = logs_1.LogService;
var tests_1 = require("./tests");
exports.TestService = tests_1.TestService;
//# sourceMappingURL=index.js.map

@@ -0,1 +1,8 @@

/// <reference types="node" />
import { CommonOptions } from './common';
export declare type ApexExecuteOptions = CommonOptions & {
targetUsername?: string;
apexFilePath?: string;
apexCode?: string | Buffer;
};
export declare const soapEnv = "soapenv:Envelope";

@@ -39,1 +46,13 @@ export declare const soapBody = "soapenv:Body";

}
export declare type ExecuteAnonymousResponse = {
result: {
column: number;
compiled: boolean;
compileProblem: string;
exceptionMessage: string;
exceptionStackTrace: string;
line: number;
success: boolean;
logs: string;
};
};
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
/*
* Copyright (c) 2020, salesforce.com, inc.
* All rights reserved.
* Licensed under the BSD 3-Clause license.
* For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause
*/
exports.soapEnv = 'soapenv:Envelope';

@@ -10,0 +4,0 @@ exports.soapBody = 'soapenv:Body';

@@ -1,1 +0,2 @@

export { ExecuteAnonymousResponse, ApexExecuteOptions } from './service';
export { ExecuteAnonymousResponse, ApexExecuteOptions } from './execute';
export { ApexLogGetOptions } from './logs';
{
"name": "@salesforce/apex-node",
"description": "Salesforce js library for Apex",
"version": "0.0.1",
"version": "0.0.2",
"author": "Salesforce",

@@ -50,6 +50,3 @@ "bugs": "https://github.com/forcedotcom/salesforcedx-apex/issues",

"node": ">=10.17.0"
},
"publishConfig": {
"access": "public"
}
}

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 not supported yet