@ambiwork/shared-js
Advanced tools
Comparing version 1.0.33 to 1.0.34
@@ -6,10 +6,14 @@ "use strict"; | ||
}); | ||
exports.default = void 0; | ||
exports["default"] = void 0; | ||
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _nonIterableRest(); } | ||
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); } | ||
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance"); } | ||
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } | ||
function _iterableToArrayLimit(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; } | ||
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(n); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); } | ||
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; } | ||
function _iterableToArrayLimit(arr, i) { if (typeof Symbol === "undefined" || !(Symbol.iterator in Object(arr))) return; var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; } | ||
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; } | ||
@@ -26,5 +30,3 @@ | ||
/* eslint-disable no-continue */ | ||
var ChatMessage = | ||
/*#__PURE__*/ | ||
function () { | ||
var ChatMessage = /*#__PURE__*/function () { | ||
function ChatMessage() { | ||
@@ -85,5 +87,5 @@ _classCallCheck(this, ChatMessage); | ||
try { | ||
var _ref = new URL(tryToParseUrl); | ||
var _URL = new URL(tryToParseUrl); | ||
parsedHref = _ref.href; | ||
parsedHref = _URL.href; | ||
} catch (exception) { | ||
@@ -110,2 +112,2 @@ continue; | ||
exports.default = ChatMessage; | ||
exports["default"] = ChatMessage; |
@@ -6,3 +6,3 @@ "use strict"; | ||
}); | ||
exports.default = void 0; | ||
exports["default"] = void 0; | ||
@@ -23,5 +23,3 @@ var _AmbiClientStatus = require("./AmbiClientStatus"); | ||
var AmbiClient = | ||
/*#__PURE__*/ | ||
function () { | ||
var AmbiClient = /*#__PURE__*/function () { | ||
function AmbiClient(fromModel, fromJson) { | ||
@@ -144,2 +142,2 @@ _classCallCheck(this, AmbiClient); | ||
exports.default = AmbiClient; | ||
exports["default"] = AmbiClient; |
@@ -6,6 +6,8 @@ "use strict"; | ||
}); | ||
exports.default = exports.AmbiClientAuth0 = void 0; | ||
exports["default"] = exports.AmbiClientAuth0 = void 0; | ||
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; var ownKeys = Object.keys(source); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; })); } ownKeys.forEach(function (key) { _defineProperty(target, key, source[key]); }); } return target; } | ||
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } | ||
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } | ||
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; } | ||
@@ -19,5 +21,3 @@ | ||
var AmbiClientAuth0 = | ||
/*#__PURE__*/ | ||
function () { | ||
var AmbiClientAuth0 = /*#__PURE__*/function () { | ||
function AmbiClientAuth0(_ref) { | ||
@@ -58,2 +58,2 @@ var ambiClientId = _ref.clientId, | ||
exports.default = exports.AmbiClientAuth0 = AmbiClientAuth0; | ||
exports["default"] = exports.AmbiClientAuth0 = AmbiClientAuth0; |
@@ -6,3 +6,3 @@ "use strict"; | ||
}); | ||
exports.default = exports.AmbiClientFeatures = void 0; | ||
exports["default"] = exports.AmbiClientFeatures = void 0; | ||
@@ -17,5 +17,3 @@ var _enums = require("../enums"); | ||
var AmbiClientFeatures = | ||
/*#__PURE__*/ | ||
function () { | ||
var AmbiClientFeatures = /*#__PURE__*/function () { | ||
function AmbiClientFeatures(features) { | ||
@@ -125,2 +123,2 @@ _classCallCheck(this, AmbiClientFeatures); | ||
exports.default = exports.AmbiClientFeatures = AmbiClientFeatures; | ||
exports["default"] = exports.AmbiClientFeatures = AmbiClientFeatures; |
@@ -6,3 +6,3 @@ "use strict"; | ||
}); | ||
exports.default = exports.AmbiClientStatus = void 0; | ||
exports["default"] = exports.AmbiClientStatus = void 0; | ||
@@ -17,5 +17,3 @@ var _enums = require("../enums"); | ||
var AmbiClientStatus = | ||
/*#__PURE__*/ | ||
function () { | ||
var AmbiClientStatus = /*#__PURE__*/function () { | ||
function AmbiClientStatus(_ref) { | ||
@@ -61,2 +59,2 @@ var id = _ref.id, | ||
exports.default = exports.AmbiClientStatus = AmbiClientStatus; | ||
exports["default"] = exports.AmbiClientStatus = AmbiClientStatus; |
@@ -6,3 +6,3 @@ "use strict"; | ||
}); | ||
exports.default = exports.AmbiClientTheme = void 0; | ||
exports["default"] = exports.AmbiClientTheme = void 0; | ||
@@ -15,5 +15,3 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } | ||
var AmbiClientTheme = | ||
/*#__PURE__*/ | ||
function () { | ||
var AmbiClientTheme = /*#__PURE__*/function () { | ||
function AmbiClientTheme(_ref) { | ||
@@ -49,2 +47,2 @@ var id = _ref.id, | ||
exports.default = exports.AmbiClientTheme = AmbiClientTheme; | ||
exports["default"] = exports.AmbiClientTheme = AmbiClientTheme; |
@@ -6,3 +6,3 @@ "use strict"; | ||
}); | ||
exports.default = void 0; | ||
exports["default"] = void 0; | ||
@@ -15,5 +15,3 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } | ||
var AmbiUser = | ||
/*#__PURE__*/ | ||
function () { | ||
var AmbiUser = /*#__PURE__*/function () { | ||
function AmbiUser() { | ||
@@ -44,2 +42,2 @@ _classCallCheck(this, AmbiUser); | ||
exports.default = AmbiUser; | ||
exports["default"] = AmbiUser; |
@@ -9,3 +9,3 @@ "use strict"; | ||
get: function get() { | ||
return _AmbiClient.default; | ||
return _AmbiClient["default"]; | ||
} | ||
@@ -34,3 +34,3 @@ }); | ||
get: function get() { | ||
return _AmbiUser.default; | ||
return _AmbiUser["default"]; | ||
} | ||
@@ -41,3 +41,3 @@ }); | ||
get: function get() { | ||
return _AmbiChatMessage.default; | ||
return _AmbiChatMessage["default"]; | ||
} | ||
@@ -58,2 +58,2 @@ }); | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; } |
@@ -9,3 +9,3 @@ "use strict"; | ||
get: function get() { | ||
return _NewsfeedType.default; | ||
return _NewsfeedType["default"]; | ||
} | ||
@@ -16,3 +16,3 @@ }); | ||
get: function get() { | ||
return _ClientStatusType.default; | ||
return _ClientStatusType["default"]; | ||
} | ||
@@ -25,2 +25,2 @@ }); | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; } |
{ | ||
"name": "@ambiwork/shared-js", | ||
"version": "1.0.33", | ||
"version": "1.0.34", | ||
"description": "Ambi's shared JS", | ||
@@ -5,0 +5,0 @@ "author": "Ambi (https://ambi.work)", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
24301
0
557