ylh-pc-ad-sdk 1.27.27 → 1.29.29

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -53,6 +53,7 @@ interface NativeAdInstance {
53
53
  getIconUrl: () => string;
54
54
  getAdLogoUrl: () => string;
55
55
  getBtnText: () => string;
56
+ getExt2: () => AdExt2Info;
56
57
  getAdPatternType: () => string;
57
58
  hasVideo: () => boolean;
58
59
  isValid: () => boolean;
@@ -65,6 +66,11 @@ interface GDTAdLoadConfig {
65
66
  appId?: string;
66
67
  sessionData?: string;
67
68
  token?: string;
69
+ ext?: {
70
+ outer_wxopenid?: string;
71
+ outer_wxappid?: string;
72
+ [key: string]: unknown;
73
+ };
68
74
  }
69
75
  interface VideoOptionProps {
70
76
  autoplay?: boolean;
@@ -115,6 +121,12 @@ interface BindMediaViewPropsManualCustom {
115
121
  renderType: 'manual';
116
122
  eventBinders: EventBinders;
117
123
  }
124
+ interface AdExt2Info {
125
+ ad_info?: {
126
+ crid?: number;
127
+ [key: string]: unknown;
128
+ };
129
+ }
118
130
 
119
131
  declare class GDTAdSDK {
120
132
  private static instance;