We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7a2d645 commit 40427bcCopy full SHA for 40427bc
packages/sdk/src/utils/index.ts
@@ -293,7 +293,7 @@ export const splitInscriptionId = (inscriptionId: string) => {
293
throw new OrditSDKError(`Invalid inscriptionId: ${inscriptionId}`)
294
}
295
const indexNum = Number(index)
296
- if (Number.isNaN(indexNum) || indexNum < 0 || index !== "") {
+ if (Number.isNaN(indexNum) || indexNum < 0 || index === "") {
297
298
299
0 commit comments