Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dario-piotrowicz/getplatformproxy-do-json-issue-repro
https://github.com/dario-piotrowicz/getplatformproxy-do-json-issue-repro
Last synced: 8 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/dario-piotrowicz/getplatformproxy-do-json-issue-repro
- Owner: dario-piotrowicz
- Created: 2024-04-15T23:06:17.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-04-20T12:14:22.000Z (7 months ago)
- Last Synced: 2024-04-20T13:45:01.964Z (7 months ago)
- Language: JavaScript
- Size: 58.6 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# `getPlatformProxy` DO JSON issue repro
Calling `getPlatformProxy` on wrangler <= v3.45.0 allows the interaction with Durable Object proxies
as expected, on wrangler >= v3.46.0 instead a `SyntaxError: "undefined" is not valid JSON` error is presented# To reproduce the issue
Install the dependencies
```
pnpm i
```Run
```
pnpm ok
```
To see the correct result:
![ok screenshot](./ok.png)Run
```
pnpm ko
```
To instead see the problematic result:
![ko screenshot](./ko.png)