Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

antengo-listings

Package Overview
Dependencies
Maintainers
1
Versions
61
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

antengo-listings - npm Package Compare versions

Comparing version 1.0.7 to 1.0.8

112

dist/main.js

@@ -1105,2 +1105,6 @@ (function webpackUniversalModuleDefinition(root, factory) {

var _Transaction = __webpack_require__(26);
var _Transaction2 = _interopRequireDefault(_Transaction);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

@@ -1110,3 +1114,4 @@

Browse: _Browse2.default,
Editor: _Editor2.default
Editor: _Editor2.default,
Transaction: _Transaction2.default
};

@@ -1377,2 +1382,107 @@

/***/ },
/* 26 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
var _react = __webpack_require__(2);
var _react2 = _interopRequireDefault(_react);
var _User = __webpack_require__(20);
var _User2 = _interopRequireDefault(_User);
var _Badge = __webpack_require__(22);
var _Badge2 = _interopRequireDefault(_Badge);
var _Category = __webpack_require__(23);
var _Category2 = _interopRequireDefault(_Category);
var _Username = __webpack_require__(24);
var _Username2 = _interopRequireDefault(_Username);
var _Status = __webpack_require__(27);
var _Status2 = _interopRequireDefault(_Status);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
var Transaction = function Transaction(_ref) {
var listing = _ref.listing;
var transaction = _ref.transaction;
var onClick = _ref.onClick;
return _react2.default.createElement(
"div",
null,
_react2.default.createElement(_Status2.default, { transaction: transaction, onClick: onClick }),
_react2.default.createElement(_User2.default, { user: transaction.seller, onClick: onClick }),
_react2.default.createElement(_Badge2.default, { user: transaction.seller, onClick: onClick }),
_react2.default.createElement(
"div",
{ className: "listingUsername", onClick: onClick },
_react2.default.createElement(_Username2.default, { user: transaction.seller })
),
_react2.default.createElement(_Category2.default, { listing: listing })
);
};
module.exports = Transaction;
/***/ },
/* 27 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
var _react = __webpack_require__(2);
var _react2 = _interopRequireDefault(_react);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
var Status = function Status(_ref) {
var transaction = _ref.transaction;
var onClick = _ref.onClick;
var unread = transaction.unread;
if (transaction.completed) {
return _react2.default.createElement(
"div",
{ className: "statusContainer", onClick: onClick },
_react2.default.createElement("div", { className: true ? "transactionStatusBulletsCompleteNew" : "transactionStatusBulletsComplete" })
);
}
if (transaction.canceled) {
return _react2.default.createElement(
"div",
{ className: "statusContainer", onClick: onClick },
_react2.default.createElement("div", { className: true ? "transactionStatusBulletsCanceledNew" : "transactionStatusBulletsCanceled" })
);
}
return _react2.default.createElement(
"div",
{ className: true ? "statusContainerGreen" : "", onClick: onClick },
_react2.default.createElement(
"span",
{ className: unread ? "unreadStamp" : "" },
unread ? "NEW" : ""
),
_react2.default.createElement(
"span",
{ className: true ? "unreadTransaction" : "" },
transaction.text
)
);
};
module.exports = Status;
/***/ }

@@ -1379,0 +1489,0 @@ /******/ ])

2

package.json
{
"name": "antengo-listings",
"version": "1.0.7",
"version": "1.0.8",
"description": "React module to render listings",

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

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