valorant_daily_store 1.0.5 → 1.0.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bfae6c212d84828f57e3a34a58a8dbdc4d984029ce45e71dff80ed4f0fc5b393
4
- data.tar.gz: b079081c1a3a46a3a8d5a972589562d5d2aac4d970e8028bcd64045056a30367
3
+ metadata.gz: 8f3a44a21a5cb77c69496f9fcb8cd8cf887a738a780853b1226ea0f35adb9356
4
+ data.tar.gz: 0e89b1c1bb9ab74f2f8c1eab33c5a8828393e3a9f67a9d7d0921d60aedd1b246
5
5
  SHA512:
6
- metadata.gz: 5c6d290d43ae810248140f55a67521ef7e7f033135a859228b31101d07ba1928f72b14fef43ecfa7ad5134c6663274e79b8aaa1b5403c514770e223fcc2df391
7
- data.tar.gz: b161ef1b84a239c9417b6041d8f4633cee4ac55bd9a14b37e720a03ac5ef1381a6d2b6cf3d571afd1bb88cf124bbed2193474746dee182ea77d80bf88788521c
6
+ metadata.gz: aed42f5bbf6df1c9c95dfb4ef82958a606683eaebfc264ad1ef3ccba2e53b702ab3f043b2ba28d56ebdf976aaab27db18b12fa1ccda25b989100a34a8cf65996
7
+ data.tar.gz: 19ae610b9f838090eca535753ec29abbfd2c52b4391f4eca2d2876b0d9560d94c9e7aa12dc5b95f076d880d3fa540833cfc04b6c1cf6a52854c87c04295c78d6
data/CHANGELOG.md CHANGED
@@ -2,6 +2,21 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ### [1.0.6](https://github.com/Vegann/valorant_daily_store/compare/v1.0.5...v1.0.6) (2022-07-17)
6
+
7
+
8
+ ### Bug Fixes
9
+
10
+ * some additional headers have to be passed to retrieve the cookie ([3525428](https://github.com/Vegann/valorant_daily_store/commits/352542839434c250d4e16cfab836c272542f0267))
11
+ * version in package.json ([2418763](https://github.com/Vegann/valorant_daily_store/commits/24187639d54f12aeed49e870b941e1a0de5eca7e))
12
+
13
+ ### [1.0.1](https://github.com/Vegann/valorant_daily_store/compare/v1.0.5...v1.0.1) (2022-07-17)
14
+
15
+
16
+ ### Bug Fixes
17
+
18
+ * some additional headers have to be passed to retrieve the cookie ([3525428](https://github.com/Vegann/valorant_daily_store/commits/352542839434c250d4e16cfab836c272542f0267))
19
+
5
20
  ### [1.0.5](https://github.com/Vegann/valorant_daily_store/compare/v1.0.4...v1.0.5) (2022-01-30)
6
21
 
7
22
 
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- valorant_daily_store (1.0.5)
4
+ valorant_daily_store (1.0.6)
5
5
  faraday (~> 2.1)
6
6
  faraday-cookie_jar (~> 0.0.7)
7
7
  thor (~> 1.2.1)
@@ -31,7 +31,12 @@ module ValorantDailyStore
31
31
  private
32
32
 
33
33
  def set_starting_cookies
34
- response = auth_conn.post("/api/v1/authorization", {nonce: "1", client_id: "play-valorant-web-prod", redirect_uri: "https://playvalorant.com/opt_in", response_type: "token id_token"})
34
+ response = auth_conn.post("/api/v1/authorization", {
35
+ nonce: "1",
36
+ client_id: "play-valorant-web-prod",
37
+ redirect_uri: "https://playvalorant.com/opt_in",
38
+ response_type: "token id_token"
39
+ })
35
40
  if response.status != 200
36
41
  raise AuthorizationCookiesError
37
42
  end
@@ -124,7 +129,9 @@ module ValorantDailyStore
124
129
  builder.response :json
125
130
  builder.request :json
126
131
  builder.adapter Faraday.default_adapter
127
- builder.headers["User-Agent"] = "RiotClient/43.0.1.4195386.4190634 rso-auth (Windows;10;;Professional, x64)"
132
+ builder.headers["Host"] = "auth.riotgames.com"
133
+ builder.headers["Referer"] = "https://hoppscotch.io/"
134
+ builder.headers["Origin"] = "https://hoppscotch.io"
128
135
  end
129
136
  end
130
137
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ValorantDailyStore
4
- VERSION = "1.0.5"
4
+ VERSION = "1.0.6"
5
5
  end
data/package-lock.json CHANGED
@@ -1925,9 +1925,9 @@
1925
1925
  }
1926
1926
  },
1927
1927
  "node_modules/minimist": {
1928
- "version": "1.2.5",
1929
- "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.5.tgz",
1930
- "integrity": "sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==",
1928
+ "version": "1.2.6",
1929
+ "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.6.tgz",
1930
+ "integrity": "sha512-Jsjnk4bw3YJqYzbdyBiNsPWHPfO++UGG749Cxs6peCu5Xg4nrena6OVxOYxrQTqww0Jmwt+Ref8rggumkTLz9Q==",
1931
1931
  "dev": true
1932
1932
  },
1933
1933
  "node_modules/minimist-options": {
@@ -4363,9 +4363,9 @@
4363
4363
  }
4364
4364
  },
4365
4365
  "minimist": {
4366
- "version": "1.2.5",
4367
- "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.5.tgz",
4368
- "integrity": "sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==",
4366
+ "version": "1.2.6",
4367
+ "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.6.tgz",
4368
+ "integrity": "sha512-Jsjnk4bw3YJqYzbdyBiNsPWHPfO++UGG749Cxs6peCu5Xg4nrena6OVxOYxrQTqww0Jmwt+Ref8rggumkTLz9Q==",
4369
4369
  "dev": true
4370
4370
  },
4371
4371
  "minimist-options": {
data/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "valorant_daily_store",
3
- "version": "1.0.0",
3
+ "version": "1.0.5",
4
4
  "description": "Simple gem to get your daily valorant store",
5
5
  "private": true,
6
6
  "directories": {
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: valorant_daily_store
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.5
4
+ version: 1.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vegann
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-01-30 00:00:00.000000000 Z
11
+ date: 2022-07-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday-cookie_jar
@@ -218,7 +218,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
218
218
  - !ruby/object:Gem::Version
219
219
  version: '0'
220
220
  requirements: []
221
- rubygems_version: 3.3.3
221
+ rubygems_version: 3.3.7
222
222
  signing_key:
223
223
  specification_version: 4
224
224
  summary: Get your valorant daily store