@tryheliumai/paywall-sdk-react-native 0.1.8 → 0.1.9

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.
@@ -185,33 +185,7 @@ class HeliumBridge: RCTEventEmitter {
185
185
  self.bridgingDelegate = BridgingPaywallDelegate(
186
186
  bridge: self
187
187
  )
188
-
189
- HeliumFetchedConfigManager.shared.$downloadStatus
190
- .sink { newValue in
191
- var newValueString = "";
192
- switch (newValue) {
193
- case .downloadFailure:
194
- newValueString = "downloadFailure";
195
- break;
196
- case .downloadSuccess:
197
- newValueString = "downloadSuccess";
198
- break;
199
- case .inProgress:
200
- newValueString = "inProgress";
201
- break;
202
- case .notDownloadedYet:
203
- newValueString = "notDownloadedYet";
204
- break;
205
- }
206
- self.sendEvent(
207
- withName: "helium_download_state_changed",
208
- body: [
209
- "status": newValueString
210
- ]
211
- )
212
- }
213
- .store(in: &cancellables)
214
-
188
+
215
189
  // Always do view lookup on main queue
216
190
  DispatchQueue.main.async {
217
191
  let startTime = CFAbsoluteTimeGetCurrent()
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tryheliumai/paywall-sdk-react-native",
3
- "version": "0.1.8",
3
+ "version": "0.1.9",
4
4
  "description": "Paywall SDK Helium",
5
5
  "source": "./src/index.ts",
6
6
  "main": "./lib/commonjs/index.js",