Skip to content

Commit

Permalink
🔀 🐛 Add uri encode for query param (#137)
Browse files Browse the repository at this point in the history
  • Loading branch information
devkanro authored Feb 18, 2022
1 parent 53d884c commit 46a2ba7
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
"packages": [
"packages/*"
],
"version": "0.0.3"
"version": "0.0.4"
}
2 changes: 1 addition & 1 deletion packages/sisyphus-cli/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@sisyphus.js/cli",
"version": "0.0.3",
"version": "0.0.4",
"description": "Protobuf generator cli for sisyphus project",
"author": "Kanro <[email protected]>",
"bugs": {
Expand Down
2 changes: 1 addition & 1 deletion packages/sisyphus-core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@sisyphus.js/core",
"version": "0.0.3",
"version": "0.0.4",
"description": "Protobuf runtime for sisyphus project on js platform",
"author": "Kanro <[email protected]>",
"bugs": {
Expand Down
2 changes: 1 addition & 1 deletion packages/sisyphus-core/src/transcoding.ts
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ export function serializeParam(params: any, prefix ?: string): string {

for (const item of value) {
if (prefix) {
result.push(`${prefix}.${key}=${item}`)
result.push(`${prefix}.${key}=${encodeURIComponent('' + item)}`)
} else {
result.push(`${key}=${item}`)
}
Expand Down
2 changes: 1 addition & 1 deletion packages/sisyphus-generator/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@sisyphus.js/generator",
"version": "0.0.3",
"version": "0.0.4",
"description": "Protobuf generator for sisyphus project on js platform",
"author": "Kanro <[email protected]>",
"bugs": {
Expand Down

0 comments on commit 46a2ba7

Please sign in to comment.