Skip to content

Commit

Permalink
Add sunset warnings to tx preview (#2205)
Browse files Browse the repository at this point in the history
* Add sunset warnings to tx preview

* Update versioning and merge in develop
  • Loading branch information
Adamj1232 committed May 29, 2024
1 parent 3fcee26 commit 4bcdc19
Show file tree
Hide file tree
Showing 11 changed files with 20 additions and 11 deletions.
2 changes: 1 addition & 1 deletion docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
"@web3-onboard/capsule": "^2.0.3",
"@web3-onboard/cede-store": "^2.2.0",
"@web3-onboard/coinbase": "^2.2.7",
"@web3-onboard/core": "^2.21.6",
"@web3-onboard/core": "^2.21.7-alpha.1",
"@web3-onboard/dcent": "^2.2.7",
"@web3-onboard/enkrypt": "^2.0.4",
"@web3-onboard/fortmatic": "^2.0.19",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ title: Transaction Preview

# {$frontmatter.title}

:::admonition type=warning
_Transaction Preview support is sunset on July 1st 2024 and will no longer work after that date_
:::

A modular UI for previewing a single or set of unsigned Ethereum transactions.

<img src="{previewImg}" alt="Transaction Preview Flow image"/>
Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@web3-onboard/core",
"version": "2.22.0-alpha.5",
"version": "2.22.0-alpha.6",
"description": "Web3-Onboard makes it simple to connect Ethereum hardware and software wallets to your dapp. Features standardized spec compliant web3 providers for all supported wallets, framework agnostic modern javascript UI with code splitting, CSS customization, multi-chain and multi-account support, reactive wallet state subscriptions and real-time transaction state change notifications.",
"keywords": [
"Ethereum",
Expand Down
3 changes: 3 additions & 0 deletions packages/core/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,9 @@ function init(options: InitOptions): OnboardAPI {
appMetadata && updateAppMetadata(appMetadata)

if (apiKey && transactionPreview) {
console.warn(
'Transaction Preview support is going to be sunset on July 1st 2024 and will no longer work after that date'
)
const getBnSDK = async () => {
const sdk = await getBlocknativeSdk()
if (!sdk) return
Expand Down
2 changes: 1 addition & 1 deletion packages/demo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"@web3-onboard/blocto": "^2.1.0-alpha.2",
"@web3-onboard/capsule": "2.1.0-alpha.2",
"@web3-onboard/cede-store": "^2.3.0-alpha.2",
"@web3-onboard/core": "^2.22.0-alpha.5",
"@web3-onboard/core": "^2.22.0-alpha.6",
"@web3-onboard/coinbase": "^2.3.0-alpha.2",
"@web3-onboard/dcent": "^2.2.7",
"@web3-onboard/enkrypt": "^2.1.0-alpha.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/demo/src/App.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@
particle,
passport
],
// transactionPreview,
transactionPreview,
gas,
wagmi,
chains: [
Expand Down
4 changes: 2 additions & 2 deletions packages/react/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@web3-onboard/react",
"version": "2.9.0-alpha.5",
"version": "2.9.0-alpha.6",
"description": "A collection of React hooks for integrating Web3-Onboard in to React and Next.js projects. Web3-Onboard makes it simple to connect Ethereum hardware and software wallets to your dapp. Features standardised spec compliant web3 providers for all supported wallets, modern javascript UI with code splitting, CSS customization, multi-chain and multi-account support, reactive wallet state subscriptions and real-time transaction state change notifications.",
"keywords": [
"Ethereum",
Expand Down Expand Up @@ -61,7 +61,7 @@
"typescript": "^5.4.5"
},
"dependencies": {
"@web3-onboard/core": "^2.22.0-alpha.5",
"@web3-onboard/core": "^2.22.0-alpha.6",
"@web3-onboard/common": "^2.4.0-alpha.2",
"use-sync-external-store": "1.0.0"
},
Expand Down
4 changes: 2 additions & 2 deletions packages/solid/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@web3-onboard/solid",
"version": "2.1.0-alpha.3",
"version": "2.1.0-alpha.4",
"description": "A collection of solid Composables for integrating Web3-Onboard in to a Solid project. Web3-Onboard makes it simple to connect Ethereum hardware and software wallets to your dapp. Features standardized spec compliant web3 providers for all supported wallets, modern javascript UI with code splitting, CSS customization, multi-chain and multi-account support, reactive wallet state subscriptions and real-time transaction state change notifications.",
"keywords": [
"Ethereum",
Expand Down Expand Up @@ -63,7 +63,7 @@
},
"dependencies": {
"@web3-onboard/common": "^2.4.0-alpha.2",
"@web3-onboard/core": "^2.22.0-alpha.5",
"@web3-onboard/core": "^2.22.0-alpha.6",
"solid-js": "^1.8.1"
}
}
2 changes: 2 additions & 0 deletions packages/transaction-preview/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# @web3-onboard/transaction-preview

## (Deprecated) Transaction Preview support is going to be sunset on July 1st 2024 and will no longer work after that date

## A modular UI for previewing a single or set of unsigned Ethereum transactions.

![Transaction Preview Flow](https://github.com/blocknative/web3-onboard/blob/develop/assets/transaction-preview.gif?raw=true 'Transaction Preview Flow')
Expand Down
2 changes: 1 addition & 1 deletion packages/transaction-preview/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@web3-onboard/transaction-preview",
"version": "2.1.0-alpha.2",
"version": "2.1.0-alpha.3",
"description": "In app preview of Ethereum transactions",
"keywords": [
"Ethereum",
Expand Down
4 changes: 2 additions & 2 deletions packages/vue/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@web3-onboard/vue",
"version": "2.8.0-alpha.3",
"version": "2.8.0-alpha.4",
"description": "A collection of Vue Composables for integrating Web3-Onboard in to a Vue or Nuxt project. Web3-Onboard makes it simple to connect Ethereum hardware and software wallets to your dapp. Features standardized spec compliant web3 providers for all supported wallets, modern javascript UI with code splitting, CSS customization, multi-chain and multi-account support, reactive wallet state subscriptions and real-time transaction state change notifications.",
"keywords": [
"Ethereum",
Expand Down Expand Up @@ -62,7 +62,7 @@
"@vueuse/core": "^8.4.2",
"@vueuse/rxjs": "^8.2.0",
"@web3-onboard/common": "^2.4.0-alpha.2",
"@web3-onboard/core": "^2.22.0-alpha.5",
"@web3-onboard/core": "^2.22.0-alpha.6",
"vue-demi": "^0.12.4"
},
"peerDependencies": {
Expand Down

0 comments on commit 4bcdc19

Please sign in to comment.