Skip to content
This repository has been archived by the owner on May 10, 2024. It is now read-only.

Commit

Permalink
Fix #2488: Update BraveRewards library (#2492)
Browse files Browse the repository at this point in the history
  • Loading branch information
kylehickinson authored Apr 30, 2020
1 parent b680f53 commit 9f9e404
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 1,567 deletions.
Binary file modified BraveRewards/BraveRewards.framework/BraveRewards
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ NS_SWIFT_NAME(AdsNotification)
@property (nonatomic, readonly, copy) NSString *title;
@property (nonatomic, readonly, copy) NSString *body;
@property (nonatomic, readonly, copy) NSURL *targetURL;
@property (nonatomic, readonly, copy) NSString *geoTarget;
@end

@interface BATAdNotification (MyFirstAd)
Expand Down
6 changes: 0 additions & 6 deletions BraveRewards/BraveRewards.framework/Headers/BATBraveAds.h
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,6 @@ NS_SWIFT_NAME(BraveAds)
/// The environment that ads is communicating with. See ledger's BATEnvironment
/// for appropriate values.
@property (nonatomic, class) int environment;
/// Marks if this is being ran in a test environment. Defaults to false
@property (nonatomic, class, getter=isTesting) BOOL testing;

#pragma mark - Initialization / Shutdown

Expand Down Expand Up @@ -88,10 +86,6 @@ NS_SWIFT_NAME(BraveAds)
/// Remove all cached history (should be called when the user clears their browser history)
- (void)removeAllHistory:(void (^)(BOOL))completion;

/// Should be called when the user invokes "Show Sample Ad" on the Client; a Notification is then sent
/// to the Client for processing
- (void)serveSampleAd;

#pragma mark - Confirmations

// Should be called to inform Ads if Confirmations is ready
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,7 @@ NS_SWIFT_NAME(BraveRewards)
/// Report that a page has loaded in the current browser tab, and the HTML is available for analysis
///
/// @note Send nil for `adsInnerText` if the load happened due to tabs restoring
/// after app launch or if response header for the page load contains
/// "cache-control: no-store"
/// after app launch
- (void)reportLoadedPageWithURL:(NSURL *)url
faviconURL:(nullable NSURL *)faviconURL
tabId:(UInt32)tabId
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -459,6 +459,7 @@ NS_SWIFT_NAME(ClientInfo)
@interface BATClientInfo : NSObject <NSCopying>
@property (nonatomic) BATPlatform platform;
@property (nonatomic) BATOperatingSystem os;
@property (nonatomic, copy) NSString * channel;
@end

NS_SWIFT_NAME(RecurringTip)
Expand All @@ -472,6 +473,7 @@ NS_SWIFT_NAME(TransactionReportInfo)
@interface BATTransactionReportInfo : NSObject <NSCopying>
@property (nonatomic) double amount;
@property (nonatomic) BATReportType type;
@property (nonatomic) BATContributionProcessor processor;
@property (nonatomic) uint64_t createdAt;
@end

Expand All @@ -480,6 +482,7 @@ NS_SWIFT_NAME(ContributionReportInfo)
@property (nonatomic, copy) NSString * contributionId;
@property (nonatomic) double amount;
@property (nonatomic) BATReportType type;
@property (nonatomic) BATContributionProcessor processor;
@property (nonatomic, copy) NSArray<BATPublisherInfo *> * publishers;
@property (nonatomic) uint64_t createdAt;
@end
Expand Down
1,557 changes: 0 additions & 1,557 deletions BraveRewards/BraveRewards.framework/sample_bundle.json

This file was deleted.

4 changes: 2 additions & 2 deletions BraveRewardsUI/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ A UI framework for consuming Brave Rewards. The core logic around BraveRewards r
The latest BraveRewards.framework was built on:

```
brave-browser/f3abb85e967fbddd9dcd9447b114446cf9450669
brave-core/51281fdfcdad99d2d09f4b3476ec1b2cac733c9a
brave-browser/fa8c9a4f483e847b931496e4275db6c0aa38c0ae
brave-core/0ea57ed082c67bba40b112b328cb88df9e1f13e7
```

0 comments on commit 9f9e404

Please sign in to comment.