Skip to content

Commit

Permalink
Merge pull request #12 from kontent-ai/update-deps
Browse files Browse the repository at this point in the history
Update dependencies
  • Loading branch information
Simply007 committed Apr 12, 2023
2 parents 2f97f78 + 250b201 commit fbc3c00
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import { Element as DomHandlerElement } from 'domhandler';
// ...

const client = createDeliveryClient({
projectId: '<YOUR PROJECT ID>'
environmentId: '<YOUR ENVIRONMENT ID>'
});

const response = await client.item("<YOUR ITEM CODENAME>"))
Expand Down
16 changes: 8 additions & 8 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@kontent-ai/react-components",
"version": "0.2.2",
"version": "0.3.0",
"description": "The package containing React components useful when processing Kontent.ai data to the site.",
"repository": "https://github.com/kontent-ai/react-components.git",
"homepage": "https://github.com/kontent-ai/react-components#readme",
Expand Down Expand Up @@ -39,7 +39,7 @@
},
"devDependencies": {
"@babel/preset-typescript": "^7.18.6",
"@kontent-ai/delivery-sdk": "^12.3.0",
"@kontent-ai/delivery-sdk": "^14.0.0",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^13.4.0",
"@testing-library/user-event": "^14.4.3",
Expand All @@ -59,7 +59,7 @@
"webpack": "^5.74.0"
},
"peerDependencies": {
"@kontent-ai/delivery-sdk": "^12.0.0",
"@kontent-ai/delivery-sdk": "^14.0.0",
"react": "^17.0.0 || ^18.0.0",
"react-dom": "^17.0.0 || ^18.0.0"
},
Expand All @@ -75,4 +75,4 @@
"last 1 safari version"
]
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ import { Element as DomHandlerElement } from 'domhandler';
describe('<RichTextElement/>', () => {

var mockClient = createDeliveryClient({
projectId: 'dummyClient',
environmentId: 'dummyClient',
});

const complexItemResponse = mockClient.item("dummyItem")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { Element as DomHandlerElement } from 'domhandler';
describe('<RichTextElement/> readme code samples', () => {

var mockClient = createDeliveryClient({
projectId: 'dummyClient',
environmentId: 'dummyClient',
});

const response = mockClient.item("dummyItem")
Expand Down

0 comments on commit fbc3c00

Please sign in to comment.