Skip to content

Commit

Permalink
default param
Browse files Browse the repository at this point in the history
  • Loading branch information
vortechron committed Oct 28, 2023
1 parent 83eb1e8 commit c25b052
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @vortechron/query-builder-ts

## 1.2.0

### Minor Changes

- default factory fx param

## 1.1.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion index.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import QueryBuilder from "./src/query-builder";

const query = (path: string) => {
const query = (path: string = "/") => {
return new QueryBuilder(path);
};

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@vortechron/query-builder-ts",
"license": "MIT",
"version": "1.1.0",
"version": "1.2.0",
"main": "dist/index.js",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
Expand Down

0 comments on commit c25b052

Please sign in to comment.