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
|
||||
- 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).
|
||||
- git checkout development
|
||||
# Forcefully pull the latest changes.
|
||||
- git pull
|
||||
# Ensure full Git history so Lerna can detect changes
|
||||
- git fetch --unshallow
|
||||
- git fetch origin development
|
||||
|
||||
# Check the current HEAD and the associated branch
|
||||
- 'echo "CI_COMMIT_SHA: ${CI_COMMIT_SHA}"'
|
||||
- git log -1
|
||||
|
||||
# Setup npm config for npmjs.com
|
||||
- npm config set registry https://registry.npmjs.org/
|
||||
|
||||
@@ -115,6 +115,16 @@ export class Script {
|
||||
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(
|
||||
cashASM: string,
|
||||
data?: Record<string, Uint8Array>,
|
||||
|
||||
Reference in New Issue
Block a user