File tree Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @updatedev/js" ,
3
- "version" : " 0.4.1 " ,
3
+ "version" : " 0.4.2 " ,
4
4
"description" : " Update JavaScript SDK" ,
5
5
"main" : " dist/cjs/index.js" ,
6
6
"module" : " dist/esm/index.js" ,
Original file line number Diff line number Diff line change @@ -145,7 +145,7 @@ export class UpdateBillingClient {
145
145
146
146
async createCheckoutSession (
147
147
id : string ,
148
- options ? : CreateCheckoutSessionOptions
148
+ options : CreateCheckoutSessionOptions
149
149
) : Promise < CreateCheckoutSession > {
150
150
if ( ! this . hasSessionToken ) {
151
151
console . warn (
Original file line number Diff line number Diff line change @@ -91,5 +91,6 @@ export type UpdateSubscriptionResponse = {
91
91
} ;
92
92
93
93
export type CreateCheckoutSessionOptions = {
94
- redirect_url ?: string ;
94
+ redirect_url : string ;
95
+ quantity ?: number ;
95
96
} ;
You can’t perform that action at this time.
0 commit comments