@naiv/codegen-axios-client 0.0.2 → 0.0.3

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.
@@ -49,7 +49,7 @@ function createAPIParams(api) {
49
49
  }
50
50
  const utility_functions = `
51
51
  function __build_path(base_url: string, url_path: string, path_param: { [key: string]: any }) {
52
- const build_path = url_path.replace(/:([a-zA-Z_]\w*)/g, (_, key) => {
52
+ const build_path = url_path.replace(/:([a-zA-Z_]\\w*)/g, (_, key) => {
53
53
  if (path_param[key] === undefined) {
54
54
  throw new Error(\`Missing param: \${key}\`);
55
55
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@naiv/codegen-axios-client",
3
- "version": "0.0.2",
3
+ "version": "0.0.3",
4
4
  "main": "dist/index.js",
5
5
  "publishConfig": {
6
6
  "access": "public"