Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Features/handle storage class validation #134

Merged
merged 2 commits into from
Mar 27, 2024

Conversation

Redm4x
Copy link
Contributor

@Redm4x Redm4x commented Mar 21, 2024

  • Update akashjs and remove temporary patch
  • Call akashjs validation method and show errors as CustomValidationError

@@ -57,12 +57,12 @@ export function parseSizeStr(str: string) {

type NetworkType = "beta2" | "beta3";

function isString(value: unknown): value is string {
return typeof value === "object" && value !== null && value.constructor === String;
function isValidString(value: unknown): value is string {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We could replace with lodash isString

@Redm4x Redm4x merged commit b07c1a7 into main Mar 27, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants