Deno link fix and version bump (#229)

This commit is contained in:
Mariusz Kogen
2022-12-19 02:36:46 +01:00
committed by GitHub
parent c23ae3c680
commit 8a2ed25146

View File

@@ -30,7 +30,7 @@ Terms:
**Procedure**: A procedure is run during times that we would like to do an operation. An operation would include actions such as getting or setting a service's configuration file.
**Effects**: A TypeScript object that is used to interact with embassyOS. See the `full definition here <https://deno.land/x/embassyd_sdk@v0.3.1.0.5/types.ts>`__.
**Effects**: A TypeScript object that is used to interact with embassyOS. See the `full definition here <https://deno.land/x/embassyd_sdk/types.ts>`__.
This new process enabled faster service configuration operations. Previously, Docker was used to preform these actions; however, Docker containers took a long time to spin up.
@@ -44,7 +44,7 @@ How to Setup
.. code:: javascript
import { types as T } from "https://deno.land/x/embassyd_sdk@v0.3.1.0.5/mod.ts";
import { types as T } from "https://deno.land/x/embassyd_sdk@v0.3.3.0.5/mod.ts";
/** Anywhere this exists one needs to implement */
let todo: any;
@@ -73,7 +73,7 @@ How to Setup
set:
type: script
4. Fill in the todos in the above template to match the expected Effect parameter defined by the `exported type <https://deno.land/x/embassyd_sdk@v0.3.1.0.3/types.ts#L32>`_. This type describes how to call functions that interact with embassyOS.
4. Fill in the todos in the above template to match the expected Effect parameter defined by the `exported type <https://deno.land/x/embassyd_sdk@v0.3.3.0.5/types.ts#L32>`_. This type describes how to call functions that interact with embassyOS.
5. In the build process for packaging the final s9pk, include the following step. **The location of the js is important, and can't be changed**. It must exist at `scripts/embassy.js` in the root of the project's wrapper repository.
.. code:: bash
@@ -94,4 +94,4 @@ This one is the most complex, we replaced all the running rust with a js functio
- `Manifest <https://github.com/Start9Labs/c-lightning-wrapper/blob/master/manifest.yaml>`__
- `Procedures <https://github.com/Start9Labs/c-lightning-wrapper/blob/master/scripts/embassy.ts>`__
- `Procedures <https://github.com/Start9Labs/c-lightning-wrapper/blob/master/scripts/embassy.ts>`__