WC-4185 Support variable asset count based on claims from upstream
As noted in the comments, normally we'd need to validate this jwt, but since any uploads depend on a valid jwt (and are validated later) it's fine to just decode the jwt and check for this feature
For WC-4185
Describe your change...
- Tests
- [x] Tests included/updated
- [ ] Tests not necessary because:
- Public documentation
- [ ] Cloudflare docs PR(s):
- [x] Documentation not necessary because: internal-only change
- Wrangler V3 Backport
- [ ] Wrangler PR:
- [x] Not necessary because: not a patch change
A picture of a cute animal (not mandatory, but encouraged)
🦋 Changeset detected
Latest commit: e77e818a40fa74f4c44d5af9b2a5762a243cab01
The changes in this PR will be included in the next version bump.
Not sure what this means? Click here to learn what changesets are.
Click here if you're a maintainer who wants to add another changeset to this PR
create-cloudflare
npm i https://pkg.pr.new/create-cloudflare@11529
@cloudflare/kv-asset-handler
npm i https://pkg.pr.new/@cloudflare/kv-asset-handler@11529
miniflare
npm i https://pkg.pr.new/miniflare@11529
@cloudflare/pages-shared
npm i https://pkg.pr.new/@cloudflare/pages-shared@11529
@cloudflare/unenv-preset
npm i https://pkg.pr.new/@cloudflare/unenv-preset@11529
@cloudflare/vite-plugin
npm i https://pkg.pr.new/@cloudflare/vite-plugin@11529
@cloudflare/vitest-pool-workers
npm i https://pkg.pr.new/@cloudflare/vitest-pool-workers@11529
@cloudflare/workers-editor-shared
npm i https://pkg.pr.new/@cloudflare/workers-editor-shared@11529
@cloudflare/workers-utils
npm i https://pkg.pr.new/@cloudflare/workers-utils@11529
wrangler
npm i https://pkg.pr.new/wrangler@11529
commit: e77e818
✅️🫡
✅️🫡
CI failures fixed by https://github.com/cloudflare/workers-sdk/pull/11564