@shware/purchase 0.1.1 → 0.1.2

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.
@@ -23,6 +23,7 @@ __export(stripe_exports, {
23
23
  METADATA_KEYS: () => import_metadata.METADATA_KEYS,
24
24
  cancellationDetailsSchema: () => import_schema.cancellationDetailsSchema,
25
25
  checkoutSessionSchema: () => import_schema.checkoutSessionSchema,
26
+ getPurchaseProperties: () => import_mapper.getPurchaseProperties,
26
27
  mapCheckoutSession: () => import_mapper.mapCheckoutSession,
27
28
  mapStatus: () => import_mapper.mapStatus,
28
29
  mapTime: () => import_mapper.mapTime,
@@ -38,6 +39,7 @@ var import_metadata = require("./metadata.cjs");
38
39
  METADATA_KEYS,
39
40
  cancellationDetailsSchema,
40
41
  checkoutSessionSchema,
42
+ getPurchaseProperties,
41
43
  mapCheckoutSession,
42
44
  mapStatus,
43
45
  mapTime,
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/stripe/index.ts"],"sourcesContent":["export {\n mapTime,\n mapStatus,\n mapCheckoutSession,\n minorUnits,\n price,\n type CheckoutSession,\n} from './mapper';\nexport {\n cancellationDetailsSchema,\n checkoutSessionSchema,\n type CancellationDetails,\n} from './schema';\nexport type { ProductId, PriceId, Config, CreateCheckoutSessionDTO } from './types';\nexport { METADATA_KEYS } from './metadata';\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,oBAOO;AACP,oBAIO;AAEP,sBAA8B;","names":[]}
1
+ {"version":3,"sources":["../../src/stripe/index.ts"],"sourcesContent":["export {\n mapTime,\n mapStatus,\n mapCheckoutSession,\n minorUnits,\n price,\n getPurchaseProperties,\n type CheckoutSession,\n type PurchaseProperties,\n} from './mapper';\nexport {\n cancellationDetailsSchema,\n checkoutSessionSchema,\n type CancellationDetails,\n} from './schema';\nexport type { ProductId, PriceId, Config, CreateCheckoutSessionDTO } from './types';\nexport { METADATA_KEYS } from './metadata';\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,oBASO;AACP,oBAIO;AAEP,sBAA8B;","names":[]}
@@ -1,4 +1,4 @@
1
- export { CheckoutSession, mapCheckoutSession, mapStatus, mapTime, minorUnits, price } from './mapper.cjs';
1
+ export { CheckoutSession, PurchaseProperties, getPurchaseProperties, mapCheckoutSession, mapStatus, mapTime, minorUnits, price } from './mapper.cjs';
2
2
  export { CancellationDetails, cancellationDetailsSchema, checkoutSessionSchema } from './schema.cjs';
3
3
  export { Config, CreateCheckoutSessionDTO, PriceId, ProductId } from './types.cjs';
4
4
  export { METADATA_KEYS } from './metadata.cjs';
@@ -1,4 +1,4 @@
1
- export { CheckoutSession, mapCheckoutSession, mapStatus, mapTime, minorUnits, price } from './mapper.js';
1
+ export { CheckoutSession, PurchaseProperties, getPurchaseProperties, mapCheckoutSession, mapStatus, mapTime, minorUnits, price } from './mapper.js';
2
2
  export { CancellationDetails, cancellationDetailsSchema, checkoutSessionSchema } from './schema.js';
3
3
  export { Config, CreateCheckoutSessionDTO, PriceId, ProductId } from './types.js';
4
4
  export { METADATA_KEYS } from './metadata.js';
@@ -4,7 +4,8 @@ import {
4
4
  mapStatus,
5
5
  mapCheckoutSession,
6
6
  minorUnits,
7
- price
7
+ price,
8
+ getPurchaseProperties
8
9
  } from "./mapper.mjs";
9
10
  import {
10
11
  cancellationDetailsSchema,
@@ -15,6 +16,7 @@ export {
15
16
  METADATA_KEYS,
16
17
  cancellationDetailsSchema,
17
18
  checkoutSessionSchema,
19
+ getPurchaseProperties,
18
20
  mapCheckoutSession,
19
21
  mapStatus,
20
22
  mapTime,
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/stripe/index.ts"],"sourcesContent":["export {\n mapTime,\n mapStatus,\n mapCheckoutSession,\n minorUnits,\n price,\n type CheckoutSession,\n} from './mapper';\nexport {\n cancellationDetailsSchema,\n checkoutSessionSchema,\n type CancellationDetails,\n} from './schema';\nexport type { ProductId, PriceId, Config, CreateCheckoutSessionDTO } from './types';\nexport { METADATA_KEYS } from './metadata';\n"],"mappings":";AAAA;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OAEK;AACP;AAAA,EACE;AAAA,EACA;AAAA,OAEK;AAEP,SAAS,qBAAqB;","names":[]}
1
+ {"version":3,"sources":["../../src/stripe/index.ts"],"sourcesContent":["export {\n mapTime,\n mapStatus,\n mapCheckoutSession,\n minorUnits,\n price,\n getPurchaseProperties,\n type CheckoutSession,\n type PurchaseProperties,\n} from './mapper';\nexport {\n cancellationDetailsSchema,\n checkoutSessionSchema,\n type CancellationDetails,\n} from './schema';\nexport type { ProductId, PriceId, Config, CreateCheckoutSessionDTO } from './types';\nexport { METADATA_KEYS } from './metadata';\n"],"mappings":";AAAA;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OAGK;AACP;AAAA,EACE;AAAA,EACA;AAAA,OAEK;AAEP,SAAS,qBAAqB;","names":[]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shware/purchase",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "scripts": {