@reltio/components 1.4.2141 → 1.4.2142
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.
|
@@ -72,14 +72,14 @@ describe('Test useMatchesLoader hook', function () {
|
|
|
72
72
|
metadata.entityTypes[0].attributes[0].masking = { regexPattern: '.{4}$' };
|
|
73
73
|
setUp({ mdmValues: { metadata: metadata } });
|
|
74
74
|
expect(mdm_sdk_1.getTransitiveMatches).toHaveBeenCalledTimes(1);
|
|
75
|
-
expect(mdm_sdk_1.getTransitiveMatches).toHaveBeenCalledWith(expect.objectContaining({ options: 'sendMasked' }));
|
|
75
|
+
expect(mdm_sdk_1.getTransitiveMatches).toHaveBeenCalledWith(expect.objectContaining({ options: 'sendMasked,showAccess' }));
|
|
76
76
|
});
|
|
77
|
-
it('should not add sendMasked option if showMasking configuration property is false', function () {
|
|
77
|
+
it('should not add sendMasked or showAccess option if showMasking configuration property is false', function () {
|
|
78
78
|
var metadata = getMetadata();
|
|
79
79
|
metadata.entityTypes[0].attributes[0].masking = { regexPattern: '.{4}$' };
|
|
80
80
|
setUp({ mdmValues: { metadata: metadata, showMasking: false } });
|
|
81
81
|
expect(mdm_sdk_1.getTransitiveMatches).toHaveBeenCalledTimes(1);
|
|
82
|
-
expect(mdm_sdk_1.getTransitiveMatches).toHaveBeenCalledWith(expect.
|
|
82
|
+
expect(mdm_sdk_1.getTransitiveMatches).not.toHaveBeenCalledWith(expect.objectContaining({ options: expect.anything() }));
|
|
83
83
|
});
|
|
84
84
|
});
|
|
85
85
|
});
|
|
@@ -67,14 +67,14 @@ describe('Test useMatchesLoader hook', function () {
|
|
|
67
67
|
metadata.entityTypes[0].attributes[0].masking = { regexPattern: '.{4}$' };
|
|
68
68
|
setUp({ mdmValues: { metadata: metadata } });
|
|
69
69
|
expect(getTransitiveMatches).toHaveBeenCalledTimes(1);
|
|
70
|
-
expect(getTransitiveMatches).toHaveBeenCalledWith(expect.objectContaining({ options: 'sendMasked' }));
|
|
70
|
+
expect(getTransitiveMatches).toHaveBeenCalledWith(expect.objectContaining({ options: 'sendMasked,showAccess' }));
|
|
71
71
|
});
|
|
72
|
-
it('should not add sendMasked option if showMasking configuration property is false', function () {
|
|
72
|
+
it('should not add sendMasked or showAccess option if showMasking configuration property is false', function () {
|
|
73
73
|
var metadata = getMetadata();
|
|
74
74
|
metadata.entityTypes[0].attributes[0].masking = { regexPattern: '.{4}$' };
|
|
75
75
|
setUp({ mdmValues: { metadata: metadata, showMasking: false } });
|
|
76
76
|
expect(getTransitiveMatches).toHaveBeenCalledTimes(1);
|
|
77
|
-
expect(getTransitiveMatches).toHaveBeenCalledWith(expect.
|
|
77
|
+
expect(getTransitiveMatches).not.toHaveBeenCalledWith(expect.objectContaining({ options: expect.anything() }));
|
|
78
78
|
});
|
|
79
79
|
});
|
|
80
80
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@reltio/components",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.2142",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE FILE",
|
|
5
5
|
"main": "./cjs/index.js",
|
|
6
6
|
"module": "./index.js",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"@fluentui/react-context-selector": "^9.1.26",
|
|
12
12
|
"@googlemaps/markerclusterer": "^2.5.3",
|
|
13
13
|
"@react-sigma/core": "3.4.0",
|
|
14
|
-
"@reltio/mdm-sdk": "^1.4.
|
|
14
|
+
"@reltio/mdm-sdk": "^1.4.1967",
|
|
15
15
|
"@vis.gl/react-google-maps": "^1.3.0",
|
|
16
16
|
"d3-cloud": "^1.2.5",
|
|
17
17
|
"d3-geo": "^2.0.1",
|