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
0
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.14.0 to 2.15.0-tracking-pill-contrast934ac6b27b2a666c1eace102cdf740688071e8bf

2

dist/estimate.d.ts

@@ -13,4 +13,4 @@ import { EstimateBody, EstimateFullConfig } from './estimateConfig';

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

@@ -68,3 +68,4 @@ "use strict";

Estimate.prototype.render = function () {
(0, preact_1.render)((0, jsx_runtime_1.jsx)(Modal_1.Modal, { onClose: this.onClose.bind(this), estimateBody: this.estimateBody, config: this.config }), this.el);
var _a;
(0, preact_1.render)((0, jsx_runtime_1.jsx)(Modal_1.Modal, { onClose: (_a = this.config.onClose) !== null && _a !== void 0 ? _a : this.onClose.bind(this), estimateBody: this.estimateBody, config: this.config }), this.el);
};

@@ -71,0 +72,0 @@ Estimate.prototype.close = function () {

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

export interface EstimateConfig {
onClose?: (e: MouseEvent) => void;
style: {

@@ -21,0 +22,0 @@ color: {

@@ -13,4 +13,4 @@ import type { TrackingFullConfig } from './trackingConfig';

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

@@ -72,3 +72,4 @@ "use strict";

Tracking.prototype.render = function () {
(0, preact_1.render)((0, jsx_runtime_1.jsx)(TrackingDrawer_1.TrackingDrawer, { shipmentId: this.shipmentId, config: this.config, onClose: this.onClose.bind(this) }), this.el);
var _a;
(0, preact_1.render)((0, jsx_runtime_1.jsx)(TrackingDrawer_1.TrackingDrawer, { shipmentId: this.shipmentId, config: this.config, onClose: (_a = this.config.onClose) !== null && _a !== void 0 ? _a : this.onClose.bind(this) }), this.el);
};

@@ -75,0 +76,0 @@ Tracking.prototype.close = function () {

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

export interface TrackingConfig {
onClose?: (e: MouseEvent) => void;
navigation: {

@@ -43,0 +44,0 @@ shipmentExceptionMailTo: string;

@@ -90,3 +90,3 @@ "use strict";

textColor: '#202020',
backgroundColor: '#D2D2D2',
backgroundColor: '#E7E7E7',
text: 'Unknown',

@@ -96,3 +96,3 @@ },

textColor: '#202020',
backgroundColor: '#D2D2D2',
backgroundColor: '#E7E7E7',
text: 'Pending',

@@ -102,7 +102,7 @@ },

textColor: '#202020',
backgroundColor: '#D2D2D2',
backgroundColor: '#E7E7E7',
text: 'Not Found',
},
transit: {
textColor: '#379464',
textColor: '#276947',
backgroundColor: '#EFF8F3',

@@ -112,3 +112,3 @@ text: 'In Transit',

out_for_delivery: {
textColor: '#379464',
textColor: '#276947',
backgroundColor: '#EFF8F3',

@@ -123,14 +123,14 @@ text: 'Out for Delivery',

undelivered: {
textColor: '#772424',
backgroundColor: '#FEF9F9',
textColor: '#8C8984',
backgroundColor: '#E7E7E7',
text: 'Undelivered',
},
exception: {
textColor: '#976315',
backgroundColor: '#FEF6E9',
textColor: '#875706',
backgroundColor: '#FEF9F9',
text: 'Exception',
},
expired: {
textColor: '#772424',
backgroundColor: '#FEF9F9',
textColor: '#8C8984',
backgroundColor: '#E7E7E7',
text: 'Expired',

@@ -137,0 +137,0 @@ },

{
"name": "@artaio/arta-browser",
"version": "2.14.0",
"version": "2.15.0-tracking-pill-contrast934ac6b27b2a666c1eace102cdf740688071e8bf",
"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