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

@artaio/arta-browser

Package Overview
Dependencies
Maintainers
2
Versions
74
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@artaio/arta-browser - npm Package Compare versions

Comparing version 2.2.5 to 2.2.6

2

dist/estimate.d.ts

@@ -10,3 +10,3 @@ import { EstimateBody, EstimateFullConfig } from './estimateConfig';

onClose(e: any): void;
validate(): Promise<void>;
validate(): Promise<undefined>;
}

@@ -59,2 +59,3 @@ "use strict";

return __awaiter(this, void 0, void 0, function () {
var errors;
return __generator(this, function (_a) {

@@ -64,3 +65,7 @@ switch (_a.label) {

case 1:
_a.sent();
errors = _a.sent();
if (errors && Object.keys(errors).length > 0) {
return [2 /*return*/, Promise.reject(errors)];
}
;
this.ready = true;

@@ -67,0 +72,0 @@ return [2 /*return*/];

@@ -74,5 +74,4 @@ "use strict";

var finalConfig = nestedObjectAssign(__assign(__assign({}, exports.defaultEstimateConfig), artaConfig), estimateConfig);
console.log('final config', finalConfig);
return finalConfig;
};
exports.getFullConfig = getFullConfig;

@@ -25,2 +25,2 @@ import { ArtaJsFullConfig } from './arta';

export declare const loadQuoteRequests: (config: ArtaJsFullConfig, hostedSession: HostedSession, estimateBody: EstimateBody) => Promise<QuoteRequest>;
export declare const validateEstimateBody: (config: ArtaJsFullConfig, estimateBody: EstimateBody) => Promise<boolean>;
export declare const validateEstimateBody: (config: ArtaJsFullConfig, estimateBody: EstimateBody) => Promise<any>;

@@ -140,4 +140,5 @@ "use strict";

var path, body, res;
return __generator(this, function (_a) {
switch (_a.label) {
var _a;
return __generator(this, function (_b) {
switch (_b.label) {
case 0:

@@ -148,4 +149,4 @@ path = '/estimate/validate';

case 1:
res = _a.sent();
return [2 /*return*/, !res.errors || res.errors.length === 0];
res = _b.sent();
return [2 /*return*/, (_a = res.err) === null || _a === void 0 ? void 0 : _a.errors];
}

@@ -152,0 +153,0 @@ });

{
"name": "@artaio/arta-browser",
"version": "2.2.5",
"version": "2.2.6",
"description": "",

@@ -5,0 +5,0 @@ "source": "lib/index.ts",

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

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