Skip to content

Commit e2fa257

Browse files
committed
feat: multi-tokenscript improvements WIP
Revise scriptId format
1 parent 9e3e7e0 commit e2fa257

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

javascript/engine-js/src/repo/sources/RegistryScriptURI.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ export class RegistryScriptURI implements SourceInterface {
173173
order: i+1,
174174
authenticated: thisSourceData.isAuthenticated,
175175
sourceId: chain + "-" + contractAddr,
176-
scriptId: typeof thisSourceData.tokenId === 'bigint' ? Number(thisSourceData.tokenId) : thisSourceData.tokenId,
176+
scriptId: "7738_" + thisSourceData.tokenId.toString(),
177177
sourceUrl: thisSourceData.scriptURI,
178178
type: ScriptSourceType.SCRIPT_REGISTRY
179179
});

0 commit comments

Comments
 (0)