@trezor/connect 10.0.0-beta.2 → 10.0.0-beta.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +9 -9
- package/README.md +1 -1
- package/lib/exports.d.ts +1 -1
- package/lib/impl/core-in-module-native.d.ts +1 -3
- package/lib/impl/core-in-module-native.js +0 -4
- package/lib/impl/core-in-module-node.d.ts +1 -3
- package/lib/impl/core-in-module-node.js +0 -4
- package/lib/impl/core-in-module-web.d.ts +1 -1
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
> **Upgrading from Connect 9?**
|
|
2
2
|
>
|
|
3
|
-
> - [Migration guide: Connect 9 → 10](https://connect.trezor.io/10.0.0-beta.
|
|
4
|
-
> - [New Connect flow in Trezor Suite](https://connect.trezor.io/10.0.0-beta.
|
|
3
|
+
> - [Migration guide: Connect 9 → 10](https://connect.trezor.io/10.0.0-beta.3/guides/migrating-to-connect-10) — what you need to change in your code, as a checklist.
|
|
4
|
+
> - [New Connect flow in Trezor Suite](https://connect.trezor.io/10.0.0-beta.3/guides/new-connect-flow-in-trezor-suite) — how the Suite-hosted flow works and why.
|
|
5
5
|
|
|
6
6
|
| Package | Stable | Canary |
|
|
7
7
|
| :------------------------------: | :----: | :-----------: |
|
|
8
|
-
| npm @trezor/connect | 9.7.3 | 10.0.0-beta.
|
|
9
|
-
| npm @trezor/connect-web | 9.7.3 | 10.0.0-beta.
|
|
10
|
-
| npm @trezor/connect-webextension | 9.7.3 | 10.0.0-beta.
|
|
11
|
-
| npm @trezor/connect-mobile | 9.7.3 | 10.0.0-beta.
|
|
8
|
+
| npm @trezor/connect | 9.7.3 | 10.0.0-beta.3 |
|
|
9
|
+
| npm @trezor/connect-web | 9.7.3 | 10.0.0-beta.3 |
|
|
10
|
+
| npm @trezor/connect-webextension | 9.7.3 | 10.0.0-beta.3 |
|
|
11
|
+
| npm @trezor/connect-mobile | 9.7.3 | 10.0.0-beta.3 |
|
|
12
12
|
|
|
13
13
|
| Deployment | Stable | Canary |
|
|
14
14
|
| :----------------: | :----: | :-----------: |
|
|
15
|
-
| connect.trezor.io/ | 9.7.3 | 10.0.0-beta.
|
|
15
|
+
| connect.trezor.io/ | 9.7.3 | 10.0.0-beta.3 |
|
|
16
16
|
|
|
17
|
-
Connect 10 has no stable release yet — use [connect.trezor.io/10.0.0-beta.
|
|
17
|
+
Connect 10 has no stable release yet — use [connect.trezor.io/10.0.0-beta.3](https://connect.trezor.io/10.0.0-beta.3/) to access the prerelease version of Connect Explorer. Once Connect 10 is released, the persistent link [connect.trezor.io/10](https://connect.trezor.io/10/) will point to the latest stable version.
|
|
18
18
|
|
|
19
|
-
# 10.0.0-beta.
|
|
19
|
+
# 10.0.0-beta.3
|
|
20
20
|
|
|
21
21
|
An incremental prerelease on top of beta.1. It adds a handful of new methods (`sendTransaction`, `composePsbt`, `solanaSignMessage`), EIP-7702 and Stellar Soroban signing, and a Node entry point for `@trezor/connect` built on `@trezor/connect-core`, plus a batch of coin/backend fixes. It also carries several breaking changes — mostly to the UI-event and fee-selection channels used by custom-UI / host integrations, and to a couple of public method/result shapes — so read **Breaking since beta.1** before upgrading.
|
|
22
22
|
|
package/README.md
CHANGED
package/lib/exports.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from
|
|
1
|
+
export * from "@trezor/connect-core/lib/exports.js";
|
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { CoreInModule } from '@trezor/connect-core/lib/impl/core-in-module';
|
|
1
|
+
import { CoreInModule } from "@trezor/connect-core/lib/impl/core-in-module.js";
|
|
3
2
|
import { type AbstractTransportParams, BridgeTransport } from '@trezor/transport-common';
|
|
4
3
|
export declare class CoreInModuleNative extends CoreInModule {
|
|
5
4
|
protected defaultTransports(params: AbstractTransportParams): BridgeTransport[];
|
|
6
|
-
protected updateProxy(proxy: UpdateConnectSettings['proxy']): Promise<void>;
|
|
7
5
|
}
|
|
@@ -1,11 +1,7 @@
|
|
|
1
|
-
import { updateProxy } from "@trezor/connect-core/lib/backend/BlockchainLink.js";
|
|
2
1
|
import { CoreInModule } from "@trezor/connect-core/lib/impl/core-in-module.js";
|
|
3
2
|
import { BridgeTransport } from "@trezor/transport-common";
|
|
4
3
|
export class CoreInModuleNative extends CoreInModule {
|
|
5
4
|
defaultTransports(params) {
|
|
6
5
|
return [new BridgeTransport(params)];
|
|
7
6
|
}
|
|
8
|
-
async updateProxy(proxy) {
|
|
9
|
-
await updateProxy(proxy);
|
|
10
|
-
}
|
|
11
7
|
}
|
|
@@ -1,8 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { CoreInModule } from '@trezor/connect-core/lib/impl/core-in-module';
|
|
1
|
+
import { CoreInModule } from "@trezor/connect-core/lib/impl/core-in-module.js";
|
|
3
2
|
import { NodeUsbTransport } from '@trezor/transport';
|
|
4
3
|
import { type AbstractTransportParams, BridgeTransport } from '@trezor/transport-common';
|
|
5
4
|
export declare class CoreInModuleNode extends CoreInModule {
|
|
6
5
|
protected defaultTransports(params: AbstractTransportParams): (BridgeTransport | NodeUsbTransport)[];
|
|
7
|
-
protected updateProxy(proxy: UpdateConnectSettings['proxy']): Promise<void>;
|
|
8
6
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { updateProxy } from "@trezor/connect-core/lib/backend/BlockchainLink.js";
|
|
2
1
|
import { CoreInModule } from "@trezor/connect-core/lib/impl/core-in-module.js";
|
|
3
2
|
import { NodeUsbTransport } from "@trezor/transport";
|
|
4
3
|
import { BridgeTransport } from "@trezor/transport-common";
|
|
@@ -6,7 +5,4 @@ export class CoreInModuleNode extends CoreInModule {
|
|
|
6
5
|
defaultTransports(params) {
|
|
7
6
|
return [new BridgeTransport(params), new NodeUsbTransport(params)];
|
|
8
7
|
}
|
|
9
|
-
async updateProxy(proxy) {
|
|
10
|
-
await updateProxy(proxy);
|
|
11
|
-
}
|
|
12
8
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type UpdateConnectSettings } from '@trezor/connect-common';
|
|
2
|
-
import { CoreInModule } from
|
|
2
|
+
import { CoreInModule } from "@trezor/connect-core/lib/impl/core-in-module.js";
|
|
3
3
|
import { type AbstractTransportParams, BridgeTransport } from '@trezor/transport-common';
|
|
4
4
|
import { WebUsbTransport } from '@trezor/transport-web';
|
|
5
5
|
export declare class CoreInModuleWeb extends CoreInModule {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@trezor/connect",
|
|
3
|
-
"version": "10.0.0-beta.
|
|
3
|
+
"version": "10.0.0-beta.3",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"author": "Trezor <info@trezor.io>",
|
|
6
6
|
"homepage": "https://github.com/trezor/trezor-suite/tree/develop/packages/connect",
|
|
@@ -65,11 +65,11 @@
|
|
|
65
65
|
"lint:js": "yarn g:eslint '**/*.{ts,tsx,js}'"
|
|
66
66
|
},
|
|
67
67
|
"dependencies": {
|
|
68
|
-
"@trezor/connect-common": "10.0.0-beta.
|
|
69
|
-
"@trezor/connect-core": "10.0.0-beta.
|
|
70
|
-
"@trezor/transport": "10.0.0-beta.
|
|
71
|
-
"@trezor/transport-common": "10.0.0-beta.
|
|
72
|
-
"@trezor/transport-web": "10.0.0-beta.
|
|
68
|
+
"@trezor/connect-common": "10.0.0-beta.3",
|
|
69
|
+
"@trezor/connect-core": "10.0.0-beta.3",
|
|
70
|
+
"@trezor/transport": "10.0.0-beta.3",
|
|
71
|
+
"@trezor/transport-common": "10.0.0-beta.3",
|
|
72
|
+
"@trezor/transport-web": "10.0.0-beta.3"
|
|
73
73
|
},
|
|
74
74
|
"devDependencies": {
|
|
75
75
|
"@trezor/eslint": "1.0.0",
|