File tree Expand file tree Collapse file tree 3 files changed +8
-1
lines changed
Expand file tree Collapse file tree 3 files changed +8
-1
lines changed Original file line number Diff line number Diff line change 1+ import pkg from '../package.json' with { type : 'json' }
2+
3+ export const VERSION = pkg . version
4+
15export { StripeSync } from './stripeSync'
26
37export type * from './types'
Original file line number Diff line number Diff line change 11import Stripe from 'stripe'
22import { pg as sql } from 'yesql'
3+ import pkg from '../package.json' with { type : 'json' }
34import { PostgresClient } from './database/postgres'
45import {
56 StripeSyncConfig ,
@@ -2926,6 +2927,7 @@ export class StripeSync {
29262927 metadata : {
29272928 ...webhookParams . metadata ,
29282929 managed_by : 'stripe-sync' ,
2930+ version : pkg . version ,
29292931 } ,
29302932 } )
29312933
Original file line number Diff line number Diff line change 77 "outDir" : " dist" ,
88 "esModuleInterop" : true ,
99 "skipLibCheck" : true ,
10- "strict" : true
10+ "strict" : true ,
11+ "resolveJsonModule" : true
1112 },
1213 "include" : [" src/**/*" ]
1314}
You can’t perform that action at this time.
0 commit comments