@revenuecat/purchases-js 0.14.0 → 0.15.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.
- package/README.md +12 -3
- package/dist/Purchases.es.d.ts +2 -2
- package/dist/Purchases.es.js +2738 -2442
- package/dist/Purchases.umd.js +23 -25
- package/package.json +29 -31
package/README.md
CHANGED
|
@@ -47,13 +47,22 @@ npm install
|
|
|
47
47
|
npm run build:dev
|
|
48
48
|
```
|
|
49
49
|
|
|
50
|
-
To avoid publishing the package you can
|
|
51
|
-
|
|
50
|
+
To avoid publishing the package you can use Yarn's link feature:
|
|
51
|
+
|
|
52
|
+
1. In the purchases-js directory, register the package:
|
|
53
|
+
|
|
54
|
+
```bash
|
|
55
|
+
yarn link
|
|
56
|
+
```
|
|
57
|
+
|
|
58
|
+
2. In your testing project, link to the registered package:
|
|
52
59
|
|
|
53
60
|
```bash
|
|
54
|
-
|
|
61
|
+
yarn link "@revenuecat/purchases-js"
|
|
55
62
|
```
|
|
56
63
|
|
|
64
|
+
> **Note:** Any changes you make to the library will be automatically reflected in your testing project after running `npm run build:dev` or `npm run build`.
|
|
65
|
+
|
|
57
66
|
## Running Storybook
|
|
58
67
|
|
|
59
68
|
```bash
|
package/dist/Purchases.es.d.ts
CHANGED
|
@@ -801,7 +801,7 @@ export declare class Purchases {
|
|
|
801
801
|
* Underlying error message. This provides more details on the error and
|
|
802
802
|
* can be useful for debugging and logging.
|
|
803
803
|
*/
|
|
804
|
-
readonly underlyingErrorMessage?:
|
|
804
|
+
readonly underlyingErrorMessage?: string | null | undefined;
|
|
805
805
|
/**
|
|
806
806
|
* Contains extra information that is available in certain types of errors.
|
|
807
807
|
*/
|
|
@@ -820,7 +820,7 @@ export declare class Purchases {
|
|
|
820
820
|
* Underlying error message. This provides more details on the error and
|
|
821
821
|
* can be useful for debugging and logging.
|
|
822
822
|
*/
|
|
823
|
-
underlyingErrorMessage?:
|
|
823
|
+
underlyingErrorMessage?: string | null | undefined,
|
|
824
824
|
/**
|
|
825
825
|
* Contains extra information that is available in certain types of errors.
|
|
826
826
|
*/
|