@aresdefencelabs/wasm-http-runtime 0.1.1 → 0.1.2

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/dist/abi.d.ts CHANGED
@@ -9,7 +9,7 @@ export declare function createAresAbiImports<Env>(state: RuntimeState<Env>): {
9
9
  free_mem(ptr: number, size: number): void;
10
10
  abi_log(messagePtr: number): void;
11
11
  abi_http_get_user_agent_name(): number;
12
- __asyncjs__abi_http_fetch_blocking_async: (requestJsonCstrPtr: number) => Promise<number>;
12
+ abi_http_fetch_blocking_async: (requestJsonCstrPtr: number) => Promise<number>;
13
13
  abi_http_response_get_status(responseId: number): number;
14
14
  abi_http_response_get_body_len(responseId: number): number;
15
15
  abi_http_response_copy_body(responseId: number, outPtr: number, maxLen: number): number;
package/dist/abi.js CHANGED
@@ -101,7 +101,7 @@ export function createAresAbiImports(state) {
101
101
  const alloc = getAllocOrThrow(instance);
102
102
  return writeCString(memory, alloc, userAgent);
103
103
  },
104
- __asyncjs__abi_http_fetch_blocking_async: async (requestJsonCstrPtr) => {
104
+ abi_http_fetch_blocking_async: async (requestJsonCstrPtr) => {
105
105
  const instance = getInstanceOrThrow(state);
106
106
  const memory = getMemoryOrThrow(instance);
107
107
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aresdefencelabs/wasm-http-runtime",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "Runtime adapter that connects C++ WebAssembly workers to the Cloudflare Workers runtime via an ABI bridge.",
5
5
  "type": "module",
6
6
  "private": false,