Skip to content

Commit

Permalink
Merge pull request #164 from skyflowapi/SK-1621-node-sdk-v2
Browse files Browse the repository at this point in the history
SK-1621: node sdk v2
  • Loading branch information
amith-skyflow authored Nov 4, 2024
2 parents 668b552 + f4f3017 commit b74bfea
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/utils/validations/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -883,7 +883,7 @@ function isStringKeyValueMap(obj: any): obj is StringKeyValueMapType {
}

for (const key in obj) {
if (typeof key !== 'string' || typeof obj[key] !== 'string') {
if (typeof key !== 'string' || (typeof obj[key] !== 'object' && typeof obj[key] !== 'string')) {
return false;
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/vault/types/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export interface queryResponseType {
}

export interface StringKeyValueMapType {
[key: string]: string;
[key: string]: object | string;
}

export interface tokenizeRequestType {
Expand Down

0 comments on commit b74bfea

Please sign in to comment.