@crystaldesign/diva-utils 24.11.0-beta.36 → 24.11.0-beta.38
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/cjs/index.js +7 -7
- package/build/esm/index.js +7 -7
- package/package.json +2 -2
package/build/cjs/index.js
CHANGED
|
@@ -134,7 +134,7 @@ var BusinessMetricsUtils = /*#__PURE__*/function () {
|
|
|
134
134
|
}, {
|
|
135
135
|
key: "logEvent",
|
|
136
136
|
value: function () {
|
|
137
|
-
var _logEvent = _asyncToGenerator__default["default"](
|
|
137
|
+
var _logEvent = _asyncToGenerator__default["default"](/*#__PURE__*/_regeneratorRuntime__default["default"].mark(function _callee(eventAction, module, message, labels) {
|
|
138
138
|
return _regeneratorRuntime__default["default"].wrap(function _callee$(_context) {
|
|
139
139
|
while (1) switch (_context.prev = _context.next) {
|
|
140
140
|
case 0:
|
|
@@ -154,7 +154,7 @@ var BusinessMetricsUtils = /*#__PURE__*/function () {
|
|
|
154
154
|
}, {
|
|
155
155
|
key: "event",
|
|
156
156
|
value: function () {
|
|
157
|
-
var _event = _asyncToGenerator__default["default"](
|
|
157
|
+
var _event = _asyncToGenerator__default["default"](/*#__PURE__*/_regeneratorRuntime__default["default"].mark(function _callee2(eventAction, module, message, labels) {
|
|
158
158
|
var event, traceId, promiseQueue, e, promiseCurrent;
|
|
159
159
|
return _regeneratorRuntime__default["default"].wrap(function _callee2$(_context2) {
|
|
160
160
|
while (1) switch (_context2.prev = _context2.next) {
|
|
@@ -216,7 +216,7 @@ var BusinessMetricsUtils = /*#__PURE__*/function () {
|
|
|
216
216
|
}, {
|
|
217
217
|
key: "sendQueuedLogs",
|
|
218
218
|
value: function () {
|
|
219
|
-
var _sendQueuedLogs = _asyncToGenerator__default["default"](
|
|
219
|
+
var _sendQueuedLogs = _asyncToGenerator__default["default"](/*#__PURE__*/_regeneratorRuntime__default["default"].mark(function _callee3() {
|
|
220
220
|
var promises, e;
|
|
221
221
|
return _regeneratorRuntime__default["default"].wrap(function _callee3$(_context3) {
|
|
222
222
|
while (1) switch (_context3.prev = _context3.next) {
|
|
@@ -244,7 +244,7 @@ var BusinessMetricsUtils = /*#__PURE__*/function () {
|
|
|
244
244
|
}, {
|
|
245
245
|
key: "log",
|
|
246
246
|
value: function () {
|
|
247
|
-
var _log = _asyncToGenerator__default["default"](
|
|
247
|
+
var _log = _asyncToGenerator__default["default"](/*#__PURE__*/_regeneratorRuntime__default["default"].mark(function _callee4(e) {
|
|
248
248
|
var logError,
|
|
249
249
|
_e$labels,
|
|
250
250
|
error,
|
|
@@ -864,7 +864,7 @@ var DivaUtils = /*#__PURE__*/function () {
|
|
|
864
864
|
}, {
|
|
865
865
|
key: "updateBasketOrgInfo",
|
|
866
866
|
value: function () {
|
|
867
|
-
var _updateBasketOrgInfo = _asyncToGenerator__default["default"](
|
|
867
|
+
var _updateBasketOrgInfo = _asyncToGenerator__default["default"](/*#__PURE__*/_regeneratorRuntime__default["default"].mark(function _callee(currentBasket, organization, user, keepSalesPersonDataInBasket) {
|
|
868
868
|
var _currentBasket$Client;
|
|
869
869
|
return _regeneratorRuntime__default["default"].wrap(function _callee$(_context) {
|
|
870
870
|
while (1) switch (_context.prev = _context.next) {
|
|
@@ -919,7 +919,7 @@ var DivaUtils = /*#__PURE__*/function () {
|
|
|
919
919
|
}, {
|
|
920
920
|
key: "getRetailerInfo",
|
|
921
921
|
value: function () {
|
|
922
|
-
var _getRetailerInfo = _asyncToGenerator__default["default"](
|
|
922
|
+
var _getRetailerInfo = _asyncToGenerator__default["default"](/*#__PURE__*/_regeneratorRuntime__default["default"].mark(function _callee2(organization, lang) {
|
|
923
923
|
var info;
|
|
924
924
|
return _regeneratorRuntime__default["default"].wrap(function _callee2$(_context2) {
|
|
925
925
|
while (1) switch (_context2.prev = _context2.next) {
|
|
@@ -1158,7 +1158,7 @@ var DivaError = /*#__PURE__*/function (_Error) {
|
|
|
1158
1158
|
}
|
|
1159
1159
|
_inherits__default["default"](DivaError, _Error);
|
|
1160
1160
|
return _createClass__default["default"](DivaError);
|
|
1161
|
-
}(
|
|
1161
|
+
}(/*#__PURE__*/_wrapNativeSuper__default["default"](Error));
|
|
1162
1162
|
|
|
1163
1163
|
var nanoid = nanoid$1.customAlphabet('0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz', 21);
|
|
1164
1164
|
|
package/build/esm/index.js
CHANGED
|
@@ -116,7 +116,7 @@ var BusinessMetricsUtils = /*#__PURE__*/function () {
|
|
|
116
116
|
}, {
|
|
117
117
|
key: "logEvent",
|
|
118
118
|
value: function () {
|
|
119
|
-
var _logEvent = _asyncToGenerator(
|
|
119
|
+
var _logEvent = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee(eventAction, module, message, labels) {
|
|
120
120
|
return _regeneratorRuntime.wrap(function _callee$(_context) {
|
|
121
121
|
while (1) switch (_context.prev = _context.next) {
|
|
122
122
|
case 0:
|
|
@@ -136,7 +136,7 @@ var BusinessMetricsUtils = /*#__PURE__*/function () {
|
|
|
136
136
|
}, {
|
|
137
137
|
key: "event",
|
|
138
138
|
value: function () {
|
|
139
|
-
var _event = _asyncToGenerator(
|
|
139
|
+
var _event = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee2(eventAction, module, message, labels) {
|
|
140
140
|
var event, traceId, promiseQueue, e, promiseCurrent;
|
|
141
141
|
return _regeneratorRuntime.wrap(function _callee2$(_context2) {
|
|
142
142
|
while (1) switch (_context2.prev = _context2.next) {
|
|
@@ -198,7 +198,7 @@ var BusinessMetricsUtils = /*#__PURE__*/function () {
|
|
|
198
198
|
}, {
|
|
199
199
|
key: "sendQueuedLogs",
|
|
200
200
|
value: function () {
|
|
201
|
-
var _sendQueuedLogs = _asyncToGenerator(
|
|
201
|
+
var _sendQueuedLogs = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee3() {
|
|
202
202
|
var promises, e;
|
|
203
203
|
return _regeneratorRuntime.wrap(function _callee3$(_context3) {
|
|
204
204
|
while (1) switch (_context3.prev = _context3.next) {
|
|
@@ -226,7 +226,7 @@ var BusinessMetricsUtils = /*#__PURE__*/function () {
|
|
|
226
226
|
}, {
|
|
227
227
|
key: "log",
|
|
228
228
|
value: function () {
|
|
229
|
-
var _log = _asyncToGenerator(
|
|
229
|
+
var _log = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee4(e) {
|
|
230
230
|
var logError,
|
|
231
231
|
_e$labels,
|
|
232
232
|
error,
|
|
@@ -846,7 +846,7 @@ var DivaUtils = /*#__PURE__*/function () {
|
|
|
846
846
|
}, {
|
|
847
847
|
key: "updateBasketOrgInfo",
|
|
848
848
|
value: function () {
|
|
849
|
-
var _updateBasketOrgInfo = _asyncToGenerator(
|
|
849
|
+
var _updateBasketOrgInfo = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee(currentBasket, organization, user, keepSalesPersonDataInBasket) {
|
|
850
850
|
var _currentBasket$Client;
|
|
851
851
|
return _regeneratorRuntime.wrap(function _callee$(_context) {
|
|
852
852
|
while (1) switch (_context.prev = _context.next) {
|
|
@@ -901,7 +901,7 @@ var DivaUtils = /*#__PURE__*/function () {
|
|
|
901
901
|
}, {
|
|
902
902
|
key: "getRetailerInfo",
|
|
903
903
|
value: function () {
|
|
904
|
-
var _getRetailerInfo = _asyncToGenerator(
|
|
904
|
+
var _getRetailerInfo = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee2(organization, lang) {
|
|
905
905
|
var info;
|
|
906
906
|
return _regeneratorRuntime.wrap(function _callee2$(_context2) {
|
|
907
907
|
while (1) switch (_context2.prev = _context2.next) {
|
|
@@ -1140,7 +1140,7 @@ var DivaError = /*#__PURE__*/function (_Error) {
|
|
|
1140
1140
|
}
|
|
1141
1141
|
_inherits(DivaError, _Error);
|
|
1142
1142
|
return _createClass(DivaError);
|
|
1143
|
-
}(
|
|
1143
|
+
}(/*#__PURE__*/_wrapNativeSuper(Error));
|
|
1144
1144
|
|
|
1145
1145
|
var nanoid = customAlphabet('0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz', 21);
|
|
1146
1146
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@crystaldesign/diva-utils",
|
|
3
|
-
"version": "24.11.0-beta.
|
|
3
|
+
"version": "24.11.0-beta.38",
|
|
4
4
|
"description": "",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"test": "echo \"Error: no test specified\" && exit 1"
|
|
@@ -24,5 +24,5 @@
|
|
|
24
24
|
"module": "build/esm/index.js",
|
|
25
25
|
"types": "./build/types/index.d.ts",
|
|
26
26
|
"main": "build/cjs/index.js",
|
|
27
|
-
"gitHead": "
|
|
27
|
+
"gitHead": "42b8b849e046365dd9967fb087a935fbc379bc91"
|
|
28
28
|
}
|