@cowprotocol/iframe-transport 1.2.0 → 2.0.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/.babelrc +20 -0
- package/CHANGELOG.md +96 -0
- package/LICENSE +674 -0
- package/jest.config.ts +11 -0
- package/package.json +11 -18
- package/project.json +42 -0
- package/src/IframeTransport.ts +73 -0
- package/src/iframeRpcProvider/IframeRpcProviderBridge.ts +192 -0
- package/src/iframeRpcProvider/WidgetEthereumProvider.ts +489 -0
- package/src/iframeRpcProvider/iframeRpcProviderEvents.ts +40 -0
- package/src/iframeRpcProvider/utils.ts +18 -0
- package/src/index.ts +5 -0
- package/src/types.ts +75 -0
- package/tsconfig.json +21 -0
- package/tsconfig.lib.json +10 -0
- package/tsconfig.spec.json +20 -0
- package/IframeTransport.d.ts +0 -11
- package/iframeRpcProvider/IframeRpcProviderBridge.d.ts +0 -45
- package/iframeRpcProvider/WidgetEthereumProvider.d.ts +0 -123
- package/iframeRpcProvider/iframeRpcProviderEvents.d.ts +0 -31
- package/iframeRpcProvider/utils.d.ts +0 -4
- package/index.d.ts +0 -5
- package/index.js +0 -1
- package/index.mjs +0 -498
- package/types.d.ts +0 -59
package/.babelrc
ADDED
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
## [2.0.3](https://github.com/cowprotocol/cowswap/compare/iframe-transport-v2.0.2...iframe-transport-v2.0.3) (2026-02-13)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Dependencies
|
|
7
|
+
|
|
8
|
+
* The following workspace dependencies were updated
|
|
9
|
+
* dependencies
|
|
10
|
+
* @cowprotocol/types bumped to 3.2.0
|
|
11
|
+
|
|
12
|
+
## [2.0.2](https://github.com/cowprotocol/cowswap/compare/iframe-transport-v2.0.1...iframe-transport-v2.0.2) (2026-02-05)
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
### Dependencies
|
|
16
|
+
|
|
17
|
+
* The following workspace dependencies were updated
|
|
18
|
+
* dependencies
|
|
19
|
+
* @cowprotocol/types bumped to 3.1.0
|
|
20
|
+
|
|
21
|
+
## [2.0.1](https://github.com/cowprotocol/cowswap/compare/iframe-transport-v2.0.0...iframe-transport-v2.0.1) (2026-02-02)
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
### Dependencies
|
|
25
|
+
|
|
26
|
+
* The following workspace dependencies were updated
|
|
27
|
+
* dependencies
|
|
28
|
+
* @cowprotocol/types bumped to 3.0.1
|
|
29
|
+
|
|
30
|
+
## [2.0.0](https://github.com/cowprotocol/cowswap/compare/iframe-transport-v1.2.0...iframe-transport-v2.0.0) (2026-01-28)
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
### ⚠ BREAKING CHANGES
|
|
34
|
+
|
|
35
|
+
* migrate from yarn to pnpm ([#6847](https://github.com/cowprotocol/cowswap/issues/6847))
|
|
36
|
+
|
|
37
|
+
### Features
|
|
38
|
+
|
|
39
|
+
* migrate from yarn to pnpm ([#6847](https://github.com/cowprotocol/cowswap/issues/6847)) ([1c5d115](https://github.com/cowprotocol/cowswap/commit/1c5d11516d0ddb997b0ebbb4eee4adcb491204a4))
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
### Dependencies
|
|
43
|
+
|
|
44
|
+
* The following workspace dependencies were updated
|
|
45
|
+
* dependencies
|
|
46
|
+
* @cowprotocol/types bumped to 3.0.0
|
|
47
|
+
|
|
48
|
+
## [1.2.0](https://github.com/cowprotocol/cowswap/compare/iframe-transport-v1.1.1...iframe-transport-v1.2.0) (2026-01-26)
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
### Features
|
|
52
|
+
|
|
53
|
+
* fix types in iframe-transport lib ([#6882](https://github.com/cowprotocol/cowswap/issues/6882)) ([f419e21](https://github.com/cowprotocol/cowswap/commit/f419e219fefdd007101ba61053dcce6c218eeee0))
|
|
54
|
+
|
|
55
|
+
## [1.1.1](https://github.com/cowprotocol/cowswap/compare/iframe-transport-v1.1.0...iframe-transport-v1.1.1) (2026-01-26)
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
### Bug Fixes
|
|
59
|
+
|
|
60
|
+
* add a guard for ssr in eip6963 listener ([#6849](https://github.com/cowprotocol/cowswap/issues/6849)) ([aeaf7e8](https://github.com/cowprotocol/cowswap/commit/aeaf7e810648214252359620f7bb63b0b207c227))
|
|
61
|
+
* **widget-lib:** add compatibility with server rendering ([#6813](https://github.com/cowprotocol/cowswap/issues/6813)) ([76bd736](https://github.com/cowprotocol/cowswap/commit/76bd736f17d722f0a639542d4fcbd5e3f0be57b2))
|
|
62
|
+
|
|
63
|
+
## [1.1.0](https://github.com/cowprotocol/cowswap/compare/iframe-transport-v1.0.3...iframe-transport-v1.1.0) (2025-08-12)
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
### Features
|
|
67
|
+
|
|
68
|
+
* rename Permit hook dapp id ([#6138](https://github.com/cowprotocol/cowswap/issues/6138)) ([41b0b18](https://github.com/cowprotocol/cowswap/commit/41b0b182d4a673bb1799a699ea83029ee8c6d73b))
|
|
69
|
+
|
|
70
|
+
## [1.0.3](https://github.com/cowprotocol/cowswap/compare/iframe-transport-v1.0.2...iframe-transport-v1.0.3) (2025-06-18)
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
### Bug Fixes
|
|
74
|
+
|
|
75
|
+
* make order progress bar UI more stable ([#5834](https://github.com/cowprotocol/cowswap/issues/5834)) ([80cebd1](https://github.com/cowprotocol/cowswap/commit/80cebd1104a0a2e30e12ce8a4b3d62c212559cec))
|
|
76
|
+
|
|
77
|
+
## [1.0.2](https://github.com/cowprotocol/cowswap/compare/iframe-transport-v1.0.1...iframe-transport-v1.0.2) (2025-05-19)
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
### Bug Fixes
|
|
81
|
+
|
|
82
|
+
* **dev-deps-update:** bump the dev-deps group with 76 updates ([#5663](https://github.com/cowprotocol/cowswap/issues/5663)) ([552b349](https://github.com/cowprotocol/cowswap/commit/552b349f53762a01ccf008e9a2083248424cbafa))
|
|
83
|
+
|
|
84
|
+
## [1.0.1](https://github.com/cowprotocol/cowswap/compare/iframe-transport-v1.0.0...iframe-transport-v1.0.1) (2025-02-03)
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
### Bug Fixes
|
|
88
|
+
|
|
89
|
+
* display Metamask warning only for extension/mobile wallets ([#5370](https://github.com/cowprotocol/cowswap/issues/5370)) ([abb5683](https://github.com/cowprotocol/cowswap/commit/abb56834b1e21029ca66362f3b721cd47e080547))
|
|
90
|
+
|
|
91
|
+
## 1.0.0 (2024-09-30)
|
|
92
|
+
|
|
93
|
+
|
|
94
|
+
### Features
|
|
95
|
+
|
|
96
|
+
* **hooks-store:** support iframe hook-dapps ([#4885](https://github.com/cowprotocol/cowswap/issues/4885)) ([5116f29](https://github.com/cowprotocol/cowswap/commit/5116f296a0e4866d0a51a806b7abe55e809d26e9))
|