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 +4 -4
- data/CHANGELOG.md +15 -0
- data/Gemfile.lock +1 -1
- data/lib/valorant_daily_store/data.rb +9 -2
- data/lib/valorant_daily_store/version.rb +1 -1
- data/package-lock.json +6 -6
- data/package.json +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8f3a44a21a5cb77c69496f9fcb8cd8cf887a738a780853b1226ea0f35adb9356
|
4
|
+
data.tar.gz: 0e89b1c1bb9ab74f2f8c1eab33c5a8828393e3a9f67a9d7d0921d60aedd1b246
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
@@ -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", {
|
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["
|
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
|
|
data/package-lock.json
CHANGED
@@ -1925,9 +1925,9 @@
|
|
1925
1925
|
}
|
1926
1926
|
},
|
1927
1927
|
"node_modules/minimist": {
|
1928
|
-
"version": "1.2.
|
1929
|
-
"resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.
|
1930
|
-
"integrity": "sha512-
|
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.
|
4367
|
-
"resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.
|
4368
|
-
"integrity": "sha512-
|
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
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.
|
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-
|
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.
|
221
|
+
rubygems_version: 3.3.7
|
222
222
|
signing_key:
|
223
223
|
specification_version: 4
|
224
224
|
summary: Get your valorant daily store
|