Skip to content

Commit 4bcdc19

Browse files
authored
Add sunset warnings to tx preview (#2205)
* Add sunset warnings to tx preview * Update versioning and merge in develop
1 parent 3fcee26 commit 4bcdc19

File tree

11 files changed

+20
-11
lines changed

11 files changed

+20
-11
lines changed

docs/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
"@web3-onboard/capsule": "^2.0.3",
5959
"@web3-onboard/cede-store": "^2.2.0",
6060
"@web3-onboard/coinbase": "^2.2.7",
61-
"@web3-onboard/core": "^2.21.6",
61+
"@web3-onboard/core": "^2.21.7-alpha.1",
6262
"@web3-onboard/dcent": "^2.2.7",
6363
"@web3-onboard/enkrypt": "^2.0.4",
6464
"@web3-onboard/fortmatic": "^2.0.19",

docs/src/routes/docs/[...3]modules/[...5]transaction-preview/+page.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ title: Transaction Preview
1010

1111
# {$frontmatter.title}
1212

13+
:::admonition type=warning
14+
_Transaction Preview support is sunset on July 1st 2024 and will no longer work after that date_
15+
:::
16+
1317
A modular UI for previewing a single or set of unsigned Ethereum transactions.
1418

1519
<img src="{previewImg}" alt="Transaction Preview Flow image"/>

packages/core/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@web3-onboard/core",
3-
"version": "2.22.0-alpha.5",
3+
"version": "2.22.0-alpha.6",
44
"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.",
55
"keywords": [
66
"Ethereum",

packages/core/src/index.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -248,6 +248,9 @@ function init(options: InitOptions): OnboardAPI {
248248
appMetadata && updateAppMetadata(appMetadata)
249249

250250
if (apiKey && transactionPreview) {
251+
console.warn(
252+
'Transaction Preview support is going to be sunset on July 1st 2024 and will no longer work after that date'
253+
)
251254
const getBnSDK = async () => {
252255
const sdk = await getBlocknativeSdk()
253256
if (!sdk) return

packages/demo/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
"@web3-onboard/blocto": "^2.1.0-alpha.2",
3333
"@web3-onboard/capsule": "2.1.0-alpha.2",
3434
"@web3-onboard/cede-store": "^2.3.0-alpha.2",
35-
"@web3-onboard/core": "^2.22.0-alpha.5",
35+
"@web3-onboard/core": "^2.22.0-alpha.6",
3636
"@web3-onboard/coinbase": "^2.3.0-alpha.2",
3737
"@web3-onboard/dcent": "^2.2.7",
3838
"@web3-onboard/enkrypt": "^2.1.0-alpha.2",

packages/demo/src/App.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@
295295
particle,
296296
passport
297297
],
298-
// transactionPreview,
298+
transactionPreview,
299299
gas,
300300
wagmi,
301301
chains: [

packages/react/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@web3-onboard/react",
3-
"version": "2.9.0-alpha.5",
3+
"version": "2.9.0-alpha.6",
44
"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.",
55
"keywords": [
66
"Ethereum",
@@ -61,7 +61,7 @@
6161
"typescript": "^5.4.5"
6262
},
6363
"dependencies": {
64-
"@web3-onboard/core": "^2.22.0-alpha.5",
64+
"@web3-onboard/core": "^2.22.0-alpha.6",
6565
"@web3-onboard/common": "^2.4.0-alpha.2",
6666
"use-sync-external-store": "1.0.0"
6767
},

packages/solid/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@web3-onboard/solid",
3-
"version": "2.1.0-alpha.3",
3+
"version": "2.1.0-alpha.4",
44
"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.",
55
"keywords": [
66
"Ethereum",
@@ -63,7 +63,7 @@
6363
},
6464
"dependencies": {
6565
"@web3-onboard/common": "^2.4.0-alpha.2",
66-
"@web3-onboard/core": "^2.22.0-alpha.5",
66+
"@web3-onboard/core": "^2.22.0-alpha.6",
6767
"solid-js": "^1.8.1"
6868
}
6969
}

packages/transaction-preview/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# @web3-onboard/transaction-preview
22

3+
## (Deprecated) Transaction Preview support is going to be sunset on July 1st 2024 and will no longer work after that date
4+
35
## A modular UI for previewing a single or set of unsigned Ethereum transactions.
46

57
![Transaction Preview Flow](https://github.com/blocknative/web3-onboard/blob/develop/assets/transaction-preview.gif?raw=true 'Transaction Preview Flow')

packages/transaction-preview/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@web3-onboard/transaction-preview",
3-
"version": "2.1.0-alpha.2",
3+
"version": "2.1.0-alpha.3",
44
"description": "In app preview of Ethereum transactions",
55
"keywords": [
66
"Ethereum",

0 commit comments

Comments
 (0)