Add Typedoc to fromCashASM function
This commit is contained in:
+7
-4
@@ -42,10 +42,13 @@ publish:development:
|
|||||||
# Configure git to push with CI token
|
# Configure git to push with CI token
|
||||||
- git remote set-url origin "https://gitlab-ci-token:$GL_TOKEN@$CI_SERVER_HOST/$CI_PROJECT_PATH.git"
|
- git remote set-url origin "https://gitlab-ci-token:$GL_TOKEN@$CI_SERVER_HOST/$CI_PROJECT_PATH.git"
|
||||||
|
|
||||||
# Checkout the development branch so that we're not on a detached HEAD (which GitLab CI will default to).
|
# Ensure full Git history so Lerna can detect changes
|
||||||
- git checkout development
|
- git fetch --unshallow
|
||||||
# Forcefully pull the latest changes.
|
- git fetch origin development
|
||||||
- git pull
|
|
||||||
|
# Check the current HEAD and the associated branch
|
||||||
|
- 'echo "CI_COMMIT_SHA: ${CI_COMMIT_SHA}"'
|
||||||
|
- git log -1
|
||||||
|
|
||||||
# Setup npm config for npmjs.com
|
# Setup npm config for npmjs.com
|
||||||
- npm config set registry https://registry.npmjs.org/
|
- npm config set registry https://registry.npmjs.org/
|
||||||
|
|||||||
@@ -115,6 +115,16 @@ export class Script {
|
|||||||
return new this(assembleResult.bytecode);
|
return new this(assembleResult.bytecode);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Create a Script Entity from the given CashASM String.
|
||||||
|
*
|
||||||
|
* @param cashASM String of CashASM to compile.
|
||||||
|
* @param data AddressData to pass to the CashASM compiler
|
||||||
|
*
|
||||||
|
* @throws {Error} If script cannot be decoded.
|
||||||
|
*
|
||||||
|
* @returns The created Script Entity.
|
||||||
|
*/
|
||||||
public static fromCashASM(
|
public static fromCashASM(
|
||||||
cashASM: string,
|
cashASM: string,
|
||||||
data?: Record<string, Uint8Array>,
|
data?: Record<string, Uint8Array>,
|
||||||
|
|||||||
Reference in New Issue
Block a user