From 92f5e584850c2456bdec818f79559d24ecaf2fb1 Mon Sep 17 00:00:00 2001 From: Kyle Peacock Date: Mon, 30 Oct 2023 11:50:56 -0700 Subject: [PATCH] wip --- canister_ids.json | 3 - dfx.json | 4 - docs/generated/changelog.html | 1 + e2e/node/basic/canisterStatus.test.ts | 1 + e2e/node/basic/counter.test.ts | 11 +- e2e/node/basic/mainnet.test.ts | 10 - e2e/node/canisters/counter.mo | 59 ++--- e2e/node/canisters/counter.ts | 48 ++-- e2e/node/canisters/counter.wasm | Bin 119676 -> 93563 bytes .../declarations/counter/counter.did | 1 - .../declarations/counter/counter.did.d.ts | 1 - .../declarations/counter/counter.did.js | 1 - .../canisters/declarations/counter/index.ts | 9 +- e2e/node/package.json | 1 - e2e/node/tsconfig.json | 2 +- e2e/node/utils/agent.ts | 2 +- e2e/node/vitest.config.ts | 1 - package-lock.json | 219 +++++----------- packages/agent/src/agent/http/call.test.ts | 49 ++++ packages/agent/src/agent/http/call.ts | 247 ++++++++++++++++++ packages/agent/src/agent/http/index.ts | 27 +- packages/agent/src/certificate.test.ts | 9 + packages/agent/src/certificate.ts | 56 +++- 23 files changed, 503 insertions(+), 259 deletions(-) create mode 100644 packages/agent/src/agent/http/call.test.ts create mode 100644 packages/agent/src/agent/http/call.ts diff --git a/canister_ids.json b/canister_ids.json index f4f66bc1c..7030ae77f 100644 --- a/canister_ids.json +++ b/canister_ids.json @@ -1,7 +1,4 @@ { - "counter": { - "ic": "teog5-mqaaa-aaaab-qaija-cai" - }, "docs": { "ic": "erxue-5aaaa-aaaab-qaagq-cai" } diff --git a/dfx.json b/dfx.json index 55956830e..0995803d2 100644 --- a/dfx.json +++ b/dfx.json @@ -3,10 +3,6 @@ "docs": { "type": "assets", "source": ["docs/generated"] - }, - "counter": { - "type": "motoko", - "main": "e2e/node/canisters/counter.mo" } } } diff --git a/docs/generated/changelog.html b/docs/generated/changelog.html index 491c78ecd..35e9de864 100644 --- a/docs/generated/changelog.html +++ b/docs/generated/changelog.html @@ -12,6 +12,7 @@

Agent-JS Changelog

Version x.x.x