@shware/purchase 1.8.3 → 1.8.4

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,"sources":["../../src/stripe/index.ts"],"sourcesContent":["export {\n mapTime,\n mapPrice,\n mapCharge,\n mapInvoice,\n mapLineItem,\n mapPaymentIntent,\n mapCheckoutSession,\n mapSubscriptionStatus,\n minorUnits,\n price,\n getPurchaseProperties,\n getBeginCheckoutProperties,\n type Price,\n type CheckoutSession,\n type PaymentStatus,\n type PurchaseProperties,\n type ProductPrice,\n type BeginCheckoutProperties,\n} from './mapper';\nexport { StripeEventHandler } from './handler';\nexport {\n cancellationDetailsSchema,\n createCheckoutSessionSchema,\n type CancellationDetails,\n type CreateCheckoutSessionDTO,\n} from './schema';\nexport { METADATA_KEYS } from './metadata';\nexport { StripeConfig, type PriceId } from './config';\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,oBAmBO;AACP,qBAAmC;AACnC,oBAKO;AACP,sBAA8B;AAC9B,oBAA2C;","names":[]}
1
+ {"version":3,"sources":["../../src/stripe/index.ts"],"sourcesContent":["export {\n mapTime,\n mapPrice,\n mapCharge,\n mapInvoice,\n mapLineItem,\n mapPaymentIntent,\n mapCheckoutSession,\n mapSubscriptionStatus,\n minorUnits,\n price,\n getPurchaseProperties,\n getBeginCheckoutProperties,\n type Price,\n type CheckoutSession,\n type PaymentStatus,\n type PurchaseProperties,\n type ProductPrice,\n type BeginCheckoutProperties,\n} from './mapper';\nexport { StripeEventHandler } from './handler';\nexport {\n cancellationDetailsSchema,\n createCheckoutSessionSchema,\n type CancellationDetails,\n type CreateCheckoutSessionDTO,\n} from './schema';\nexport { METADATA_KEYS } from './metadata';\nexport { StripeConfig, type PriceId } from './config';\nexport type { Stripe } from 'stripe';\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,oBAmBO;AACP,qBAAmC;AACnC,oBAKO;AACP,sBAA8B;AAC9B,oBAA2C;","names":[]}
@@ -3,7 +3,7 @@ export { StripeEventHandler } from './handler.cjs';
3
3
  export { CancellationDetails, CreateCheckoutSessionDTO, cancellationDetailsSchema, createCheckoutSessionSchema } from './schema.cjs';
4
4
  export { METADATA_KEYS } from './metadata.cjs';
5
5
  export { PriceId, StripeConfig } from './config.cjs';
6
- import 'stripe';
6
+ export { Stripe } from 'stripe';
7
7
  import '../subscription/index.cjs';
8
8
  import 'zod/v4/core';
9
9
  import 'zod/mini';
@@ -3,7 +3,7 @@ export { StripeEventHandler } from './handler.js';
3
3
  export { CancellationDetails, CreateCheckoutSessionDTO, cancellationDetailsSchema, createCheckoutSessionSchema } from './schema.js';
4
4
  export { METADATA_KEYS } from './metadata.js';
5
5
  export { PriceId, StripeConfig } from './config.js';
6
- import 'stripe';
6
+ export { Stripe } from 'stripe';
7
7
  import '../subscription/index.js';
8
8
  import 'zod/v4/core';
9
9
  import 'zod/mini';
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/stripe/index.ts"],"sourcesContent":["export {\n mapTime,\n mapPrice,\n mapCharge,\n mapInvoice,\n mapLineItem,\n mapPaymentIntent,\n mapCheckoutSession,\n mapSubscriptionStatus,\n minorUnits,\n price,\n getPurchaseProperties,\n getBeginCheckoutProperties,\n type Price,\n type CheckoutSession,\n type PaymentStatus,\n type PurchaseProperties,\n type ProductPrice,\n type BeginCheckoutProperties,\n} from './mapper';\nexport { StripeEventHandler } from './handler';\nexport {\n cancellationDetailsSchema,\n createCheckoutSessionSchema,\n type CancellationDetails,\n type CreateCheckoutSessionDTO,\n} from './schema';\nexport { METADATA_KEYS } from './metadata';\nexport { StripeConfig, type PriceId } from './config';\n"],"mappings":";AAAA;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OAOK;AACP,SAAS,0BAA0B;AACnC;AAAA,EACE;AAAA,EACA;AAAA,OAGK;AACP,SAAS,qBAAqB;AAC9B,SAAS,oBAAkC;","names":[]}
1
+ {"version":3,"sources":["../../src/stripe/index.ts"],"sourcesContent":["export {\n mapTime,\n mapPrice,\n mapCharge,\n mapInvoice,\n mapLineItem,\n mapPaymentIntent,\n mapCheckoutSession,\n mapSubscriptionStatus,\n minorUnits,\n price,\n getPurchaseProperties,\n getBeginCheckoutProperties,\n type Price,\n type CheckoutSession,\n type PaymentStatus,\n type PurchaseProperties,\n type ProductPrice,\n type BeginCheckoutProperties,\n} from './mapper';\nexport { StripeEventHandler } from './handler';\nexport {\n cancellationDetailsSchema,\n createCheckoutSessionSchema,\n type CancellationDetails,\n type CreateCheckoutSessionDTO,\n} from './schema';\nexport { METADATA_KEYS } from './metadata';\nexport { StripeConfig, type PriceId } from './config';\nexport type { Stripe } from 'stripe';\n"],"mappings":";AAAA;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OAOK;AACP,SAAS,0BAA0B;AACnC;AAAA,EACE;AAAA,EACA;AAAA,OAGK;AACP,SAAS,qBAAqB;AAC9B,SAAS,oBAAkC;","names":[]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shware/purchase",
3
- "version": "1.8.3",
3
+ "version": "1.8.4",
4
4
  "private": false,
5
5
  "repository": {
6
6
  "type": "git",
@@ -40,7 +40,7 @@
40
40
  "dependencies": {
41
41
  "ms": "^2.1.3",
42
42
  "zod": "^4.3.6",
43
- "@shware/utils": "^1.3.0"
43
+ "@shware/utils": "^1.4.0"
44
44
  },
45
45
  "devDependencies": {
46
46
  "@types/ms": "^2.1.0",