@lowdefy/operators-uuid 6.1.0 → 7.1.0
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.
|
@@ -63,4 +63,11 @@ function _uuid({ params, location, methodName }) {
|
|
|
63
63
|
});
|
|
64
64
|
}
|
|
65
65
|
_uuid.dynamic = true;
|
|
66
|
+
// v3 and v5 hash their name and namespace. Every other form generates a new id on each call.
|
|
67
|
+
_uuid.tracking = ({ methodName, params })=>{
|
|
68
|
+
const method = methodName ?? (type.isNone(params) || params === true ? 'v4' : params);
|
|
69
|
+
return {
|
|
70
|
+
kind: method === 'v3' || method === 'v5' ? 'pure' : 'volatile'
|
|
71
|
+
};
|
|
72
|
+
};
|
|
66
73
|
export default _uuid;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lowdefy/operators-uuid",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "7.1.0",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"description": "",
|
|
6
6
|
"homepage": "https://lowdefy.com",
|
|
@@ -27,6 +27,9 @@
|
|
|
27
27
|
"url": "https://github.com/lowdefy/lowdefy.git"
|
|
28
28
|
},
|
|
29
29
|
"type": "module",
|
|
30
|
+
"sideEffects": [
|
|
31
|
+
"**/*.css"
|
|
32
|
+
],
|
|
30
33
|
"exports": {
|
|
31
34
|
"./operators/client": "./dist/operatorsClient.js",
|
|
32
35
|
"./operators/server": "./dist/operatorsServer.js",
|
|
@@ -37,13 +40,13 @@
|
|
|
37
40
|
"dist/*"
|
|
38
41
|
],
|
|
39
42
|
"dependencies": {
|
|
40
|
-
"@lowdefy/helpers": "
|
|
41
|
-
"@lowdefy/operators": "
|
|
43
|
+
"@lowdefy/helpers": "7.1.0",
|
|
44
|
+
"@lowdefy/operators": "7.1.0",
|
|
42
45
|
"uuid": "14.0.0"
|
|
43
46
|
},
|
|
44
47
|
"devDependencies": {
|
|
45
48
|
"@jest/globals": "28.1.3",
|
|
46
|
-
"@lowdefy/node-utils": "
|
|
49
|
+
"@lowdefy/node-utils": "7.1.0",
|
|
47
50
|
"@swc/cli": "0.8.1",
|
|
48
51
|
"@swc/core": "1.15.32",
|
|
49
52
|
"@swc/jest": "0.2.39",
|