@higress/proxy-runtime
Advanced tools
Comparing version 0.0.1 to 0.1.0-beta.1
@@ -13,3 +13,3 @@ import { getBaseContext, getContext, getRootContext, ensureContext, ensureRootContext, deleteContext, PeerTypeValues } from "./runtime"; | ||
// Calls in. | ||
export function proxy_abi_version_0_2_100(): void { } | ||
export function proxy_abi_version_0_2_1(): void { } | ||
@@ -16,0 +16,0 @@ export function proxy_on_vm_start(root_context_id: u32, configuration_size: u32): u32 { |
@@ -18,6 +18,6 @@ { | ||
"description": "Use this SDK to write extensions for the proxy WASM ABI", | ||
"version": "0.0.1", | ||
"version": "0.1.0-beta.1", | ||
"main": "assembly/index.ts", | ||
"directories": { | ||
"example": "examples" | ||
"doc": "docs" | ||
}, | ||
@@ -24,0 +24,0 @@ "repository": { |
@@ -1,3 +0,1 @@ | ||
## Forked from [@solo-io/proxy-runtime](https://github.com/solo-io/proxy-runtime) | ||
How to use the SDK: | ||
@@ -21,3 +19,3 @@ | ||
Add `"@higress-group/proxy-runtime": "file:/home/yuval/Projects/higress/proxy-assemblyscript"` to your dependencies. | ||
Add `"@solo-io/proxy-runtime": "file:/home/yuval/Projects/solo/proxy-assemblyscript"` to your dependencies. | ||
run `npm install` | ||
@@ -27,3 +25,3 @@ | ||
Just include the `@higress-group/proxy-runtime` package. | ||
Just include the `@solo-io/proxy-runtime` package. | ||
@@ -36,4 +34,4 @@ # Hello, World | ||
```ts | ||
export * from "@higress-group/proxy-runtime/proxy"; // this exports the required functions for the proxy to interact with us. | ||
import { RootContext, Context, registerRootContext, FilterHeadersStatusValues, stream_context } from "@higress-group/proxy-runtime"; | ||
export * from "@solo-io/proxy-runtime/proxy"; // this exports the required functions for the proxy to interact with us. | ||
import { RootContext, Context, registerRootContext, FilterHeadersStatusValues, stream_context } from "@solo-io/proxy-runtime"; | ||
@@ -40,0 +38,0 @@ class AddHeaderRoot extends RootContext { |
73528
85