@tryheliumai/paywall-sdk-react-native 0.1.13 → 0.1.15

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.
@@ -1,4 +1,4 @@
1
- export type HeliumTransactionStatus = 'purchased' | 'failed' | 'cancelled' | 'pending' | 'restored';
1
+ export type HeliumTransactionStatus = 'completed' | 'failed' | 'cancelled' | 'pending' | 'restored';
2
2
  export type HeliumDownloadStatus = 'success' | 'failed' | 'inProgress' | 'notStarted';
3
3
  export interface HeliumCallbacks {
4
4
  makePurchase: (productId: string) => Promise<HeliumTransactionStatus>;
@@ -1,4 +1,4 @@
1
- export type HeliumTransactionStatus = 'purchased' | 'failed' | 'cancelled' | 'pending' | 'restored';
1
+ export type HeliumTransactionStatus = 'completed' | 'failed' | 'cancelled' | 'pending' | 'restored';
2
2
  export type HeliumDownloadStatus = 'success' | 'failed' | 'inProgress' | 'notStarted';
3
3
  export interface HeliumCallbacks {
4
4
  makePurchase: (productId: string) => Promise<HeliumTransactionStatus>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tryheliumai/paywall-sdk-react-native",
3
- "version": "0.1.13",
3
+ "version": "0.1.15",
4
4
  "description": "Paywall SDK Helium",
5
5
  "source": "./src/index.ts",
6
6
  "main": "./lib/commonjs/index.js",
package/src/types.ts CHANGED
@@ -1,4 +1,4 @@
1
- export type HeliumTransactionStatus = 'purchased' | 'failed' | 'cancelled' | 'pending' | 'restored';
1
+ export type HeliumTransactionStatus = 'completed' | 'failed' | 'cancelled' | 'pending' | 'restored';
2
2
  export type HeliumDownloadStatus = 'success' | 'failed' | 'inProgress' | 'notStarted';
3
3
 
4
4
  export interface HeliumCallbacks {