spree_vpago 2.4.6 → 2.4.7

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: f23a4092db0eef555d4ac5f7e1a10eaeff069eeab49a6d994e89d2d62235fa40
4
- data.tar.gz: 65caf4b25accf6447069ea88109d2c23ab6afcbe52b451ecb2052b42255a6821
3
+ metadata.gz: 0afd902aaf11c67af6f5bea8d5f01ff6f66fd46123dd09c6d9d7d862ba09723c
4
+ data.tar.gz: 67f3f305c56badc0965e075004adfb1eed13910cd1a2c98f46601c8bd09641ad
5
5
  SHA512:
6
- metadata.gz: 5f45390211ce51f22e512eb710fa98b27aaaa7199316fb3108ce130884d434c85ad5b6e64e058e9dd2ec5af2e1997577f27c131f8293e6729984a528ba557fb4
7
- data.tar.gz: e0d4483f7d5a715b43de69d15798f8e84f916a6eb531e17ba35506f76c4c00cdcd5de9902558f94f22c92cb497934d4508c3513b601e70610c4befefb15d8853
6
+ metadata.gz: bf0e7a811c8450d4478e3e7fa15fef70b595e6c645cde94a1ade32f7085b8f4483c06a5278b2e2e08014b10f176e2a2d6ad3bd63932a47bb89824b3537a6a4bf
7
+ data.tar.gz: 850d058f704c65768ae036cec3e31eb81ad5509730654c2273db0688833153e02353f578d17e945fc0ba930999765bd0181cf029bc2afec0070d9fca8fddb9f1
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- spree_vpago (2.4.6)
4
+ spree_vpago (2.4.7)
5
5
  faraday
6
6
  google-cloud-firestore
7
7
  spree_api (>= 4.5)
@@ -12278,6 +12278,9 @@ This typically indicates that your device does not have a healthy Internet conne
12278
12278
  function __PRIVATE_validateDocumentPath(e) {
12279
12279
  if (!DocumentKey.isDocumentKey(e)) throw new FirestoreError(C.INVALID_ARGUMENT, `Invalid document reference. Document references must have an even number of segments, but ${e} has ${e.length}.`);
12280
12280
  }
12281
+ function __PRIVATE_validateCollectionPath(e) {
12282
+ if (DocumentKey.isDocumentKey(e)) throw new FirestoreError(C.INVALID_ARGUMENT, `Invalid collection reference. Collection references must have an odd number of segments, but ${e} has ${e.length}.`);
12283
+ }
12281
12284
  function __PRIVATE_valueDescription(e) {
12282
12285
  if (void 0 === e) return "undefined";
12283
12286
  if (null === e) return "null";
@@ -12512,6 +12515,27 @@ This typically indicates that your device does not have a healthy Internet conne
12512
12515
  return new _CollectionReference(this.firestore, e, this._path);
12513
12516
  }
12514
12517
  };
12518
+ function collection(e, t, ...n) {
12519
+ if (e = getModularInstance(e), __PRIVATE_validateNonEmptyArgument("collection", "path", t), e instanceof Firestore$1) {
12520
+ const r = ResourcePath.fromString(t, ...n);
12521
+ return __PRIVATE_validateCollectionPath(r), new CollectionReference(
12522
+ e,
12523
+ /* converter= */
12524
+ null,
12525
+ r
12526
+ );
12527
+ }
12528
+ {
12529
+ if (!(e instanceof DocumentReference || e instanceof CollectionReference)) throw new FirestoreError(C.INVALID_ARGUMENT, "Expected first argument to collection() to be a CollectionReference, a DocumentReference or FirebaseFirestore");
12530
+ const r = e._path.child(ResourcePath.fromString(t, ...n));
12531
+ return __PRIVATE_validateCollectionPath(r), new CollectionReference(
12532
+ e.firestore,
12533
+ /* converter= */
12534
+ null,
12535
+ r
12536
+ );
12537
+ }
12538
+ }
12515
12539
  function doc(e, t, ...n) {
12516
12540
  if (e = getModularInstance(e), // We allow omission of 'pathString' but explicitly prohibit passing in both
12517
12541
  // 'undefined' and 'null'.
@@ -13694,6 +13718,8 @@ This typically indicates that your device does not have a healthy Internet conne
13694
13718
  "payment_capture_retrying",
13695
13719
  "payment_capture_unconfirmed"
13696
13720
  ];
13721
+ var STEP_FINISHED_STATUSES = ["done", "failed"];
13722
+ var COMPLETION_STEPS_TIMEOUT_MS = 2e4;
13697
13723
  async function listenToProcessingState({
13698
13724
  firebaseConfigs,
13699
13725
  documentReferencePath,
@@ -13704,6 +13730,7 @@ This typically indicates that your device does not have a healthy Internet conne
13704
13730
  onPaymentIsCapturing,
13705
13731
  onPaymentCaptureRetrying,
13706
13732
  onPaymentCaptureUnconfirmed,
13733
+ onCompletionStepsPending,
13707
13734
  onOrderProcessFailed,
13708
13735
  onPaymentProcessFailed,
13709
13736
  onCompleted
@@ -13713,32 +13740,62 @@ This typically indicates that your device does not have a healthy Internet conne
13713
13740
  const documentRef = doc(db, documentReferencePath);
13714
13741
  await setDoc(documentRef, { listening: true }, { merge: true });
13715
13742
  const queueProcessor = new QueueProcessor();
13743
+ let orderData = null;
13744
+ let steps = {};
13745
+ let stepsTimer = null;
13746
+ let completed = false;
13747
+ const complete = () => {
13748
+ if (completed) return;
13749
+ completed = true;
13750
+ if (window.parent !== window) {
13751
+ window.parent.postMessage("order_is_completed", "*");
13752
+ }
13753
+ queueProcessor.queueStateChange({
13754
+ minDelayInMs: 1500,
13755
+ callback: async () => {
13756
+ await onCompleted(
13757
+ orderData["order_state"],
13758
+ orderData["payment_state"],
13759
+ orderData["reason_code"],
13760
+ orderData["reason_message"]
13761
+ );
13762
+ }
13763
+ });
13764
+ };
13765
+ const completeWhenReady = () => {
13766
+ if (completed || !isOrderCompleted(orderData)) return;
13767
+ let pendingSteps = (orderData["expected_steps"] ?? []).filter(
13768
+ (key) => !STEP_FINISHED_STATUSES.includes(steps[key]?.status)
13769
+ );
13770
+ if (pendingSteps.length === 0) return complete();
13771
+ queueProcessor.queueStateChange({
13772
+ minDelayInMs: 1500,
13773
+ callback: async () => {
13774
+ await onCompletionStepsPending?.(pendingSteps);
13775
+ }
13776
+ });
13777
+ stepsTimer ??= setTimeout(complete, COMPLETION_STEPS_TIMEOUT_MS);
13778
+ };
13779
+ onSnapshot(collection(documentRef, "steps"), (snapshot) => {
13780
+ steps = Object.fromEntries(snapshot.docs.map((d) => [d.id, d.data()]));
13781
+ completeWhenReady();
13782
+ });
13716
13783
  onSnapshot(documentRef, (doc2) => {
13717
13784
  let documentData = doc2.data();
13785
+ orderData = documentData;
13718
13786
  let messageCode = documentData["message_code"];
13719
13787
  let orderState = documentData["order_state"];
13720
13788
  let paymentState = documentData["payment_state"];
13721
13789
  let processing = documentData["processing"] === true;
13722
13790
  let reasonCode = documentData["reason_code"];
13723
13791
  let reasonMessage = documentData["reason_message"];
13792
+ if (isOrderCompleted(documentData)) {
13793
+ completeWhenReady();
13794
+ return;
13795
+ }
13724
13796
  if (window.parent !== window) {
13725
13797
  window.parent.postMessage(messageCode, "*");
13726
13798
  }
13727
- let orderCompleted = orderState === "complete" && !CAPTURE_PENDING_CODES.includes(messageCode);
13728
- if (orderCompleted) {
13729
- queueProcessor.queueStateChange({
13730
- minDelayInMs: 1500,
13731
- callback: async () => {
13732
- await onCompleted(
13733
- orderState,
13734
- paymentState,
13735
- reasonCode,
13736
- reasonMessage
13737
- );
13738
- }
13739
- });
13740
- return;
13741
- }
13742
13799
  switch (messageCode) {
13743
13800
  case "payment_is_processing":
13744
13801
  queueProcessor.queueStateChange({
@@ -13871,6 +13928,9 @@ This typically indicates that your device does not have a healthy Internet conne
13871
13928
  }
13872
13929
  });
13873
13930
  }
13931
+ function isOrderCompleted(data) {
13932
+ return data?.["order_state"] === "complete" && !CAPTURE_PENDING_CODES.includes(data["message_code"]);
13933
+ }
13874
13934
  window.listenToProcessingState = listenToProcessingState;
13875
13935
  })();
13876
13936
  /*! Bundled license information:
@@ -1,5 +1,5 @@
1
1
  import { initializeApp } from "firebase/app";
2
- import { getFirestore, doc, onSnapshot, setDoc } from "firebase/firestore";
2
+ import { getFirestore, doc, collection, onSnapshot, setDoc } from "firebase/firestore";
3
3
  import QueueProcessor from "../../../queue_processor.js";
4
4
 
5
5
  const CAPTURE_PENDING_CODES = [
@@ -8,6 +8,14 @@ const CAPTURE_PENDING_CODES = [
8
8
  "payment_capture_unconfirmed",
9
9
  ];
10
10
 
11
+ // A completion step (the order document's expected_steps) is over once its job reports either; the page
12
+ // doesn't wait on a failed one, since payment is already final by then.
13
+ const STEP_FINISHED_STATUSES = ["done", "failed"];
14
+
15
+ // Completion steps (e.g. seat assignment) only refine a paid booking and keep running after the user
16
+ // leaves, so a slow one must not hold them here.
17
+ const COMPLETION_STEPS_TIMEOUT_MS = 20000;
18
+
11
19
  async function listenToProcessingState({
12
20
  firebaseConfigs,
13
21
  documentReferencePath,
@@ -18,6 +26,7 @@ async function listenToProcessingState({
18
26
  onPaymentIsCapturing,
19
27
  onPaymentCaptureRetrying,
20
28
  onPaymentCaptureUnconfirmed,
29
+ onCompletionStepsPending,
21
30
  onOrderProcessFailed,
22
31
  onPaymentProcessFailed,
23
32
  onCompleted,
@@ -30,8 +39,59 @@ async function listenToProcessingState({
30
39
 
31
40
  const queueProcessor = new QueueProcessor();
32
41
 
42
+ let orderData = null;
43
+ let steps = {};
44
+ let stepsTimer = null;
45
+ let completed = false;
46
+
47
+ const complete = () => {
48
+ if (completed) return;
49
+ completed = true;
50
+
51
+ if (window.parent !== window) {
52
+ window.parent.postMessage("order_is_completed", "*");
53
+ }
54
+
55
+ queueProcessor.queueStateChange({
56
+ minDelayInMs: 1500,
57
+ callback: async () => {
58
+ await onCompleted(
59
+ orderData["order_state"],
60
+ orderData["payment_state"],
61
+ orderData["reason_code"],
62
+ orderData["reason_message"],
63
+ );
64
+ },
65
+ });
66
+ };
67
+
68
+ // Success needs the order complete (capture landed) and every expected step finished. They arrive on
69
+ // separate listeners -- each step is its own document, written only by its job -- so both re-check.
70
+ const completeWhenReady = () => {
71
+ if (completed || !isOrderCompleted(orderData)) return;
72
+
73
+ let pendingSteps = (orderData["expected_steps"] ?? []).filter(
74
+ (key) => !STEP_FINISHED_STATUSES.includes(steps[key]?.status),
75
+ );
76
+ if (pendingSteps.length === 0) return complete();
77
+
78
+ queueProcessor.queueStateChange({
79
+ minDelayInMs: 1500,
80
+ callback: async () => {
81
+ await onCompletionStepsPending?.(pendingSteps);
82
+ },
83
+ });
84
+ stepsTimer ??= setTimeout(complete, COMPLETION_STEPS_TIMEOUT_MS);
85
+ };
86
+
87
+ onSnapshot(collection(documentRef, "steps"), (snapshot) => {
88
+ steps = Object.fromEntries(snapshot.docs.map((d) => [d.id, d.data()]));
89
+ completeWhenReady();
90
+ });
91
+
33
92
  onSnapshot(documentRef, (doc) => {
34
93
  let documentData = doc.data();
94
+ orderData = documentData;
35
95
 
36
96
  let messageCode = documentData["message_code"];
37
97
  let orderState = documentData["order_state"];
@@ -40,27 +100,13 @@ async function listenToProcessingState({
40
100
  let reasonCode = documentData["reason_code"];
41
101
  let reasonMessage = documentData["reason_message"];
42
102
 
43
- if (window.parent !== window) {
44
- window.parent.postMessage(messageCode, "*");
103
+ if (isOrderCompleted(documentData)) {
104
+ completeWhenReady();
105
+ return;
45
106
  }
46
107
 
47
- // A pre-auth order completes on the hold, before the money is captured, so it isn't a success yet:
48
- // the server sends these capture codes until PaymentCapturerJob reports order_is_completed.
49
- let orderCompleted =
50
- orderState === "complete" && !CAPTURE_PENDING_CODES.includes(messageCode);
51
- if (orderCompleted) {
52
- queueProcessor.queueStateChange({
53
- minDelayInMs: 1500,
54
- callback: async () => {
55
- await onCompleted(
56
- orderState,
57
- paymentState,
58
- reasonCode,
59
- reasonMessage,
60
- );
61
- },
62
- });
63
- return;
108
+ if (window.parent !== window) {
109
+ window.parent.postMessage(messageCode, "*");
64
110
  }
65
111
 
66
112
  switch (messageCode) {
@@ -197,4 +243,13 @@ async function listenToProcessingState({
197
243
  });
198
244
  }
199
245
 
246
+ // A pre-auth order completes on the hold, before the money is captured, so it isn't a success yet: the
247
+ // server sends these capture codes until PaymentCapturerJob reports order_is_completed.
248
+ function isOrderCompleted(data) {
249
+ return (
250
+ data?.["order_state"] === "complete" &&
251
+ !CAPTURE_PENDING_CODES.includes(data["message_code"])
252
+ );
253
+ }
254
+
200
255
  window.listenToProcessingState = listenToProcessingState;
@@ -27,6 +27,14 @@ module Vpago
27
27
  @order_url_constructor ||= Vpago::OrderUrlConstructor.new(self)
28
28
  end
29
29
 
30
+ # Extension hook: work a host app still runs in the background after the order completed, which the
31
+ # processing page waits for before redirecting to success. Returns the keys of the steps still
32
+ # pending, in the order the page shows them; extensions append with `super + [...]`. Each step's
33
+ # job reports its own result with UserInformers::Firebase#notify_step.
34
+ def pending_completion_steps
35
+ []
36
+ end
37
+
30
38
  # override
31
39
  def process_payments!
32
40
  super
@@ -19,6 +19,13 @@ module Vpago
19
19
  def order_process_failed(processing:, reason_code:, reason_message: nil) = notify(:order_process_failed, processing, reason_code, reason_message)
20
20
  def payment_process_failed(processing:, reason_code:, reason_message: nil) = notify(:payment_process_failed, processing, reason_code, reason_message)
21
21
 
22
+ # Reports a completion step's result (Order#pending_completion_steps) in its own document under
23
+ # steps/, written only by the job that runs the step. Kept off the order's document so parallel
24
+ # jobs never write to the same document, and adding a step never touches the others.
25
+ def notify_step(key, status:)
26
+ firestore_reference.col('steps').doc(key.to_s).set({ status: status, updated_at: Time.current })
27
+ end
28
+
22
29
  def notify(message_code, processing, reason_code = nil, reason_message = nil)
23
30
  order.reload
24
31
 
@@ -29,6 +36,9 @@ module Vpago
29
36
  reason_message: reason_message,
30
37
  order_state: order.state,
31
38
  payment_state: order.payment_state,
39
+ # The steps the page waits for after completion. Re-read on every write, so it can only lag
40
+ # behind a step that already finished — whose own document under steps/ says so.
41
+ expected_steps: (order.pending_completion_steps if order.complete?),
32
42
  updated_at: Time.current
33
43
  }.compact
34
44
 
@@ -53,6 +53,12 @@
53
53
  document.getElementById("processing").innerText = processing ? "Processing..." : "No more process.";
54
54
  document.getElementById("reason_message").innerText = reasonMessage;
55
55
  },
56
+ onCompletionStepsPending: function (pendingSteps) {
57
+ document.getElementById("status").innerText = "Order is finalizing";
58
+ document.getElementById("reason_code").innerText = pendingSteps.join(", ");
59
+ document.getElementById("processing").innerText = "Processing...";
60
+ document.getElementById("reason_message").innerText = "";
61
+ },
56
62
  onOrderProcessFailed: function (orderState, paymentState, processing, reasonCode, reasonMessage) {
57
63
  document.getElementById("status").innerText = "Order process failed";
58
64
  document.getElementById("reason_code").innerText = reasonCode;
@@ -1,7 +1,7 @@
1
1
  module SpreeVpago
2
2
  module_function
3
3
 
4
- VERSION = '2.4.6'.freeze
4
+ VERSION = '2.4.7'.freeze
5
5
 
6
6
  def version
7
7
  Gem::Version.new VERSION
@@ -184,7 +184,7 @@
184
184
  "browser-stdout@^1.3.1": "https://registry.yarnpkg.com/browser-stdout/-/browser-stdout-1.3.1.tgz#baa559ee14ced73452229bad7326467c61fabd60",
185
185
  "browserslist@^4.24.0": "https://registry.yarnpkg.com/browserslist/-/browserslist-4.29.5.tgz#e835ff9a00f683305b33f02828c908b397410d4a",
186
186
  "camelcase@^6.0.0": "https://registry.yarnpkg.com/camelcase/-/camelcase-6.3.0.tgz#5685b95eb209ac9c0c177467778c9c84df58ba9a",
187
- "caniuse-lite@^1.0.30001819": "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001823.tgz#331a7cb49aa317517697e76b0b1295f2225959fe",
187
+ "caniuse-lite@^1.0.30001819": "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001826.tgz#6c2cc43e4858e54d6f7200fa87b4de93cb39aa77",
188
188
  "chai@^5.2.0": "https://registry.yarnpkg.com/chai/-/chai-5.2.0.tgz#1358ee106763624114addf84ab02697e411c9c05",
189
189
  "chalk@^4.1.0": "https://registry.yarnpkg.com/chalk/-/chalk-4.1.2.tgz#aac4e2b7734a740867aeb16bf02aad556a1e7a01",
190
190
  "check-error@^2.1.1": "https://registry.yarnpkg.com/check-error/-/check-error-2.1.1.tgz#87eb876ae71ee388fa0471fe423f494be1d96ccc",
@@ -225,7 +225,7 @@
225
225
  "diff@^9.0.0": "https://registry.yarnpkg.com/diff/-/diff-9.0.0.tgz#297c31cd7c280f13dfe335791ec2063bd4a73a6f",
226
226
  "dompurify@^3.4.17": "https://registry.yarnpkg.com/dompurify/-/dompurify-3.4.17.tgz#074bbb24eaa419535ac19ffe7f663104b0e1543d",
227
227
  "eastasianwidth@^0.2.0": "https://registry.yarnpkg.com/eastasianwidth/-/eastasianwidth-0.2.0.tgz#696ce2ec0aa0e6ea93a397ffcf24aa7840c827cb",
228
- "electron-to-chromium@^1.5.464": "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.5.478.tgz#e1d6d5279242d2f90fa287a8343dc04ddc0c52ec",
228
+ "electron-to-chromium@^1.5.464": "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.5.481.tgz#cb6d3067ae0611e0f2004fffc6b9d821f24a88b3",
229
229
  "emoji-regex@^8.0.0": "https://registry.yarnpkg.com/emoji-regex/-/emoji-regex-8.0.0.tgz#e818fd69ce5ccfcb404594f842963bf53164cc37",
230
230
  "emoji-regex@^9.2.2": "https://registry.yarnpkg.com/emoji-regex/-/emoji-regex-9.2.2.tgz#840c8803b0d8047f4ff0cf963176b32d4ef3ed72",
231
231
  "es-toolkit@^1.39.3": "https://registry.yarnpkg.com/es-toolkit/-/es-toolkit-1.53.2.tgz#334b8210b2e63eb19d18aea9830b71b079e11265",
@@ -250,8 +250,8 @@
250
250
  "he@^1.2.0": "https://registry.yarnpkg.com/he/-/he-1.2.0.tgz#84ae65fa7eafb165fddb61566ae14baf05664f0f",
251
251
  "http-parser-js@>=0.5.1": "https://registry.yarnpkg.com/http-parser-js/-/http-parser-js-0.5.9.tgz#b817b3ca0edea6236225000d795378707c169cec",
252
252
  "idb@7.1.1": "https://registry.yarnpkg.com/idb/-/idb-7.1.1.tgz#d910ded866d32c7ced9befc5bfdf36f572ced72b",
253
- "immer@^11.1.8": "https://registry.yarnpkg.com/immer/-/immer-11.2.9.tgz#025deddab07b73a87aaf99b6ecf2b53267da5ee2",
254
- "immer@^11.2.9": "https://registry.yarnpkg.com/immer/-/immer-11.2.9.tgz#025deddab07b73a87aaf99b6ecf2b53267da5ee2",
253
+ "immer@^11.1.8": "https://registry.yarnpkg.com/immer/-/immer-11.2.10.tgz#fe5f3fa0c14882ed2dbca049866e43562247e252",
254
+ "immer@^11.2.9": "https://registry.yarnpkg.com/immer/-/immer-11.2.10.tgz#fe5f3fa0c14882ed2dbca049866e43562247e252",
255
255
  "internmap@1 - 2": "https://registry.yarnpkg.com/internmap/-/internmap-2.0.3.tgz#6685f23755e43c524e251d29cbc97248e3061009",
256
256
  "is-binary-path@~2.1.0": "https://registry.yarnpkg.com/is-binary-path/-/is-binary-path-2.1.0.tgz#ea1f7f3b80f064236e83470f86c09c254fb45b09",
257
257
  "is-extglob@^2.1.1": "https://registry.yarnpkg.com/is-extglob/-/is-extglob-2.1.1.tgz#a88c02535791f02ed37c76a1b9ea9773c833f8c2",
data/yarn.lock CHANGED
@@ -1110,9 +1110,9 @@ camelcase@^6.0.0:
1110
1110
  integrity sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA==
1111
1111
 
1112
1112
  caniuse-lite@^1.0.30001819:
1113
- version "1.0.30001823"
1114
- resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001823.tgz#331a7cb49aa317517697e76b0b1295f2225959fe"
1115
- integrity sha512-TQ5s/djDjNk1axreUW+4rULH+BmdCMLiJkhaXnO5wqivG7tITkSUj4ItIdzqdZHKaXcHAV8dhH3JxOM7/7bwqw==
1113
+ version "1.0.30001826"
1114
+ resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001826.tgz#6c2cc43e4858e54d6f7200fa87b4de93cb39aa77"
1115
+ integrity sha512-wTB+9tIbLro/BCXwLuNV1meHE4L9dS6dArMDwgYfNBPMYScqClHyGunhkCSDtHhe/69Xl0sHlKgBVZ+fNsYtWA==
1116
1116
 
1117
1117
  chai@^5.2.0:
1118
1118
  version "5.2.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.478"
1342
- resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.5.478.tgz#e1d6d5279242d2f90fa287a8343dc04ddc0c52ec"
1343
- integrity sha512-pftG+ma5Lm8O6/p45bhYT6StBN5ziQymaRzmCZwFl8DwWHKPPD93FdOmP1aqftcepolQYvrcyTLa17kE8Yf+jg==
1341
+ version "1.5.481"
1342
+ resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.5.481.tgz#cb6d3067ae0611e0f2004fffc6b9d821f24a88b3"
1343
+ integrity sha512-dNUsbAP6E2S1dHIYEuN3cQ0dViThjMtpVRheGdvv5HgHFtzLi4Cu4Mbzms85YggP3Eh2VVZTl5+XxEN8ofCbmQ==
1344
1344
 
1345
1345
  emoji-regex@^8.0.0:
1346
1346
  version "8.0.0"
@@ -1532,9 +1532,9 @@ idb@7.1.1:
1532
1532
  integrity sha512-gchesWBzyvGHRO9W8tzUWFDycow5gwjvFKfyV9FF32Y7F50yZMp7mP+T2mJIWFx49zicqyC4uefHM17o6xKIVQ==
1533
1533
 
1534
1534
  immer@^11.1.8, immer@^11.2.9:
1535
- version "11.2.9"
1536
- resolved "https://registry.yarnpkg.com/immer/-/immer-11.2.9.tgz#025deddab07b73a87aaf99b6ecf2b53267da5ee2"
1537
- integrity sha512-IQ4UEtXjZjyefyWjtLEDXUSrF6T2hwjKPi6BIJl3bY/2XXW24d6cNGdXJSBOA/+KNnuiXkZY6DR0C3efolhitA==
1535
+ version "11.2.10"
1536
+ resolved "https://registry.yarnpkg.com/immer/-/immer-11.2.10.tgz#fe5f3fa0c14882ed2dbca049866e43562247e252"
1537
+ integrity sha512-pzANBj+0A9u+prdhBJ14DVi44vCvVUQzBa8DKt6I0AMCokPHtt722BK9IX5bFC70xUSU9TnzLRIJLTGqIzjEFw==
1538
1538
 
1539
1539
  "internmap@1 - 2":
1540
1540
  version "2.0.3"
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.6
4
+ version: 2.4.7
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-10 00:00:00.000000000 Z
11
+ date: 2026-11-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday