Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added remaining routes and fixed tests #473

Merged
merged 25 commits into from
Mar 11, 2024
Merged
Changes from 1 commit
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
3de8494
Added test script to package.json.
spigaz Mar 8, 2024
757bcd5
Added worker-sandbox r2 routes.
spigaz Mar 8, 2024
367af94
Added worker-build to the npm test script.
spigaz Mar 8, 2024
d35f20b
Added worker-sandbox r2 routes - cleanup.
spigaz Mar 8, 2024
847bb15
Added worker-sandbox queue routes.
spigaz Mar 8, 2024
3392238
Added worker-sandbox service-bindings routes - implied porting and ad…
spigaz Mar 8, 2024
e488c9f
Added worker-sandbox service-bindings routes - implied porting and ad…
spigaz Mar 8, 2024
22f2997
Added worker-sandbox cache stream route - Implied porting some more r…
spigaz Mar 9, 2024
2be670e
Added worker-sandbox remaining cache routes.
spigaz Mar 9, 2024
7dadcee
Added worker-sandbox init called route.
spigaz Mar 9, 2024
6076eb2
Added worker-sandbox custom-response-body route.
spigaz Mar 9, 2024
42edfa0
Added worker-sandbox now route.
spigaz Mar 9, 2024
4e8b0dd
Added worker-sandbox redirect-307 route.
spigaz Mar 9, 2024
15e2955
Added worker-sandbox redirect-default route.
spigaz Mar 9, 2024
5960f0a
Added worker-sandbox subrequests routes and fetch helpers that were r…
spigaz Mar 9, 2024
f759c8d
Added worker-sandbox subrequests fetch-timeout to be shorter.
spigaz Mar 9, 2024
d451c62
Added worker-sandbox request catchall fixed test case.
spigaz Mar 9, 2024
7135ce3
Added worker-sandbox request xor route.
spigaz Mar 9, 2024
9a7769f
Added worker-sandbox request xor route.
spigaz Mar 9, 2024
591f9c1
Added worker-sandbox websocket route.
spigaz Mar 9, 2024
f11e41c
worker-sandbox queue routes clean up.
spigaz Mar 9, 2024
1e46bcf
worker unused dependencies clean up.
spigaz Mar 9, 2024
4579e7a
worker-sandbox: Added missing d1 routes and improved d1 tests to use …
spigaz Mar 10, 2024
0d8d4da
worker-sandbox: Clippy.
spigaz Mar 10, 2024
124ea82
worker-sandbox: fmt.
spigaz Mar 10, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
worker unused dependencies clean up.
  • Loading branch information
spigaz committed Mar 9, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit 1e46bcf2da723b20379f81a7cf2b361516c08290
1 change: 0 additions & 1 deletion worker/src/body/body.rs
Original file line number Diff line number Diff line change
@@ -5,7 +5,6 @@ use std::{

use crate::{
body::{wasm::WasmStreamBody, HttpBody},
cache::CacheValue,
futures::SendJsFuture,
Error,
};
2 changes: 1 addition & 1 deletion worker/src/durable.rs
Original file line number Diff line number Diff line change
@@ -27,7 +27,7 @@ use chrono::{DateTime, Utc};
use futures_util::Future;
use js_sys::{Map, Number, Object};
use serde::{de::DeserializeOwned, Serialize};
use wasm_bindgen::{prelude::*, JsCast};
use wasm_bindgen::prelude::*;
use wasm_bindgen_futures::future_to_promise;
use worker_sys::{
DurableObject as EdgeDurableObject, DurableObjectId,
2 changes: 1 addition & 1 deletion worker/src/env.rs
Original file line number Diff line number Diff line change
@@ -6,7 +6,7 @@ use crate::Queue;
use crate::{durable::ObjectNamespace, Bucket, DynamicDispatcher, Fetcher, Result};

use js_sys::Object;
use wasm_bindgen::{prelude::*, JsCast, JsValue};
use wasm_bindgen::prelude::*;
use worker_kv::KvStore;

#[wasm_bindgen]
2 changes: 1 addition & 1 deletion worker/src/queue.rs
Original file line number Diff line number Diff line change
@@ -3,7 +3,7 @@ use std::marker::PhantomData;
use crate::{env::EnvBinding, futures::SendJsFuture, Date, Error, Result};
use js_sys::Array;
use serde::{de::DeserializeOwned, Serialize};
use wasm_bindgen::{prelude::*, JsCast};
use wasm_bindgen::prelude::*;
use worker_sys::{MessageBatch as MessageBatchSys, Queue as EdgeQueue};

static BODY_KEY_STR: &str = "body";