deeplinkit-react-native 0.9.2 → 0.9.3

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/index.js CHANGED
@@ -40,7 +40,7 @@ const check = (group, queueIfBusy = false) => {
40
40
  const options = group.options;
41
41
  const result = await native.lookup(options.baseURL, options.applicationId, options.timeoutSeconds, options.collectorURL, requestId);
42
42
  if (!active(group) || result?.matched !== true || result.payload == null || typeof result.payload !== 'object' || Array.isArray(result.payload)) return;
43
- const {app: _applicationScope, ...payload} = result.payload, key = payloadKey(payload);
43
+ const {app: _applicationScope, ...payload} = result.payload, key = typeof result.deliveryId === 'string' && /^[a-f0-9]{64}$/.test(result.deliveryId) ? 'delivery:' + result.deliveryId : 'payload:' + payloadKey(payload);
44
44
  for (const listener of group.listeners) {
45
45
  if (!active(group)) break;
46
46
  if (listener.seen.has(key)) continue;
@@ -1 +1 @@
1
- {"version":1,"sourceFingerprint":"f32949d9a305f188557204fcdbb1f859c5dbcd1ce616da2ad9f999df65af9b83"}
1
+ {"version":1,"sourceFingerprint":"e4fe1cc006b79fe51bb3d22cbd05d0d5eff8b4c8cbda391824b78febc7b89e30"}