@opencloning/ui 1.5.1 → 1.5.2

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/CHANGELOG.md CHANGED
@@ -1,5 +1,15 @@
1
1
  # @opencloning/ui
2
2
 
3
+ ## 1.5.2
4
+
5
+ ### Patch Changes
6
+
7
+ - [#653](https://github.com/manulera/OpenCloning_frontend/pull/653) [`e529568`](https://github.com/manulera/OpenCloning_frontend/commit/e5295684d62b25954e6095fc63fa7c9e65551fb6) Thanks [@manulera](https://github.com/manulera)! - Assembler - pass sort_by_recognition_sites=true to restriction & ligation endpoint
8
+
9
+ - Updated dependencies []:
10
+ - @opencloning/store@1.5.2
11
+ - @opencloning/utils@1.5.2
12
+
3
13
  ## 1.5.1
4
14
 
5
15
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opencloning/ui",
3
- "version": "1.5.1",
3
+ "version": "1.5.2",
4
4
  "type": "module",
5
5
  "main": "./src/index.js",
6
6
  "scripts": {
@@ -25,8 +25,8 @@
25
25
  "@emotion/styled": "^11.14.0",
26
26
  "@mui/icons-material": "^5.15.17",
27
27
  "@mui/material": "^5.15.17",
28
- "@opencloning/store": "1.5.1",
29
- "@opencloning/utils": "1.5.1",
28
+ "@opencloning/store": "1.5.2",
29
+ "@opencloning/utils": "1.5.2",
30
30
  "@teselagen/bio-parsers": "^0.4.34",
31
31
  "@teselagen/ove": "^0.8.34",
32
32
  "@teselagen/range-utils": "^0.3.20",
@@ -239,6 +239,9 @@ describe('<AssemblerComponent />', () => {
239
239
  expect(req.body).to.have.property('source');
240
240
  expect(req.body.source).to.have.property('restriction_enzymes');
241
241
  expect(req.body.source.restriction_enzymes).to.include('assembly_enzyme');
242
+ // Check that the value of the sort_by_recognition_sites was set in the request query
243
+ expect(req.query).to.have.property('sort_by_recognition_sites');
244
+ expect(req.query.sort_by_recognition_sites).to.equal('true');
242
245
  req.reply({
243
246
  statusCode: 200,
244
247
  body: dummyResponse2,
@@ -71,6 +71,7 @@ export const useAssembler = () => {
71
71
  const config = {
72
72
  params: {
73
73
  circular_only: true,
74
+ sort_by_recognition_sites: true,
74
75
  }
75
76
  }
76
77
  const requestData = {
package/src/version.js CHANGED
@@ -1,2 +1,2 @@
1
1
  // Version placeholder - replaced at publish time via prepack script
2
- export const version = "1.5.1";
2
+ export const version = "1.5.2";