@shware/purchase 5.1.0 → 5.1.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/dist/app-store/config.d.cts +1 -2
  2. package/dist/app-store/config.d.cts.map +1 -1
  3. package/dist/app-store/config.d.mts +1 -2
  4. package/dist/app-store/config.d.mts.map +1 -1
  5. package/dist/app-store/handler.d.cts +2 -3
  6. package/dist/app-store/handler.d.cts.map +1 -1
  7. package/dist/app-store/handler.d.mts +2 -3
  8. package/dist/app-store/handler.d.mts.map +1 -1
  9. package/dist/app-store/mapper.d.cts +2 -3
  10. package/dist/app-store/mapper.d.cts.map +1 -1
  11. package/dist/app-store/mapper.d.mts +2 -3
  12. package/dist/app-store/mapper.d.mts.map +1 -1
  13. package/dist/google-play/config.d.cts +1 -2
  14. package/dist/google-play/config.d.cts.map +1 -1
  15. package/dist/google-play/config.d.mts +1 -2
  16. package/dist/google-play/config.d.mts.map +1 -1
  17. package/dist/google-play/mapper.d.cts +4 -5
  18. package/dist/google-play/mapper.d.cts.map +1 -1
  19. package/dist/google-play/mapper.d.mts +4 -5
  20. package/dist/google-play/mapper.d.mts.map +1 -1
  21. package/dist/google-play/real-time-developer-notification.d.cts +16 -17
  22. package/dist/google-play/real-time-developer-notification.d.cts.map +1 -1
  23. package/dist/google-play/real-time-developer-notification.d.mts +16 -17
  24. package/dist/google-play/real-time-developer-notification.d.mts.map +1 -1
  25. package/dist/stripe/config.d.cts +3 -4
  26. package/dist/stripe/config.d.cts.map +1 -1
  27. package/dist/stripe/config.d.mts +3 -4
  28. package/dist/stripe/config.d.mts.map +1 -1
  29. package/dist/stripe/handler.d.cts +1 -2
  30. package/dist/stripe/handler.d.cts.map +1 -1
  31. package/dist/stripe/handler.d.mts +1 -2
  32. package/dist/stripe/handler.d.mts.map +1 -1
  33. package/dist/stripe/mapper.d.cts +22 -23
  34. package/dist/stripe/mapper.d.cts.map +1 -1
  35. package/dist/stripe/mapper.d.mts +22 -23
  36. package/dist/stripe/mapper.d.mts.map +1 -1
  37. package/dist/stripe/metadata.d.cts +1 -2
  38. package/dist/stripe/metadata.d.cts.map +1 -1
  39. package/dist/stripe/metadata.d.mts +1 -2
  40. package/dist/stripe/metadata.d.mts.map +1 -1
  41. package/dist/stripe/pending-checkout.d.cts +3 -4
  42. package/dist/stripe/pending-checkout.d.cts.map +1 -1
  43. package/dist/stripe/pending-checkout.d.mts +3 -4
  44. package/dist/stripe/pending-checkout.d.mts.map +1 -1
  45. package/dist/stripe/schema.d.cts +5 -5
  46. package/dist/stripe/schema.d.cts.map +1 -1
  47. package/dist/stripe/schema.d.mts +5 -5
  48. package/dist/stripe/schema.d.mts.map +1 -1
  49. package/dist/subscription/index.d.cts +12 -13
  50. package/dist/subscription/index.d.cts.map +1 -1
  51. package/dist/subscription/index.d.mts +12 -13
  52. package/dist/subscription/index.d.mts.map +1 -1
  53. package/dist/types.d.cts +2 -3
  54. package/dist/types.d.cts.map +1 -1
  55. package/dist/types.d.mts +2 -3
  56. package/dist/types.d.mts.map +1 -1
  57. package/package.json +6 -6
@@ -20,7 +20,7 @@ type Options = {
20
20
  appId: `${number}`;
21
21
  bundleId: string;
22
22
  };
23
- declare class AppStoreConfig<NS extends Lowercase<string> = Lowercase<string>, PE extends string = string, BP extends string = string, PL extends string = never, PI extends string = never> {
23
+ export declare class AppStoreConfig<NS extends Lowercase<string> = Lowercase<string>, PE extends string = string, BP extends string = string, PL extends string = never, PI extends string = never> {
24
24
  readonly appId: string;
25
25
  readonly bundleId: string;
26
26
  private readonly products;
@@ -45,5 +45,4 @@ declare class AppStoreConfig<NS extends Lowercase<string> = Lowercase<string>, P
45
45
  getCreditExpiresAt: (productId: string) => string;
46
46
  }
47
47
  //#endregion
48
- export { AppStoreConfig };
49
48
  //# sourceMappingURL=config.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"config.d.cts","names":[],"sources":["../../src/app-store/config.ts"],"mappings":";;cAIM;cAEA,a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A;WAES,MAAM;WACN,eAAe;WACf,QAAQ,eAAe,IAAI,IAAI,IAAI,IAAI;WACvC,UAAU,YAAY;EAE/B,kBAAkB;EAElB,YAAY,QAAQ,eAAe,IAAI,IAAI,IAAI,IAAI,KAAK,MAAM,IAAI,eAAe;;;;;;EAajF,UAAW,aAAa,MAAM,qBAAmB,WACpC,UAAU,aAAa,GAAC,WACzB,aACT,aAAa,IAAI,IAAI,IAAI,IAAI,KAAK,GAAG,IAAI;EAM5C,UAAO,kBAAsB,MAAC,eAAA,IAAA,IAAA,IAAA,IAAA;;KAW3B;EAAY;EAAoB;;qBAExB,eACX,WAAW,oBAAoB,mBAC/B,4BACA,4BACA,2BACA;WAES;WACA;mBAEQ;mBACA;mBACA;mBACA;MAEb;GAMH,aAAU,cAAkB,aAAa,IAAI,IAAI,IAAI,IAAI;UAWnD;SASA,SAAU,aAAW,mBAAmB,qBAAmB,8BAA0B,SACjF,YAAO,eAAA,MAAA,MAAA;;EAMlB,eAAgB,UAAU,IAAI,UAAU,IAAE,MAClC,GAAC,kBACW,KAAK,YAAY,aAAa,MAAC,aAAA,IAAA,IAAA,IAAA,QAAA,KAAA,KAAA;EAMnD,aAAc,aAAa,MAAM,qBAAmB,WACvC,UAAU,aAAa,GAAC,WACzB,aAKK,eAAe,IAAI,IAAI,IAAI,IAAI,KAAK;EAGrD,gBAAiB,aAAa,MAAM,qBAAmB,WAAa,UAAU,aAAa,MAI1E,eAAe,IAAI,IAAI,IAAI,IAAI,KAAK;;EAIrD,sBAAmB,MAAU,IAAE,eAAiB;EAUhD,UAAO,sBAAwB;EAO/B,mBAAgB,sBAAwB;EAOxC,UAAO;EAQP,kBAAe;mBAOE;EAMjB,qBAAkB"}
@@ -20,7 +20,7 @@ type Options = {
20
20
  appId: `${number}`;
21
21
  bundleId: string;
22
22
  };
23
- declare class AppStoreConfig<NS extends Lowercase<string> = Lowercase<string>, PE extends string = string, BP extends string = string, PL extends string = never, PI extends string = never> {
23
+ export declare class AppStoreConfig<NS extends Lowercase<string> = Lowercase<string>, PE extends string = string, BP extends string = string, PL extends string = never, PI extends string = never> {
24
24
  readonly appId: string;
25
25
  readonly bundleId: string;
26
26
  private readonly products;
@@ -45,5 +45,4 @@ declare class AppStoreConfig<NS extends Lowercase<string> = Lowercase<string>, P
45
45
  getCreditExpiresAt: (productId: string) => string;
46
46
  }
47
47
  //#endregion
48
- export { AppStoreConfig };
49
48
  //# sourceMappingURL=config.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"config.d.mts","names":[],"sources":["../../src/app-store/config.ts"],"mappings":";;cAIM;cAEA,aACJ,WAAW,oBAAoB,mBAC/B,4BACA,4BACA,2BACA,2BACA;WAES,MAAM;WACN,eAAe;WACf,QAAQ,eAAe,IAAI,IAAI,IAAI,IAAI;WACvC,UAAU,YAAY;EAE/B,kBAAkB;EAElB,YAAY,QAAQ,eAAe,IAAI,IAAI,IAAI,IAAI,KAAK,MAAM,IAAI,eAAe;;;;;;EAajF,UAAW,aAAa,MAAM,qBAAmB,WACpC,UAAU,aAAa,GAAC,WACzB,aACT,aAAa,IAAI,IAAI,IAAI,IAAI,KAAK,GAAG,IAAI;EAM5C,UAAO,kBAAsB,MAAC,eAAA,IAAA,IAAA,IAAA,IAAA;;KAW3B;EAAY;EAAoB;;cAExB,eACX,WAAW,oBAAoB,mBAC/B,4BACA,4BACA,2BACA;WAES;WACA;mBAEQ;mBACA;mBACA;mBACA;MAEb;GAMH,aAAU,cAAkB,aAAa,IAAI,IAAI,IAAI,IAAI;UAWnD;SASA,SAAU,aAAW,mBAAmB,qBAAmB,8BAA0B,SACjF,YAAO,eAAA,MAAA,MAAA;;EAMlB,eAAgB,UAAU,IAAI,UAAU,IAAE,MAClC,GAAC,kBACW,KAAK,YAAY,aAAa,MAAC,aAAA,IAAA,IAAA,IAAA,QAAA,KAAA,KAAA;EAMnD,aAAc,aAAa,MAAM,qBAAmB,WACvC,UAAU,aAAa,GAAC,WACzB,aAKK,eAAe,IAAI,IAAI,I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AmB,WAAa,UAAU,aAAa,MAI1E,eAAe,IAAI,IAAI,IAAI,IAAI,KAAK;;EAIrD,sBAAmB,MAAU,IAAE,eAAiB;EAUhD,UAAO,sBAAwB;EAO/B,mBAAgB,sBAAwB;EAOxC,UAAO;EAQP,kBAAe;mBAOE;EAMjB,qBAAkB"}
@@ -1,6 +1,6 @@
1
1
  import { JWSRenewalInfoDecodedPayload, JWSTransactionDecodedPayload, NotificationTypeV2, ResponseBodyV2DecodedPayload } from "@apple/app-store-server-library";
2
2
  //#region src/app-store/handler.d.ts
3
- interface AppStoreNotificationEvent {
3
+ export interface AppStoreNotificationEvent {
4
4
  payload: ResponseBodyV2DecodedPayload;
5
5
  transaction: JWSTransactionDecodedPayload | null;
6
6
  renewalInfo: JWSRenewalInfoDecodedPayload | null;
@@ -12,7 +12,7 @@ type NotificationHandlerFn = (event: AppStoreNotificationEvent) => Promise<void>
12
12
  * renewalInfo) first and passes the decoded event in. Subtype branching stays inside each
13
13
  * handler: Apple subtypes share the handler's derived context and are usually a few lines each.
14
14
  */
15
- declare class AppStoreNotificationHandler {
15
+ export declare class AppStoreNotificationHandler {
16
16
  private readonly handlers;
17
17
  private constructor();
18
18
  static create(): AppStoreNotificationHandler;
@@ -20,5 +20,4 @@ declare class AppStoreNotificationHandler {
20
20
  process: (event: AppStoreNotificationEvent) => Promise<void>;
21
21
  }
22
22
  //#endregion
23
- export { AppStoreNotificationEvent, AppStoreNotificationHandler };
24
23
  //# sourceMappingURL=handler.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"handler.d.cts","names":[],"sources":["../../src/app-store/handler.ts"],"mappings":";;UAOiB;EACf,SAAS;EACT,aAAa;EACb,aAAa;;KAGV,yBAAyB,OAAO,8BAA8B;;;;;;;cAQtD;mBACM;UAEV;SAIA,UAAM;EAIb,KAAE,MAAU,oBAAkB,SAAW;EASzC,UAAO,OAAiB,8BAA4B"}
1
+ {"version":3,"file":"handler.d.cts","names":[],"sources":["../../src/app-store/handler.ts"],"mappings":";;iBAOiB;EACf,SAAS;EACT,aAAa;EACb,aAAa;;KAGV,yBAAyB,OAAO,8BAA8B;;;;;;;qBAQtD;mBACM;UAEV;SAIA,UAAM;EAIb,KAAE,MAAU,oBAAkB,SAAW;EASzC,UAAO,OAAiB,8BAA4B"}
@@ -1,6 +1,6 @@
1
1
  import { JWSRenewalInfoDecodedPayload, JWSTransactionDecodedPayload, NotificationTypeV2, ResponseBodyV2DecodedPayload } from "@apple/app-store-server-library";
2
2
  //#region src/app-store/handler.d.ts
3
- interface AppStoreNotificationEvent {
3
+ export interface AppStoreNotificationEvent {
4
4
  payload: ResponseBodyV2DecodedPayload;
5
5
  transaction: JWSTransactionDecodedPayload | null;
6
6
  renewalInfo: JWSRenewalInfoDecodedPayload | null;
@@ -12,7 +12,7 @@ type NotificationHandlerFn = (event: AppStoreNotificationEvent) => Promise<void>
12
12
  * renewalInfo) first and passes the decoded event in. Subtype branching stays inside each
13
13
  * handler: Apple subtypes share the handler's derived context and are usually a few lines each.
14
14
  */
15
- declare class AppStoreNotificationHandler {
15
+ export declare class AppStoreNotificationHandler {
16
16
  private readonly handlers;
17
17
  private constructor();
18
18
  static create(): AppStoreNotificationHandler;
@@ -20,5 +20,4 @@ declare class AppStoreNotificationHandler {
20
20
  process: (event: AppStoreNotificationEvent) => Promise<void>;
21
21
  }
22
22
  //#endregion
23
- export { AppStoreNotificationEvent, AppStoreNotificationHandler };
24
23
  //# sourceMappingURL=handler.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"handler.d.mts","names":[],"sources":["../../src/app-store/handler.ts"],"mappings":";;UAOiB;EACf,SAAS;EACT,aAAa;EACb,aAAa;;KAGV,yBAAyB,OAAO,8BAA8B;;;;;;;cAQtD;mBACM;UAEV;SAIA,UAAM;EAIb,KAAE,MAAU,oBAAkB,SAAW;EASzC,UAAO,OAAiB,8BAA4B"}
1
+ {"version":3,"file":"handler.d.mts","names":[],"sources":["../../src/app-store/handler.ts"],"mappings":";;iBAOiB;EACf,SAAS;EACT,aAAa;EACb,aAAa;;KAGV,yBAAyB,OAAO,8BAA8B;;;;;;;qBAQtD;mBACM;UAEV;SAIA,UAAM;EAIb,KAAE,MAAU,oBAAkB,SAAW;EASzC,UAAO,OAAiB,8BAA4B"}
@@ -6,7 +6,7 @@ import { CancellationDetails } from "../subscription/index.cjs";
6
6
  * expired. Strings and numbers as Apple sends them, so this needs no runtime import of the
7
7
  * App Store Server Library.
8
8
  */
9
- interface AppStoreCancellationSource {
9
+ export interface AppStoreCancellationSource {
10
10
  notificationType: string;
11
11
  subtype?: string | null;
12
12
  /** `JWSRenewalInfoDecodedPayload.expirationIntent`: 1 customer, 2 billing, 3 price increase, 4 unavailable, 5 other. */
@@ -19,7 +19,6 @@ interface AppStoreCancellationSource {
19
19
  * ref: [notificationType](https://developer.apple.com/documentation/appstoreservernotifications/notificationtype)
20
20
  * ref: [expirationIntent](https://developer.apple.com/documentation/appstoreserverapi/expirationintent)
21
21
  */
22
- declare function mapCancellationDetails(source: AppStoreCancellationSource): CancellationDetails | null;
22
+ export declare function mapCancellationDetails(source: AppStoreCancellationSource): CancellationDetails | null;
23
23
  //#endregion
24
- export { AppStoreCancellationSource, mapCancellationDetails };
25
24
  //# sourceMappingURL=mapper.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"mapper.d.cts","names":[],"sources":["../../src/app-store/mapper.ts"],"mappings":";;;;;;;;UAQiB;EACf;EACA;;EAEA;;;;;;;;;iBAUc,uBACd,QAAQ,6BACP"}
1
+ {"version":3,"file":"mapper.d.cts","names":[],"sources":["../../src/app-store/mapper.ts"],"mappings":";;;;;;;;iBAQiB;EACf;EACA;;EAEA;;;;;;;;;wBAUc,uBACd,QAAQ,6BACP"}
@@ -6,7 +6,7 @@ import { CancellationDetails } from "../subscription/index.mjs";
6
6
  * expired. Strings and numbers as Apple sends them, so this needs no runtime import of the
7
7
  * App Store Server Library.
8
8
  */
9
- interface AppStoreCancellationSource {
9
+ export interface AppStoreCancellationSource {
10
10
  notificationType: string;
11
11
  subtype?: string | null;
12
12
  /** `JWSRenewalInfoDecodedPayload.expirationIntent`: 1 customer, 2 billing, 3 price increase, 4 unavailable, 5 other. */
@@ -19,7 +19,6 @@ interface AppStoreCancellationSource {
19
19
  * ref: [notificationType](https://developer.apple.com/documentation/appstoreservernotifications/notificationtype)
20
20
  * ref: [expirationIntent](https://developer.apple.com/documentation/appstoreserverapi/expirationintent)
21
21
  */
22
- declare function mapCancellationDetails(source: AppStoreCancellationSource): CancellationDetails | null;
22
+ export declare function mapCancellationDetails(source: AppStoreCancellationSource): CancellationDetails | null;
23
23
  //#endregion
24
- export { AppStoreCancellationSource, mapCancellationDetails };
25
24
  //# sourceMappingURL=mapper.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"mapper.d.mts","names":[],"sources":["../../src/app-store/mapper.ts"],"mappings":";;;;;;;;UAQiB;EACf;EACA;;EAEA;;;;;;;;;iBAUc,uBACd,QAAQ,6BACP"}
1
+ {"version":3,"file":"mapper.d.mts","names":[],"sources":["../../src/app-store/mapper.ts"],"mappings":";;;;;;;;iBAQiB;EACf;EACA;;EAEA;;;;;;;;;wBAUc,uBACd,QAAQ,6BACP"}
@@ -22,7 +22,7 @@ type Options = {
22
22
  package: string;
23
23
  audience: string;
24
24
  };
25
- declare class GooglePlayConfig<NS extends Lowercase<string> = Lowercase<string>, PE extends string = string, BP extends string = string, PI extends string = never> {
25
+ export declare class GooglePlayConfig<NS extends Lowercase<string> = Lowercase<string>, PE extends string = string, BP extends string = string, PI extends string = never> {
26
26
  readonly package: string;
27
27
  readonly audience: string;
28
28
  private readonly onetimes;
@@ -44,5 +44,4 @@ declare class GooglePlayConfig<NS extends Lowercase<string> = Lowercase<string>,
44
44
  getCreditExpiresAt: (productId: string, planId?: string) => string;
45
45
  }
46
46
  //#endregion
47
- export { GooglePlayConfig };
48
47
  //# sourceMappingURL=config.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"config.d.cts","names":[],"sources":["../../src/google-play/config.ts"],"mappings":";;cAIM;cAEA,aACJ,WAAW,oBAAoB,mBAC/B,4BACA,4BACA,2BACA,UAAU;WAED;WACA,QAAQ,iBAAiB,IAAI,IAAI,IAAI;WACrC,OAAO,YAAY;IAAa,OAAO;IAAI,gBAAgB;;WAC3D,cAAc;EAEvB,YAAY,QAAQ,iBAAiB,IAAI,IAAI,IAAI,KAAK;;;;;;EAYtD,WAAY,UAAU,mBAAiB,QAC7B,UAAU,YAAY,GAAC,MACzB,IAAE,eACO,IAAE,WACP,aACT,aAAa,IAAI,IAAI,IAAI,IAAI,IAAI;EAMpC,gBAAiB,oBAAoB,MAAM,MAAI,SACpC,KAAK,SAAS,uCAAkC,iBAAA,IAAA,IAAA,IAAA;;KAWxD;EAAY;EAAiB;;cAErB,iBACX,WAAW,oBAAoB,mBAC/B,4BACA,4BACA;WAES;WACA;mBACQ;mBACA;mBACA;GAIhB,aAAU,cAAkB,aAAa,IAAI,IAAI,IAAI;mBAcrC;UAIV;SAQA,SACL,aAAW,mBACX,8BACA,8BAA0B,SAEjB,YAAO,iBAAA,MAAA,MAAA;EAKlB,eAAgB,aAAa,MAAM,qBAAmB,WAAa,UAAU,aAAa,MAAC,aAAA,IAAA,IAAA,IAAA,IAAA;EAI3F,UAAW,aAAa,MAAM,qBAAmB,WACpC,UAAU,aAAa,GAAC,WACzB,aAKK,iBAAiB,IAAI,IAAI,IAAI,KAAK;;EAInD,oBAAiB;EAMjB,UAAO,mBAAqB,mBAAmB;EAQ/C,mBAAgB,mBAAqB,mBAAmB;EAQxD,UAAO;EAMP,kBAAe,mBAAqB;mBAOnB;EAOjB,qBAAkB,mBAAqB"}
1
+ {"version":3,"file":"config.d.cts","names":[],"sources":["../../src/google-play/config.ts"],"mappings":";;cAIM;cAEA,aACJ,WAAW,oBAAoB,mBAC/B,4BACA,4BACA,2BACA,UAAU;WAED;WACA,QAAQ,iBAAiB,IAAI,IAAI,IAAI;WACrC,OAAO,YAAY;IAAa,OAAO;IAAI,gBAAgB;;WAC3D,cAAc;EAEvB,YAAY,QAAQ,iBAAiB,IAAI,IAAI,IAAI,KAAK;;;;;;EAYtD,WAAY,UAAU,mBAAiB,QAC7B,UAAU,YAAY,GAAC,MACzB,IAAE,eACO,IAAE,WACP,aACT,aAAa,IAAI,IAAI,IAAI,IAAI,IAAI;EAMpC,gBAAiB,oBAAoB,MAAM,MAAI,SACpC,KAAK,SAAS,uCAAkC,iBAAA,IAAA,IAAA,IAAA;;KAWxD;EAAY;EAAiB;;qBAErB,iBACX,WAAW,oBAAoB,mBAC/B,4BACA,4BACA;WAES;WACA;mBACQ;mBACA;mBACA;GAIhB,aAAU,cAAkB,aAAa,IAAI,IAAI,IAAI;mBAcrC;UAIV;SAQA,SACL,aAAW,mBACX,8BACA,8BAA0B,SAEjB,YAAO,iBAAA,MAAA,MAAA;EAKlB,eAAgB,aAAa,MAAM,qBAAmB,WAAa,UAAU,aAAa,MAAC,aAAA,IAAA,IAAA,IAAA,IAAA;EAI3F,UAAW,aAAa,MAAM,qBAAmB,WACpC,UAAU,aAAa,GAAC,WACzB,aAKK,iBAAiB,IAAI,IAAI,IAAI,KAAK;;EAInD,oBAAiB;EAMjB,UAAO,mBAAqB,mBAAmB;EAQ/C,mBAAgB,mBAAqB,mBAAmB;EAQxD,UAAO;EAMP,kBAAe,mBAAqB;mBAOnB;EAOjB,qBAAkB,mBAAqB"}
@@ -22,7 +22,7 @@ type Options = {
22
22
  package: string;
23
23
  audience: string;
24
24
  };
25
- declare class GooglePlayConfig<NS extends Lowercase<string> = Lowercase<string>, PE extends string = string, BP extends string = string, PI extends string = never> {
25
+ export declare class GooglePlayConfig<NS extends Lowercase<string> = Lowercase<string>, PE extends string = string, BP extends string = string, PI extends string = never> {
26
26
  readonly package: string;
27
27
  readonly audience: string;
28
28
  private readonly onetimes;
@@ -44,5 +44,4 @@ declare class GooglePlayConfig<NS extends Lowercase<string> = Lowercase<string>,
44
44
  getCreditExpiresAt: (productId: string, planId?: string) => string;
45
45
  }
46
46
  //#endregion
47
- export { GooglePlayConfig };
48
47
  //# sourceMappingURL=config.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"config.d.mts","names":[],"sources":["../../src/google-play/config.ts"],"mappings":";;cAIM;cAEA,aACJ,WAAW,oBAAoB,mBAC/B,4BACA,4BACA,2BACA,UAAU;WAED;WACA,QAAQ,iBAAiB,IAAI,IAAI,IAAI;WACrC,OAAO,YAAY;IAAa,OAAO;IAAI,gBAAgB;;WAC3D,cAAc;EAEvB,YAAY,QAAQ,iBAAiB,IAAI,IAAI,IAAI,KAAK;;;;;;EAYtD,WAAY,UAAU,mBAAiB,QAC7B,UAAU,YAAY,GAAC,MACzB,IAAE,eACO,IAAE,WACP,aACT,aAAa,IAAI,IAAI,IAAI,IAAI,IAAI;EAMpC,gBAAiB,oBAAoB,MAAM,MAAI,SACpC,KAAK,SAAS,uCAAkC,iBAAA,IAAA,IAAA,IAAA;;KAWxD;EAAY;EAAiB;;cAErB,iBACX,WAAW,oBAAoB,mBAC/B,4BACA,4BACA;WAES;WACA;mBACQ;mBACA;mBACA;GAIhB,aAAU,cAAkB,aAAa,IAAI,IAAI,IAAI;mBAcrC;UAIV;SAQA,SACL,aAAW,mBACX,8BACA,8BAA0B,SAEjB,YAAO,iBAAA,MAAA,MAAA;EAKlB,eAAgB,aAAa,MAAM,qBAAmB,WAAa,UAAU,aAAa,MAAC,aAAA,IAAA,IAAA,IAAA,IAAA;EAI3F,UAAW,aAAa,MAAM,qBAAmB,WACpC,UAAU,aAAa,GAAC,WACzB,aAKK,iBAAiB,IAAI,IAAI,IAAI,KAAK;;EAInD,oBAAiB;EAMjB,UAAO,mBAAqB,mBAAmB;EAQ/C,mBAAgB,mBAAqB,mBAAmB;EAQxD,UAAO;EAMP,kBAAe,mBAAqB;mBAOnB;EAOjB,qBAAkB,mBAAqB"}
1
+ {"version":3,"file":"config.d.mts","names":[],"sources":["../../src/google-play/config.ts"],"mappings":";;cAIM;cAEA,aACJ,WAAW,oBAAoB,mBAC/B,4BACA,4BACA,2BACA,UAAU;WAED;WACA,QAAQ,iBAAiB,IAAI,IAAI,IAAI;WACrC,OAAO,YAAY;IAAa,OAAO;IAAI,gBAAgB;;WAC3D,cAAc;EAEvB,YAAY,QAAQ,iBAAiB,IAAI,IAAI,IAAI,KAAK;;;;;;EAYtD,WAAY,UAAU,mBAAiB,QAC7B,UAAU,YAAY,GAAC,MACzB,IAAE,eACO,IAAE,WACP,aACT,aAAa,IAAI,IAAI,IAAI,IAAI,IAAI;EAMpC,gBAAiB,oBAAoB,MAAM,MAAI,SACpC,KAAK,SAAS,uCAAkC,iBAAA,IAAA,IAAA,IAAA;;KAWxD;EAAY;EAAiB;;qBAErB,iBACX,WAAW,oBAAoB,mBAC/B,4BACA,4BACA;WAES;WACA;mBACQ;mBACA;mBACA;GAIhB,aAAU,cAAkB,aAAa,IAAI,IAAI,IAAI;mBAcrC;UAIV;SAQA,SACL,aAAW,mBACX,8BACA,8BAA0B,SAEjB,YAAO,iBAAA,MAAA,MAAA;EAKlB,eAAgB,aAAa,MAAM,qBAAmB,WAAa,UAAU,aAAa,MAAC,aAAA,IAAA,IAAA,IAAA,IAAA;EAI3F,UAAW,aAAa,MAAM,qBAAmB,WACpC,UAAU,aAAa,GAAC,WACzB,aAKK,iBAAiB,IAAI,IAAI,IAAI,KAAK;;EAInD,oBAAiB;EAMjB,UAAO,mBAAqB,mBAAmB;EAQ/C,mBAAgB,mBAAqB,mBAAmB;EAQxD,UAAO;EAMP,kBAAe,mBAAqB;mBAOnB;EAOjB,qBAAkB,mBAAqB"}
@@ -1,12 +1,12 @@
1
1
  import { CancellationDetails, SubscriptionStatus } from "../subscription/index.cjs";
2
2
  import { GooglePlaySubscriptionState } from "./real-time-developer-notification.cjs";
3
3
  //#region src/google-play/mapper.d.ts
4
- declare function mapSubscriptionStatus(state: GooglePlaySubscriptionState): SubscriptionStatus;
4
+ export declare function mapSubscriptionStatus(state: GooglePlaySubscriptionState): SubscriptionStatus;
5
5
  /**
6
6
  * `canceledStateContext` of `purchases.subscriptionsv2.get`, declared structurally so this
7
7
  * module does not depend on the Play Developer API client.
8
8
  */
9
- interface CanceledStateContext {
9
+ export interface CanceledStateContext {
10
10
  userInitiatedCancellation?: {
11
11
  cancelTime?: string | null;
12
12
  cancelSurveyResult?: {
@@ -24,12 +24,11 @@ interface CanceledStateContext {
24
24
  * the subscription renews, and for a replacement: that is the linked purchase taking over, not a
25
25
  * cancellation to report.
26
26
  */
27
- declare function mapCancellationDetails(context: CanceledStateContext | null | undefined): CancellationDetails | null;
27
+ export declare function mapCancellationDetails(context: CanceledStateContext | null | undefined): CancellationDetails | null;
28
28
  /**
29
29
  * When the subscription was cancelled. Only a user cancellation carries the time; for the others
30
30
  * the caller falls back to when it learnt of it.
31
31
  */
32
- declare function mapCanceledAt(context: CanceledStateContext | null | undefined): string | null;
32
+ export declare function mapCanceledAt(context: CanceledStateContext | null | undefined): string | null;
33
33
  //#endregion
34
- export { CanceledStateContext, mapCanceledAt, mapCancellationDetails, mapSubscriptionStatus };
35
34
  //# sourceMappingURL=mapper.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"mapper.d.cts","names":[],"sources":["../../src/google-play/mapper.ts"],"mappings":";;;iBAGgB,sBAAsB,OAAO,8BAA8B;;;;;UAoC1D;EACf;IACE;IACA;MAAuB;MAAwB;;;EAEjD;EACA;EACA;;;;;;;;iBASc,uBACd,SAAS,0CACR;;;;;iBAwBa,cAAc,SAAS"}
1
+ {"version":3,"file":"mapper.d.cts","names":[],"sources":["../../src/google-play/mapper.ts"],"mappings":";;;wBAGgB,sBAAsB,OAAO,8BAA8B;;;;;iBAoC1D;EACf;IACE;IACA;MAAuB;MAAwB;;;EAEjD;EACA;EACA;;;;;;;;wBASc,uBACd,SAAS,0CACR;;;;;wBAwBa,cAAc,SAAS"}
@@ -1,12 +1,12 @@
1
1
  import { CancellationDetails, SubscriptionStatus } from "../subscription/index.mjs";
2
2
  import { GooglePlaySubscriptionState } from "./real-time-developer-notification.mjs";
3
3
  //#region src/google-play/mapper.d.ts
4
- declare function mapSubscriptionStatus(state: GooglePlaySubscriptionState): SubscriptionStatus;
4
+ export declare function mapSubscriptionStatus(state: GooglePlaySubscriptionState): SubscriptionStatus;
5
5
  /**
6
6
  * `canceledStateContext` of `purchases.subscriptionsv2.get`, declared structurally so this
7
7
  * module does not depend on the Play Developer API client.
8
8
  */
9
- interface CanceledStateContext {
9
+ export interface CanceledStateContext {
10
10
  userInitiatedCancellation?: {
11
11
  cancelTime?: string | null;
12
12
  cancelSurveyResult?: {
@@ -24,12 +24,11 @@ interface CanceledStateContext {
24
24
  * the subscription renews, and for a replacement: that is the linked purchase taking over, not a
25
25
  * cancellation to report.
26
26
  */
27
- declare function mapCancellationDetails(context: CanceledStateContext | null | undefined): CancellationDetails | null;
27
+ export declare function mapCancellationDetails(context: CanceledStateContext | null | undefined): CancellationDetails | null;
28
28
  /**
29
29
  * When the subscription was cancelled. Only a user cancellation carries the time; for the others
30
30
  * the caller falls back to when it learnt of it.
31
31
  */
32
- declare function mapCanceledAt(context: CanceledStateContext | null | undefined): string | null;
32
+ export declare function mapCanceledAt(context: CanceledStateContext | null | undefined): string | null;
33
33
  //#endregion
34
- export { CanceledStateContext, mapCanceledAt, mapCancellationDetails, mapSubscriptionStatus };
35
34
  //# sourceMappingURL=mapper.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"mapper.d.mts","names":[],"sources":["../../src/google-play/mapper.ts"],"mappings":";;;iBAGgB,sBAAsB,OAAO,8BAA8B;;;;;UAoC1D;EACf;IACE;IACA;MAAuB;MAAwB;;;EAEjD;EACA;EACA;;;;;;;;iBASc,uBACd,SAAS,0CACR;;;;;iBAwBa,cAAc,SAAS"}
1
+ {"version":3,"file":"mapper.d.mts","names":[],"sources":["../../src/google-play/mapper.ts"],"mappings":";;;wBAGgB,sBAAsB,OAAO,8BAA8B;;;;;iBAoC1D;EACf;IACE;IACA;MAAuB;MAAwB;;;EAEjD;EACA;EACA;;;;;;;;wBASc,uBACd,SAAS,0CACR;;;;;wBAwBa,cAAc,SAAS"}
@@ -1,5 +1,5 @@
1
1
  //#region src/google-play/real-time-developer-notification.d.ts
2
- type PubsubMessage = {
2
+ export type PubsubMessage = {
3
3
  data: string;
4
4
  attributes: Record<string, string>;
5
5
  messageId: string;
@@ -7,7 +7,7 @@ type PubsubMessage = {
7
7
  orderingKey: string;
8
8
  };
9
9
  /** https://developer.android.com/google/play/billing/rtdn-reference */
10
- interface DeveloperNotification {
10
+ export interface DeveloperNotification {
11
11
  version: string;
12
12
  packageName: string;
13
13
  eventTimeMillis: number;
@@ -19,7 +19,7 @@ interface DeveloperNotification {
19
19
  /**
20
20
  * [Real-time developer notifications reference guide](https://developer.android.com/google/play/billing/rtdn-reference)
21
21
  * */
22
- declare const SubscriptionNotificationType: {
22
+ export declare const SubscriptionNotificationType: {
23
23
  /** A subscription was recovered from account hold. */
24
24
  readonly SUBSCRIPTION_RECOVERED: 1;
25
25
  /** An active subscription was renewed. */
@@ -57,37 +57,37 @@ declare const SubscriptionNotificationType: {
57
57
  /** A pending transaction of a subscription has been canceled. */
58
58
  readonly SUBSCRIPTION_PENDING_PURCHASE_CANCELED: 20;
59
59
  };
60
- type SubscriptionNotificationType = (typeof SubscriptionNotificationType)[keyof typeof SubscriptionNotificationType];
61
- interface SubscriptionNotification {
60
+ export type SubscriptionNotificationType = (typeof SubscriptionNotificationType)[keyof typeof SubscriptionNotificationType];
61
+ export interface SubscriptionNotification {
62
62
  version: string;
63
63
  purchaseToken: string;
64
64
  notificationType: SubscriptionNotificationType;
65
65
  }
66
- declare const OneTimeProductNotificationType: {
66
+ export declare const OneTimeProductNotificationType: {
67
67
  /** A one-time product was successfully purchased by a user. */
68
68
  readonly ONE_TIME_PRODUCT_PURCHASED: 1;
69
69
  /** A pending one-time product purchase has been canceled by the user. */
70
70
  readonly ONE_TIME_PRODUCT_CANCELED: 2;
71
71
  };
72
- type OneTimeProductNotificationType = (typeof OneTimeProductNotificationType)[keyof typeof OneTimeProductNotificationType];
73
- interface OneTimeProductNotification {
72
+ export type OneTimeProductNotificationType = (typeof OneTimeProductNotificationType)[keyof typeof OneTimeProductNotificationType];
73
+ export interface OneTimeProductNotification {
74
74
  version: string;
75
75
  sku: string;
76
76
  purchaseToken: string;
77
77
  notificationType: OneTimeProductNotificationType;
78
78
  }
79
- declare const VoidedPurchaseProductType: {
79
+ export declare const VoidedPurchaseProductType: {
80
80
  /** A subscription purchase has been voided. */
81
81
  readonly PRODUCT_TYPE_SUBSCRIPTION: 1;
82
82
  /** A one-time purchase has been voided. */
83
83
  readonly PRODUCT_TYPE_ONE_TIME: 2;
84
84
  };
85
- type VoidedPurchaseProductType = (typeof VoidedPurchaseProductType)[keyof typeof VoidedPurchaseProductType];
85
+ export type VoidedPurchaseProductType = (typeof VoidedPurchaseProductType)[keyof typeof VoidedPurchaseProductType];
86
86
  /**
87
87
  * Note when the remaining total quantity of a multi-quantity purchase is refunded, the refundType
88
88
  * will be REFUND_TYPE_FULL_REFUND.
89
89
  */
90
- declare const VoidedPurchaseRefundType: {
90
+ export declare const VoidedPurchaseRefundType: {
91
91
  /** The purchase has been fully voided. */
92
92
  readonly REFUND_TYPE_FULL_REFUND: 1;
93
93
  /**
@@ -96,18 +96,18 @@ declare const VoidedPurchaseRefundType: {
96
96
  */
97
97
  readonly REFUND_TYPE_QUANTITY_BASED_PARTIAL_REFUND: 2;
98
98
  };
99
- type VoidedPurchaseRefundType = (typeof VoidedPurchaseRefundType)[keyof typeof VoidedPurchaseRefundType];
100
- interface VoidedPurchaseNotification {
99
+ export type VoidedPurchaseRefundType = (typeof VoidedPurchaseRefundType)[keyof typeof VoidedPurchaseRefundType];
100
+ export interface VoidedPurchaseNotification {
101
101
  purchaseToken: string;
102
102
  orderId: string;
103
103
  productType: VoidedPurchaseProductType;
104
104
  refundType: VoidedPurchaseRefundType;
105
105
  }
106
- interface TestNotification {
106
+ export interface TestNotification {
107
107
  version: string;
108
108
  }
109
109
  /** ref: https://developers.google.com/android-publisher/api-ref/rest/v3/purchases.subscriptionsv2#SubscriptionState */
110
- declare const GOOGLE_PLAY_SUBSCRIPTION_STATES: readonly [
110
+ export declare const GOOGLE_PLAY_SUBSCRIPTION_STATES: readonly [
111
111
  /** Unspecified subscription state. */
112
112
  'SUBSCRIPTION_STATE_UNSPECIFIED',
113
113
  /**
@@ -148,7 +148,6 @@ declare const GOOGLE_PLAY_SUBSCRIPTION_STATES: readonly [
148
148
  * subscription, use linkedPurchaseToken to get the current state of that subscription.
149
149
  */
150
150
  'SUBSCRIPTION_STATE_PENDING_PURCHASE_CANCELED'];
151
- type GooglePlaySubscriptionState = (typeof GOOGLE_PLAY_SUBSCRIPTION_STATES)[number];
151
+ export type GooglePlaySubscriptionState = (typeof GOOGLE_PLAY_SUBSCRIPTION_STATES)[number];
152
152
  //#endregion
153
- export { DeveloperNotification, GOOGLE_PLAY_SUBSCRIPTION_STATES, GooglePlaySubscriptionState, OneTimeProductNotification, OneTimeProductNotificationType, PubsubMessage, SubscriptionNotification, SubscriptionNotificationType, TestNotification, VoidedPurchaseNotification, VoidedPurchaseProductType, VoidedPurchaseRefundType };
154
153
  //# sourceMappingURL=real-time-developer-notification.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"real-time-developer-notification.d.cts","names":[],"sources":["../../src/google-play/real-time-developer-notification.ts"],"mappings":";KACY;EACV;EACA,YAAY;EACZ;EACA;EACA;;;UAIe;EACf;EACA;EACA;EACA,0BAA0B;EAC1B,4BAA4B;EAC5B,4BAA4B;EAC5B,kBAAkB;;;;;cAMP;;WAEX;;WAGA;;;;;WAMA;;WAGA;;WAGA;;WAGA;;;;;WAMA;;WAGA;;WAGA;;WAGA;;WAGA;;WAGA;;WAGA;;WAGA;;WAGA;;KAGU,uCACF,2CAA2C;UAEpC;EACf;EACA;EACA,kBAAkB;;cAGP;;WAEX;;WAGA;;KAGU,yCACF,6CAA6C;UAEtC;EACf;EACA;EACA;EACA,kBAAkB;;cAGP;;WAEX;;WAGA;;KAGU,oCACF,wCAAwC;;;;;cAMrC;;WAEX;;;;;WAMA;;KAGU,mCACF,uCAAuC;UAEhC;EACf;EACA;EACA,aAAa;EACb,YAAY;;UAGG;EACf;;;cAIW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAmDD,sCAAsC"}
1
+ {"version":3,"file":"real-time-developer-notification.d.cts","names":[],"sources":["../../src/google-play/real-time-developer-notification.ts"],"mappings":";YACY;EACV;EACA,YAAY;EACZ;EACA;EACA;;;iBAIe;EACf;EACA;EACA;EACA,0BAA0B;EAC1B,4BAA4B;EAC5B,4BAA4B;EAC5B,kBAAkB;;;;;qBAMP;;WAEX;;WAGA;;;;;WAMA;;WAGA;;WAGA;;WAGA;;;;;WAMA;;WAGA;;WAGA;;WAGA;;WAGA;;WAGA;;WAGA;;WAGA;;WAGA;;YAGU,uCACF,2CAA2C;iBAEpC;EACf;EACA;EACA,kBAAkB;;qBAGP;;WAEX;;WAGA;;YAGU,yCACF,6CAA6C;iBAEtC;EACf;EACA;EACA;EACA,kBAAkB;;qBAGP;;WAEX;;WAGA;;YAGU,oCACF,wCAAwC;;;;;qBAMrC;;WAEX;;;;;WAMA;;YAGU,mCACF,uCAAuC;iBAEhC;EACf;EACA;EACA,aAAa;EACb,YAAY;;iBAGG;EACf;;;qBAIW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YAmDD,sCAAsC"}
@@ -1,5 +1,5 @@
1
1
  //#region src/google-play/real-time-developer-notification.d.ts
2
- type PubsubMessage = {
2
+ export type PubsubMessage = {
3
3
  data: string;
4
4
  attributes: Record<string, string>;
5
5
  messageId: string;
@@ -7,7 +7,7 @@ type PubsubMessage = {
7
7
  orderingKey: string;
8
8
  };
9
9
  /** https://developer.android.com/google/play/billing/rtdn-reference */
10
- interface DeveloperNotification {
10
+ export interface DeveloperNotification {
11
11
  version: string;
12
12
  packageName: string;
13
13
  eventTimeMillis: number;
@@ -19,7 +19,7 @@ interface DeveloperNotification {
19
19
  /**
20
20
  * [Real-time developer notifications reference guide](https://developer.android.com/google/play/billing/rtdn-reference)
21
21
  * */
22
- declare const SubscriptionNotificationType: {
22
+ export declare const SubscriptionNotificationType: {
23
23
  /** A subscription was recovered from account hold. */
24
24
  readonly SUBSCRIPTION_RECOVERED: 1;
25
25
  /** An active subscription was renewed. */
@@ -57,37 +57,37 @@ declare const SubscriptionNotificationType: {
57
57
  /** A pending transaction of a subscription has been canceled. */
58
58
  readonly SUBSCRIPTION_PENDING_PURCHASE_CANCELED: 20;
59
59
  };
60
- type SubscriptionNotificationType = (typeof SubscriptionNotificationType)[keyof typeof SubscriptionNotificationType];
61
- interface SubscriptionNotification {
60
+ export type SubscriptionNotificationType = (typeof SubscriptionNotificationType)[keyof typeof SubscriptionNotificationType];
61
+ export interface SubscriptionNotification {
62
62
  version: string;
63
63
  purchaseToken: string;
64
64
  notificationType: SubscriptionNotificationType;
65
65
  }
66
- declare const OneTimeProductNotificationType: {
66
+ export declare const OneTimeProductNotificationType: {
67
67
  /** A one-time product was successfully purchased by a user. */
68
68
  readonly ONE_TIME_PRODUCT_PURCHASED: 1;
69
69
  /** A pending one-time product purchase has been canceled by the user. */
70
70
  readonly ONE_TIME_PRODUCT_CANCELED: 2;
71
71
  };
72
- type OneTimeProductNotificationType = (typeof OneTimeProductNotificationType)[keyof typeof OneTimeProductNotificationType];
73
- interface OneTimeProductNotification {
72
+ export type OneTimeProductNotificationType = (typeof OneTimeProductNotificationType)[keyof typeof OneTimeProductNotificationType];
73
+ export interface OneTimeProductNotification {
74
74
  version: string;
75
75
  sku: string;
76
76
  purchaseToken: string;
77
77
  notificationType: OneTimeProductNotificationType;
78
78
  }
79
- declare const VoidedPurchaseProductType: {
79
+ export declare const VoidedPurchaseProductType: {
80
80
  /** A subscription purchase has been voided. */
81
81
  readonly PRODUCT_TYPE_SUBSCRIPTION: 1;
82
82
  /** A one-time purchase has been voided. */
83
83
  readonly PRODUCT_TYPE_ONE_TIME: 2;
84
84
  };
85
- type VoidedPurchaseProductType = (typeof VoidedPurchaseProductType)[keyof typeof VoidedPurchaseProductType];
85
+ export type VoidedPurchaseProductType = (typeof VoidedPurchaseProductType)[keyof typeof VoidedPurchaseProductType];
86
86
  /**
87
87
  * Note when the remaining total quantity of a multi-quantity purchase is refunded, the refundType
88
88
  * will be REFUND_TYPE_FULL_REFUND.
89
89
  */
90
- declare const VoidedPurchaseRefundType: {
90
+ export declare const VoidedPurchaseRefundType: {
91
91
  /** The purchase has been fully voided. */
92
92
  readonly REFUND_TYPE_FULL_REFUND: 1;
93
93
  /**
@@ -96,18 +96,18 @@ declare const VoidedPurchaseRefundType: {
96
96
  */
97
97
  readonly REFUND_TYPE_QUANTITY_BASED_PARTIAL_REFUND: 2;
98
98
  };
99
- type VoidedPurchaseRefundType = (typeof VoidedPurchaseRefundType)[keyof typeof VoidedPurchaseRefundType];
100
- interface VoidedPurchaseNotification {
99
+ export type VoidedPurchaseRefundType = (typeof VoidedPurchaseRefundType)[keyof typeof VoidedPurchaseRefundType];
100
+ export interface VoidedPurchaseNotification {
101
101
  purchaseToken: string;
102
102
  orderId: string;
103
103
  productType: VoidedPurchaseProductType;
104
104
  refundType: VoidedPurchaseRefundType;
105
105
  }
106
- interface TestNotification {
106
+ export interface TestNotification {
107
107
  version: string;
108
108
  }
109
109
  /** ref: https://developers.google.com/android-publisher/api-ref/rest/v3/purchases.subscriptionsv2#SubscriptionState */
110
- declare const GOOGLE_PLAY_SUBSCRIPTION_STATES: readonly [
110
+ export declare const GOOGLE_PLAY_SUBSCRIPTION_STATES: readonly [
111
111
  /** Unspecified subscription state. */
112
112
  'SUBSCRIPTION_STATE_UNSPECIFIED',
113
113
  /**
@@ -148,7 +148,6 @@ declare const GOOGLE_PLAY_SUBSCRIPTION_STATES: readonly [
148
148
  * subscription, use linkedPurchaseToken to get the current state of that subscription.
149
149
  */
150
150
  'SUBSCRIPTION_STATE_PENDING_PURCHASE_CANCELED'];
151
- type GooglePlaySubscriptionState = (typeof GOOGLE_PLAY_SUBSCRIPTION_STATES)[number];
151
+ export type GooglePlaySubscriptionState = (typeof GOOGLE_PLAY_SUBSCRIPTION_STATES)[number];
152
152
  //#endregion
153
- export { DeveloperNotification, GOOGLE_PLAY_SUBSCRIPTION_STATES, GooglePlaySubscriptionState, OneTimeProductNotification, OneTimeProductNotificationType, PubsubMessage, SubscriptionNotification, SubscriptionNotificationType, TestNotification, VoidedPurchaseNotification, VoidedPurchaseProductType, VoidedPurchaseRefundType };
154
153
  //# sourceMappingURL=real-time-developer-notification.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"real-time-developer-notification.d.mts","names":[],"sources":["../../src/google-play/real-time-developer-notification.ts"],"mappings":";KACY;EACV;EACA,YAAY;EACZ;EACA;EACA;;;UAIe;EACf;EACA;EACA;EACA,0BAA0B;EAC1B,4BAA4B;EAC5B,4BAA4B;EAC5B,kBAAkB;;;;;cAMP;;WAEX;;WAGA;;;;;WAMA;;WAGA;;WAGA;;WAGA;;;;;WAMA;;WAGA;;WAGA;;WAGA;;WAGA;;WAGA;;WAGA;;WAGA;;WAGA;;KAGU,uCACF,2CAA2C;UAEpC;EACf;EACA;EACA,kBAAkB;;cAGP;;WAEX;;WAGA;;KAGU,yCACF,6CAA6C;UAEtC;EACf;EACA;EACA;EACA,kBAAkB;;cAGP;;WAEX;;WAGA;;KAGU,oCACF,wCAAwC;;;;;cAMrC;;WAEX;;;;;WAMA;;KAGU,mCACF,uCAAuC;UAEhC;EACf;EACA;EACA,aAAa;EACb,YAAY;;UAGG;EACf;;;cAIW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAmDD,sCAAsC"}
1
+ {"version":3,"file":"real-time-developer-notification.d.mts","names":[],"sources":["../../src/google-play/real-time-developer-notification.ts"],"mappings":";YACY;EACV;EACA,YAAY;EACZ;EACA;EACA;;;iBAIe;EACf;EACA;EACA;EACA,0BAA0B;EAC1B,4BAA4B;EAC5B,4BAA4B;EAC5B,kBAAkB;;;;;qBAMP;;WAEX;;WAGA;;;;;WAMA;;WAGA;;WAGA;;WAGA;;;;;WAMA;;WAGA;;WAGA;;WAGA;;WAGA;;WAGA;;WAGA;;WAGA;;WAGA;;YAGU,uCACF,2CAA2C;iBAEpC;EACf;EACA;EACA,kBAAkB;;qBAGP;;WAEX;;WAGA;;YAGU,yCACF,6CAA6C;iBAEtC;EACf;EACA;EACA;EACA,kBAAkB;;qBAGP;;WAEX;;WAGA;;YAGU,oCACF,wCAAwC;;;;;qBAMrC;;WAEX;;;;;WAMA;;YAGU,mCACF,uCAAuC;iBAEhC;EACf;EACA;EACA,aAAa;EACb,YAAY;;iBAGG;EACf;;;qBAIW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YAmDD,sCAAsC"}
@@ -1,13 +1,13 @@
1
1
  import { Metadata } from "../types.cjs";
2
2
  //#region src/stripe/config.d.ts
3
- type PriceId = `price_${string}`;
3
+ export type PriceId = `price_${string}`;
4
4
  /**
5
5
  * Which Stripe object space the config addresses. Test and live prices are
6
6
  * disjoint, so a config is built for exactly one of them. Derive it from the
7
7
  * secret key (`sk_test_` vs `sk_live_`) rather than from the deployment
8
8
  * environment: the key is what actually decides which space API calls hit.
9
9
  */
10
- type StripeMode = 'live' | 'test';
10
+ export type StripeMode = 'live' | 'test';
11
11
  declare const addMethod: unique symbol;
12
12
  declare class Product<NS extends Lowercase<string> = Lowercase<string>, PE extends string = string, BP extends string = string, PL extends string = never, PI extends string = never, I extends PriceId = never> {
13
13
  readonly id: string;
@@ -43,7 +43,7 @@ type Options = {
43
43
  cancellationCouponId: string;
44
44
  allowPromotionCodes: boolean;
45
45
  };
46
- declare class StripeConfig<NS extends Lowercase<string> = Lowercase<string>, PE extends string = string, BP extends string = string, PL extends string = never, PI extends string = never> {
46
+ export declare class StripeConfig<NS extends Lowercase<string> = Lowercase<string>, PE extends string = string, BP extends string = string, PL extends string = never, PI extends string = never> {
47
47
  private readonly products;
48
48
  readonly mode: StripeMode;
49
49
  returnUrl: string;
@@ -73,5 +73,4 @@ declare class StripeConfig<NS extends Lowercase<string> = Lowercase<string>, PE
73
73
  getCreditExpiresAt: (productId: string, priceId?: string) => string;
74
74
  }
75
75
  //#endregion
76
- export { PriceId, StripeConfig, StripeMode };
77
76
  //# sourceMappingURL=config.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"config.d.cts","names":[],"sources":["../../src/stripe/config.ts"],"mappings":";;KAIY;;;;;;;KAQA;cAEN;cAEA,QACJ,WAAW,oBAAoB,mBAC/B,4BACA,4BACA,2BACA,2BACA,UAAU;WAED;WACA,QAAQ,aAAa,IAAI,IAAI,IAAI,IAAI;WACrC,MAAM;WACN,eAAe;WACf,QAAQ,IAAI,SAAS;EAE9B,gBAAgB;EAEhB,YACE,QAAQ,aAAa,IAAI,IAAI,IAAI,IAAI,KACrC,YACA,OAAM,WACN,gBAAe;;;;;;EAejB,QAAS,UAAU,SAAO,SACf,UAAU,YAAY,GAAC,WACtB,aACT,QAAQ,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI;;;;;;;;;EAcnC,UAAO,gBAAoB,GAAC;IAAW,MAAM;QAAS,aAAA,IAAA,IAAA,IAAA,IAAA;;KAgBnD;EACH,MAAM;EACN;EACA;EACA;EACA;EACA;;cAGW,aACX,WAAW,oBAAoB,mBAC/B,4BACA,4BACA,2BACA;mBAEiB;WAED,MAAM;EACf;EACA;EACA;EACA;EACA;MAEH;GAMH,aAAU,SAAa,QAAQ,IAAI,IAAI,IAAI,IAAI;UAczC;SASA,SAAU,aAAW,mBAAmB,qBAAmB,8BAA0B,SACjF,YAAO,aAAA,MAAA,MAAA;;;;;EASlB;KACG,aAAa,MAAM,qBAClB,WAAW,UAAU,aAAa,IACjC,QAAQ,IAAI,IAAI,IAAI,IAAI,IAAI;KAC9B,aAAa,MAAM,qBAAqB,UAAU,IAAI,UAAU,IAC/D,WAAW,UAAU,aAAa,GAClC,MAAM,GACN,kBAAkB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AC/C,QAAQ,IAAI,IAAI,OAAO,KAAK,MAAM,IAAI,IAAI;;EAK/C,UAAO,sBAAwB;EAO/B,mBAAgB,sBAAwB;EAOxC,UAAO;;EAOP,aAAU,sBAAwB;EAOlC,kBAAe,mBAAqB;mBAanB;EAajB,qBAAkB,mBAAqB"}
@@ -1,13 +1,13 @@
1
1
  import { Metadata } from "../types.mjs";
2
2
  //#region src/stripe/config.d.ts
3
- type PriceId = `price_${string}`;
3
+ export type PriceId = `price_${string}`;
4
4
  /**
5
5
  * Which Stripe object space the config addresses. Test and live prices are
6
6
  * disjoint, so a config is built for exactly one of them. Derive it from the
7
7
  * secret key (`sk_test_` vs `sk_live_`) rather than from the deployment
8
8
  * environment: the key is what actually decides which space API calls hit.
9
9
  */
10
- type StripeMode = 'live' | 'test';
10
+ export type StripeMode = 'live' | 'test';
11
11
  declare const addMethod: unique symbol;
12
12
  declare class Product<NS extends Lowercase<string> = Lowercase<string>, PE extends string = string, BP extends string = string, PL extends string = never, PI extends string = never, I extends PriceId = never> {
13
13
  readonly id: string;
@@ -43,7 +43,7 @@ type Options = {
43
43
  cancellationCouponId: string;
44
44
  allowPromotionCodes: boolean;
45
45
  };
46
- declare class StripeConfig<NS extends Lowercase<string> = Lowercase<string>, PE extends string = string, BP extends string = string, PL extends string = never, PI extends string = never> {
46
+ export declare class StripeConfig<NS extends Lowercase<string> = Lowercase<string>, PE extends string = string, BP extends string = string, PL extends string = never, PI extends string = never> {
47
47
  private readonly products;
48
48
  readonly mode: StripeMode;
49
49
  returnUrl: string;
@@ -73,5 +73,4 @@ declare class StripeConfig<NS extends Lowercase<string> = Lowercase<string>, PE
73
73
  getCreditExpiresAt: (productId: string, priceId?: string) => string;
74
74
  }
75
75
  //#endregion
76
- export { PriceId, StripeConfig, StripeMode };
77
76
  //# sourceMappingURL=config.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"config.d.mts","names":[],"sources":["../../src/stripe/config.ts"],"mappings":";;KAIY;;;;;;;KAQA;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W,oBAAoB,mBAC/B,4BACA,4BACA,2BACA,2BACA,UAAU;WAED;WACA,QAAQ,aAAa,IAAI,IAAI,IAAI,IAAI;WACrC,MAAM;WACN,eAAe;WACf,QAAQ,IAAI,SAAS;EAE9B,gBAAgB;EAEhB,YACE,QAAQ,aAAa,IAAI,IAAI,IAAI,IAAI,KACrC,YACA,OAAM,WACN,gBAAe;;;;;;EAejB,QAAS,UAAU,SAAO,SACf,UAAU,YAAY,GAAC,WACtB,aACT,QAAQ,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI;;;;;;;;;EAcnC,UAAO,gBAAoB,GAAC;IAAW,MAAM;QAAS,aAAA,IAAA,IAAA,IAAA,IAAA;;KAgBnD;EACH,MAAM;EACN;EACA;EACA;EACA;EACA;;qBAGW,aACX,WAAW,oBAAoB,mBAC/B,4BACA,4BACA,2BACA;mBAEiB;WAED,MAAM;EACf;EACA;EACA;EACA;EACA;MAEH;GAMH,aAAU,SAAa,QAAQ,IAAI,IAAI,IAAI,IAAI;UAczC;SASA,SAAU,aAAW,mBAAmB,qBAAmB,8BAA0B,SACjF,YAAO,aAAA,MAAA,MAAA;;;;;EASlB;KACG,aAAa,MAAM,qBAClB,WAAW,UAAU,aAAa,IACjC,QAAQ,IAAI,IAAI,IAAI,IAAI,IAAI;KAC9B,aAAa,MAAM,qBAAqB,UAAU,IAAI,UAAU,IAC/D,WAAW,UAAU,aAAa,GAClC,MAAM,GACN,kBAAkB,KAAK,YAAY,aAAa,IAC/C,QAAQ,IAAI,IAAI,OAAO,KAAK,MAAM,IAAI,IAAI;;EAK/C,UAAO,sBAAwB;EAO/B,mBAAgB,sBAAwB;EAOxC,UAAO;;EAOP,aAAU,sBAAwB;EAOlC,kBAAe,mBAAqB;mBAanB;EAajB,qBAAkB,mBAAqB"}
@@ -4,7 +4,7 @@ type StripeEventObject<T extends Stripe.Event.Type> = Extract<Stripe.Event, {
4
4
  type: T;
5
5
  }>['data']['object'];
6
6
  type EventHandlerFn<T extends Stripe.Event.Type = Stripe.Event.Type> = (object: StripeEventObject<T>) => Promise<void>;
7
- declare class StripeEventHandler {
7
+ export declare class StripeEventHandler {
8
8
  private readonly handlers;
9
9
  private constructor();
10
10
  static create(): StripeEventHandler;
@@ -12,5 +12,4 @@ declare class StripeEventHandler {
12
12
  process: (event: Stripe.Event) => Promise<void>;
13
13
  }
14
14
  //#endregion
15
- export { StripeEventHandler };
16
15
  //# sourceMappingURL=handler.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"handler.d.cts","names":[],"sources":["../../src/stripe/handler.ts"],"mappings":";;KAEK,kBAAkB,UAAU,OAAO,MAAM,QAAQ,QACpD,OAAO;EACL,MAAM;;KAGL,eAAe,UAAU,OAAO,MAAM,OAAO,OAAO,MAAM,SAC7D,QAAQ,kBAAkB,OACvB;cAEQ;mBAEM;UAEV;SAIA,UAAM;EAIb,KAAM,UAAU,OAAO,MAAM,MAAI,MAAQ,GAAC,SAAW,eAAe;EASpE,UAAO,OAAiB,OAAO,UAAQ"}
1
+ {"version":3,"file":"handler.d.cts","names":[],"sources":["../../src/stripe/handler.ts"],"mappings":";;KAEK,kBAAkB,UAAU,OAAO,MAAM,QAAQ,QACpD,OAAO;EACL,MAAM;;KAGL,eAAe,UAAU,OAAO,MAAM,OAAO,OAAO,MAAM,SAC7D,QAAQ,kBAAkB,OACvB;qBAEQ;mBAEM;UAEV;SAIA,UAAM;EAIb,KAAM,UAAU,OAAO,MAAM,MAAI,MAAQ,GAAC,SAAW,eAAe;EASpE,UAAO,OAAiB,OAAO,UAAQ"}
@@ -4,7 +4,7 @@ type StripeEventObject<T extends Stripe.Event.Type> = Extract<Stripe.Event, {
4
4
  type: T;
5
5
  }>['data']['object'];
6
6
  type EventHandlerFn<T extends Stripe.Event.Type = Stripe.Event.Type> = (object: StripeEventObject<T>) => Promise<void>;
7
- declare class StripeEventHandler {
7
+ export declare class StripeEventHandler {
8
8
  private readonly handlers;
9
9
  private constructor();
10
10
  static create(): StripeEventHandler;
@@ -12,5 +12,4 @@ declare class StripeEventHandler {
12
12
  process: (event: Stripe.Event) => Promise<void>;
13
13
  }
14
14
  //#endregion
15
- export { StripeEventHandler };
16
15
  //# sourceMappingURL=handler.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"handler.d.mts","names":[],"sources":["../../src/stripe/handler.ts"],"mappings":";;KAEK,kBAAkB,UAAU,OAAO,MAAM,QAAQ,QACpD,OAAO;EACL,MAAM;;KAGL,eAAe,UAAU,OAAO,MAAM,OAAO,OAAO,MAAM,SAC7D,QAAQ,kBAAkB,OACvB;cAEQ;mBAEM;UAEV;SAIA,UAAM;EAIb,KAAM,UAAU,OAAO,MAAM,MAAI,MAAQ,GAAC,SAAW,eAAe;EASpE,UAAO,OAAiB,OAAO,UAAQ"}
1
+ {"version":3,"file":"handler.d.mts","names":[],"sources":["../../src/stripe/handler.ts"],"mappings":";;KAEK,kBAAkB,UAAU,OAAO,MAAM,QAAQ,QACpD,OAAO;EACL,MAAM;;KAGL,eAAe,UAAU,OAAO,MAAM,OAAO,OAAO,MAAM,SAC7D,QAAQ,kBAAkB,OACvB;qBAEQ;mBAEM;UAEV;SAIA,UAAM;EAIb,KAAM,UAAU,OAAO,MAAM,MAAI,MAAQ,GAAC,SAAW,eAAe;EASpE,UAAO,OAAiB,OAAO,UAAQ"}