wappsto-blanket
Advanced tools
Comparing version 2.1.2 to 2.1.3
@@ -14,3 +14,3 @@ "use strict"; | ||
var _uuid = require("uuid"); | ||
var _util = require("../util"); | ||
@@ -35,3 +35,3 @@ function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); } | ||
var _useState = (0, _react.useState)(function () { | ||
return id || (0, _uuid.v4)(); | ||
return id || (0, _util.uuid)(); | ||
}), | ||
@@ -38,0 +38,0 @@ _useState2 = _slicedToArray(_useState, 2), |
@@ -13,2 +13,3 @@ "use strict"; | ||
exports.updateStream = updateStream; | ||
exports.uuid = uuid; | ||
@@ -19,3 +20,3 @@ var _wappstoRedux = require("wappsto-redux"); | ||
var _uuid = require("uuid"); | ||
var _crypto = _interopRequireDefault(require("crypto")); | ||
@@ -52,2 +53,6 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; } | ||
function uuid() { | ||
return _crypto["default"].randomUUID(); | ||
} | ||
function getServiceUrl(service, options) { | ||
@@ -66,3 +71,3 @@ var version = options && options.version ? options.version : (0, _wappstoRedux.getServiceVersion)(service); | ||
method: 'PATCH', | ||
id: (0, _uuid.v4)(), | ||
id: uuid(), | ||
params: { | ||
@@ -69,0 +74,0 @@ url: "".concat(getServiceUrl(options.endPoint || options.service, options), "/open/subscription"), |
{ | ||
"name": "wappsto-blanket", | ||
"version": "2.1.2", | ||
"version": "2.1.3", | ||
"description": "", | ||
@@ -42,3 +42,2 @@ "main": "dist/index.js", | ||
"react-redux": "^7.2.8", | ||
"uuid": "^8.3.1", | ||
"wappsto-redux": "^4.0.2" | ||
@@ -67,4 +66,4 @@ }, | ||
"husky": "^7.0.4", | ||
"jest": "^27.5.1", | ||
"jest-environment-jsdom": "^27.5.1", | ||
"jest": "^28.0.2", | ||
"jest-environment-jsdom": "^28.0.2", | ||
"jest-environment-jsdom-global": "^3.0.0", | ||
@@ -71,0 +70,0 @@ "jest-fetch-mock": "^3.0.3", |
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
117199
8
2712
+ Addedwhich-typed-array@1.1.18(transitive)
- Removeduuid@^8.3.1
- Removeduuid@8.3.2(transitive)
- Removedwhich-typed-array@1.1.17(transitive)