vovk-rust 0.0.1-draft.31 → 0.0.1-draft.34

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vovk-rust",
3
- "version": "0.0.1-draft.31",
3
+ "version": "0.0.1-draft.34",
4
4
  "description": "Vovk.ts Rust client",
5
5
  "scripts": {
6
6
  "build": "tsc",
@@ -1,4 +1,4 @@
1
- # <%= t.package.name.replace(/-/g, '_') %> v<%= t.package.version %> ![Rust](https://img.shields.io/badge/rust-%23000000.svg?style=for-the-badge&logo=rust&logoColor=white)
1
+ # <%= t.package.name.replace(/-/g, '_') %> v<%= t.package.version %> ![Rust](https://img.shields.io/badge/rust-%23000000.svg?style=for-the-badge&logo=rust&logoColor=white) [![Vovk.ts](https://badgen.net/badge/Built%20with/Vovk.ts/333333?icon=https://vovk.dev/icon-white.svg)](https://vovk.dev)
2
2
 
3
3
  <%- t.package.description ? `> ${t.package.description}` : '' %>
4
4
 
@@ -161,7 +161,7 @@ where
161
161
  if let Some(ref params_val) = params_value {
162
162
  if let Value::Object(map) = params_val {
163
163
  for (key, value) in map {
164
- let pattern = format!(":{}", key);
164
+ let pattern = format!("{{{}}}", key);
165
165
  if let Value::String(s) = value {
166
166
  url = url.replace(&pattern, s);
167
167
  } else {