spree_vpago 2.4.4 → 2.4.5

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3116c164a69077d9550a593143bf1b587394ae53197a0a41f1f11aadb1f9f5a3
4
- data.tar.gz: 4f8aa048a90f218cde21880317c986ac8eee4b391ab6628aa07c0413f763fc07
3
+ metadata.gz: f0149464b0a9635e1e69c914b20f085fc8b08ffcad4880e766f22e3ff2351be6
4
+ data.tar.gz: 9b8742f490e8b1c17be4af6a604990677dab49420911c0029afbcf5d0e626209
5
5
  SHA512:
6
- metadata.gz: 5237ee72e3aebcd99441f4e92e0eeffc2bee050da7a0010c22500c3cf3ac45150222a81e5c8aab894cbfc639bed2330fcee5e3728d968705c4b95503e3f3d6ef
7
- data.tar.gz: d7a6df3991022670f7a6a932810e26a33eb6f5bf750a68b0b4443daeab8bba212a2586d7eeb59fc5ae0db5fab713f97f3237a170992953079cda358896011acf
6
+ metadata.gz: bfd45299f7433ceeb4fe0839ef37ecf4927ed1c0a0e24b82c9be9cfc9325dfc3a01de4288aa2ce6b4a158ccf6ed6426d690b523c8d2e00b8b4fc5290ccf91322
7
+ data.tar.gz: fca43c2f181764e4a28c135902cb17ab7a985c0ceb7e098b0d07be7230976fdf590274733688fdbd9d08dd8125cf49c7df6f5b99aa7bc918e709eaa771a0a024
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- spree_vpago (2.4.4)
4
+ spree_vpago (2.4.5)
5
5
  faraday
6
6
  google-cloud-firestore
7
7
  spree_api (>= 4.5)
@@ -1,10 +1,15 @@
1
+ <%# Rendered before the gateway form and started right away, not on DOMContentLoaded: the mobile
2
+ app cancels a bank deeplink's WebView navigation, so polling is this page's only way to
3
+ /processing, and a deeplink fired mid-parse or before DOMContentLoaded (PayWay's lands when its
4
+ checkout fetch resolves) would otherwise stop it from ever starting. Relies on the layout loading
5
+ checkTransactionPeriodically with a blocking <head> script. %>
1
6
  <script>
2
- document.addEventListener("DOMContentLoaded", function() {
7
+ (function() {
3
8
  var processingUrl = "<%= raw @payment.processing_url %>";
4
9
  window.checkTransactionPeriodically({
5
10
  checkTransactionUrl: "<%= raw @payment.check_transaction_url %>",
6
11
  onFailure: () => window.location.replace(processingUrl),
7
12
  onSuccess: () => window.location.replace(processingUrl),
8
13
  });
9
- });
14
+ })();
10
15
  </script>
@@ -11,5 +11,5 @@
11
11
  </button>
12
12
  </div>
13
13
 
14
- <%= render_checkout_form %>
15
14
  <%= render_transaction_checker %>
15
+ <%= render_checkout_form %>
@@ -36,10 +36,7 @@
36
36
  const deeplinkUrl = "<%= raw checkout.deeplink_url %>";
37
37
  const redirectTo = (url) => { if (url) window.location.href = url; };
38
38
 
39
- // Navigating mid-parse aborts the document, so the transaction checker rendered after this
40
- // partial would never run -- and it's the only way off this page once the app hands the
41
- // deeplink to the bank app and cancels the WebView navigation. Wait for load so polling has started.
42
- window.addEventListener('load', () => redirectTo(deeplinkUrl));
39
+ redirectTo(deeplinkUrl);
43
40
  showRedirectContainer("Open ACLEDA", () => redirectTo(deeplinkUrl));
44
41
 
45
42
  </script>
@@ -1,7 +1,7 @@
1
1
  module SpreeVpago
2
2
  module_function
3
3
 
4
- VERSION = '2.4.4'.freeze
4
+ VERSION = '2.4.5'.freeze
5
5
 
6
6
  def version
7
7
  Gem::Version.new VERSION
@@ -137,7 +137,7 @@
137
137
  "@protobufjs/path@^1.1.2": "https://registry.yarnpkg.com/@protobufjs/path/-/path-1.1.2.tgz#6cc2b20c5c9ad6ad0dccfd21ca7673d8d7fbf68d",
138
138
  "@protobufjs/pool@^1.1.0": "https://registry.yarnpkg.com/@protobufjs/pool/-/pool-1.1.0.tgz#09fd15f2d6d3abfa9b65bc366506d6ad7846ff54",
139
139
  "@protobufjs/utf8@^1.1.0": "https://registry.yarnpkg.com/@protobufjs/utf8/-/utf8-1.1.0.tgz#a777360b5b39a1a2e5106f8e858f2fd2d060c570",
140
- "@reduxjs/toolkit@^1.9.0 || 2.x.x": "https://registry.yarnpkg.com/@reduxjs/toolkit/-/toolkit-2.13.0.tgz#9603bebd496c1872deed336b2fabab891de7ac1f",
140
+ "@reduxjs/toolkit@^1.9.0 || 2.x.x": "https://registry.yarnpkg.com/@reduxjs/toolkit/-/toolkit-2.14.0.tgz#4977d4f7f889e634eeb7381becc5b5648fecf051",
141
141
  "@rolldown/pluginutils@^1.0.1": "https://registry.yarnpkg.com/@rolldown/pluginutils/-/pluginutils-1.0.1.tgz#e3fcee093fbb5ce765e1ad088ff4de2889f6f9be",
142
142
  "@spree/core@^6.0.2": "https://registry.yarnpkg.com/@spree/core/-/core-6.0.2.tgz#de4ad04a86633f9359e4e1e6b423f3577b07745f",
143
143
  "@spree/dashboard@^6.0.2": "https://registry.yarnpkg.com/@spree/dashboard/-/dashboard-6.0.2.tgz#9e943049c3e5937961e7719ad5f67a1d17dd438e",
@@ -224,7 +224,7 @@
224
224
  "diff@^9.0.0": "https://registry.yarnpkg.com/diff/-/diff-9.0.0.tgz#297c31cd7c280f13dfe335791ec2063bd4a73a6f",
225
225
  "dompurify@^3.4.17": "https://registry.yarnpkg.com/dompurify/-/dompurify-3.4.17.tgz#074bbb24eaa419535ac19ffe7f663104b0e1543d",
226
226
  "eastasianwidth@^0.2.0": "https://registry.yarnpkg.com/eastasianwidth/-/eastasianwidth-0.2.0.tgz#696ce2ec0aa0e6ea93a397ffcf24aa7840c827cb",
227
- "electron-to-chromium@^1.5.464": "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.5.473.tgz#e8e7e7331ddf92b98557b771600b38dd463a0955",
227
+ "electron-to-chromium@^1.5.464": "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.5.475.tgz#944726edc77fd465d47794a56601a1ee0bb3acf6",
228
228
  "emoji-regex@^8.0.0": "https://registry.yarnpkg.com/emoji-regex/-/emoji-regex-8.0.0.tgz#e818fd69ce5ccfcb404594f842963bf53164cc37",
229
229
  "emoji-regex@^9.2.2": "https://registry.yarnpkg.com/emoji-regex/-/emoji-regex-9.2.2.tgz#840c8803b0d8047f4ff0cf963176b32d4ef3ed72",
230
230
  "es-toolkit@^1.39.3": "https://registry.yarnpkg.com/es-toolkit/-/es-toolkit-1.53.1.tgz#740294017da9f4ca052de31544648f3566b8ec5b",
@@ -249,8 +249,8 @@
249
249
  "he@^1.2.0": "https://registry.yarnpkg.com/he/-/he-1.2.0.tgz#84ae65fa7eafb165fddb61566ae14baf05664f0f",
250
250
  "http-parser-js@>=0.5.1": "https://registry.yarnpkg.com/http-parser-js/-/http-parser-js-0.5.9.tgz#b817b3ca0edea6236225000d795378707c169cec",
251
251
  "idb@7.1.1": "https://registry.yarnpkg.com/idb/-/idb-7.1.1.tgz#d910ded866d32c7ced9befc5bfdf36f572ced72b",
252
- "immer@^11.0.0": "https://registry.yarnpkg.com/immer/-/immer-11.2.9.tgz#025deddab07b73a87aaf99b6ecf2b53267da5ee2",
253
252
  "immer@^11.1.8": "https://registry.yarnpkg.com/immer/-/immer-11.2.9.tgz#025deddab07b73a87aaf99b6ecf2b53267da5ee2",
253
+ "immer@^11.2.9": "https://registry.yarnpkg.com/immer/-/immer-11.2.9.tgz#025deddab07b73a87aaf99b6ecf2b53267da5ee2",
254
254
  "internmap@1 - 2": "https://registry.yarnpkg.com/internmap/-/internmap-2.0.3.tgz#6685f23755e43c524e251d29cbc97248e3061009",
255
255
  "is-binary-path@~2.1.0": "https://registry.yarnpkg.com/is-binary-path/-/is-binary-path-2.1.0.tgz#ea1f7f3b80f064236e83470f86c09c254fb45b09",
256
256
  "is-extglob@^2.1.1": "https://registry.yarnpkg.com/is-extglob/-/is-extglob-2.1.1.tgz#a88c02535791f02ed37c76a1b9ea9773c833f8c2",
@@ -274,7 +274,7 @@
274
274
  "loupe@^3.1.0": "https://registry.yarnpkg.com/loupe/-/loupe-3.1.3.tgz#042a8f7986d77f3d0f98ef7990a2b2fef18b0fd2",
275
275
  "lru-cache@^10.2.0": "https://registry.yarnpkg.com/lru-cache/-/lru-cache-10.4.3.tgz#410fc8a17b70e598013df257c2446b7f3383f119",
276
276
  "lru-cache@^5.1.1": "https://registry.yarnpkg.com/lru-cache/-/lru-cache-5.1.1.tgz#1da27e6710271947695daf6848e847f01d84b920",
277
- "lucide-react@^1.60.0": "https://registry.yarnpkg.com/lucide-react/-/lucide-react-1.67.0.tgz#deae5f32d2462108f925158f8aaa279b821459c0",
277
+ "lucide-react@^1.60.0": "https://registry.yarnpkg.com/lucide-react/-/lucide-react-1.68.0.tgz#2462435aefc7c7d8afedecd1899f9bdc06976d54",
278
278
  "magic-string@^0.30.21": "https://registry.yarnpkg.com/magic-string/-/magic-string-0.30.21.tgz#56763ec09a0fa8091df27879fd94d19078c00d91",
279
279
  "minimatch@^5.1.6": "https://registry.yarnpkg.com/minimatch/-/minimatch-5.1.6.tgz#1cfcb8cf5522ea69952cd2af95ae09477f122a96",
280
280
  "minimatch@^9.0.4": "https://registry.yarnpkg.com/minimatch/-/minimatch-9.0.5.tgz#d74f9dd6b57d83d8e98cfb82133b03978bc929e5",
data/yarn.lock CHANGED
@@ -818,13 +818,13 @@
818
818
  integrity sha512-Vvn3zZrhQZkkBE8LSuW3em98c0FwgO4nxzv6OdSxPKJIEKY2bGbHn+mhGIPerzI4twdxaP8/0+06HBpwf345Lw==
819
819
 
820
820
  "@reduxjs/toolkit@^1.9.0 || 2.x.x":
821
- version "2.13.0"
822
- resolved "https://registry.yarnpkg.com/@reduxjs/toolkit/-/toolkit-2.13.0.tgz#9603bebd496c1872deed336b2fabab891de7ac1f"
823
- integrity sha512-f6jwVRfwW30+tnllz4YcsHHpPYYOE7abcHkyUCovD+P7DyhdAI5prz2Fh/8TLhakjpN+7aIEion1s5L/tvlYlA==
821
+ version "2.14.0"
822
+ resolved "https://registry.yarnpkg.com/@reduxjs/toolkit/-/toolkit-2.14.0.tgz#4977d4f7f889e634eeb7381becc5b5648fecf051"
823
+ integrity sha512-m/PxMwRe0xLL6XUsAgy0YjInklHcfi9uMwFhJk+QINqjxqPvyc89T5cMjszA5bDmTE0gwGc7zr9LRO4gL+mhaw==
824
824
  dependencies:
825
825
  "@standard-schema/spec" "^1.0.0"
826
826
  "@standard-schema/utils" "^0.3.0"
827
- immer "^11.0.0"
827
+ immer "^11.2.9"
828
828
  redux "^5.0.1"
829
829
  redux-thunk "^3.1.0"
830
830
  reselect "^5.1.0"
@@ -1338,9 +1338,9 @@ eastasianwidth@^0.2.0:
1338
1338
  integrity sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==
1339
1339
 
1340
1340
  electron-to-chromium@^1.5.464:
1341
- version "1.5.473"
1342
- resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.5.473.tgz#e8e7e7331ddf92b98557b771600b38dd463a0955"
1343
- integrity sha512-9njcRQK+6FOXNAWw5g+h2RPiyazqo5RFMVJ39ZMHjDHUNnnFlhnOGV7O0WmJetODDx19ES5p+FLi+KCVFQGugw==
1341
+ version "1.5.475"
1342
+ resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.5.475.tgz#944726edc77fd465d47794a56601a1ee0bb3acf6"
1343
+ integrity sha512-S9tceHJbIsHH8VRwh9x+8lJO50SYwTdwVGdEjdz2FERyP59j1N6rdXOSklIusrhxt9GG/WN4V/kRgmDHl9MM5w==
1344
1344
 
1345
1345
  emoji-regex@^8.0.0:
1346
1346
  version "8.0.0"
@@ -1531,7 +1531,7 @@ idb@7.1.1:
1531
1531
  resolved "https://registry.yarnpkg.com/idb/-/idb-7.1.1.tgz#d910ded866d32c7ced9befc5bfdf36f572ced72b"
1532
1532
  integrity sha512-gchesWBzyvGHRO9W8tzUWFDycow5gwjvFKfyV9FF32Y7F50yZMp7mP+T2mJIWFx49zicqyC4uefHM17o6xKIVQ==
1533
1533
 
1534
- immer@^11.0.0, immer@^11.1.8:
1534
+ immer@^11.1.8, immer@^11.2.9:
1535
1535
  version "11.2.9"
1536
1536
  resolved "https://registry.yarnpkg.com/immer/-/immer-11.2.9.tgz#025deddab07b73a87aaf99b6ecf2b53267da5ee2"
1537
1537
  integrity sha512-IQ4UEtXjZjyefyWjtLEDXUSrF6T2hwjKPi6BIJl3bY/2XXW24d6cNGdXJSBOA/+KNnuiXkZY6DR0C3efolhitA==
@@ -1664,9 +1664,9 @@ lru-cache@^5.1.1:
1664
1664
  yallist "^3.0.2"
1665
1665
 
1666
1666
  lucide-react@^1.60.0:
1667
- version "1.67.0"
1668
- resolved "https://registry.yarnpkg.com/lucide-react/-/lucide-react-1.67.0.tgz#deae5f32d2462108f925158f8aaa279b821459c0"
1669
- integrity sha512-z7kd21YNm/Gw3E7mTnq5dTuvV+yc+OEwA//oDENSG1SbZ/NVgKdjxALJFNdGoC0Ji7HaJR2Dha9ev7VUPxy9CQ==
1667
+ version "1.68.0"
1668
+ resolved "https://registry.yarnpkg.com/lucide-react/-/lucide-react-1.68.0.tgz#2462435aefc7c7d8afedecd1899f9bdc06976d54"
1669
+ integrity sha512-9i7NKWm2QlOprMhcwkhBOlIt9zB7cp2GIyFY+oMue0EsprolUFxva5rkdBbyfs4k1eejpa0JRnRgVOGiart+Xg==
1670
1670
 
1671
1671
  magic-string@^0.30.21:
1672
1672
  version "0.30.21"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spree_vpago
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.4.4
4
+ version: 2.4.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - You
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-11-03 00:00:00.000000000 Z
11
+ date: 2026-11-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday