Skip to content

Commit

Permalink
Merge pull request #60 from push-protocol/version-update
Browse files Browse the repository at this point in the history
Update ui-kit version to v1.0.3
  • Loading branch information
rohitmalhotra1420 authored Feb 4, 2025
2 parents 9b7aa4b + 880942a commit f862e6e
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 26 deletions.
2 changes: 1 addition & 1 deletion examples/email/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"dependencies": {
"@pushprotocol/node-core": "^0.0.29",
"@pushprotocol/push-chain": "^0.1.7",
"@pushprotocol/pushchain-ui-kit": "^1.0.2",
"@pushprotocol/pushchain-ui-kit": "^1.0.3",
"@radix-ui/react-icons": "^1.3.0",
"@radix-ui/react-popover": "^1.1.2",
"@radix-ui/react-scroll-area": "^1.2.0",
Expand Down
9 changes: 2 additions & 7 deletions examples/email/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,7 @@ import { getBlocksCSSVariables, themeConfig } from 'shared-components';
import { createGlobalStyle, ThemeProvider } from 'styled-components';
import AppRoutes from './routes';
import { BrowserRouter } from 'react-router-dom';
import {
ENV,
PushWalletIFrame,
PushWalletProvider,
} from '@pushprotocol/pushchain-ui-kit';
import { CONSTANTS, PushWalletProvider } from '@pushprotocol/pushchain-ui-kit';
import { AppProvider } from './context/AppContext';

const GlobalStyle = createGlobalStyle`
Expand All @@ -24,10 +20,9 @@ function App() {
return (
<ThemeProvider theme={themeConfig.light}>
<GlobalStyle />
<PushWalletProvider env={ENV.PROD}>
<PushWalletProvider env={CONSTANTS.ENV.PROD}>
<AppProvider>
<BrowserRouter>
<PushWalletIFrame />
<AppRoutes />
</BrowserRouter>
</AppProvider>
Expand Down
10 changes: 5 additions & 5 deletions examples/email/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -963,12 +963,12 @@ __metadata:
languageName: node
linkType: hard

"@pushprotocol/pushchain-ui-kit@npm:^1.0.2":
version: 1.0.2
resolution: "@pushprotocol/pushchain-ui-kit@npm:1.0.2"
"@pushprotocol/pushchain-ui-kit@npm:^1.0.3":
version: 1.0.3
resolution: "@pushprotocol/pushchain-ui-kit@npm:1.0.3"
dependencies:
tslib: "npm:^2.3.0"
checksum: 10/bccb97a3f29835569b33df5eb032c7f86c939a8a236267350c321eefede36acd273c59b4feb42cbbf5fe11ed342608324bec5f792d555522fb32cb89264e8283
checksum: 10/818afedb82299f6b6eef2d7b0bf269329c33cdbc8019664f0ada72673211f316d443a755a7474167446c36a0622396eaf7ab3ee8538e297238de7ff52bcd6dd0
languageName: node
linkType: hard

Expand Down Expand Up @@ -3674,7 +3674,7 @@ __metadata:
"@eslint/js": "npm:^9.11.1"
"@pushprotocol/node-core": "npm:^0.0.29"
"@pushprotocol/push-chain": "npm:^0.1.7"
"@pushprotocol/pushchain-ui-kit": "npm:^1.0.2"
"@pushprotocol/pushchain-ui-kit": "npm:^1.0.3"
"@radix-ui/react-icons": "npm:^1.3.0"
"@radix-ui/react-popover": "npm:^1.1.2"
"@radix-ui/react-scroll-area": "npm:^1.2.0"
Expand Down
2 changes: 1 addition & 1 deletion examples/web3-rumors/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
},
"dependencies": {
"@pushprotocol/push-chain": "^0.1.7",
"@pushprotocol/pushchain-ui-kit": "^1.0.2",
"@pushprotocol/pushchain-ui-kit": "^1.0.3",
"@radix-ui/react-popover": "^1.1.2",
"buffer": "^6.0.3",
"protobufjs": "^7.4.0",
Expand Down
9 changes: 2 additions & 7 deletions examples/web3-rumors/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,7 @@ import { getBlocksCSSVariables, themeConfig } from 'shared-components';
import { createGlobalStyle, ThemeProvider } from 'styled-components';
import AppRoutes from './routes';
import { BrowserRouter } from 'react-router-dom';
import {
ENV,
PushWalletIFrame,
PushWalletProvider,
} from '@pushprotocol/pushchain-ui-kit';
import { PushWalletProvider, CONSTANTS } from '@pushprotocol/pushchain-ui-kit';
import { AppProvider } from './context/AppContext';

const GlobalStyle = createGlobalStyle`
Expand All @@ -24,10 +20,9 @@ function App() {
return (
<ThemeProvider theme={themeConfig.light}>
<GlobalStyle />
<PushWalletProvider env={ENV.PROD}>
<PushWalletProvider env={CONSTANTS.ENV.PROD}>
<AppProvider>
<BrowserRouter>
<PushWalletIFrame />
<AppRoutes />
</BrowserRouter>
</AppProvider>
Expand Down
10 changes: 5 additions & 5 deletions examples/web3-rumors/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1026,12 +1026,12 @@ __metadata:
languageName: node
linkType: hard

"@pushprotocol/pushchain-ui-kit@npm:^1.0.2":
version: 1.0.2
resolution: "@pushprotocol/pushchain-ui-kit@npm:1.0.2"
"@pushprotocol/pushchain-ui-kit@npm:^1.0.3":
version: 1.0.3
resolution: "@pushprotocol/pushchain-ui-kit@npm:1.0.3"
dependencies:
tslib: "npm:^2.3.0"
checksum: 10/bccb97a3f29835569b33df5eb032c7f86c939a8a236267350c321eefede36acd273c59b4feb42cbbf5fe11ed342608324bec5f792d555522fb32cb89264e8283
checksum: 10/818afedb82299f6b6eef2d7b0bf269329c33cdbc8019664f0ada72673211f316d443a755a7474167446c36a0622396eaf7ab3ee8538e297238de7ff52bcd6dd0
languageName: node
linkType: hard

Expand Down Expand Up @@ -7312,7 +7312,7 @@ __metadata:
dependencies:
"@eslint/js": "npm:^9.11.1"
"@pushprotocol/push-chain": "npm:^0.1.7"
"@pushprotocol/pushchain-ui-kit": "npm:^1.0.2"
"@pushprotocol/pushchain-ui-kit": "npm:^1.0.3"
"@radix-ui/react-popover": "npm:^1.1.2"
"@types/node": "npm:^22.7.6"
"@types/react": "npm:^18.3.10"
Expand Down

0 comments on commit f862e6e

Please sign in to comment.