File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -362,6 +362,10 @@ interface SelectPlacements {
362
362
( options : RoktSelectPlacementsOptions ) : Promise < RoktSelection > ;
363
363
}
364
364
365
+ interface Use {
366
+ ( name : string ) : Promise < unknown > ;
367
+ }
368
+
365
369
interface HashAttributes {
366
370
( attributes : RoktPartnerAttributes ) : Promise < Record < string , string > > ;
367
371
}
@@ -556,6 +560,7 @@ export namespace Rokt {
556
560
const selectPlacements : SelectPlacements ;
557
561
const hashAttributes : HashAttributes ;
558
562
const setExtensionData : SetExtensionData ;
563
+ const use : Use ;
559
564
}
560
565
561
566
export interface IdentifyRequest {
@@ -817,6 +822,7 @@ declare class mParticleInstance {
817
822
selectPlacements : SelectPlacements ;
818
823
hashAttributes : HashAttributes ;
819
824
setExtensionData : SetExtensionData ;
825
+ use : Use ;
820
826
} ;
821
827
PromotionType : {
822
828
Unknown : PromotionType . Unknown ;
Original file line number Diff line number Diff line change @@ -226,6 +226,8 @@ mParticle.Rokt.setExtensionData({
226
226
} ,
227
227
} ) ;
228
228
229
+ mParticle . Rokt . use ( "test-extension-name" ) ;
230
+
229
231
mParticle . ready ( ( ) => {
230
232
console . log ( "hi" ) ;
231
233
} ) ;
You can’t perform that action at this time.
0 commit comments