@ordergroove/smi-serve 1.12.0 → 1.12.1

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
@@ -3,6 +3,17 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [1.12.1](https://github.com/ordergroove/plush-toys/compare/@ordergroove/smi-serve@1.12.0...@ordergroove/smi-serve@1.12.1) (2026-02-18)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * **cancel-flow:** sku swap doesn't show if currency code doesn't match merchant ([6f46789](https://github.com/ordergroove/plush-toys/commit/6f467898cdd65597cdba7145fc2b7cd1278f5285))
12
+
13
+
14
+
15
+
16
+
6
17
  # [1.12.0](https://github.com/ordergroove/plush-toys/compare/@ordergroove/smi-serve@1.11.0...@ordergroove/smi-serve@1.12.0) (2026-02-12)
7
18
 
8
19
 
@@ -1,6 +1,6 @@
1
1
  <?xml version="1.0" ?>
2
2
  <!DOCTYPE coverage SYSTEM "http://cobertura.sourceforge.net/xml/coverage-04.dtd">
3
- <coverage lines-valid="646" lines-covered="228" line-rate="0.3529" branches-valid="233" branches-covered="45" branch-rate="0.1931" timestamp="1770854860430" complexity="0" version="0.1">
3
+ <coverage lines-valid="646" lines-covered="228" line-rate="0.3529" branches-valid="233" branches-covered="45" branch-rate="0.1931" timestamp="1771443732599" complexity="0" version="0.1">
4
4
  <sources>
5
5
  <source>/home/jenkins/agent/workspace/Ordergroove_plush-toys_master/plush-toys/packages/smi-serve</source>
6
6
  </sources>
@@ -1300,27 +1300,27 @@
1300
1300
  </method>
1301
1301
  <method name="(anonymous_2)" hits="0" signature="()V">
1302
1302
  <lines>
1303
- <line number="58" hits="0"/>
1303
+ <line number="59" hits="0"/>
1304
1304
  </lines>
1305
1305
  </method>
1306
1306
  <method name="(anonymous_3)" hits="0" signature="()V">
1307
1307
  <lines>
1308
- <line number="60" hits="0"/>
1308
+ <line number="61" hits="0"/>
1309
1309
  </lines>
1310
1310
  </method>
1311
1311
  <method name="waitForScriptToLoad" hits="0" signature="()V">
1312
1312
  <lines>
1313
- <line number="76" hits="0"/>
1313
+ <line number="77" hits="0"/>
1314
1314
  </lines>
1315
1315
  </method>
1316
1316
  <method name="(anonymous_5)" hits="0" signature="()V">
1317
1317
  <lines>
1318
- <line number="77" hits="0"/>
1318
+ <line number="78" hits="0"/>
1319
1319
  </lines>
1320
1320
  </method>
1321
1321
  <method name="(anonymous_6)" hits="0" signature="()V">
1322
1322
  <lines>
1323
- <line number="80" hits="0"/>
1323
+ <line number="81" hits="0"/>
1324
1324
  </lines>
1325
1325
  </method>
1326
1326
  </methods>
@@ -1337,22 +1337,22 @@
1337
1337
  <line number="34" hits="0" branch="false"/>
1338
1338
  <line number="37" hits="0" branch="false"/>
1339
1339
  <line number="38" hits="0" branch="false"/>
1340
- <line number="54" hits="0" branch="true" condition-coverage="0% (0/2)"/>
1341
- <line number="56" hits="0" branch="false"/>
1342
- <line number="58" hits="0" branch="false"/>
1343
- <line number="60" hits="0" branch="false"/>
1340
+ <line number="55" hits="0" branch="true" condition-coverage="0% (0/2)"/>
1341
+ <line number="57" hits="0" branch="false"/>
1342
+ <line number="59" hits="0" branch="false"/>
1344
1343
  <line number="61" hits="0" branch="false"/>
1345
1344
  <line number="62" hits="0" branch="false"/>
1346
1345
  <line number="63" hits="0" branch="false"/>
1347
- <line number="67" hits="0" branch="true" condition-coverage="0% (0/2)"/>
1348
- <line number="69" hits="0" branch="false"/>
1349
- <line number="72" hits="0" branch="false"/>
1350
- <line number="77" hits="0" branch="false"/>
1346
+ <line number="64" hits="0" branch="false"/>
1347
+ <line number="68" hits="0" branch="true" condition-coverage="0% (0/2)"/>
1348
+ <line number="70" hits="0" branch="false"/>
1349
+ <line number="73" hits="0" branch="false"/>
1351
1350
  <line number="78" hits="0" branch="false"/>
1352
1351
  <line number="79" hits="0" branch="false"/>
1353
1352
  <line number="80" hits="0" branch="false"/>
1354
1353
  <line number="81" hits="0" branch="false"/>
1355
- <line number="83" hits="0" branch="false"/>
1354
+ <line number="82" hits="0" branch="false"/>
1355
+ <line number="84" hits="0" branch="false"/>
1356
1356
  </lines>
1357
1357
  </class>
1358
1358
  </classes>
@@ -16,5 +16,5 @@ All files | 34.97 | 19.31 | 26.61 | 35.29 |
16
16
  utils.js | 47.91 | 44.44 | 36.84 | 48.93 | 13,23-31,40,53-70,81-94,104,141-145,154-158,169-174,194-196
17
17
  src/partials | 0 | 0 | 0 | 0 |
18
18
  devmode.js | 0 | 0 | 100 | 0 | 4-21
19
- entrypoint.js | 0 | 0 | 0 | 0 | 6-83
19
+ entrypoint.js | 0 | 0 | 0 | 0 | 6-84
20
20
  ---------------------|---------|----------|---------|---------|-------------------------------------------------------------------------
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ordergroove/smi-serve",
3
- "version": "1.12.0",
3
+ "version": "1.12.1",
4
4
  "description": "Utility to serve a Subscription Manager template locally",
5
5
  "keywords": [],
6
6
  "author": "Eugenio Lattanzio <eugenio.lattanzio@ordergroove.com>",
@@ -34,5 +34,5 @@
34
34
  "devDependencies": {
35
35
  "memfs": "^4.8.2"
36
36
  },
37
- "gitHead": "850de75bb74051ac6b073ba74593455831c22f4d"
37
+ "gitHead": "47fe474aecab7577646158d3d146ce0e9a7a0219"
38
38
  }
@@ -43,7 +43,8 @@ if (!window.og?.smi) {
43
43
  // when deployed, discount_codes_enabled is automatically read from theme-settings.json, but in smi-serve we need to set it directly
44
44
  discount_codes_enabled: true,
45
45
  cancel_flow_discount_enabled: true,
46
- sm_tracking_enabled: true
46
+ sm_tracking_enabled: true,
47
+ currency_code: 'USD'
47
48
  }
48
49
  },
49
50
  mainTemplate