mobilyflow-react-native-sdk 0.3.2 → 0.4.0-alpha.3
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/MobilyflowReactNativeSdk.podspec +1 -1
- package/android/build.gradle +1 -1
- package/android/generated/java/com/mobilyflowreactnativesdk/NativeMobilyflowReactNativeSdkSpec.java +10 -2
- package/android/generated/jni/RNMobilyflowReactNativeSdkSpec-generated.cpp +16 -4
- package/android/generated/jni/react/renderer/components/RNMobilyflowReactNativeSdkSpec/RNMobilyflowReactNativeSdkSpecJSI-generated.cpp +19 -4
- package/android/generated/jni/react/renderer/components/RNMobilyflowReactNativeSdkSpec/RNMobilyflowReactNativeSdkSpecJSI.h +25 -7
- package/android/src/main/java/com/mobilyflowreactnativesdk/MobilyflowReactNativeSdkModule.kt +33 -17
- package/ios/MobilyflowReactNativeSdk.mm +23 -19
- package/ios/generated/RNMobilyflowReactNativeSdkSpec/RNMobilyflowReactNativeSdkSpec-generated.mm +17 -3
- package/ios/generated/RNMobilyflowReactNativeSdkSpec/RNMobilyflowReactNativeSdkSpec.h +12 -5
- package/ios/generated/RNMobilyflowReactNativeSdkSpecJSI-generated.cpp +19 -4
- package/ios/generated/RNMobilyflowReactNativeSdkSpecJSI.h +25 -7
- package/lib/commonjs/MobilyPurchaseSDK.js +30 -14
- package/lib/commonjs/MobilyPurchaseSDK.js.map +1 -1
- package/lib/commonjs/NativeMobilyflowReactNativeSdk.js.map +1 -1
- package/lib/commonjs/enums/mobily-environment.js +3 -3
- package/lib/commonjs/enums/mobily-environment.js.map +1 -1
- package/lib/commonjs/enums/mobily-event-type.js +25 -0
- package/lib/commonjs/enums/mobily-event-type.js.map +1 -0
- package/lib/commonjs/enums/mobily-platform.js +12 -0
- package/lib/commonjs/enums/mobily-platform.js.map +1 -0
- package/lib/commonjs/enums/mobily-product-offer-type.js +12 -0
- package/lib/commonjs/enums/mobily-product-offer-type.js.map +1 -0
- package/lib/commonjs/enums/mobily-product-status.js +13 -0
- package/lib/commonjs/enums/mobily-product-status.js.map +1 -0
- package/lib/commonjs/enums/mobily-product-type.js +12 -0
- package/lib/commonjs/enums/mobily-product-type.js.map +1 -0
- package/lib/commonjs/enums/mobily-refund-dialog-result.js +13 -0
- package/lib/commonjs/enums/mobily-refund-dialog-result.js.map +1 -0
- package/lib/commonjs/enums/mobily-transaction-status.js +13 -0
- package/lib/commonjs/enums/mobily-transaction-status.js.map +1 -0
- package/lib/commonjs/enums/mobily-transfer-ownership-status.js +14 -0
- package/lib/commonjs/enums/mobily-transfer-ownership-status.js.map +1 -0
- package/lib/commonjs/enums/mobily-webhook-status.js +13 -0
- package/lib/commonjs/enums/mobily-webhook-status.js.map +1 -0
- package/lib/commonjs/enums/period-unit.js +3 -3
- package/lib/commonjs/enums/period-unit.js.map +1 -1
- package/lib/commonjs/index.js +89 -38
- package/lib/commonjs/index.js.map +1 -1
- package/lib/commonjs/models/entitlement/mobily-customer-entitlement.js +24 -0
- package/lib/commonjs/models/entitlement/mobily-customer-entitlement.js.map +1 -0
- package/lib/commonjs/models/entitlement/mobily-item.js +21 -0
- package/lib/commonjs/models/entitlement/mobily-item.js.map +1 -0
- package/lib/commonjs/models/entitlement/mobily-subscription.js +24 -0
- package/lib/commonjs/models/entitlement/mobily-subscription.js.map +1 -0
- package/lib/commonjs/models/internal/purchase-options.js +6 -0
- package/lib/commonjs/models/internal/purchase-options.js.map +1 -0
- package/lib/commonjs/models/mobily-customer.js.map +1 -0
- package/lib/commonjs/models/mobily-event.js +29 -0
- package/lib/commonjs/models/mobily-event.js.map +1 -0
- package/lib/commonjs/models/mobily-transaction.js +17 -0
- package/lib/commonjs/models/mobily-transaction.js.map +1 -0
- package/lib/commonjs/{entities → models/product}/mobily-one-time-product.js +1 -1
- package/lib/commonjs/models/product/mobily-one-time-product.js.map +1 -0
- package/lib/commonjs/{entities → models/product}/mobily-product.js +5 -4
- package/lib/commonjs/models/product/mobily-product.js.map +1 -0
- package/lib/commonjs/{entities → models/product}/mobily-subscription-group.js +4 -2
- package/lib/commonjs/models/product/mobily-subscription-group.js.map +1 -0
- package/lib/commonjs/models/product/mobily-subscription-offer.js +16 -0
- package/lib/commonjs/models/product/mobily-subscription-offer.js.map +1 -0
- package/lib/commonjs/{entities → models/product}/mobily-subscription-product.js +3 -5
- package/lib/commonjs/models/product/mobily-subscription-product.js.map +1 -0
- package/lib/commonjs/utils/object-transformer.js +8 -1
- package/lib/commonjs/utils/object-transformer.js.map +1 -1
- package/lib/module/MobilyPurchaseSDK.js +30 -14
- package/lib/module/MobilyPurchaseSDK.js.map +1 -1
- package/lib/module/NativeMobilyflowReactNativeSdk.js.map +1 -1
- package/lib/module/enums/mobily-environment.js +3 -3
- package/lib/module/enums/mobily-environment.js.map +1 -1
- package/lib/module/enums/mobily-event-type.js +21 -0
- package/lib/module/enums/mobily-event-type.js.map +1 -0
- package/lib/module/enums/mobily-platform.js +8 -0
- package/lib/module/enums/mobily-platform.js.map +1 -0
- package/lib/module/enums/mobily-product-offer-type.js +8 -0
- package/lib/module/enums/mobily-product-offer-type.js.map +1 -0
- package/lib/module/enums/mobily-product-status.js +9 -0
- package/lib/module/enums/mobily-product-status.js.map +1 -0
- package/lib/module/enums/mobily-product-type.js +8 -0
- package/lib/module/enums/mobily-product-type.js.map +1 -0
- package/lib/module/enums/mobily-refund-dialog-result.js +9 -0
- package/lib/module/enums/mobily-refund-dialog-result.js.map +1 -0
- package/lib/module/enums/mobily-transaction-status.js +9 -0
- package/lib/module/enums/mobily-transaction-status.js.map +1 -0
- package/lib/module/enums/mobily-transfer-ownership-status.js +10 -0
- package/lib/module/enums/mobily-transfer-ownership-status.js.map +1 -0
- package/lib/module/enums/mobily-webhook-status.js +9 -0
- package/lib/module/enums/mobily-webhook-status.js.map +1 -0
- package/lib/module/enums/period-unit.js +3 -3
- package/lib/module/enums/period-unit.js.map +1 -1
- package/lib/module/index.js +28 -12
- package/lib/module/index.js.map +1 -1
- package/lib/module/models/entitlement/mobily-customer-entitlement.js +19 -0
- package/lib/module/models/entitlement/mobily-customer-entitlement.js.map +1 -0
- package/lib/module/models/entitlement/mobily-item.js +16 -0
- package/lib/module/models/entitlement/mobily-item.js.map +1 -0
- package/lib/module/models/entitlement/mobily-subscription.js +19 -0
- package/lib/module/models/entitlement/mobily-subscription.js.map +1 -0
- package/lib/module/models/internal/purchase-options.js +4 -0
- package/lib/module/models/internal/purchase-options.js.map +1 -0
- package/lib/module/models/mobily-customer.js.map +1 -0
- package/lib/module/models/mobily-event.js +24 -0
- package/lib/module/models/mobily-event.js.map +1 -0
- package/lib/module/models/mobily-transaction.js +12 -0
- package/lib/module/models/mobily-transaction.js.map +1 -0
- package/lib/module/{entities → models/product}/mobily-one-time-product.js +1 -1
- package/lib/module/models/product/mobily-one-time-product.js.map +1 -0
- package/lib/module/models/product/mobily-product.js +18 -0
- package/lib/module/models/product/mobily-product.js.map +1 -0
- package/lib/module/models/product/mobily-subscription-group.js +16 -0
- package/lib/module/models/product/mobily-subscription-group.js.map +1 -0
- package/lib/module/models/product/mobily-subscription-offer.js +11 -0
- package/lib/module/models/product/mobily-subscription-offer.js.map +1 -0
- package/lib/module/models/product/mobily-subscription-product.js +16 -0
- package/lib/module/models/product/mobily-subscription-product.js.map +1 -0
- package/lib/module/utils/object-transformer.js +8 -1
- package/lib/module/utils/object-transformer.js.map +1 -1
- package/lib/typescript/commonjs/src/MobilyPurchaseSDK.d.ts +18 -17
- package/lib/typescript/commonjs/src/MobilyPurchaseSDK.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/NativeMobilyflowReactNativeSdk.d.ts +14 -12
- package/lib/typescript/commonjs/src/NativeMobilyflowReactNativeSdk.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/enums/mobily-environment.d.ts +3 -3
- package/lib/typescript/commonjs/src/enums/mobily-environment.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/enums/mobily-event-type.d.ts +18 -0
- package/lib/typescript/commonjs/src/enums/mobily-event-type.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/enums/mobily-platform.d.ts +5 -0
- package/lib/typescript/commonjs/src/enums/mobily-platform.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/enums/mobily-product-offer-type.d.ts +5 -0
- package/lib/typescript/commonjs/src/enums/mobily-product-offer-type.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/enums/mobily-product-status.d.ts +6 -0
- package/lib/typescript/commonjs/src/enums/mobily-product-status.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/enums/mobily-product-type.d.ts +5 -0
- package/lib/typescript/commonjs/src/enums/mobily-product-type.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/enums/mobily-refund-dialog-result.d.ts +6 -0
- package/lib/typescript/commonjs/src/enums/mobily-refund-dialog-result.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/enums/mobily-transaction-status.d.ts +6 -0
- package/lib/typescript/commonjs/src/enums/mobily-transaction-status.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/enums/mobily-transfer-ownership-status.d.ts +7 -0
- package/lib/typescript/commonjs/src/enums/mobily-transfer-ownership-status.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/enums/mobily-webhook-status.d.ts +6 -0
- package/lib/typescript/commonjs/src/enums/mobily-webhook-status.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/enums/period-unit.d.ts +3 -3
- package/lib/typescript/commonjs/src/enums/period-unit.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/index.d.ts +21 -13
- package/lib/typescript/commonjs/src/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/models/entitlement/mobily-customer-entitlement.d.ts +13 -0
- package/lib/typescript/commonjs/src/models/entitlement/mobily-customer-entitlement.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/models/entitlement/mobily-item.d.ts +11 -0
- package/lib/typescript/commonjs/src/models/entitlement/mobily-item.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/models/entitlement/mobily-subscription.d.ts +34 -0
- package/lib/typescript/commonjs/src/models/entitlement/mobily-subscription.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/models/internal/purchase-options.d.ts +6 -0
- package/lib/typescript/commonjs/src/models/internal/purchase-options.d.ts.map +1 -0
- package/lib/typescript/{module/src/entities → commonjs/src/models}/mobily-customer.d.ts +1 -1
- package/lib/typescript/commonjs/src/models/mobily-customer.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/models/mobily-event.d.ts +26 -0
- package/lib/typescript/commonjs/src/models/mobily-event.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/models/mobily-transaction.d.ts +29 -0
- package/lib/typescript/commonjs/src/models/mobily-transaction.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/models/product/mobily-one-time-product.d.ts +6 -0
- package/lib/typescript/commonjs/src/models/product/mobily-one-time-product.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/models/product/mobily-product.d.ts +27 -0
- package/lib/typescript/commonjs/src/models/product/mobily-product.d.ts.map +1 -0
- package/lib/typescript/{module/src/entities → commonjs/src/models/product}/mobily-subscription-group.d.ts +2 -3
- package/lib/typescript/commonjs/src/models/product/mobily-subscription-group.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/models/product/mobily-subscription-offer.d.ts +23 -0
- package/lib/typescript/commonjs/src/models/product/mobily-subscription-offer.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/models/product/mobily-subscription-product.d.ts +12 -0
- package/lib/typescript/commonjs/src/models/product/mobily-subscription-product.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/utils/object-transformer.d.ts +1 -0
- package/lib/typescript/commonjs/src/utils/object-transformer.d.ts.map +1 -1
- package/lib/typescript/module/src/MobilyPurchaseSDK.d.ts +18 -17
- package/lib/typescript/module/src/MobilyPurchaseSDK.d.ts.map +1 -1
- package/lib/typescript/module/src/NativeMobilyflowReactNativeSdk.d.ts +14 -12
- package/lib/typescript/module/src/NativeMobilyflowReactNativeSdk.d.ts.map +1 -1
- package/lib/typescript/module/src/enums/mobily-environment.d.ts +3 -3
- package/lib/typescript/module/src/enums/mobily-environment.d.ts.map +1 -1
- package/lib/typescript/module/src/enums/mobily-event-type.d.ts +18 -0
- package/lib/typescript/module/src/enums/mobily-event-type.d.ts.map +1 -0
- package/lib/typescript/module/src/enums/mobily-platform.d.ts +5 -0
- package/lib/typescript/module/src/enums/mobily-platform.d.ts.map +1 -0
- package/lib/typescript/module/src/enums/mobily-product-offer-type.d.ts +5 -0
- package/lib/typescript/module/src/enums/mobily-product-offer-type.d.ts.map +1 -0
- package/lib/typescript/module/src/enums/mobily-product-status.d.ts +6 -0
- package/lib/typescript/module/src/enums/mobily-product-status.d.ts.map +1 -0
- package/lib/typescript/module/src/enums/mobily-product-type.d.ts +5 -0
- package/lib/typescript/module/src/enums/mobily-product-type.d.ts.map +1 -0
- package/lib/typescript/module/src/enums/mobily-refund-dialog-result.d.ts +6 -0
- package/lib/typescript/module/src/enums/mobily-refund-dialog-result.d.ts.map +1 -0
- package/lib/typescript/module/src/enums/mobily-transaction-status.d.ts +6 -0
- package/lib/typescript/module/src/enums/mobily-transaction-status.d.ts.map +1 -0
- package/lib/typescript/module/src/enums/mobily-transfer-ownership-status.d.ts +7 -0
- package/lib/typescript/module/src/enums/mobily-transfer-ownership-status.d.ts.map +1 -0
- package/lib/typescript/module/src/enums/mobily-webhook-status.d.ts +6 -0
- package/lib/typescript/module/src/enums/mobily-webhook-status.d.ts.map +1 -0
- package/lib/typescript/module/src/enums/period-unit.d.ts +3 -3
- package/lib/typescript/module/src/enums/period-unit.d.ts.map +1 -1
- package/lib/typescript/module/src/index.d.ts +21 -13
- package/lib/typescript/module/src/index.d.ts.map +1 -1
- package/lib/typescript/module/src/models/entitlement/mobily-customer-entitlement.d.ts +13 -0
- package/lib/typescript/module/src/models/entitlement/mobily-customer-entitlement.d.ts.map +1 -0
- package/lib/typescript/module/src/models/entitlement/mobily-item.d.ts +11 -0
- package/lib/typescript/module/src/models/entitlement/mobily-item.d.ts.map +1 -0
- package/lib/typescript/module/src/models/entitlement/mobily-subscription.d.ts +34 -0
- package/lib/typescript/module/src/models/entitlement/mobily-subscription.d.ts.map +1 -0
- package/lib/typescript/module/src/models/internal/purchase-options.d.ts +6 -0
- package/lib/typescript/module/src/models/internal/purchase-options.d.ts.map +1 -0
- package/lib/typescript/{commonjs/src/entities → module/src/models}/mobily-customer.d.ts +1 -1
- package/lib/typescript/module/src/models/mobily-customer.d.ts.map +1 -0
- package/lib/typescript/module/src/models/mobily-event.d.ts +26 -0
- package/lib/typescript/module/src/models/mobily-event.d.ts.map +1 -0
- package/lib/typescript/module/src/models/mobily-transaction.d.ts +29 -0
- package/lib/typescript/module/src/models/mobily-transaction.d.ts.map +1 -0
- package/lib/typescript/module/src/models/product/mobily-one-time-product.d.ts +6 -0
- package/lib/typescript/module/src/models/product/mobily-one-time-product.d.ts.map +1 -0
- package/lib/typescript/module/src/models/product/mobily-product.d.ts +27 -0
- package/lib/typescript/module/src/models/product/mobily-product.d.ts.map +1 -0
- package/lib/typescript/{commonjs/src/entities → module/src/models/product}/mobily-subscription-group.d.ts +2 -3
- package/lib/typescript/module/src/models/product/mobily-subscription-group.d.ts.map +1 -0
- package/lib/typescript/module/src/models/product/mobily-subscription-offer.d.ts +23 -0
- package/lib/typescript/module/src/models/product/mobily-subscription-offer.d.ts.map +1 -0
- package/lib/typescript/module/src/models/product/mobily-subscription-product.d.ts +12 -0
- package/lib/typescript/module/src/models/product/mobily-subscription-product.d.ts.map +1 -0
- package/lib/typescript/module/src/utils/object-transformer.d.ts +1 -0
- package/lib/typescript/module/src/utils/object-transformer.d.ts.map +1 -1
- package/package.json +2 -2
- package/src/MobilyPurchaseSDK.tsx +46 -31
- package/src/NativeMobilyflowReactNativeSdk.ts +14 -13
- package/src/enums/mobily-environment.ts +3 -3
- package/src/enums/mobily-event-type.ts +17 -0
- package/src/enums/mobily-platform.ts +4 -0
- package/src/enums/mobily-product-offer-type.ts +4 -0
- package/src/enums/mobily-product-status.ts +5 -0
- package/src/enums/mobily-product-type.ts +4 -0
- package/src/enums/mobily-refund-dialog-result.ts +5 -0
- package/src/enums/mobily-transaction-status.ts +5 -0
- package/src/enums/mobily-transfer-ownership-status.ts +6 -0
- package/src/enums/mobily-webhook-status.ts +5 -0
- package/src/enums/period-unit.ts +3 -3
- package/src/index.tsx +26 -18
- package/src/models/entitlement/mobily-customer-entitlement.ts +24 -0
- package/src/models/entitlement/mobily-item.ts +21 -0
- package/src/models/entitlement/mobily-subscription.ts +58 -0
- package/src/models/internal/purchase-options.ts +6 -0
- package/src/{entities → models}/mobily-customer.ts +5 -5
- package/src/models/mobily-event.ts +52 -0
- package/src/models/mobily-transaction.ts +44 -0
- package/src/models/product/mobily-one-time-product.ts +10 -0
- package/src/models/product/mobily-product.ts +51 -0
- package/src/{entities → models/product}/mobily-subscription-group.ts +6 -5
- package/src/models/product/mobily-subscription-offer.ts +29 -0
- package/src/models/product/mobily-subscription-product.ts +23 -0
- package/src/utils/object-transformer.ts +11 -1
- package/lib/commonjs/entities/mobily-customer-entitlement.js +0 -36
- package/lib/commonjs/entities/mobily-customer-entitlement.js.map +0 -1
- package/lib/commonjs/entities/mobily-customer.js.map +0 -1
- package/lib/commonjs/entities/mobily-one-time-product.js.map +0 -1
- package/lib/commonjs/entities/mobily-product.js.map +0 -1
- package/lib/commonjs/entities/mobily-subscription-group.js.map +0 -1
- package/lib/commonjs/entities/mobily-subscription-offer.js +0 -14
- package/lib/commonjs/entities/mobily-subscription-offer.js.map +0 -1
- package/lib/commonjs/entities/mobily-subscription-product.js.map +0 -1
- package/lib/commonjs/enums/platform.js +0 -12
- package/lib/commonjs/enums/platform.js.map +0 -1
- package/lib/commonjs/enums/product-status.js +0 -13
- package/lib/commonjs/enums/product-status.js.map +0 -1
- package/lib/commonjs/enums/product-type.js +0 -12
- package/lib/commonjs/enums/product-type.js.map +0 -1
- package/lib/commonjs/enums/transfer-ownership-status.js +0 -14
- package/lib/commonjs/enums/transfer-ownership-status.js.map +0 -1
- package/lib/commonjs/enums/webhook-status.js +0 -13
- package/lib/commonjs/enums/webhook-status.js.map +0 -1
- package/lib/module/entities/mobily-customer-entitlement.js +0 -29
- package/lib/module/entities/mobily-customer-entitlement.js.map +0 -1
- package/lib/module/entities/mobily-customer.js.map +0 -1
- package/lib/module/entities/mobily-one-time-product.js.map +0 -1
- package/lib/module/entities/mobily-product.js +0 -17
- package/lib/module/entities/mobily-product.js.map +0 -1
- package/lib/module/entities/mobily-subscription-group.js +0 -14
- package/lib/module/entities/mobily-subscription-group.js.map +0 -1
- package/lib/module/entities/mobily-subscription-offer.js +0 -9
- package/lib/module/entities/mobily-subscription-offer.js.map +0 -1
- package/lib/module/entities/mobily-subscription-product.js +0 -18
- package/lib/module/entities/mobily-subscription-product.js.map +0 -1
- package/lib/module/enums/platform.js +0 -8
- package/lib/module/enums/platform.js.map +0 -1
- package/lib/module/enums/product-status.js +0 -9
- package/lib/module/enums/product-status.js.map +0 -1
- package/lib/module/enums/product-type.js +0 -8
- package/lib/module/enums/product-type.js.map +0 -1
- package/lib/module/enums/transfer-ownership-status.js +0 -10
- package/lib/module/enums/transfer-ownership-status.js.map +0 -1
- package/lib/module/enums/webhook-status.js +0 -9
- package/lib/module/enums/webhook-status.js.map +0 -1
- package/lib/typescript/commonjs/src/entities/mobily-customer-entitlement.d.ts +0 -40
- package/lib/typescript/commonjs/src/entities/mobily-customer-entitlement.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/entities/mobily-customer.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/entities/mobily-one-time-product.d.ts +0 -12
- package/lib/typescript/commonjs/src/entities/mobily-one-time-product.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/entities/mobily-product.d.ts +0 -25
- package/lib/typescript/commonjs/src/entities/mobily-product.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/entities/mobily-subscription-group.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/entities/mobily-subscription-offer.d.ts +0 -21
- package/lib/typescript/commonjs/src/entities/mobily-subscription-offer.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/entities/mobily-subscription-product.d.ts +0 -14
- package/lib/typescript/commonjs/src/entities/mobily-subscription-product.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/enums/platform.d.ts +0 -5
- package/lib/typescript/commonjs/src/enums/platform.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/enums/product-status.d.ts +0 -6
- package/lib/typescript/commonjs/src/enums/product-status.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/enums/product-type.d.ts +0 -5
- package/lib/typescript/commonjs/src/enums/product-type.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/enums/transfer-ownership-status.d.ts +0 -7
- package/lib/typescript/commonjs/src/enums/transfer-ownership-status.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/enums/webhook-status.d.ts +0 -6
- package/lib/typescript/commonjs/src/enums/webhook-status.d.ts.map +0 -1
- package/lib/typescript/module/src/entities/mobily-customer-entitlement.d.ts +0 -40
- package/lib/typescript/module/src/entities/mobily-customer-entitlement.d.ts.map +0 -1
- package/lib/typescript/module/src/entities/mobily-customer.d.ts.map +0 -1
- package/lib/typescript/module/src/entities/mobily-one-time-product.d.ts +0 -12
- package/lib/typescript/module/src/entities/mobily-one-time-product.d.ts.map +0 -1
- package/lib/typescript/module/src/entities/mobily-product.d.ts +0 -25
- package/lib/typescript/module/src/entities/mobily-product.d.ts.map +0 -1
- package/lib/typescript/module/src/entities/mobily-subscription-group.d.ts.map +0 -1
- package/lib/typescript/module/src/entities/mobily-subscription-offer.d.ts +0 -21
- package/lib/typescript/module/src/entities/mobily-subscription-offer.d.ts.map +0 -1
- package/lib/typescript/module/src/entities/mobily-subscription-product.d.ts +0 -14
- package/lib/typescript/module/src/entities/mobily-subscription-product.d.ts.map +0 -1
- package/lib/typescript/module/src/enums/platform.d.ts +0 -5
- package/lib/typescript/module/src/enums/platform.d.ts.map +0 -1
- package/lib/typescript/module/src/enums/product-status.d.ts +0 -6
- package/lib/typescript/module/src/enums/product-status.d.ts.map +0 -1
- package/lib/typescript/module/src/enums/product-type.d.ts +0 -5
- package/lib/typescript/module/src/enums/product-type.d.ts.map +0 -1
- package/lib/typescript/module/src/enums/transfer-ownership-status.d.ts +0 -7
- package/lib/typescript/module/src/enums/transfer-ownership-status.d.ts.map +0 -1
- package/lib/typescript/module/src/enums/webhook-status.d.ts +0 -6
- package/lib/typescript/module/src/enums/webhook-status.d.ts.map +0 -1
- package/src/entities/mobily-customer-entitlement.ts +0 -61
- package/src/entities/mobily-one-time-product.ts +0 -16
- package/src/entities/mobily-product.ts +0 -40
- package/src/entities/mobily-subscription-offer.ts +0 -25
- package/src/entities/mobily-subscription-product.ts +0 -26
- package/src/enums/platform.ts +0 -4
- package/src/enums/product-status.ts +0 -5
- package/src/enums/product-type.ts +0 -4
- package/src/enums/transfer-ownership-status.ts +0 -6
- package/src/enums/webhook-status.ts +0 -5
- /package/lib/commonjs/{entities → models}/mobily-customer.js +0 -0
- /package/lib/module/{entities → models}/mobily-customer.js +0 -0
|
@@ -128,7 +128,7 @@ protected:
|
|
|
128
128
|
NativeMobilyflowReactNativeSdkCxxSpecJSI(std::shared_ptr<CallInvoker> jsInvoker);
|
|
129
129
|
|
|
130
130
|
public:
|
|
131
|
-
virtual jsi::String instantiate(jsi::Runtime &rt, jsi::String appId, jsi::String apiKey,
|
|
131
|
+
virtual jsi::String instantiate(jsi::Runtime &rt, jsi::String appId, jsi::String apiKey, jsi::String environment, std::optional<jsi::Object> options) = 0;
|
|
132
132
|
virtual void close(jsi::Runtime &rt, jsi::String uuid) = 0;
|
|
133
133
|
virtual jsi::Value login(jsi::Runtime &rt, jsi::String uuid, jsi::String externalRef) = 0;
|
|
134
134
|
virtual void logout(jsi::Runtime &rt, jsi::String uuid) = 0;
|
|
@@ -141,10 +141,12 @@ public:
|
|
|
141
141
|
virtual jsi::Value getExternalEntitlements(jsi::Runtime &rt, jsi::String uuid) = 0;
|
|
142
142
|
virtual jsi::Value requestTransferOwnership(jsi::Runtime &rt, jsi::String uuid) = 0;
|
|
143
143
|
virtual jsi::Value openManageSubscription(jsi::Runtime &rt, jsi::String uuid) = 0;
|
|
144
|
-
virtual jsi::Value
|
|
144
|
+
virtual jsi::Value openRefundDialogForProduct(jsi::Runtime &rt, jsi::String uuid, jsi::String productId) = 0;
|
|
145
|
+
virtual jsi::Value openRefundDialogForTransactionId(jsi::Runtime &rt, jsi::String uuid, jsi::String transactionId) = 0;
|
|
145
146
|
virtual jsi::Value purchaseProduct(jsi::Runtime &rt, jsi::String uuid, jsi::String productId, std::optional<jsi::Object> options) = 0;
|
|
146
147
|
virtual void sendDiagnostic(jsi::Runtime &rt, jsi::String uuid) = 0;
|
|
147
148
|
virtual jsi::Value getStoreCountry(jsi::Runtime &rt, jsi::String uuid) = 0;
|
|
149
|
+
virtual jsi::Value isBillingAvailable(jsi::Runtime &rt, jsi::String uuid) = 0;
|
|
148
150
|
virtual jsi::Value isForwardingEnable(jsi::Runtime &rt, jsi::String uuid, jsi::String externalRef) = 0;
|
|
149
151
|
virtual jsi::Value getCustomer(jsi::Runtime &rt, jsi::String uuid) = 0;
|
|
150
152
|
virtual jsi::Value getSDKVersion(jsi::Runtime &rt, jsi::String uuid) = 0;
|
|
@@ -178,7 +180,7 @@ private:
|
|
|
178
180
|
|
|
179
181
|
}
|
|
180
182
|
|
|
181
|
-
jsi::String instantiate(jsi::Runtime &rt, jsi::String appId, jsi::String apiKey,
|
|
183
|
+
jsi::String instantiate(jsi::Runtime &rt, jsi::String appId, jsi::String apiKey, jsi::String environment, std::optional<jsi::Object> options) override {
|
|
182
184
|
static_assert(
|
|
183
185
|
bridging::getParameterCount(&T::instantiate) == 5,
|
|
184
186
|
"Expected instantiate(...) to have 5 parameters");
|
|
@@ -282,13 +284,21 @@ private:
|
|
|
282
284
|
return bridging::callFromJs<jsi::Value>(
|
|
283
285
|
rt, &T::openManageSubscription, jsInvoker_, instance_, std::move(uuid));
|
|
284
286
|
}
|
|
285
|
-
jsi::Value
|
|
287
|
+
jsi::Value openRefundDialogForProduct(jsi::Runtime &rt, jsi::String uuid, jsi::String productId) override {
|
|
286
288
|
static_assert(
|
|
287
|
-
bridging::getParameterCount(&T::
|
|
288
|
-
"Expected
|
|
289
|
+
bridging::getParameterCount(&T::openRefundDialogForProduct) == 3,
|
|
290
|
+
"Expected openRefundDialogForProduct(...) to have 3 parameters");
|
|
289
291
|
|
|
290
292
|
return bridging::callFromJs<jsi::Value>(
|
|
291
|
-
rt, &T::
|
|
293
|
+
rt, &T::openRefundDialogForProduct, jsInvoker_, instance_, std::move(uuid), std::move(productId));
|
|
294
|
+
}
|
|
295
|
+
jsi::Value openRefundDialogForTransactionId(jsi::Runtime &rt, jsi::String uuid, jsi::String transactionId) override {
|
|
296
|
+
static_assert(
|
|
297
|
+
bridging::getParameterCount(&T::openRefundDialogForTransactionId) == 3,
|
|
298
|
+
"Expected openRefundDialogForTransactionId(...) to have 3 parameters");
|
|
299
|
+
|
|
300
|
+
return bridging::callFromJs<jsi::Value>(
|
|
301
|
+
rt, &T::openRefundDialogForTransactionId, jsInvoker_, instance_, std::move(uuid), std::move(transactionId));
|
|
292
302
|
}
|
|
293
303
|
jsi::Value purchaseProduct(jsi::Runtime &rt, jsi::String uuid, jsi::String productId, std::optional<jsi::Object> options) override {
|
|
294
304
|
static_assert(
|
|
@@ -314,6 +324,14 @@ private:
|
|
|
314
324
|
return bridging::callFromJs<jsi::Value>(
|
|
315
325
|
rt, &T::getStoreCountry, jsInvoker_, instance_, std::move(uuid));
|
|
316
326
|
}
|
|
327
|
+
jsi::Value isBillingAvailable(jsi::Runtime &rt, jsi::String uuid) override {
|
|
328
|
+
static_assert(
|
|
329
|
+
bridging::getParameterCount(&T::isBillingAvailable) == 2,
|
|
330
|
+
"Expected isBillingAvailable(...) to have 2 parameters");
|
|
331
|
+
|
|
332
|
+
return bridging::callFromJs<jsi::Value>(
|
|
333
|
+
rt, &T::isBillingAvailable, jsInvoker_, instance_, std::move(uuid));
|
|
334
|
+
}
|
|
317
335
|
jsi::Value isForwardingEnable(jsi::Runtime &rt, jsi::String uuid, jsi::String externalRef) override {
|
|
318
336
|
static_assert(
|
|
319
337
|
bridging::getParameterCount(&T::isForwardingEnable) == 3,
|
|
@@ -5,14 +5,14 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.MobilyPurchaseSDK = void 0;
|
|
7
7
|
var _NativeMobilyflowReactNativeSdk = _interopRequireDefault(require("./NativeMobilyflowReactNativeSdk.js"));
|
|
8
|
-
var _mobilyProduct = require("./
|
|
9
|
-
var _mobilySubscriptionGroup = require("./
|
|
10
|
-
var _mobilyCustomerEntitlement = require("./
|
|
8
|
+
var _mobilyProduct = require("./models/product/mobily-product.js");
|
|
9
|
+
var _mobilySubscriptionGroup = require("./models/product/mobily-subscription-group.js");
|
|
10
|
+
var _mobilyCustomerEntitlement = require("./models/entitlement/mobily-customer-entitlement.js");
|
|
11
11
|
var _reactNative = require("react-native");
|
|
12
12
|
var _mobilyError = require("./errors/mobily-error.js");
|
|
13
13
|
var _mobilyPurchaseError = require("./errors/mobily-purchase-error.js");
|
|
14
14
|
var _mobilyTransferOwnershipError = require("./errors/mobily-transfer-ownership-error.js");
|
|
15
|
-
var _mobilyCustomer = require("./
|
|
15
|
+
var _mobilyCustomer = require("./models/mobily-customer.js");
|
|
16
16
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
17
17
|
class MobilyPurchaseSDK {
|
|
18
18
|
constructor(appId, apiKey, environment, options) {
|
|
@@ -132,12 +132,25 @@ class MobilyPurchaseSDK {
|
|
|
132
132
|
throw this.throwError(error);
|
|
133
133
|
}
|
|
134
134
|
}
|
|
135
|
-
async
|
|
135
|
+
async openRefundDialogForProduct(product) {
|
|
136
136
|
if (_reactNative.Platform.OS === 'android') {
|
|
137
137
|
throw new Error('openRefundDialog not implemented on Android');
|
|
138
138
|
} else {
|
|
139
139
|
try {
|
|
140
|
-
|
|
140
|
+
const result = await _NativeMobilyflowReactNativeSdk.default.openRefundDialogForProduct(this._uuid, product.id);
|
|
141
|
+
return result;
|
|
142
|
+
} catch (error) {
|
|
143
|
+
throw this.throwError(error);
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
async openRefundDialogForTransactionId(transactionId) {
|
|
148
|
+
if (_reactNative.Platform.OS === 'android') {
|
|
149
|
+
throw new Error('openRefundDialog not implemented on Android');
|
|
150
|
+
} else {
|
|
151
|
+
try {
|
|
152
|
+
const result = await _NativeMobilyflowReactNativeSdk.default.openRefundDialogForTransactionId(this._uuid, transactionId);
|
|
153
|
+
return result;
|
|
141
154
|
} catch (error) {
|
|
142
155
|
throw this.throwError(error);
|
|
143
156
|
}
|
|
@@ -161,14 +174,17 @@ class MobilyPurchaseSDK {
|
|
|
161
174
|
}
|
|
162
175
|
}
|
|
163
176
|
async getStoreCountry() {
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
}
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
177
|
+
try {
|
|
178
|
+
return await _NativeMobilyflowReactNativeSdk.default.getStoreCountry(this._uuid);
|
|
179
|
+
} catch (error) {
|
|
180
|
+
throw this.throwError(error);
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
async isBillingAvailable() {
|
|
184
|
+
try {
|
|
185
|
+
return await _NativeMobilyflowReactNativeSdk.default.isBillingAvailable(this._uuid);
|
|
186
|
+
} catch (error) {
|
|
187
|
+
throw this.throwError(error);
|
|
172
188
|
}
|
|
173
189
|
}
|
|
174
190
|
async isForwardingEnable(externalRef) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_NativeMobilyflowReactNativeSdk","_interopRequireDefault","require","_mobilyProduct","_mobilySubscriptionGroup","_mobilyCustomerEntitlement","_reactNative","_mobilyError","_mobilyPurchaseError","_mobilyTransferOwnershipError","_mobilyCustomer","e","__esModule","default","MobilyPurchaseSDK","constructor","appId","apiKey","environment","options","_uuid","MobilyflowReactNativeSdk","instantiate","throwError","error","RNPlatform","OS","name","MobilyError","parseInt","code","message","nativeStackAndroid","MobilyPurchaseError","MobilyTransferOwnershipError","domain","nativeStackIOS","close","login","externalRef","customer","MobilyCustomer","parseFromAPI","logout","getProducts","identifiers","onlyAvailable","products","map","MobilyProduct","getSubscriptionGroups","groups","MobilySubscriptionGroup","getSubscriptionGroupById","id","group","getEntitlementForSubscription","subscriptionGroupId","entitlement","MobilyCustomerEntitlement","getEntitlement","productId","getEntitlements","productIds","entitlements","getExternalEntitlements","requestTransferOwnership","openManageSubscription","
|
|
1
|
+
{"version":3,"names":["_NativeMobilyflowReactNativeSdk","_interopRequireDefault","require","_mobilyProduct","_mobilySubscriptionGroup","_mobilyCustomerEntitlement","_reactNative","_mobilyError","_mobilyPurchaseError","_mobilyTransferOwnershipError","_mobilyCustomer","e","__esModule","default","MobilyPurchaseSDK","constructor","appId","apiKey","environment","options","_uuid","MobilyflowReactNativeSdk","instantiate","throwError","error","RNPlatform","OS","name","MobilyError","parseInt","code","message","nativeStackAndroid","MobilyPurchaseError","MobilyTransferOwnershipError","domain","nativeStackIOS","close","login","externalRef","customer","MobilyCustomer","parseFromAPI","logout","getProducts","identifiers","onlyAvailable","products","map","MobilyProduct","getSubscriptionGroups","groups","MobilySubscriptionGroup","getSubscriptionGroupById","id","group","getEntitlementForSubscription","subscriptionGroupId","entitlement","MobilyCustomerEntitlement","getEntitlement","productId","getEntitlements","productIds","entitlements","getExternalEntitlements","requestTransferOwnership","openManageSubscription","openRefundDialogForProduct","product","Error","result","openRefundDialogForTransactionId","transactionId","purchaseProduct","offerId","offer","quantity","sendDiagnostic","getStoreCountry","isBillingAvailable","isForwardingEnable","getCustomer","getSDKVersion","exports"],"sourceRoot":"../../src","sources":["MobilyPurchaseSDK.tsx"],"mappings":";;;;;;AAAA,IAAAA,+BAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,cAAA,GAAAD,OAAA;AACA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,CAAC6D,WAAW,CAAC,IAAI,CAAC9D,KAAK,CAAC;MACvE,OAAOqB,8BAAc,CAACC,YAAY,CAACF,QAAQ,CAAC;IAC9C,CAAC,CAAC,OAAOhB,KAAU,EAAE;MACnB,MAAM,IAAI,CAACD,UAAU,CAACC,KAAK,CAAC;IAC9B;EACF;EAEA,MAAM2D,aAAaA,CAAA,EAAG;IACpB,IAAI;MACF,OAAO,MAAM9D,uCAAwB,CAAC8D,aAAa,CAAC,IAAI,CAAC/D,KAAK,CAAC;IACjE,CAAC,CAAC,OAAOI,KAAU,EAAE;MACnB,MAAM,IAAI,CAACD,UAAU,CAACC,KAAK,CAAC;IAC9B;EACF;AACF;AAAC4D,OAAA,CAAAtE,iBAAA,GAAAA,iBAAA","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_reactNative","require","_default","exports","default","TurboModuleRegistry","getEnforcing"],"sourceRoot":"../../src","sources":["NativeMobilyflowReactNativeSdk.ts"],"mappings":";;;;;;
|
|
1
|
+
{"version":3,"names":["_reactNative","require","_default","exports","default","TurboModuleRegistry","getEnforcing"],"sourceRoot":"../../src","sources":["NativeMobilyflowReactNativeSdk.ts"],"mappings":";;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AAAgE,IAAAC,QAAA,GAAAC,OAAA,CAAAC,OAAA,GAsDjDC,gCAAmB,CAACC,YAAY,CAAO,0BAA0B,CAAC","ignoreList":[]}
|
|
@@ -5,9 +5,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.MobilyEnvironment = void 0;
|
|
7
7
|
let MobilyEnvironment = exports.MobilyEnvironment = /*#__PURE__*/function (MobilyEnvironment) {
|
|
8
|
-
MobilyEnvironment[
|
|
9
|
-
MobilyEnvironment[
|
|
10
|
-
MobilyEnvironment[
|
|
8
|
+
MobilyEnvironment["DEVELOPMENT"] = "development";
|
|
9
|
+
MobilyEnvironment["STAGING"] = "staging";
|
|
10
|
+
MobilyEnvironment["PRODUCTION"] = "production";
|
|
11
11
|
return MobilyEnvironment;
|
|
12
12
|
}({});
|
|
13
13
|
//# sourceMappingURL=mobily-environment.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["MobilyEnvironment","exports"],"sourceRoot":"../../../src","sources":["enums/mobily-environment.ts"],"mappings":";;;;;;IAAYA,iBAAiB,GAAAC,OAAA,CAAAD,iBAAA,0BAAjBA,iBAAiB;EAAjBA,iBAAiB
|
|
1
|
+
{"version":3,"names":["MobilyEnvironment","exports"],"sourceRoot":"../../../src","sources":["enums/mobily-environment.ts"],"mappings":";;;;;;IAAYA,iBAAiB,GAAAC,OAAA,CAAAD,iBAAA,0BAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAA,OAAjBA,iBAAiB;AAAA","ignoreList":[]}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.MobilyEventType = void 0;
|
|
7
|
+
let MobilyEventType = exports.MobilyEventType = /*#__PURE__*/function (MobilyEventType) {
|
|
8
|
+
MobilyEventType["TEST"] = "test";
|
|
9
|
+
MobilyEventType["PURCHASE"] = "purchase";
|
|
10
|
+
MobilyEventType["CONSUMED"] = "consumed";
|
|
11
|
+
MobilyEventType["RENEW"] = "renew";
|
|
12
|
+
MobilyEventType["EXPIRED"] = "expired";
|
|
13
|
+
MobilyEventType["REVOKED"] = "revoked";
|
|
14
|
+
MobilyEventType["REFUNDED"] = "refunded";
|
|
15
|
+
MobilyEventType["SUBSCRIPTION_CHANGE_RENEW_PRODUCT"] = "subscription-change-renew-product";
|
|
16
|
+
MobilyEventType["SUBSCRIPTION_UPGRADE"] = "subscription-upgrade";
|
|
17
|
+
MobilyEventType["SUBSCRIPTION_EXTENDED"] = "subscription-extended";
|
|
18
|
+
MobilyEventType["CHANGE_AUTO_RENEW"] = "change-auto-renew";
|
|
19
|
+
MobilyEventType["CHANGE_PAUSE_STATUS"] = "change-pause-status";
|
|
20
|
+
MobilyEventType["GRACE_PERIOD_RESOLVED"] = "grace-period-resolved";
|
|
21
|
+
MobilyEventType["TRANSFER_OWNERSHIP_REQUEST"] = "transfer-ownership-request";
|
|
22
|
+
MobilyEventType["TRANSFER_OWNERSHIP_ACKNOWLEDGED"] = "transfer-ownership-acknowledged";
|
|
23
|
+
return MobilyEventType;
|
|
24
|
+
}({});
|
|
25
|
+
//# sourceMappingURL=mobily-event-type.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["MobilyEventType","exports"],"sourceRoot":"../../../src","sources":["enums/mobily-event-type.ts"],"mappings":";;;;;;IAAYA,eAAe,GAAAC,OAAA,CAAAD,eAAA,0BAAfA,eAAe;EAAfA,eAAe;EAAfA,eAAe;EAAfA,eAAe;EAAfA,eAAe;EAAfA,eAAe;EAAfA,eAAe;EAAfA,eAAe;EAAfA,eAAe;EAAfA,eAAe;EAAfA,eAAe;EAAfA,eAAe;EAAfA,eAAe;EAAfA,eAAe;EAAfA,eAAe;EAAfA,eAAe;EAAA,OAAfA,eAAe;AAAA","ignoreList":[]}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.MobilyPlatform = void 0;
|
|
7
|
+
let MobilyPlatform = exports.MobilyPlatform = /*#__PURE__*/function (MobilyPlatform) {
|
|
8
|
+
MobilyPlatform["IOS"] = "ios";
|
|
9
|
+
MobilyPlatform["ANDROID"] = "android";
|
|
10
|
+
return MobilyPlatform;
|
|
11
|
+
}({});
|
|
12
|
+
//# sourceMappingURL=mobily-platform.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["MobilyPlatform","exports"],"sourceRoot":"../../../src","sources":["enums/mobily-platform.ts"],"mappings":";;;;;;IAAYA,cAAc,GAAAC,OAAA,CAAAD,cAAA,0BAAdA,cAAc;EAAdA,cAAc;EAAdA,cAAc;EAAA,OAAdA,cAAc;AAAA","ignoreList":[]}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.MobilyProductOfferType = void 0;
|
|
7
|
+
let MobilyProductOfferType = exports.MobilyProductOfferType = /*#__PURE__*/function (MobilyProductOfferType) {
|
|
8
|
+
MobilyProductOfferType["FREE_TRIAL"] = "free_trial";
|
|
9
|
+
MobilyProductOfferType["RECURRING"] = "recurring";
|
|
10
|
+
return MobilyProductOfferType;
|
|
11
|
+
}({});
|
|
12
|
+
//# sourceMappingURL=mobily-product-offer-type.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["MobilyProductOfferType","exports"],"sourceRoot":"../../../src","sources":["enums/mobily-product-offer-type.ts"],"mappings":";;;;;;IAAYA,sBAAsB,GAAAC,OAAA,CAAAD,sBAAA,0BAAtBA,sBAAsB;EAAtBA,sBAAsB;EAAtBA,sBAAsB;EAAA,OAAtBA,sBAAsB;AAAA","ignoreList":[]}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.MobilyProductStatus = void 0;
|
|
7
|
+
let MobilyProductStatus = exports.MobilyProductStatus = /*#__PURE__*/function (MobilyProductStatus) {
|
|
8
|
+
MobilyProductStatus["INVALID"] = "invalid";
|
|
9
|
+
MobilyProductStatus["UNAVAILABLE"] = "unavailable";
|
|
10
|
+
MobilyProductStatus["AVAILABLE"] = "available";
|
|
11
|
+
return MobilyProductStatus;
|
|
12
|
+
}({});
|
|
13
|
+
//# sourceMappingURL=mobily-product-status.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["MobilyProductStatus","exports"],"sourceRoot":"../../../src","sources":["enums/mobily-product-status.ts"],"mappings":";;;;;;IAAYA,mBAAmB,GAAAC,OAAA,CAAAD,mBAAA,0BAAnBA,mBAAmB;EAAnBA,mBAAmB;EAAnBA,mBAAmB;EAAnBA,mBAAmB;EAAA,OAAnBA,mBAAmB;AAAA","ignoreList":[]}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.MobilyProductType = void 0;
|
|
7
|
+
let MobilyProductType = exports.MobilyProductType = /*#__PURE__*/function (MobilyProductType) {
|
|
8
|
+
MobilyProductType["ONE_TIME"] = "one_time";
|
|
9
|
+
MobilyProductType["SUBSCRIPTION"] = "subscription";
|
|
10
|
+
return MobilyProductType;
|
|
11
|
+
}({});
|
|
12
|
+
//# sourceMappingURL=mobily-product-type.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["MobilyProductType","exports"],"sourceRoot":"../../../src","sources":["enums/mobily-product-type.ts"],"mappings":";;;;;;IAAYA,iBAAiB,GAAAC,OAAA,CAAAD,iBAAA,0BAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAA,OAAjBA,iBAAiB;AAAA","ignoreList":[]}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.MobilyRefundDialogResult = void 0;
|
|
7
|
+
let MobilyRefundDialogResult = exports.MobilyRefundDialogResult = /*#__PURE__*/function (MobilyRefundDialogResult) {
|
|
8
|
+
MobilyRefundDialogResult["CANCELLED"] = "cancelled";
|
|
9
|
+
MobilyRefundDialogResult["SUCCESS"] = "success";
|
|
10
|
+
MobilyRefundDialogResult["TRANSACTION_NOT_FOUND"] = "transaction_not_found";
|
|
11
|
+
return MobilyRefundDialogResult;
|
|
12
|
+
}({});
|
|
13
|
+
//# sourceMappingURL=mobily-refund-dialog-result.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["MobilyRefundDialogResult","exports"],"sourceRoot":"../../../src","sources":["enums/mobily-refund-dialog-result.ts"],"mappings":";;;;;;IAAYA,wBAAwB,GAAAC,OAAA,CAAAD,wBAAA,0BAAxBA,wBAAwB;EAAxBA,wBAAwB;EAAxBA,wBAAwB;EAAxBA,wBAAwB;EAAA,OAAxBA,wBAAwB;AAAA","ignoreList":[]}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.MobilyTransactionStatus = void 0;
|
|
7
|
+
let MobilyTransactionStatus = exports.MobilyTransactionStatus = /*#__PURE__*/function (MobilyTransactionStatus) {
|
|
8
|
+
MobilyTransactionStatus["SUCCESS"] = "success";
|
|
9
|
+
MobilyTransactionStatus["BILLING_ERROR"] = "billing-error";
|
|
10
|
+
MobilyTransactionStatus["REFUNDED"] = "refunded";
|
|
11
|
+
return MobilyTransactionStatus;
|
|
12
|
+
}({});
|
|
13
|
+
//# sourceMappingURL=mobily-transaction-status.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["MobilyTransactionStatus","exports"],"sourceRoot":"../../../src","sources":["enums/mobily-transaction-status.ts"],"mappings":";;;;;;IAAYA,uBAAuB,GAAAC,OAAA,CAAAD,uBAAA,0BAAvBA,uBAAuB;EAAvBA,uBAAuB;EAAvBA,uBAAuB;EAAvBA,uBAAuB;EAAA,OAAvBA,uBAAuB;AAAA","ignoreList":[]}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.MobilyTransferOwnershipStatus = void 0;
|
|
7
|
+
let MobilyTransferOwnershipStatus = exports.MobilyTransferOwnershipStatus = /*#__PURE__*/function (MobilyTransferOwnershipStatus) {
|
|
8
|
+
MobilyTransferOwnershipStatus["PENDING"] = "pending";
|
|
9
|
+
MobilyTransferOwnershipStatus["DELAYED"] = "delayed";
|
|
10
|
+
MobilyTransferOwnershipStatus["ACKNOWLEDGED"] = "acknowledged";
|
|
11
|
+
MobilyTransferOwnershipStatus["REJECTED"] = "rejected";
|
|
12
|
+
return MobilyTransferOwnershipStatus;
|
|
13
|
+
}({});
|
|
14
|
+
//# sourceMappingURL=mobily-transfer-ownership-status.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["MobilyTransferOwnershipStatus","exports"],"sourceRoot":"../../../src","sources":["enums/mobily-transfer-ownership-status.ts"],"mappings":";;;;;;IAAYA,6BAA6B,GAAAC,OAAA,CAAAD,6BAAA,0BAA7BA,6BAA6B;EAA7BA,6BAA6B;EAA7BA,6BAA6B;EAA7BA,6BAA6B;EAA7BA,6BAA6B;EAAA,OAA7BA,6BAA6B;AAAA","ignoreList":[]}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.MobilyWebhookStatus = void 0;
|
|
7
|
+
let MobilyWebhookStatus = exports.MobilyWebhookStatus = /*#__PURE__*/function (MobilyWebhookStatus) {
|
|
8
|
+
MobilyWebhookStatus["PENDING"] = "pending";
|
|
9
|
+
MobilyWebhookStatus["ERROR"] = "error";
|
|
10
|
+
MobilyWebhookStatus["SUCCESS"] = "success";
|
|
11
|
+
return MobilyWebhookStatus;
|
|
12
|
+
}({});
|
|
13
|
+
//# sourceMappingURL=mobily-webhook-status.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["MobilyWebhookStatus","exports"],"sourceRoot":"../../../src","sources":["enums/mobily-webhook-status.ts"],"mappings":";;;;;;IAAYA,mBAAmB,GAAAC,OAAA,CAAAD,mBAAA,0BAAnBA,mBAAmB;EAAnBA,mBAAmB;EAAnBA,mBAAmB;EAAnBA,mBAAmB;EAAA,OAAnBA,mBAAmB;AAAA","ignoreList":[]}
|
|
@@ -5,9 +5,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.PeriodUnit = void 0;
|
|
7
7
|
let PeriodUnit = exports.PeriodUnit = /*#__PURE__*/function (PeriodUnit) {
|
|
8
|
-
PeriodUnit[
|
|
9
|
-
PeriodUnit[
|
|
10
|
-
PeriodUnit[
|
|
8
|
+
PeriodUnit["WEEK"] = "week";
|
|
9
|
+
PeriodUnit["MONTH"] = "month";
|
|
10
|
+
PeriodUnit["YEAR"] = "year";
|
|
11
11
|
return PeriodUnit;
|
|
12
12
|
}({});
|
|
13
13
|
//# sourceMappingURL=period-unit.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["PeriodUnit","exports"],"sourceRoot":"../../../src","sources":["enums/period-unit.ts"],"mappings":";;;;;;IAAYA,UAAU,GAAAC,OAAA,CAAAD,UAAA,0BAAVA,UAAU;EAAVA,UAAU
|
|
1
|
+
{"version":3,"names":["PeriodUnit","exports"],"sourceRoot":"../../../src","sources":["enums/period-unit.ts"],"mappings":";;;;;;IAAYA,UAAU,GAAAC,OAAA,CAAAD,UAAA,0BAAVA,UAAU;EAAVA,UAAU;EAAVA,UAAU;EAAVA,UAAU;EAAA,OAAVA,UAAU;AAAA","ignoreList":[]}
|
package/lib/commonjs/index.js
CHANGED
|
@@ -3,12 +3,6 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
Object.defineProperty(exports, "ItemEntitlement", {
|
|
7
|
-
enumerable: true,
|
|
8
|
-
get: function () {
|
|
9
|
-
return _mobilyCustomerEntitlement.ItemEntitlement;
|
|
10
|
-
}
|
|
11
|
-
});
|
|
12
6
|
Object.defineProperty(exports, "MobilyCustomer", {
|
|
13
7
|
enumerable: true,
|
|
14
8
|
get: function () {
|
|
@@ -33,18 +27,60 @@ Object.defineProperty(exports, "MobilyError", {
|
|
|
33
27
|
return _mobilyError.MobilyError;
|
|
34
28
|
}
|
|
35
29
|
});
|
|
30
|
+
Object.defineProperty(exports, "MobilyEvent", {
|
|
31
|
+
enumerable: true,
|
|
32
|
+
get: function () {
|
|
33
|
+
return _mobilyEvent.MobilyEvent;
|
|
34
|
+
}
|
|
35
|
+
});
|
|
36
|
+
Object.defineProperty(exports, "MobilyEventType", {
|
|
37
|
+
enumerable: true,
|
|
38
|
+
get: function () {
|
|
39
|
+
return _mobilyEventType.MobilyEventType;
|
|
40
|
+
}
|
|
41
|
+
});
|
|
42
|
+
Object.defineProperty(exports, "MobilyItem", {
|
|
43
|
+
enumerable: true,
|
|
44
|
+
get: function () {
|
|
45
|
+
return _mobilyItem.MobilyItem;
|
|
46
|
+
}
|
|
47
|
+
});
|
|
36
48
|
Object.defineProperty(exports, "MobilyOneTimeProduct", {
|
|
37
49
|
enumerable: true,
|
|
38
50
|
get: function () {
|
|
39
51
|
return _mobilyOneTimeProduct.MobilyOneTimeProduct;
|
|
40
52
|
}
|
|
41
53
|
});
|
|
54
|
+
Object.defineProperty(exports, "MobilyPlatform", {
|
|
55
|
+
enumerable: true,
|
|
56
|
+
get: function () {
|
|
57
|
+
return _mobilyPlatform.MobilyPlatform;
|
|
58
|
+
}
|
|
59
|
+
});
|
|
42
60
|
Object.defineProperty(exports, "MobilyProduct", {
|
|
43
61
|
enumerable: true,
|
|
44
62
|
get: function () {
|
|
45
63
|
return _mobilyProduct.MobilyProduct;
|
|
46
64
|
}
|
|
47
65
|
});
|
|
66
|
+
Object.defineProperty(exports, "MobilyProductOfferType", {
|
|
67
|
+
enumerable: true,
|
|
68
|
+
get: function () {
|
|
69
|
+
return _mobilyProductOfferType.MobilyProductOfferType;
|
|
70
|
+
}
|
|
71
|
+
});
|
|
72
|
+
Object.defineProperty(exports, "MobilyProductStatus", {
|
|
73
|
+
enumerable: true,
|
|
74
|
+
get: function () {
|
|
75
|
+
return _mobilyProductStatus.MobilyProductStatus;
|
|
76
|
+
}
|
|
77
|
+
});
|
|
78
|
+
Object.defineProperty(exports, "MobilyProductType", {
|
|
79
|
+
enumerable: true,
|
|
80
|
+
get: function () {
|
|
81
|
+
return _mobilyProductType.MobilyProductType;
|
|
82
|
+
}
|
|
83
|
+
});
|
|
48
84
|
Object.defineProperty(exports, "MobilyPurchaseError", {
|
|
49
85
|
enumerable: true,
|
|
50
86
|
get: function () {
|
|
@@ -57,6 +93,18 @@ Object.defineProperty(exports, "MobilyPurchaseSDK", {
|
|
|
57
93
|
return _MobilyPurchaseSDK.MobilyPurchaseSDK;
|
|
58
94
|
}
|
|
59
95
|
});
|
|
96
|
+
Object.defineProperty(exports, "MobilyRefundDialogResult", {
|
|
97
|
+
enumerable: true,
|
|
98
|
+
get: function () {
|
|
99
|
+
return _mobilyRefundDialogResult.MobilyRefundDialogResult;
|
|
100
|
+
}
|
|
101
|
+
});
|
|
102
|
+
Object.defineProperty(exports, "MobilySubscription", {
|
|
103
|
+
enumerable: true,
|
|
104
|
+
get: function () {
|
|
105
|
+
return _mobilySubscription.MobilySubscription;
|
|
106
|
+
}
|
|
107
|
+
});
|
|
60
108
|
Object.defineProperty(exports, "MobilySubscriptionGroup", {
|
|
61
109
|
enumerable: true,
|
|
62
110
|
get: function () {
|
|
@@ -75,69 +123,72 @@ Object.defineProperty(exports, "MobilySubscriptionProduct", {
|
|
|
75
123
|
return _mobilySubscriptionProduct.MobilySubscriptionProduct;
|
|
76
124
|
}
|
|
77
125
|
});
|
|
78
|
-
Object.defineProperty(exports, "
|
|
126
|
+
Object.defineProperty(exports, "MobilyTransaction", {
|
|
79
127
|
enumerable: true,
|
|
80
128
|
get: function () {
|
|
81
|
-
return
|
|
129
|
+
return _mobilyTransaction.MobilyTransaction;
|
|
82
130
|
}
|
|
83
131
|
});
|
|
84
|
-
Object.defineProperty(exports, "
|
|
132
|
+
Object.defineProperty(exports, "MobilyTransactionStatus", {
|
|
85
133
|
enumerable: true,
|
|
86
134
|
get: function () {
|
|
87
|
-
return
|
|
135
|
+
return _mobilyTransactionStatus.MobilyTransactionStatus;
|
|
88
136
|
}
|
|
89
137
|
});
|
|
90
|
-
Object.defineProperty(exports, "
|
|
91
|
-
enumerable: true,
|
|
92
|
-
get: function () {
|
|
93
|
-
return _platform.Platform;
|
|
94
|
-
}
|
|
95
|
-
});
|
|
96
|
-
Object.defineProperty(exports, "ProductStatus", {
|
|
138
|
+
Object.defineProperty(exports, "MobilyTransferOwnershipError", {
|
|
97
139
|
enumerable: true,
|
|
98
140
|
get: function () {
|
|
99
|
-
return
|
|
141
|
+
return _mobilyTransferOwnershipError.MobilyTransferOwnershipError;
|
|
100
142
|
}
|
|
101
143
|
});
|
|
102
|
-
Object.defineProperty(exports, "
|
|
144
|
+
Object.defineProperty(exports, "MobilyTransferOwnershipStatus", {
|
|
103
145
|
enumerable: true,
|
|
104
146
|
get: function () {
|
|
105
|
-
return
|
|
147
|
+
return _mobilyTransferOwnershipStatus.MobilyTransferOwnershipStatus;
|
|
106
148
|
}
|
|
107
149
|
});
|
|
108
|
-
Object.defineProperty(exports, "
|
|
150
|
+
Object.defineProperty(exports, "MobilyWebhookStatus", {
|
|
109
151
|
enumerable: true,
|
|
110
152
|
get: function () {
|
|
111
|
-
return
|
|
153
|
+
return _mobilyWebhookStatus.MobilyWebhookStatus;
|
|
112
154
|
}
|
|
113
155
|
});
|
|
114
|
-
Object.defineProperty(exports, "
|
|
156
|
+
Object.defineProperty(exports, "PeriodUnit", {
|
|
115
157
|
enumerable: true,
|
|
116
158
|
get: function () {
|
|
117
|
-
return
|
|
159
|
+
return _periodUnit.PeriodUnit;
|
|
118
160
|
}
|
|
119
161
|
});
|
|
120
|
-
Object.defineProperty(exports, "
|
|
162
|
+
Object.defineProperty(exports, "PurchaseOptions", {
|
|
121
163
|
enumerable: true,
|
|
122
164
|
get: function () {
|
|
123
|
-
return
|
|
165
|
+
return _purchaseOptions.PurchaseOptions;
|
|
124
166
|
}
|
|
125
167
|
});
|
|
126
168
|
var _MobilyPurchaseSDK = require("./MobilyPurchaseSDK.js");
|
|
127
|
-
var _mobilyCustomer = require("./entities/mobily-customer.js");
|
|
128
|
-
var _mobilyProduct = require("./entities/mobily-product.js");
|
|
129
|
-
var _mobilyCustomerEntitlement = require("./entities/mobily-customer-entitlement.js");
|
|
130
|
-
var _mobilyOneTimeProduct = require("./entities/mobily-one-time-product.js");
|
|
131
|
-
var _mobilySubscriptionProduct = require("./entities/mobily-subscription-product.js");
|
|
132
|
-
var _mobilySubscriptionGroup = require("./entities/mobily-subscription-group.js");
|
|
133
|
-
var _mobilySubscriptionOffer = require("./entities/mobily-subscription-offer.js");
|
|
134
169
|
var _mobilyEnvironment = require("./enums/mobily-environment.js");
|
|
170
|
+
var _mobilyEventType = require("./enums/mobily-event-type.js");
|
|
171
|
+
var _mobilyPlatform = require("./enums/mobily-platform.js");
|
|
172
|
+
var _mobilyProductOfferType = require("./enums/mobily-product-offer-type.js");
|
|
173
|
+
var _mobilyProductStatus = require("./enums/mobily-product-status.js");
|
|
174
|
+
var _mobilyProductType = require("./enums/mobily-product-type.js");
|
|
175
|
+
var _mobilyRefundDialogResult = require("./enums/mobily-refund-dialog-result.js");
|
|
176
|
+
var _mobilyTransactionStatus = require("./enums/mobily-transaction-status.js");
|
|
177
|
+
var _mobilyTransferOwnershipStatus = require("./enums/mobily-transfer-ownership-status.js");
|
|
178
|
+
var _mobilyWebhookStatus = require("./enums/mobily-webhook-status.js");
|
|
135
179
|
var _periodUnit = require("./enums/period-unit.js");
|
|
136
|
-
var
|
|
137
|
-
var
|
|
138
|
-
var
|
|
139
|
-
var
|
|
140
|
-
var
|
|
180
|
+
var _mobilyCustomerEntitlement = require("./models/entitlement/mobily-customer-entitlement.js");
|
|
181
|
+
var _mobilyItem = require("./models/entitlement/mobily-item.js");
|
|
182
|
+
var _mobilySubscription = require("./models/entitlement/mobily-subscription.js");
|
|
183
|
+
var _purchaseOptions = require("./models/internal/purchase-options.js");
|
|
184
|
+
var _mobilyOneTimeProduct = require("./models/product/mobily-one-time-product.js");
|
|
185
|
+
var _mobilyProduct = require("./models/product/mobily-product.js");
|
|
186
|
+
var _mobilySubscriptionGroup = require("./models/product/mobily-subscription-group.js");
|
|
187
|
+
var _mobilySubscriptionOffer = require("./models/product/mobily-subscription-offer.js");
|
|
188
|
+
var _mobilySubscriptionProduct = require("./models/product/mobily-subscription-product.js");
|
|
189
|
+
var _mobilyCustomer = require("./models/mobily-customer.js");
|
|
190
|
+
var _mobilyEvent = require("./models/mobily-event.js");
|
|
191
|
+
var _mobilyTransaction = require("./models/mobily-transaction.js");
|
|
141
192
|
var _mobilyError = require("./errors/mobily-error.js");
|
|
142
193
|
var _mobilyPurchaseError = require("./errors/mobily-purchase-error.js");
|
|
143
194
|
var _mobilyTransferOwnershipError = require("./errors/mobily-transfer-ownership-error.js");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_MobilyPurchaseSDK","require","
|
|
1
|
+
{"version":3,"names":["_MobilyPurchaseSDK","require","_mobilyEnvironment","_mobilyEventType","_mobilyPlatform","_mobilyProductOfferType","_mobilyProductStatus","_mobilyProductType","_mobilyRefundDialogResult","_mobilyTransactionStatus","_mobilyTransferOwnershipStatus","_mobilyWebhookStatus","_periodUnit","_mobilyCustomerEntitlement","_mobilyItem","_mobilySubscription","_purchaseOptions","_mobilyOneTimeProduct","_mobilyProduct","_mobilySubscriptionGroup","_mobilySubscriptionOffer","_mobilySubscriptionProduct","_mobilyCustomer","_mobilyEvent","_mobilyTransaction","_mobilyError","_mobilyPurchaseError","_mobilyTransferOwnershipError"],"sourceRoot":"../../src","sources":["index.tsx"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,IAAAA,kBAAA,GAAAC,OAAA;AAGA,IAAAC,kBAAA,GAAAD,OAAA;AACA,IAAAE,gBAAA,GAAAF,OAAA;AACA,IAAAG,eAAA,GAAAH,OAAA;AACA,IAAAI,uBAAA,GAAAJ,OAAA;AACA,IAAAK,oBAAA,GAAAL,OAAA;AACA,IAAAM,kBAAA,GAAAN,OAAA;AACA,IAAAO,yBAAA,GAAAP,OAAA;AACA,IAAAQ,wBAAA,GAAAR,OAAA;AACA,IAAAS,8BAAA,GAAAT,OAAA;AACA,IAAAU,oBAAA,GAAAV,OAAA;AACA,IAAAW,WAAA,GAAAX,OAAA;AAGA,IAAAY,0BAAA,GAAAZ,OAAA;AACA,IAAAa,WAAA,GAAAb,OAAA;AACA,IAAAc,mBAAA,GAAAd,OAAA;AACA,IAAAe,gBAAA,GAAAf,OAAA;AACA,IAAAgB,qBAAA,GAAAhB,OAAA;AACA,IAAAiB,cAAA,GAAAjB,OAAA;AACA,IAAAkB,wBAAA,GAAAlB,OAAA;AACA,IAAAmB,wBAAA,GAAAnB,OAAA;AACA,IAAAoB,0BAAA,GAAApB,OAAA;AACA,IAAAqB,eAAA,GAAArB,OAAA;AACA,IAAAsB,YAAA,GAAAtB,OAAA;AACA,IAAAuB,kBAAA,GAAAvB,OAAA;AAGA,IAAAwB,YAAA,GAAAxB,OAAA;AACA,IAAAyB,oBAAA,GAAAzB,OAAA;AACA,IAAA0B,6BAAA,GAAA1B,OAAA","ignoreList":[]}
|