Skip to content

Commit 8b089b9

Browse files
committed
Bug fixes and bump 1.0.2
1 parent 6c88d19 commit 8b089b9

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@crystallize/js-api-client",
33
"license": "MIT",
4-
"version": "1.0.1",
4+
"version": "1.0.2",
55
"author": "Crystallize <[email protected]> (https://crystallize.com)",
66
"contributors": [
77
"Sébastien Morel <[email protected]>"

src/core/subscription.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,11 @@ export function createSubscriptionContractManager(apiClient: ClientInterface) {
3535
__args: {
3636
input: {
3737
...intent,
38+
status: {
39+
...intent.status,
40+
renewAt: intent.status.renewAt.toISOString(),
41+
activeUntil: intent.status.renewAt.toISOString(),
42+
},
3843
},
3944
},
4045
id: true,

src/types/catalogue.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ export const componentType = z
2626
.enum([
2727
'Boolean',
2828
'ComponentChoice',
29+
'ContentChunk',
2930
'Datetime',
3031
'File',
3132
'GridRelations',

0 commit comments

Comments
 (0)