adspower-client 1.0.19 → 1.0.20

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: 6c91e849c43700d337b826208f705deef1bb3ec6e493ac872cd7d838afc67859
4
- data.tar.gz: 176aefa58b9bd965fcbab16b7714dec6ac5cf3a8e0cad23b759248ae82b6fbd3
3
+ metadata.gz: d0ccba83af94aa8269d8f9900dc833c8272dae8d157488f5e8f6f5e6b0271655
4
+ data.tar.gz: 26eb3e2830ba0fdac9c393baf0b1bd5ccb68ee06ee23107b63d45beb1bbcbc62
5
5
  SHA512:
6
- metadata.gz: 564d87a5328385d750e0734363a7dae2a20e56469801b4042818deb6c6f81468cdf0172d80bc47b09a432fb03b0834147771f11c6b939e10544b3d73952b450c
7
- data.tar.gz: 4aa7af6322c6489d26733ff50117e3341d50fe68ecdba7846642149cbccb2874619483aa4a5bf0debacbb4d2ed93d2b5ca9eaf5507ca57afa755190c6dda2724
6
+ metadata.gz: c4012e0f78559bc6b729b926c104d3c16571a95624690243468757d93f4648df504149614901c26eb100f83255525db4859549e0fe06ef29754fd3df7f021c2b
7
+ data.tar.gz: 87085d7433b2eaf109ca6e2c467597add299c110d175950baa5786302372398eea303ed722af08e5d18aa6d280d7d2e32451739399784f1970dfe41686c84a2b
@@ -1,7 +1,7 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'adspower-client'
3
- s.version = '1.0.19'
4
- s.date = '2025-11-03'
3
+ s.version = '1.0.20'
4
+ s.date = '2025-12-10'
5
5
  s.summary = "Ruby library for operating AdsPower API."
6
6
  s.description = "Ruby library for operating AdsPower API."
7
7
  s.authors = ["Leandro Daniel Sardi"]
@@ -316,13 +316,14 @@ class AdsPowerClient
316
316
  proxy_config:,
317
317
  group_id: '0',
318
318
  browser_version: nil,
319
- os: 'linux64',# new: one of linux64, mac-x64, mac-arm64, win32, win64
319
+ os: 'linux64', # new: one of linux64, mac-x64, mac-arm64, win32, win64
320
320
  fingerprint: nil,
321
- platform: '', # default: no platform
322
- tabs: [], # default: no tabs to open
323
- username: '', # default: no login
324
- password: '', # default: no password
325
- fakey: '' # leave blank if no 2FA
321
+ platform: '', # default: no platform
322
+ tabs: [], # default: no tabs to open
323
+ username: '', # default: no login
324
+ password: '', # default: no password
325
+ fakey: '', # leave blank if no 2FA
326
+ cookie: nil # import cookies - Type: Text - Format: JSON - username/password are ignored if cookie is not nil.
326
327
  )
327
328
  browser_version ||= adspower_default_browser_version
328
329
 
@@ -382,6 +383,7 @@ class AdsPowerClient
382
383
  'username' => username,
383
384
  'password' => password,
384
385
  'fakey' => fakey, # 2FA, if any
386
+ 'cookie' => cookie,
385
387
 
386
388
  # ─── FINGERPRINT ──────────────────────────────────
387
389
  "fingerprint_config" => fingerprint || {
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: adspower-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.19
4
+ version: 1.0.20
5
5
  platform: ruby
6
6
  authors:
7
7
  - Leandro Daniel Sardi
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-11-03 00:00:00.000000000 Z
11
+ date: 2025-12-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: uri