@qonversion/react-native-sdk 10.0.0-RC2 → 10.0.1

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.
Files changed (57) hide show
  1. package/android/build.gradle +1 -1
  2. package/android/src/main/java/com/qonversion/reactnativesdk/NoCodesModule.kt +2 -2
  3. package/ios/RNNoCodes.mm +3 -2
  4. package/ios/RNNoCodesImpl.swift +2 -2
  5. package/ios/RNQonversion.mm +1 -1
  6. package/ios/RNQonversionImpl.swift +1 -1
  7. package/lib/module/NoCodesConfig.js +2 -1
  8. package/lib/module/NoCodesConfig.js.map +1 -1
  9. package/lib/module/NoCodesConfigBuilder.js +13 -1
  10. package/lib/module/NoCodesConfigBuilder.js.map +1 -1
  11. package/lib/module/dto/Product.js +3 -13
  12. package/lib/module/dto/Product.js.map +1 -1
  13. package/lib/module/dto/enums.js +1 -0
  14. package/lib/module/dto/enums.js.map +1 -1
  15. package/lib/module/index.js +0 -1
  16. package/lib/module/index.js.map +1 -1
  17. package/lib/module/internal/Mapper.js +3 -16
  18. package/lib/module/internal/Mapper.js.map +1 -1
  19. package/lib/module/internal/NoCodesInternal.js +1 -1
  20. package/lib/module/internal/NoCodesInternal.js.map +1 -1
  21. package/lib/module/internal/QonversionInternal.js +1 -1
  22. package/lib/module/internal/QonversionInternal.js.map +1 -1
  23. package/lib/typescript/src/NoCodesConfig.d.ts +2 -1
  24. package/lib/typescript/src/NoCodesConfig.d.ts.map +1 -1
  25. package/lib/typescript/src/NoCodesConfigBuilder.d.ts +8 -0
  26. package/lib/typescript/src/NoCodesConfigBuilder.d.ts.map +1 -1
  27. package/lib/typescript/src/QonversionApi.d.ts +0 -1
  28. package/lib/typescript/src/QonversionApi.d.ts.map +1 -1
  29. package/lib/typescript/src/dto/Product.d.ts +3 -13
  30. package/lib/typescript/src/dto/Product.d.ts.map +1 -1
  31. package/lib/typescript/src/dto/enums.d.ts +1 -0
  32. package/lib/typescript/src/dto/enums.d.ts.map +1 -1
  33. package/lib/typescript/src/index.d.ts +0 -1
  34. package/lib/typescript/src/index.d.ts.map +1 -1
  35. package/lib/typescript/src/internal/Mapper.d.ts +0 -24
  36. package/lib/typescript/src/internal/Mapper.d.ts.map +1 -1
  37. package/lib/typescript/src/internal/QonversionInternal.d.ts +1 -1
  38. package/lib/typescript/src/internal/QonversionInternal.d.ts.map +1 -1
  39. package/lib/typescript/src/internal/specs/NativeNoCodesModule.d.ts +1 -1
  40. package/lib/typescript/src/internal/specs/NativeNoCodesModule.d.ts.map +1 -1
  41. package/package.json +1 -1
  42. package/qonversion-react-native-sdk.podspec +1 -1
  43. package/src/NoCodesConfig.ts +4 -1
  44. package/src/NoCodesConfigBuilder.ts +14 -1
  45. package/src/QonversionApi.ts +0 -1
  46. package/src/dto/Product.ts +2 -15
  47. package/src/dto/enums.ts +1 -0
  48. package/src/index.ts +0 -1
  49. package/src/internal/Mapper.ts +1 -61
  50. package/src/internal/NoCodesInternal.ts +1 -1
  51. package/src/internal/QonversionInternal.ts +1 -1
  52. package/src/internal/specs/NativeNoCodesModule.ts +1 -1
  53. package/lib/module/dto/storeProducts/SkuDetails.js +0 -30
  54. package/lib/module/dto/storeProducts/SkuDetails.js.map +0 -1
  55. package/lib/typescript/src/dto/storeProducts/SkuDetails.d.ts +0 -27
  56. package/lib/typescript/src/dto/storeProducts/SkuDetails.d.ts.map +0 -1
  57. package/src/dto/storeProducts/SkuDetails.ts +0 -68
@@ -1,30 +0,0 @@
1
- "use strict";
2
-
3
- /**
4
- * @deprecated
5
- */
6
- class SkuDetails {
7
- constructor(description, freeTrialPeriod, iconUrl, introductoryPrice, introductoryPriceAmountMicros, introductoryPriceCycles, introductoryPricePeriod, originalJson, originalPrice, originalPriceAmountMicros, price, priceAmountMicros, priceCurrencyCode, sku, subscriptionPeriod, title, type, hashCode, toString) {
8
- this.description = description;
9
- this.freeTrialPeriod = freeTrialPeriod;
10
- this.iconUrl = iconUrl;
11
- this.introductoryPrice = introductoryPrice;
12
- this.introductoryPriceAmountMicros = introductoryPriceAmountMicros;
13
- this.introductoryPriceCycles = introductoryPriceCycles;
14
- this.introductoryPricePeriod = introductoryPricePeriod;
15
- this.originalJson = originalJson;
16
- this.originalPrice = originalPrice;
17
- this.originalPriceAmountMicros = originalPriceAmountMicros;
18
- this.price = price;
19
- this.priceAmountMicros = priceAmountMicros;
20
- this.priceCurrencyCode = priceCurrencyCode;
21
- this.sku = sku;
22
- this.subscriptionPeriod = subscriptionPeriod;
23
- this.title = title;
24
- this.type = type;
25
- this.hashCode = hashCode;
26
- this.toString = toString;
27
- }
28
- }
29
- export default SkuDetails;
30
- //# sourceMappingURL=SkuDetails.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["SkuDetails","constructor","description","freeTrialPeriod","iconUrl","introductoryPrice","introductoryPriceAmountMicros","introductoryPriceCycles","introductoryPricePeriod","originalJson","originalPrice","originalPriceAmountMicros","price","priceAmountMicros","priceCurrencyCode","sku","subscriptionPeriod","title","type","hashCode","toString"],"sourceRoot":"../../../../src","sources":["dto/storeProducts/SkuDetails.ts"],"mappings":";;AAAA;AACA;AACA;AACA,MAAMA,UAAU,CAAC;EAqBfC,WAAWA,CACTC,WAAmB,EACnBC,eAAuB,EACvBC,OAAe,EACfC,iBAAyB,EACzBC,6BAAqC,EACrCC,uBAA+B,EAC/BC,uBAA+B,EAC/BC,YAAoB,EACpBC,aAAqB,EACrBC,yBAAiC,EACjCC,KAAa,EACbC,iBAAyB,EACzBC,iBAAyB,EACzBC,GAAW,EACXC,kBAA0B,EAC1BC,KAAa,EACbC,IAAY,EACZC,QAAgB,EAChBC,QAAgB,EAChB;IACA,IAAI,CAAClB,WAAW,GAAGA,WAAW;IAC9B,IAAI,CAACC,eAAe,GAAGA,eAAe;IACtC,IAAI,CAACC,OAAO,GAAGA,OAAO;IACtB,IAAI,CAACC,iBAAiB,GAAGA,iBAAiB;IAC1C,IAAI,CAACC,6BAA6B,GAAGA,6BAA6B;IAClE,IAAI,CAACC,uBAAuB,GAAGA,uBAAuB;IACtD,IAAI,CAACC,uBAAuB,GAAGA,uBAAuB;IACtD,IAAI,CAACC,YAAY,GAAGA,YAAY;IAChC,IAAI,CAACC,aAAa,GAAGA,aAAa;IAClC,IAAI,CAACC,yBAAyB,GAAGA,yBAAyB;IAC1D,IAAI,CAACC,KAAK,GAAGA,KAAK;IAClB,IAAI,CAACC,iBAAiB,GAAGA,iBAAiB;IAC1C,IAAI,CAACC,iBAAiB,GAAGA,iBAAiB;IAC1C,IAAI,CAACC,GAAG,GAAGA,GAAG;IACd,IAAI,CAACC,kBAAkB,GAAGA,kBAAkB;IAC5C,IAAI,CAACC,KAAK,GAAGA,KAAK;IAClB,IAAI,CAACC,IAAI,GAAGA,IAAI;IAChB,IAAI,CAACC,QAAQ,GAAGA,QAAQ;IACxB,IAAI,CAACC,QAAQ,GAAGA,QAAQ;EAC1B;AACF;AAEA,eAAepB,UAAU","ignoreList":[]}
@@ -1,27 +0,0 @@
1
- /**
2
- * @deprecated
3
- */
4
- declare class SkuDetails {
5
- description: string;
6
- freeTrialPeriod: string;
7
- iconUrl: string;
8
- introductoryPrice: string;
9
- introductoryPriceAmountMicros: number;
10
- introductoryPriceCycles: number;
11
- introductoryPricePeriod: string;
12
- originalJson: string;
13
- originalPrice: string;
14
- originalPriceAmountMicros: number;
15
- price: string;
16
- priceAmountMicros: number;
17
- priceCurrencyCode: string;
18
- sku: string;
19
- subscriptionPeriod: string;
20
- title: string;
21
- type: string;
22
- hashCode: number;
23
- toString: string;
24
- constructor(description: string, freeTrialPeriod: string, iconUrl: string, introductoryPrice: string, introductoryPriceAmountMicros: number, introductoryPriceCycles: number, introductoryPricePeriod: string, originalJson: string, originalPrice: string, originalPriceAmountMicros: number, price: string, priceAmountMicros: number, priceCurrencyCode: string, sku: string, subscriptionPeriod: string, title: string, type: string, hashCode: number, toString: string);
25
- }
26
- export default SkuDetails;
27
- //# sourceMappingURL=SkuDetails.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,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@@
1
- /**
2
- * @deprecated
3
- */
4
- class SkuDetails {
5
- description: string;
6
- freeTrialPeriod: string;
7
- iconUrl: string;
8
- introductoryPrice: string;
9
- introductoryPriceAmountMicros: number;
10
- introductoryPriceCycles: number;
11
- introductoryPricePeriod: string;
12
- originalJson: string;
13
- originalPrice: string;
14
- originalPriceAmountMicros: number;
15
- price: string;
16
- priceAmountMicros: number;
17
- priceCurrencyCode: string;
18
- sku: string;
19
- subscriptionPeriod: string;
20
- title: string;
21
- type: string;
22
- hashCode: number;
23
- toString: string;
24
-
25
- constructor(
26
- description: string,
27
- freeTrialPeriod: string,
28
- iconUrl: string,
29
- introductoryPrice: string,
30
- introductoryPriceAmountMicros: number,
31
- introductoryPriceCycles: number,
32
- introductoryPricePeriod: string,
33
- originalJson: string,
34
- originalPrice: string,
35
- originalPriceAmountMicros: number,
36
- price: string,
37
- priceAmountMicros: number,
38
- priceCurrencyCode: string,
39
- sku: string,
40
- subscriptionPeriod: string,
41
- title: string,
42
- type: string,
43
- hashCode: number,
44
- toString: string
45
- ) {
46
- this.description = description;
47
- this.freeTrialPeriod = freeTrialPeriod;
48
- this.iconUrl = iconUrl;
49
- this.introductoryPrice = introductoryPrice;
50
- this.introductoryPriceAmountMicros = introductoryPriceAmountMicros;
51
- this.introductoryPriceCycles = introductoryPriceCycles;
52
- this.introductoryPricePeriod = introductoryPricePeriod;
53
- this.originalJson = originalJson;
54
- this.originalPrice = originalPrice;
55
- this.originalPriceAmountMicros = originalPriceAmountMicros;
56
- this.price = price;
57
- this.priceAmountMicros = priceAmountMicros;
58
- this.priceCurrencyCode = priceCurrencyCode;
59
- this.sku = sku;
60
- this.subscriptionPeriod = subscriptionPeriod;
61
- this.title = title;
62
- this.type = type;
63
- this.hashCode = hashCode;
64
- this.toString = toString;
65
- }
66
- }
67
-
68
- export default SkuDetails;