@multiplatform.one/web3 10.9.2 → 10.9.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@multiplatform.one/web3",
3
- "version": "10.9.2",
3
+ "version": "10.9.3",
4
4
  "description": "Web3 wallet integration for multiplatform.one ecosystem with ConnectKit and wagmi",
5
5
  "keywords": [
6
6
  "connectkit",
@@ -126,10 +126,10 @@
126
126
  "@aave/account": "^0.2.1",
127
127
  "@coinbase/wallet-sdk": "^4.4.0",
128
128
  "@metamask/connect-evm": "^2.1.1",
129
- "@multiplatform.one/connectkit": "^10.9.2",
130
- "@multiplatform.one/gpg": "^10.9.2",
131
- "@multiplatform.one/platform": "^10.9.2",
132
- "@multiplatform.one/theme": "^10.9.2",
129
+ "@multiplatform.one/connectkit": "^10.9.3",
130
+ "@multiplatform.one/gpg": "^10.9.3",
131
+ "@multiplatform.one/platform": "^10.9.3",
132
+ "@multiplatform.one/theme": "^10.9.3",
133
133
  "@noble/ciphers": "^1.3.0",
134
134
  "@noble/curves": "^1.9.7",
135
135
  "@phosphor-icons/react": "^2.1.10",
@@ -153,8 +153,8 @@
153
153
  "wagmi": "^3.7.1"
154
154
  },
155
155
  "devDependencies": {
156
- "@multiplatform.one/config": "10.9.2",
157
- "@multiplatform.one/test-utils": "10.9.2",
156
+ "@multiplatform.one/config": "10.9.3",
157
+ "@multiplatform.one/test-utils": "10.9.3",
158
158
  "@tamagui/build": "3.2.3",
159
159
  "@tanstack/react-query": "^5.104.3",
160
160
  "@testing-library/jest-dom": "^7.0.1",
@@ -44,7 +44,7 @@ function answerKeycloak(nonce: () => Response) {
44
44
  window.fetch = async (input: RequestInfo | URL, init?: RequestInit) => {
45
45
  const url = requestUrl(input);
46
46
  if (url.endsWith("/nonce")) return nonce();
47
- const body = String(init?.body ?? "");
47
+ const body = typeof init?.body === "string" ? init.body : "";
48
48
  if (/"method":"(eth_sign|personal_sign)"/.test(body)) {
49
49
  throw Object.assign(new Error("User rejected the request."), { code: 4001 });
50
50
  }