Skip to content

Commit

Permalink
Update permissions to used only
Browse files Browse the repository at this point in the history
  • Loading branch information
pawanpaudel93 committed Nov 2, 2023
1 parent 1397ced commit 5820392
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 30 deletions.
2 changes: 1 addition & 1 deletion apps/cli/template/next/javascript/src/app/layout.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export default function RootLayout({ children }) {
<ThemeProvider attribute="class" defaultTheme="system" enableSystem>
<ArweaveWalletKit
config={{
permissions: ["ACCESS_ADDRESS", "SIGN_TRANSACTION", "DISPATCH", "ACCESS_PUBLIC_KEY", "SIGNATURE"],
permissions: ["ACCESS_ADDRESS", "SIGN_TRANSACTION", "DISPATCH"],
ensurePermissions: true,
appInfo: {
name: "StarterKit",
Expand Down
2 changes: 1 addition & 1 deletion apps/cli/template/next/javascript/src/pages/_app.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export default function App({ Component, pageProps }) {
<ThemeProvider attribute="class" defaultTheme="system" enableSystem>
<ArweaveWalletKit
config={{
permissions: ["ACCESS_ADDRESS", "SIGN_TRANSACTION", "DISPATCH", "ACCESS_PUBLIC_KEY", "SIGNATURE"],
permissions: ["ACCESS_ADDRESS", "SIGN_TRANSACTION", "DISPATCH"],
ensurePermissions: true,
appInfo: {
name: "StarterKit",
Expand Down
8 changes: 1 addition & 7 deletions apps/cli/template/next/typescript/src/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,13 +47,7 @@ export default function RootLayout({ children }: RootLayoutProps) {
<ThemeProvider attribute="class" defaultTheme="system" enableSystem>
<ArweaveWalletKit
config={{
permissions: [
"ACCESS_ADDRESS",
"SIGN_TRANSACTION",
"DISPATCH",
"ACCESS_PUBLIC_KEY",
"SIGNATURE",
],
permissions: ["ACCESS_ADDRESS", "SIGN_TRANSACTION", "DISPATCH"],
ensurePermissions: true,
appInfo: {
name: "StarterKit",
Expand Down
8 changes: 1 addition & 7 deletions apps/cli/template/next/typescript/src/pages/_app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,7 @@ export default function App({ Component, pageProps }: AppProps) {
<ThemeProvider attribute="class" defaultTheme="system" enableSystem>
<ArweaveWalletKit
config={{
permissions: [
"ACCESS_ADDRESS",
"SIGN_TRANSACTION",
"DISPATCH",
"ACCESS_PUBLIC_KEY",
"SIGNATURE",
],
permissions: ["ACCESS_ADDRESS", "SIGN_TRANSACTION", "DISPATCH"],
ensurePermissions: true,
appInfo: {
name: "StarterKit",
Expand Down
8 changes: 1 addition & 7 deletions apps/web/src/_pages/_app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,7 @@ export default function App({ Component, pageProps }: AppProps) {
<ThemeProvider attribute="class" defaultTheme="system" enableSystem>
<ArweaveWalletKit
config={{
permissions: [
"ACCESS_ADDRESS",
"SIGN_TRANSACTION",
"DISPATCH",
"ACCESS_PUBLIC_KEY",
"SIGNATURE",
],
permissions: ["ACCESS_ADDRESS", "SIGN_TRANSACTION", "DISPATCH"],
ensurePermissions: true,
appInfo: {
name: "StarterKit",
Expand Down
8 changes: 1 addition & 7 deletions apps/web/src/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,13 +47,7 @@ export default function RootLayout({ children }: RootLayoutProps) {
<ThemeProvider attribute="class" defaultTheme="system" enableSystem>
<ArweaveWalletKit
config={{
permissions: [
"ACCESS_ADDRESS",
"SIGN_TRANSACTION",
"DISPATCH",
"ACCESS_PUBLIC_KEY",
"SIGNATURE",
],
permissions: ["ACCESS_ADDRESS", "SIGN_TRANSACTION", "DISPATCH"],
ensurePermissions: true,
appInfo: {
name: "StarterKit",
Expand Down

0 comments on commit 5820392

Please sign in to comment.