multiwoven-integrations 0.43.2 → 0.43.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ee3d0d0974a94d4b1209840ab232990dc52695e48f57a3416f54124c317b6e65
4
- data.tar.gz: '0941d61ece52ef976a080ab7466f285c34af234d2509d093889776b813d20759'
3
+ metadata.gz: 0a5d0c3ea22bdd05170fce310240cc77ef3628c2b5958d5b9fa8e70551115995
4
+ data.tar.gz: 27fee83a72ad0b5c31f6b8121f529c005c486cab0814d058e428a264e8a95b06
5
5
  SHA512:
6
- metadata.gz: 2a7f48a14fb40ee92be84016cfcec9eab5123490b4fa73c5fc21501da9d124857c09f3cb374a09328b4730c8a78ef1ebea61c89adf7500d5d480e2a953873023
7
- data.tar.gz: 012db731b0d503876bbdd0758162b8179bcb34e42d4f5afb2ecdd924dcb790cdba1338e8cd4579eba0a4b934984047d9604d48d44d163b66cf3ddb8fb297d437
6
+ metadata.gz: 9ff81934d7846cd876d35a8567091174a6e609be305f44d7fcd0962b843cad2eaa6bcb8df4f677ee7d4c1f6e7d339c872cc019c167782c7472e28d174903ac45
7
+ data.tar.gz: dae82517b2fda3cd4e2220c30dcc216ae68d198bd9e712b9818de28e99d6f9d07a9e86e0884f371318cef645e0b5aefeb8939d8514aee72d672ae00a96f611a1
data/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  ## [Unreleased]
2
2
 
3
+ ### [0.43.3]
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * Firecrawl `get_request_url` raises a clear error when there is no active crawl id (BE-2025)
9
+
3
10
  ### [0.4.1](https://www.github.com/Multiwoven/multiwoven-integrations/compare/v0.4.0...v0.4.1) (2024-02-15)
4
11
 
5
12
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  module Multiwoven
4
4
  module Integrations
5
- VERSION = "0.43.2"
5
+ VERSION = "0.43.3"
6
6
 
7
7
  ENABLED_SOURCES = %w[
8
8
  Snowflake
@@ -116,9 +116,9 @@ module Multiwoven::Integrations::Source
116
116
  active = crawl_activity
117
117
  crawl_active = JSON.parse(active.body)
118
118
 
119
- raise "Missing crawl result URL and no active crawl ID available." unless crawl_active["crawls"][-1]["id"].present?
119
+ crawl_id = crawl_active["crawls"]&.last&.dig("id")
120
+ raise "Missing crawl result URL and no active crawl ID available." if crawl_id.blank?
120
121
 
121
- crawl_id = crawl_active["crawls"][-1]["id"]
122
122
  build_url(FIRECRAWL_GET_CRAWL_URL, crawl_id.to_s)
123
123
  else
124
124
  request["url"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: multiwoven-integrations
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.43.2
4
+ version: 0.43.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Subin T P