apps-sdk 1.0.111 → 1.0.112

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "apps-sdk",
3
- "version": "1.0.111",
3
+ "version": "1.0.112",
4
4
  "description": "Apps SDK",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -211,6 +211,10 @@ class Networking {
211
211
  }
212
212
  }
213
213
 
214
+ getPayWallData() {
215
+ return config.PAYWALL_DATA;
216
+ }
217
+
214
218
  sendEvent = async (eventType, eventKeyword, eventData={}) => {
215
219
  if (config.TRACKING_ACTIVE === false && Platform.OS === 'ios') {
216
220
  console.log('Event not sent, tracking is denied (iOS): ', eventType, eventKeyword);
package/types/index.d.ts CHANGED
@@ -79,6 +79,8 @@ declare module 'apps-sdk' {
79
79
  addPendingEvent(event: any): void;
80
80
  sendPendingEvents(): Promise<void>;
81
81
  clearPendingEvents(): void;
82
+ setPayWallData(payWallData: any): void;
83
+ getPayWallData(): any;
82
84
  }
83
85
 
84
86
  export class Storage {