File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
javascript/tokenscript-viewer/src/components Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -101,7 +101,7 @@ export class AppRoot {
101
101
102
102
constructor ( ) {
103
103
104
- if ( this . viewerType !== "opensea" )
104
+ if ( this . viewerType !== "opensea" && this . viewerType . indexOf ( "tlink" ) === - 1 )
105
105
dbProvider . checkCompatibility ( ) ;
106
106
107
107
this . tsEngine = new TokenScriptEngine (
@@ -110,7 +110,7 @@ export class AppRoot {
110
110
( ) => this . attestationStorageAdapter ,
111
111
( ) => this . tsLocalStorageAdapter ,
112
112
{
113
- noLocalStorage : this . viewerType === "opensea" || this . params . has ( "___bypassCache" ) ,
113
+ noLocalStorage : this . viewerType === "opensea" || this . viewerType . indexOf ( "tlink" ) === 0 || this . params . has ( "___bypassCache" ) ,
114
114
trustedKeys : [
115
115
{
116
116
issuerName : "Smart Token Labs" ,
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ export async function getTokenScriptWithProvidedTokenContext(
27
27
providedTokenIdDetails : ITokenDetail ;
28
28
29
29
constructor ( engine : TokenScriptEngine ) {
30
- super ( ) ;
30
+ super ( ! engine . config . noLocalStorage ) ;
31
31
this . engine = engine ;
32
32
}
33
33
You can’t perform that action at this time.
0 commit comments