mobilyflow-react-native-sdk 0.1.1-alpha.18 → 0.1.1-alpha.19

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 +1 @@
1
- {"version":3,"names":["_reactNative","require","_default","exports","default","TurboModuleRegistry","getEnforcing"],"sourceRoot":"../../src","sources":["NativeMobilyflowReactNativeSdk.ts"],"mappings":";;;;;;AACA,IAAAA,YAAA,GAAAC,OAAA;AAAmD,IAAAC,QAAA,GAAAC,OAAA,CAAAC,OAAA,GA+CpCC,gCAAmB,CAACC,YAAY,CAAO,0BAA0B,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["_reactNative","require","_default","exports","default","TurboModuleRegistry","getEnforcing"],"sourceRoot":"../../src","sources":["NativeMobilyflowReactNativeSdk.ts"],"mappings":";;;;;;AACA,IAAAA,YAAA,GAAAC,OAAA;AAAmD,IAAAC,QAAA,GAAAC,OAAA,CAAAC,OAAA,GAgDpCC,gCAAmB,CAACC,YAAY,CAAO,0BAA0B,CAAC","ignoreList":[]}
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.TransferOwnershipStatus = void 0;
7
+ let TransferOwnershipStatus = exports.TransferOwnershipStatus = /*#__PURE__*/function (TransferOwnershipStatus) {
8
+ TransferOwnershipStatus[TransferOwnershipStatus["PENDING"] = 0] = "PENDING";
9
+ TransferOwnershipStatus[TransferOwnershipStatus["ERROR"] = 1] = "ERROR";
10
+ TransferOwnershipStatus[TransferOwnershipStatus["DELAYED"] = 2] = "DELAYED";
11
+ TransferOwnershipStatus[TransferOwnershipStatus["ACKNOWLEDGED"] = 3] = "ACKNOWLEDGED";
12
+ TransferOwnershipStatus[TransferOwnershipStatus["REJECTED"] = 4] = "REJECTED";
13
+ return TransferOwnershipStatus;
14
+ }({});
15
+ //# sourceMappingURL=transfer-ownership-status.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["TransferOwnershipStatus","exports"],"sourceRoot":"../../../src","sources":["enums/transfer-ownership-status.ts"],"mappings":";;;;;;IAAYA,uBAAuB,GAAAC,OAAA,CAAAD,uBAAA,0BAAvBA,uBAAuB;EAAvBA,uBAAuB,CAAvBA,uBAAuB;EAAvBA,uBAAuB,CAAvBA,uBAAuB;EAAvBA,uBAAuB,CAAvBA,uBAAuB;EAAvBA,uBAAuB,CAAvBA,uBAAuB;EAAvBA,uBAAuB,CAAvBA,uBAAuB;EAAA,OAAvBA,uBAAuB;AAAA","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"names":["TurboModuleRegistry","getEnforcing"],"sourceRoot":"../../src","sources":["NativeMobilyflowReactNativeSdk.ts"],"mappings":";;AACA,SAASA,mBAAmB,QAAQ,cAAc;AA+ClD,eAAeA,mBAAmB,CAACC,YAAY,CAAO,0BAA0B,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["TurboModuleRegistry","getEnforcing"],"sourceRoot":"../../src","sources":["NativeMobilyflowReactNativeSdk.ts"],"mappings":";;AACA,SAASA,mBAAmB,QAAQ,cAAc;AAgDlD,eAAeA,mBAAmB,CAACC,YAAY,CAAO,0BAA0B,CAAC","ignoreList":[]}
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+
3
+ export let TransferOwnershipStatus = /*#__PURE__*/function (TransferOwnershipStatus) {
4
+ TransferOwnershipStatus[TransferOwnershipStatus["PENDING"] = 0] = "PENDING";
5
+ TransferOwnershipStatus[TransferOwnershipStatus["ERROR"] = 1] = "ERROR";
6
+ TransferOwnershipStatus[TransferOwnershipStatus["DELAYED"] = 2] = "DELAYED";
7
+ TransferOwnershipStatus[TransferOwnershipStatus["ACKNOWLEDGED"] = 3] = "ACKNOWLEDGED";
8
+ TransferOwnershipStatus[TransferOwnershipStatus["REJECTED"] = 4] = "REJECTED";
9
+ return TransferOwnershipStatus;
10
+ }({});
11
+ //# sourceMappingURL=transfer-ownership-status.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["TransferOwnershipStatus"],"sourceRoot":"../../../src","sources":["enums/transfer-ownership-status.ts"],"mappings":";;AAAA,WAAYA,uBAAuB,0BAAvBA,uBAAuB;EAAvBA,uBAAuB,CAAvBA,uBAAuB;EAAvBA,uBAAuB,CAAvBA,uBAAuB;EAAvBA,uBAAuB,CAAvBA,uBAAuB;EAAvBA,uBAAuB,CAAvBA,uBAAuB;EAAvBA,uBAAuB,CAAvBA,uBAAuB;EAAA,OAAvBA,uBAAuB;AAAA","ignoreList":[]}
@@ -20,7 +20,7 @@ export declare class MobilyPurchaseSDK {
20
20
  getEntitlementForSubscription(subscriptionGroupId: string): Promise<MobilyCustomerEntitlement>;
21
21
  getEntitlement(productId: string): Promise<MobilyCustomerEntitlement>;
22
22
  getEntitlements(productIds?: string[]): Promise<MobilyCustomerEntitlement[]>;
23
- requestTransferOwnership(): Promise<void>;
23
+ requestTransferOwnership(): Promise<import("./enums/transfer-ownership-status").TransferOwnershipStatus>;
24
24
  openManageSubscription(): Promise<void>;
25
25
  openRefundDialog(productId: string): Promise<boolean>;
26
26
  purchaseProduct(product: MobilyProduct, options?: PurchaseOptions): Promise<WebhookStatus>;
@@ -4,6 +4,7 @@ import { MobilySubscriptionGroup } from './entities/mobily-subscription-group';
4
4
  import { MobilyCustomerEntitlement } from './entities/mobily-customer-entitlement';
5
5
  import { WebhookStatus } from './enums/webhook-status';
6
6
  import type { MobilyCustomer } from './entities/mobily-customer';
7
+ import { TransferOwnershipStatus } from './enums/transfer-ownership-status';
7
8
  export type MobilyPurchaseSDKOptions = {
8
9
  languages?: string[];
9
10
  debug?: boolean;
@@ -22,7 +23,7 @@ export interface Spec extends TurboModule {
22
23
  getEntitlementForSubscription(uuid: string, subscriptionGroupId: string): Promise<MobilyCustomerEntitlement | null>;
23
24
  getEntitlement(uuid: string, productId: string): Promise<MobilyCustomerEntitlement | null>;
24
25
  getEntitlements(uuid: string, productIds?: string[]): Promise<MobilyCustomerEntitlement[]>;
25
- requestTransferOwnership(uuid: string): Promise<void>;
26
+ requestTransferOwnership(uuid: string): Promise<TransferOwnershipStatus>;
26
27
  openManageSubscription(uuid: string): Promise<void>;
27
28
  openRefundDialog(uuid: string, productId: string): Promise<boolean>;
28
29
  purchaseProduct(uuid: string, productId: string, options?: PurchaseOptions): Promise<WebhookStatus>;
@@ -1 +1 @@
1
- {"version":3,"file":"NativeMobilyflowReactNativeSdk.d.ts","sourceRoot":"","sources":["../../../../src/NativeMobilyflowReactNativeSdk.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAEhD,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAC1D,OAAO,EAAE,uBAAuB,EAAE,MAAM,sCAAsC,CAAC;AAC/E,OAAO,EAAE,yBAAyB,EAAE,MAAM,wCAAwC,CAAC;AACnF,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AACvD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAEjE,MAAM,MAAM,wBAAwB,GAAG;IACrC,SAAS,CAAC,EAAE,MAAM,EAAE,CAAC;IACrB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,KAAK,eAAe,GAAG;IACrB,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,MAAM,WAAW,IAAK,SAAQ,WAAW;IACvC,WAAW,CAAC,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,wBAAwB,GAAG,MAAM,CAAC;IAC5G,KAAK,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IAE1B,KAAK,CAAC,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,GAAG,OAAO,CAAC,cAAc,CAAC,CAAC;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CAC3D;;AAED,wBAAkF"}
@@ -0,0 +1,8 @@
1
+ export declare enum TransferOwnershipStatus {
2
+ PENDING = 0,
3
+ ERROR = 1,
4
+ DELAYED = 2,
5
+ ACKNOWLEDGED = 3,
6
+ REJECTED = 4
7
+ }
8
+ //# sourceMappingURL=transfer-ownership-status.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"transfer-ownership-status.d.ts","sourceRoot":"","sources":["../../../../../src/enums/transfer-ownership-status.ts"],"names":[],"mappings":"AAAA,oBAAY,uBAAuB;IACjC,OAAO,IAAA;IACP,KAAK,IAAA;IACL,OAAO,IAAA;IACP,YAAY,IAAA;IACZ,QAAQ,IAAA;CACT"}
@@ -20,7 +20,7 @@ export declare class MobilyPurchaseSDK {
20
20
  getEntitlementForSubscription(subscriptionGroupId: string): Promise<MobilyCustomerEntitlement>;
21
21
  getEntitlement(productId: string): Promise<MobilyCustomerEntitlement>;
22
22
  getEntitlements(productIds?: string[]): Promise<MobilyCustomerEntitlement[]>;
23
- requestTransferOwnership(): Promise<void>;
23
+ requestTransferOwnership(): Promise<import("./enums/transfer-ownership-status").TransferOwnershipStatus>;
24
24
  openManageSubscription(): Promise<void>;
25
25
  openRefundDialog(productId: string): Promise<boolean>;
26
26
  purchaseProduct(product: MobilyProduct, options?: PurchaseOptions): Promise<WebhookStatus>;
@@ -4,6 +4,7 @@ import { MobilySubscriptionGroup } from './entities/mobily-subscription-group';
4
4
  import { MobilyCustomerEntitlement } from './entities/mobily-customer-entitlement';
5
5
  import { WebhookStatus } from './enums/webhook-status';
6
6
  import type { MobilyCustomer } from './entities/mobily-customer';
7
+ import { TransferOwnershipStatus } from './enums/transfer-ownership-status';
7
8
  export type MobilyPurchaseSDKOptions = {
8
9
  languages?: string[];
9
10
  debug?: boolean;
@@ -22,7 +23,7 @@ export interface Spec extends TurboModule {
22
23
  getEntitlementForSubscription(uuid: string, subscriptionGroupId: string): Promise<MobilyCustomerEntitlement | null>;
23
24
  getEntitlement(uuid: string, productId: string): Promise<MobilyCustomerEntitlement | null>;
24
25
  getEntitlements(uuid: string, productIds?: string[]): Promise<MobilyCustomerEntitlement[]>;
25
- requestTransferOwnership(uuid: string): Promise<void>;
26
+ requestTransferOwnership(uuid: string): Promise<TransferOwnershipStatus>;
26
27
  openManageSubscription(uuid: string): Promise<void>;
27
28
  openRefundDialog(uuid: string, productId: string): Promise<boolean>;
28
29
  purchaseProduct(uuid: string, productId: string, options?: PurchaseOptions): Promise<WebhookStatus>;
@@ -1 +1 @@
1
- {"version":3,"file":"NativeMobilyflowReactNativeSdk.d.ts","sourceRoot":"","sources":["../../../../src/NativeMobilyflowReactNativeSdk.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAEhD,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAC1D,OAAO,EAAE,uBAAuB,EAAE,MAAM,sCAAsC,CAAC;AAC/E,OAAO,EAAE,yBAAyB,EAAE,MAAM,wCAAwC,CAAC;AACnF,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AACvD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAEjE,MAAM,MAAM,wBAAwB,GAAG;IACrC,SAAS,CAAC,EAAE,MAAM,EAAE,CAAC;IACrB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,KAAK,eAAe,GAAG;IACrB,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,MAAM,WAAW,IAAK,SAAQ,WAAW;IACvC,WAAW,CAAC,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,wBAAwB,GAAG,MAAM,CAAC;IAC5G,KAAK,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;I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CAAC,CAAC;IAExE,WAAW,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,cAAc,GAAG,IAAI,CAAC,CAAC;CAC3D;;AAED,wBAAkF"}
@@ -0,0 +1,8 @@
1
+ export declare enum TransferOwnershipStatus {
2
+ PENDING = 0,
3
+ ERROR = 1,
4
+ DELAYED = 2,
5
+ ACKNOWLEDGED = 3,
6
+ REJECTED = 4
7
+ }
8
+ //# sourceMappingURL=transfer-ownership-status.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"transfer-ownership-status.d.ts","sourceRoot":"","sources":["../../../../../src/enums/transfer-ownership-status.ts"],"names":[],"mappings":"AAAA,oBAAY,uBAAuB;IACjC,OAAO,IAAA;IACP,KAAK,IAAA;IACL,OAAO,IAAA;IACP,YAAY,IAAA;IACZ,QAAQ,IAAA;CACT"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mobilyflow-react-native-sdk",
3
- "version": "0.1.1-alpha.18",
3
+ "version": "0.1.1-alpha.19",
4
4
  "description": "MobilyFlow React Native SDK",
5
5
  "source": "./src/index.tsx",
6
6
  "main": "./lib/commonjs/index.js",
@@ -5,6 +5,7 @@ import { MobilySubscriptionGroup } from './entities/mobily-subscription-group';
5
5
  import { MobilyCustomerEntitlement } from './entities/mobily-customer-entitlement';
6
6
  import { WebhookStatus } from './enums/webhook-status';
7
7
  import type { MobilyCustomer } from './entities/mobily-customer';
8
+ import { TransferOwnershipStatus } from './enums/transfer-ownership-status';
8
9
 
9
10
  export type MobilyPurchaseSDKOptions = {
10
11
  languages?: string[];
@@ -33,7 +34,7 @@ export interface Spec extends TurboModule {
33
34
  getEntitlement(uuid: string, productId: string): Promise<MobilyCustomerEntitlement | null>;
34
35
  getEntitlements(uuid: string, productIds?: string[]): Promise<MobilyCustomerEntitlement[]>;
35
36
 
36
- requestTransferOwnership(uuid: string): Promise<void>;
37
+ requestTransferOwnership(uuid: string): Promise<TransferOwnershipStatus>;
37
38
  openManageSubscription(uuid: string): Promise<void>;
38
39
  openRefundDialog(uuid: string, productId: string): Promise<boolean>;
39
40
 
@@ -0,0 +1,7 @@
1
+ export enum TransferOwnershipStatus {
2
+ PENDING,
3
+ ERROR,
4
+ DELAYED,
5
+ ACKNOWLEDGED,
6
+ REJECTED,
7
+ }