Skip to content
This repository has been archived by the owner on Dec 1, 2024. It is now read-only.

Commit

Permalink
Upgrade algosdk & algokit-utils, Workspace config
Browse files Browse the repository at this point in the history
  • Loading branch information
SilentRhetoric committed Nov 26, 2023
1 parent 2bcb054 commit c93034f
Show file tree
Hide file tree
Showing 6 changed files with 47 additions and 530 deletions.
13 changes: 9 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "solid-algo-wallets",
"version": "0.0.11",
"version": "0.0.12",
"description": "Integrate multiple Algorand wallets with a SolidJS web application client",
"license": "MIT",
"author": "Brian Whippo <[email protected]>",
Expand Down Expand Up @@ -59,7 +59,7 @@
"sideEffects": false,
"scripts": {
"build": "tsup",
"clean": "rm -rf node_modules && rm -rf dist && rm pnpm-lock.yaml",
"clean": "rm -rf node_modules && rm -rf dist",
"prepublishOnly": "pnpm build",
"format": "prettier -w \"src/**/*.{js,ts,json,css,tsx,jsx}\" --ignore-path .gitignore",
"lint": "concurrently pnpm:lint:*",
Expand Down Expand Up @@ -101,8 +101,13 @@
"@walletconnect/modal": "^2.6.2",
"@walletconnect/modal-sign-html": "^2.6.2",
"@walletconnect/sign-client": "^2.10.1",
"algosdk": "2.4.0",
"algosdk": "2.7.0",
"buffer": "^6.0.3"
},
"browser": {}
"browser": {},
"workspaces": [
".",
"site-build",
"site-dev"
]
}
132 changes: 30 additions & 102 deletions pnpm-lock.yaml

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

10 changes: 5 additions & 5 deletions site-build/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"dev": "vite",
"build": "vite build",
"serve": "vite preview",
"clean": "rm -rf node_modules && rm -rf dist && rm pnpm-lock.yaml"
"clean": "rm -rf node_modules && rm -rf dist"
},
"license": "MIT",
"devDependencies": {
Expand All @@ -23,9 +23,9 @@
"vite-plugin-solid": "^2.7.0"
},
"dependencies": {
"@algorandfoundation/algokit-utils": "^2.3.2",
"algosdk": "2.4.0",
"solid-js": "^1.7.12",
"solid-algo-wallets": "^0.0.8"
"@algorandfoundation/algokit-utils": "^5.0.1",
"algosdk": "2.7.0",
"solid-algo-wallets": "workspace:*",
"solid-js": "^1.7.12"
}
}
6 changes: 3 additions & 3 deletions site-dev/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"dev": "vite",
"build": "vite build",
"serve": "vite preview",
"clean": "rm -rf node_modules && rm -rf dist && rm pnpm-lock.yaml"
"clean": "rm -rf node_modules && rm -rf dist"
},
"license": "MIT",
"devDependencies": {
Expand All @@ -23,8 +23,8 @@
"vite-plugin-solid": "^2.7.0"
},
"dependencies": {
"@algorandfoundation/algokit-utils": "^2.3.2",
"algosdk": "2.4.0",
"@algorandfoundation/algokit-utils": "^5.0.1",
"algosdk": "2.7.0",
"solid-js": "^1.7.12"
}
}
18 changes: 0 additions & 18 deletions site-dev/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,24 +7,6 @@ import { AtomicTransactionComposer, makePaymentTxnWithSuggestedParamsFromObject
// Changed the exports to PascalCase to address Vite dev HMR issue
import { UseSolidAlgoWallets, UseNetwork, NetworkName } from '../../src/index'

// import {
// assetOptIn,
// assetOptOut,
// connect,
// displayBalance,
// displayMnemonic,
// getAccounts,
// getAddress,
// getAssets,
// getBalance,
// getCurrentAccount,
// getTransactions,
// setCurrentAccount,
// signTxns,
// transfer,
// transferAsset,
// } from './mm'

export function ellipseString(string = '', width = 4): string {
return `${string.slice(0, width)}...${string.slice(-width)}`
}
Expand Down
Loading

0 comments on commit c93034f

Please sign in to comment.