Skip to content

Commit

Permalink
updated react example
Browse files Browse the repository at this point in the history
  • Loading branch information
nikhil-narayana-klevu committed Jun 25, 2024
1 parent 9fd2652 commit 70a7d5d
Show file tree
Hide file tree
Showing 5 changed files with 29 additions and 8 deletions.
11 changes: 7 additions & 4 deletions examples/react-klevu-ui/package-lock.json

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

4 changes: 2 additions & 2 deletions examples/react-klevu-ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
"author": "",
"license": "ISC",
"dependencies": {
"@klevu/core": "^5.2.0",
"@klevu/ui-react": "^2.2.0",
"@klevu/core": "file:../../packages/klevu-core",
"@klevu/ui-react": "file:../../packages/klevu-ui-react",
"lodash.groupby": "^4.6.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
Expand Down
2 changes: 2 additions & 0 deletions packages/klevu-ui-vue/src/components.ts
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,8 @@ export const KlevuInit = /*@__PURE__*/ defineContainer<JSX.KlevuInit>('klevu-ini
'eventsV2Url',
'recommendationsApiUrl',
'visitorServiceUrl',
'ipv6ServiceUrl',
'ipv4ServiceUrl',
'moiApiUrl',
'settings',
'language',
Expand Down
4 changes: 2 additions & 2 deletions packages/klevu-ui/package-lock.json

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

16 changes: 16 additions & 0 deletions packages/klevu-ui/src/components.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -509,6 +509,14 @@ export namespace Components {
* @returns
*/
"getSettings": () => Promise<KlevuUIGlobalSettings | undefined>;
/**
* Ipv4 ServiceUrl for ipv4 retrieval used in analytics
*/
"ipv4ServiceUrl"?: string;
/**
* Ipv6 ServiceUrl for ipv6 retrieval used in analytics
*/
"ipv6ServiceUrl"?: string;
"kmcLoadDefaults"?: boolean;
/**
* Which language to load
Expand Down Expand Up @@ -3037,6 +3045,14 @@ declare namespace LocalJSX {
* Override the default events v2 URL
*/
"eventsV2Url"?: string;
/**
* Ipv4 ServiceUrl for ipv4 retrieval used in analytics
*/
"ipv4ServiceUrl"?: string;
/**
* Ipv6 ServiceUrl for ipv6 retrieval used in analytics
*/
"ipv6ServiceUrl"?: string;
"kmcLoadDefaults"?: boolean;
/**
* Which language to load
Expand Down

0 comments on commit 70a7d5d

Please sign in to comment.