Skip to content

Commit

Permalink
Bug fixes and bump 1.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Plopix committed Aug 11, 2022
1 parent 6c88d19 commit 8b089b9
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@crystallize/js-api-client",
"license": "MIT",
"version": "1.0.1",
"version": "1.0.2",
"author": "Crystallize <hello@crystallize.com> (https://crystallize.com)",
"contributors": [
"Sébastien Morel <sebastien@crystallize.com>"
Expand Down
5 changes: 5 additions & 0 deletions src/core/subscription.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,11 @@ export function createSubscriptionContractManager(apiClient: ClientInterface) {
__args: {
input: {
...intent,
status: {
...intent.status,
renewAt: intent.status.renewAt.toISOString(),
activeUntil: intent.status.renewAt.toISOString(),
},
},
},
id: true,
Expand Down
1 change: 1 addition & 0 deletions src/types/catalogue.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ export const componentType = z
.enum([
'Boolean',
'ComponentChoice',
'ContentChunk',
'Datetime',
'File',
'GridRelations',
Expand Down

0 comments on commit 8b089b9

Please sign in to comment.