@ahqstore/cli 0.5.1 → 0.5.4

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/Cargo.toml CHANGED
@@ -1,7 +1,7 @@
1
1
  [package]
2
2
  edition = "2021"
3
3
  name = "ahqstore_cli_rs"
4
- version = "0.5.1"
4
+ version = "0.5.4"
5
5
  description = "AHQ Store CLI"
6
6
  repository = "https://github.com/ahqstore/cli"
7
7
  homepage = "https://github.com/ahqstore/cli"
@@ -35,7 +35,6 @@ serde_json = "1"
35
35
  ahqstore-types = "3.1.0"
36
36
  reqwest = { version = "0.12", features = ["json", "blocking"] }
37
37
  sha2 = "0.10"
38
- base64 = "0.22"
39
38
  image = { version = "0.25", default-features = false, features = [
40
39
  "rayon",
41
40
  "png",
package/README.md CHANGED
@@ -4,6 +4,10 @@ Read more about it [here](https://ahqstore.github.io)
4
4
 
5
5
  # Changelog
6
6
 
7
+ ## 0.5.4 01-Sep-2024 10:07PM IST
8
+
9
+ - **[CRITICAL]** Fixes invalid config files being generated
10
+
7
11
  ## 0.5.1 23-Aug-2024 10:09PM IST
8
12
 
9
13
  - Fix NPM Publish error
package/latest.md CHANGED
@@ -1 +1 @@
1
- - Just a clone of 0.4.2
1
+ Binaries for the release
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ahqstore/cli",
3
- "version": "0.5.1",
3
+ "version": "0.5.4",
4
4
  "readme": "./README.md",
5
5
  "napi": {
6
6
  "name": "cli",
@@ -40,14 +40,14 @@
40
40
  "version": "napi version"
41
41
  },
42
42
  "optionalDependencies": {
43
- "@ahqstore/cli-win32-x64-msvc": "0.5.1",
44
- "@ahqstore/cli-darwin-x64": "0.5.1",
45
- "@ahqstore/cli-linux-x64-gnu": "0.5.1",
46
- "@ahqstore/cli-darwin-arm64": "0.5.1",
47
- "@ahqstore/cli-linux-arm64-gnu": "0.5.1",
48
- "@ahqstore/cli-win32-arm64-msvc": "0.5.1",
49
- "@ahqstore/cli-win32-ia32-msvc": "0.5.1",
50
- "@ahqstore/cli-darwin-universal": "0.5.1",
51
- "@ahqstore/cli-linux-riscv64-gnu": "0.5.1"
43
+ "@ahqstore/cli-win32-x64-msvc": "0.5.4",
44
+ "@ahqstore/cli-darwin-x64": "0.5.4",
45
+ "@ahqstore/cli-linux-x64-gnu": "0.5.4",
46
+ "@ahqstore/cli-darwin-arm64": "0.5.4",
47
+ "@ahqstore/cli-linux-arm64-gnu": "0.5.4",
48
+ "@ahqstore/cli-win32-arm64-msvc": "0.5.4",
49
+ "@ahqstore/cli-win32-ia32-msvc": "0.5.4",
50
+ "@ahqstore/cli-darwin-universal": "0.5.4",
51
+ "@ahqstore/cli-linux-riscv64-gnu": "0.5.4"
52
52
  }
53
53
  }
@@ -1,5 +1,4 @@
1
1
  use crate::app::ERR;
2
- use base64::engine::{general_purpose::STANDARD, Engine};
3
2
  use image::{load_from_memory_with_format as load_img, ImageFormat};
4
3
  use std::fs;
5
4
  use std::process;
@@ -197,17 +197,16 @@ pub fn build_config(upload: bool, gh_action: bool) {
197
197
  // }
198
198
 
199
199
  let config_file = to_string_pretty(&final_config).unwrap();
200
- let config_file = to_string(config_file.as_bytes()).unwrap();
201
200
 
202
201
  if !gh_action {
203
- println!("Bytes: ahqstore.json");
202
+ println!("{} {}.json", &*INFO, &app_id);
204
203
  println!("{}", &config_file);
205
204
  }
206
205
 
207
206
  if upload {
208
207
  let uup = gh_r
209
208
  .upload_url
210
- .replace("{?name,label}", &format!("?name={app_id}.txt"));
209
+ .replace("{?name,label}", &format!("?name={app_id}.json"));
211
210
 
212
211
  let resp = CLIENT
213
212
  .post(uup)