From de16d02085806c3d9669b7009e29e1c428373ed6 Mon Sep 17 00:00:00 2001 From: Michael Feher Date: Thu, 25 Jul 2024 21:02:18 -0400 Subject: [PATCH 1/3] =?UTF-8?q?=E2=99=BB=EF=B8=8Fconvert=20to=20awesome-al?= =?UTF-8?q?gorand=20scope?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package-lock.json | 75 +++++++++++-------- package.json | 18 +++-- packages/algod/package.json | 18 +++-- packages/algod/src/core/BaseHttpRequest.ts | 2 +- packages/algod/src/core/CancelablePromise.ts | 2 +- packages/algod/src/core/FetchHttpRequest.ts | 2 +- packages/algod/src/core/OpenAPI.ts | 2 +- packages/core/package.json | 5 +- packages/indexer/package.json | 37 +++------ packages/indexer/src/core/BaseHttpRequest.ts | 2 +- .../indexer/src/core/CancelablePromise.ts | 2 +- packages/indexer/src/core/FetchHttpRequest.ts | 2 +- packages/indexer/src/core/OpenAPI.ts | 2 +- packages/kmd/package.json | 18 ++--- packages/kmd/src/core/BaseHttpRequest.ts | 2 +- packages/kmd/src/core/CancelablePromise.ts | 2 +- packages/kmd/src/core/FetchHttpRequest.ts | 2 +- packages/kmd/src/core/OpenAPI.ts | 2 +- 18 files changed, 101 insertions(+), 94 deletions(-) diff --git a/package-lock.json b/package-lock.json index 4bfebda..ce18399 100644 --- a/package-lock.json +++ b/package-lock.json @@ -11,7 +11,7 @@ "docs" ], "devDependencies": { - "@hey-api/openapi-ts": "^0.48.2", + "@hey-api/openapi-ts": "^0.50.0", "@typescript-eslint/eslint-plugin": "^7.16.0", "@typescript-eslint/parser": "^7.16.0", "@vitest/coverage-v8": "^2.0.2", @@ -44,26 +44,10 @@ "typescript": "^5.5.3" } }, - "node_modules/@algofam/algod-fetch": { - "resolved": "packages/algod", - "link": true - }, - "node_modules/@algofam/core-fetch": { - "resolved": "packages/core", - "link": true - }, "node_modules/@algofam/docs-fetch": { "resolved": "docs", "link": true }, - "node_modules/@algofam/indexer-fetch": { - "resolved": "packages/indexer", - "link": true - }, - "node_modules/@algofam/kmd-fetch": { - "resolved": "packages/kmd", - "link": true - }, "node_modules/@ampproject/remapping": { "version": "2.3.0", "resolved": "https://registry.npmjs.org/@ampproject/remapping/-/remapping-2.3.0.tgz", @@ -302,6 +286,22 @@ "node": "^18.17.1 || ^20.3.0 || >=21.0.0" } }, + "node_modules/@awesome-algorand/algod-fetch": { + "resolved": "packages/algod", + "link": true + }, + "node_modules/@awesome-algorand/core-fetch": { + "resolved": "packages/core", + "link": true + }, + "node_modules/@awesome-algorand/indexer-fetch": { + "resolved": "packages/indexer", + "link": true + }, + "node_modules/@awesome-algorand/kmd-fetch": { + "resolved": "packages/kmd", + "link": true + }, "node_modules/@babel/code-frame": { "version": "7.24.7", "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.24.7.tgz", @@ -1237,9 +1237,9 @@ } }, "node_modules/@hey-api/openapi-ts": { - "version": "0.48.2", - "resolved": "https://registry.npmjs.org/@hey-api/openapi-ts/-/openapi-ts-0.48.2.tgz", - "integrity": "sha512-pjJb0kzjTyKAdKGfi3GkOqD4AklImS5xz7xx1grZQMlNv87iV12g2pccEsml6WYDxQ1qJ7DFWa8FexAPDbzvZg==", + "version": "0.50.0", + "resolved": "https://registry.npmjs.org/@hey-api/openapi-ts/-/openapi-ts-0.50.0.tgz", + "integrity": "sha512-Nt3Zcv+7evPQm1YZaeT0xbGOQ5PyOUU3jjIGYbUHm9eE7awpyM6BUByTJdZulldqUh829GDhfiU/md2ZQ1VHYw==", "dev": true, "dependencies": { "@apidevtools/json-schema-ref-parser": "11.6.4", @@ -10869,15 +10869,30 @@ } }, "packages/algod": { - "name": "@algofam/algod-fetch", - "version": "3.25.0", + "name": "@awesome-algorand/algod-fetch", + "version": "0.0.0", + "license": "Unlicense", + "dependencies": { + "@awesome-algorand/core-fetch": "^1.0.0" + } + }, + "packages/cli": { + "name": "@awesome-algo/fetch-cli", + "version": "1.0.0", + "extraneous": true, "license": "Unlicense", "dependencies": { - "@algofam/core-fetch": "^1.0.0" + "@huggingface/inference": "^2.8.0", + "chalk": "^5.3.0", + "commander": "^12.1.0", + "gradient-string": "^2.0.2" + }, + "bin": { + "af": "bin/index.js" } }, "packages/core": { - "name": "@algofam/core-fetch", + "name": "@awesome-algorand/core-fetch", "version": "1.0.0", "license": "Unlicense" }, @@ -10892,19 +10907,19 @@ } }, "packages/indexer": { - "name": "@algofam/indexer-fetch", - "version": "3.5.0", + "name": "@awesome-algorand/indexer-fetch", + "version": "2.0.0", "license": "Unlicense", "dependencies": { - "@algofam/core-fetch": "^1.0.0" + "@awesome-algorand/core-fetch": "^1.0.0" } }, "packages/kmd": { - "name": "@algofam/kmd-fetch", - "version": "3.25.0", + "name": "@awesome-algorand/kmd-fetch", + "version": "0.0.0", "license": "Unlicense", "dependencies": { - "@algofam/core-fetch": "^1.0.0" + "@awesome-algorand/core-fetch": "^1.0.0" } }, "packages/queries": { diff --git a/package.json b/package.json index 9d77c56..a9b9215 100644 --- a/package.json +++ b/package.json @@ -10,18 +10,20 @@ "scripts": { "dev": "vitest --ui --coverage", "build": "concurrently \"npm:build:*\"", - "build:algod": "npm run -w @algofam/algod-fetch build", - "build:indexer": "npm run -w @algofam/indexer-fetch build", - "build:kmd": "npm run -w @algofam/kmd-fetch build", - "prebuild": "npm run -w @algofam/core-fetch build", - "docs": "npm run build -w @algofam/docs-fetch", - "docs:dev": "npm run dev -w @algofam/docs-fetch", + "build:algod": "npm run -w @awesome-algorand/algod-fetch build", + "build:indexer": "npm run -w @awesome-algorand/indexer-fetch build", + "build:kmd": "npm run -w @awesome-algorand/kmd-fetch build", + "prebuild": "npm run -w @awesome-algorand/core-fetch build", + "docs": "npm run build -w @awesome-algorand/docs-fetch", + "docs:dev": "npm run dev -w @awesome-algorand/docs-fetch", "predocs": "npm run build", "test": "vitest", "test:ui": "vitest --ui --coverage", "lint": "npm run lint -ws --if-present", "lint:fix": "npm run lint:fix -ws --if-present", - "coverage": "vitest --coverage" + "coverage": "vitest --coverage", + "verdaccio": "docker run -it --rm --name verdaccio -p 4873:4873 verdaccio/verdaccio", + "publisher": "node ./bin/publisher.js" }, "keywords": [ "algorand", @@ -34,7 +36,7 @@ "author": "Awesome Algorand", "license": "Unlicense", "devDependencies": { - "@hey-api/openapi-ts": "^0.48.2", + "@hey-api/openapi-ts": "^0.50.0", "@typescript-eslint/eslint-plugin": "^7.16.0", "@typescript-eslint/parser": "^7.16.0", "@vitest/coverage-v8": "^2.0.2", diff --git a/packages/algod/package.json b/packages/algod/package.json index ce0ac32..1ad448c 100644 --- a/packages/algod/package.json +++ b/packages/algod/package.json @@ -1,9 +1,12 @@ { - "name": "@algofam/algod-fetch", - "version": "3.25.0", + "name": "@awesome-algorand/algod-fetch", + "version": "0.0.0", "description": "Fetch client for Algod RPC", "keywords": [ - "fetch" + "algorand", + "algod", + "fetch", + "rpc" ], "type": "module", "module": "lib/index.js", @@ -14,6 +17,9 @@ "default": "./lib/index.js" } }, + "publishConfig": { + "registry": "http://0.0.0.0:4873/" + }, "scripts": { "dev": "vitest --ui --coverage", "test": "vitest", @@ -21,12 +27,12 @@ "lint:fix": "eslint src --fix", "docs": "typedoc --out docs src", "coverage": "vitest run --coverage", - "build": "npm run generate && tsc", - "generate": "rimraf src/*.ts lib && openapi-ts --exportCore false -i https://raw.githubusercontent.com/algorand/go-algorand/v3.25.0-stable/daemon/algod/api/algod.oas3.yml -o src -c fetch --name AlgodClient" + "clean": "rimraf src/*.ts lib", + "build": "tsc" }, "author": "Awesome Algorand", "license": "Unlicense", "dependencies": { - "@algofam/core-fetch": "^1.0.0" + "@awesome-algorand/core-fetch": "^1.0.0" } } diff --git a/packages/algod/src/core/BaseHttpRequest.ts b/packages/algod/src/core/BaseHttpRequest.ts index f70a685..b97ae43 100644 --- a/packages/algod/src/core/BaseHttpRequest.ts +++ b/packages/algod/src/core/BaseHttpRequest.ts @@ -1 +1 @@ -export type {BaseHttpRequest} from '@algofam/core-fetch'; +export type {BaseHttpRequest} from '@awesome-algorand/core-fetch'; diff --git a/packages/algod/src/core/CancelablePromise.ts b/packages/algod/src/core/CancelablePromise.ts index fa66391..4b0d4f8 100644 --- a/packages/algod/src/core/CancelablePromise.ts +++ b/packages/algod/src/core/CancelablePromise.ts @@ -1 +1 @@ -export {CancelablePromise} from '@algofam/core-fetch'; +export {CancelablePromise} from '@awesome-algorand/core-fetch'; diff --git a/packages/algod/src/core/FetchHttpRequest.ts b/packages/algod/src/core/FetchHttpRequest.ts index 8902976..8a526fc 100644 --- a/packages/algod/src/core/FetchHttpRequest.ts +++ b/packages/algod/src/core/FetchHttpRequest.ts @@ -1 +1 @@ -export {FetchHttpRequest} from '@algofam/core-fetch'; +export {FetchHttpRequest} from '@awesome-algorand/core-fetch'; diff --git a/packages/algod/src/core/OpenAPI.ts b/packages/algod/src/core/OpenAPI.ts index c1cf07a..76767fe 100644 --- a/packages/algod/src/core/OpenAPI.ts +++ b/packages/algod/src/core/OpenAPI.ts @@ -1 +1 @@ -export { Interceptors, type OpenAPIConfig } from '@algofam/core-fetch'; +export { Interceptors, type OpenAPIConfig } from '@awesome-algorand/core-fetch'; diff --git a/packages/core/package.json b/packages/core/package.json index 28b268e..3153e64 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,10 +1,11 @@ { - "name": "@algofam/core-fetch", + "name": "@awesome-algorand/core-fetch", "version": "1.0.0", "description": "Core fetch utils", "keywords": [ "hey-api", - "fetch" + "fetch", + "rpc" ], "type": "module", "module": "lib/index.js", diff --git a/packages/indexer/package.json b/packages/indexer/package.json index d666d82..dc8b44d 100644 --- a/packages/indexer/package.json +++ b/packages/indexer/package.json @@ -1,12 +1,12 @@ { - "name": "@algofam/indexer-fetch", - "version": "3.5.0", + "name": "@awesome-algorand/indexer-fetch", + "version": "0.0.0", "description": "Fetch client for Indexer", "keywords": [ - "nfdomain", - "nfd", - "nameservice", - "fetch" + "algorand", + "indexer", + "fetch", + "rpc" ], "type": "module", "module": "lib/index.js", @@ -15,24 +15,7 @@ ".": { "types": "./lib/index.d.ts", "default": "./lib/index.js" - }, - "./client": { - "types": "./lib/NfdClient.d.ts", - "default": "./lib/NfdClient.js" - }, - "./schemas": { - "types": "./lib/schemas.gen.d.ts", - "default": "./lib/schemas.gen.js" - }, - "./services": { - "types": "./types/services.gen.d.ts", - "default": "./lib/services.gen.js" - }, - "./types": { - "types": "./types/types.gen.d.ts", - "default": "./lib/types.gen.js" - }, - "./README.md": "./README.md" + } }, "scripts": { "dev": "vitest --ui --coverage", @@ -40,12 +23,12 @@ "lint": "eslint src", "lint:fix": "eslint src --fix", "coverage": "vitest run --coverage", - "build": "npm run generate && tsc", - "generate": "rimraf src/*.ts lib && openapi-ts --exportCore false -i https://raw.githubusercontent.com/algorand/indexer/v3.5.0/api/indexer.oas3.yml -o src -c fetch --name IndexerClient" + "clean": "rimraf src/*.ts lib", + "build": "tsc" }, "author": "Awesome Algorand", "license": "Unlicense", "dependencies": { - "@algofam/core-fetch": "^1.0.0" + "@awesome-algorand/core-fetch": "^1.0.0" } } diff --git a/packages/indexer/src/core/BaseHttpRequest.ts b/packages/indexer/src/core/BaseHttpRequest.ts index f70a685..b97ae43 100644 --- a/packages/indexer/src/core/BaseHttpRequest.ts +++ b/packages/indexer/src/core/BaseHttpRequest.ts @@ -1 +1 @@ -export type {BaseHttpRequest} from '@algofam/core-fetch'; +export type {BaseHttpRequest} from '@awesome-algorand/core-fetch'; diff --git a/packages/indexer/src/core/CancelablePromise.ts b/packages/indexer/src/core/CancelablePromise.ts index fa66391..4b0d4f8 100644 --- a/packages/indexer/src/core/CancelablePromise.ts +++ b/packages/indexer/src/core/CancelablePromise.ts @@ -1 +1 @@ -export {CancelablePromise} from '@algofam/core-fetch'; +export {CancelablePromise} from '@awesome-algorand/core-fetch'; diff --git a/packages/indexer/src/core/FetchHttpRequest.ts b/packages/indexer/src/core/FetchHttpRequest.ts index 8902976..8a526fc 100644 --- a/packages/indexer/src/core/FetchHttpRequest.ts +++ b/packages/indexer/src/core/FetchHttpRequest.ts @@ -1 +1 @@ -export {FetchHttpRequest} from '@algofam/core-fetch'; +export {FetchHttpRequest} from '@awesome-algorand/core-fetch'; diff --git a/packages/indexer/src/core/OpenAPI.ts b/packages/indexer/src/core/OpenAPI.ts index c1cf07a..76767fe 100644 --- a/packages/indexer/src/core/OpenAPI.ts +++ b/packages/indexer/src/core/OpenAPI.ts @@ -1 +1 @@ -export { Interceptors, type OpenAPIConfig } from '@algofam/core-fetch'; +export { Interceptors, type OpenAPIConfig } from '@awesome-algorand/core-fetch'; diff --git a/packages/kmd/package.json b/packages/kmd/package.json index 6d9cb8f..ebc7162 100644 --- a/packages/kmd/package.json +++ b/packages/kmd/package.json @@ -1,12 +1,12 @@ { - "name": "@algofam/kmd-fetch", - "version": "3.25.0", + "name": "@awesome-algorand/kmd-fetch", + "version": "0.0.0", "description": "Fetch client for KMD", "keywords": [ - "nfdomain", - "nfd", - "nameservice", - "fetch" + "algorand", + "kmd", + "fetch", + "rpc" ], "type": "module", "module": "lib/index.js", @@ -24,12 +24,12 @@ "docs": "typedoc", "lint:fix": "eslint src --fix", "coverage": "vitest run --coverage", - "build": "npm run generate && tsc", - "generate": "rimraf src/*.ts lib && openapi-ts --exportCore false -i https://raw.githubusercontent.com/algorand/go-algorand/v3.25.0-stable/daemon/kmd/api/swagger.json -o src -c fetch --name KmdClient" + "clean": "rimraf src/*.ts lib", + "build": "tsc" }, "author": "Awesome Algorand", "license": "Unlicense", "dependencies": { - "@algofam/core-fetch": "^1.0.0" + "@awesome-algorand/core-fetch": "^1.0.0" } } diff --git a/packages/kmd/src/core/BaseHttpRequest.ts b/packages/kmd/src/core/BaseHttpRequest.ts index f70a685..b97ae43 100644 --- a/packages/kmd/src/core/BaseHttpRequest.ts +++ b/packages/kmd/src/core/BaseHttpRequest.ts @@ -1 +1 @@ -export type {BaseHttpRequest} from '@algofam/core-fetch'; +export type {BaseHttpRequest} from '@awesome-algorand/core-fetch'; diff --git a/packages/kmd/src/core/CancelablePromise.ts b/packages/kmd/src/core/CancelablePromise.ts index fa66391..4b0d4f8 100644 --- a/packages/kmd/src/core/CancelablePromise.ts +++ b/packages/kmd/src/core/CancelablePromise.ts @@ -1 +1 @@ -export {CancelablePromise} from '@algofam/core-fetch'; +export {CancelablePromise} from '@awesome-algorand/core-fetch'; diff --git a/packages/kmd/src/core/FetchHttpRequest.ts b/packages/kmd/src/core/FetchHttpRequest.ts index 8902976..8a526fc 100644 --- a/packages/kmd/src/core/FetchHttpRequest.ts +++ b/packages/kmd/src/core/FetchHttpRequest.ts @@ -1 +1 @@ -export {FetchHttpRequest} from '@algofam/core-fetch'; +export {FetchHttpRequest} from '@awesome-algorand/core-fetch'; diff --git a/packages/kmd/src/core/OpenAPI.ts b/packages/kmd/src/core/OpenAPI.ts index c1cf07a..76767fe 100644 --- a/packages/kmd/src/core/OpenAPI.ts +++ b/packages/kmd/src/core/OpenAPI.ts @@ -1 +1 @@ -export { Interceptors, type OpenAPIConfig } from '@algofam/core-fetch'; +export { Interceptors, type OpenAPIConfig } from '@awesome-algorand/core-fetch'; From 240732abec3cf835cd2ac87fbe52da86154ee1a1 Mon Sep 17 00:00:00 2001 From: Michael Feher Date: Thu, 25 Jul 2024 21:02:50 -0400 Subject: [PATCH 2/3] =?UTF-8?q?=F0=9F=91=B7=20add=20package=20publisher?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/publish-packages.yml | 27 ++++++ bin/lib/github.js | 54 +++++++++++ bin/lib/process.js | 16 ++++ bin/lib/release.js | 106 ++++++++++++++++++++ bin/lib/versions.js | 80 ++++++++++++++++ bin/publisher.js | 128 +++++++++++++++++++++++++ 6 files changed, 411 insertions(+) create mode 100644 .github/workflows/publish-packages.yml create mode 100644 bin/lib/github.js create mode 100644 bin/lib/process.js create mode 100644 bin/lib/release.js create mode 100644 bin/lib/versions.js create mode 100755 bin/publisher.js diff --git a/.github/workflows/publish-packages.yml b/.github/workflows/publish-packages.yml new file mode 100644 index 0000000..7f4754f --- /dev/null +++ b/.github/workflows/publish-packages.yml @@ -0,0 +1,27 @@ +name: Publish Package +on: + workflow_dispatch: +jobs: + npm-publish: + runs-on: ubuntu-latest + permissions: + issues: write + contents: write + packages: write + pull-requests: write + id-token: write + steps: + - uses: actions/checkout@v4 + with: + fetch-depth: 0 + - uses: actions/setup-node@v4 + with: + node-version: '20.x' + registry-url: 'https://npm.pkg.github.com' + cache: 'npm' + - run: npm ci + - run: node ./bin/publisher.js + env: + NPM_CONFIG_REGISTRY: 'https://npm.pkg.github.com' + NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/bin/lib/github.js b/bin/lib/github.js new file mode 100644 index 0000000..54830e8 --- /dev/null +++ b/bin/lib/github.js @@ -0,0 +1,54 @@ + +/** + * Get the release body and url + * @param {string} repo + * @param {string} tag + * @param {string} [token] + * @return {Promise<{body: *, url: *}>} + */ +export async function getRelease(repo, tag, token) { + let headers = { + 'Accept': 'application/vnd.github.v3+json', + }; + if (typeof token === 'string') { + headers['Authorization'] = `Bearer ${token}`; + } + return await fetch(`https://api.github.com/repos/${repo}/releases/tags/${tag}`, { + method: 'GET', + headers, + }).then(r => { + if (r.status === 404) { + return null; + } + if(r.status !== 200){ + console.error(r); + throw new Error(r.statusText); + } + return r.json().then(r => ({ + body: r['body'], + url: r['html_url'], + })); + }); +} + + + +export async function getTags(repo, token) { + let headers = { + 'Accept': 'application/vnd.github.v3+json', + }; + if (typeof token === 'string') { + headers['Authorization'] = `Bearer ${token}`; + } + + return await fetch(`https://api.github.com/repos/${repo}/git/refs/tags`, { + method: 'GET', + headers, + }).then(r => { + if (r.status !== 200) { + console.error(r); + throw new Error(r.statusText); + } + return r.json(); + }); +} diff --git a/bin/lib/process.js b/bin/lib/process.js new file mode 100644 index 0000000..9896e3c --- /dev/null +++ b/bin/lib/process.js @@ -0,0 +1,16 @@ +import {spawn as _spawn} from 'node:child_process'; + +export async function spawn(...args){ + return new Promise((resolve, reject)=>{ + const p = _spawn(...args) + p.on('exit', code => { + if(code === 0){ + resolve() + } else { + console.log(args) + reject(new Error('Command Failed')) + } + }) + }) + +} diff --git a/bin/lib/release.js b/bin/lib/release.js new file mode 100644 index 0000000..df92839 --- /dev/null +++ b/bin/lib/release.js @@ -0,0 +1,106 @@ +import {writeFile} from 'node:fs/promises'; +import {spawn} from './process.js'; +import {getRelease} from './github.js'; +import {resolve} from 'node:path'; +/** + * Pack the package and publish it + * + * + * @param packagePath + * @param url + * @param name + * @return {Promise<*>} + */ +export async function build(packagePath, url, name) { + await spawn('npm', ['run', 'clean'], {cwd: packagePath}); + await spawn('npx', ['openapi-ts', '--exportCore', 'false', '-i', url, '-o', 'src', '-c', 'fetch', '--name', name], {cwd: packagePath}); + await spawn('npm', ['run', 'build'], {cwd: packagePath}); +} + +/** + * Pack the package and publish it + * + * + * @param packagePath + * @return {Promise<*>} + */ +export async function publish(packagePath) { + await spawn('npm', ['publish'], {cwd: packagePath}); +} + + +const CONFIGS = { + AlgodClient: { + BASE: 'https://testnet-api.algonode.cloud', + DOCS: 'https://awesome-algorand.github.io/algo-fetch/guides/clients/algod/' + }, + IndexerClient: { + BASE: 'https://testnet-idx.algonode.cloud/', + DOCS: 'https://awesome-algorand.github.io/algo-fetch/guides/clients/indexer/' + }, + KmdClient: { + BASE: 'https://localhost:4001', + DOCS: 'https://awesome-algorand.github.io/algo-fetch/guides/clients/kmd/' + } +} + +export async function release({ + name, // AlgodClient + packagePath, // ./packages/algod + version, // [3,0,0] + tag, // v3.0.0-stable + repo, // algorand/go-algorand + schema, // daemon/algod/api/algod.oas3.yml +}, pkg, token) { + console.log(`Current ${name} Version: ${pkg.version}`); + const schemaUrl = `https://raw.githubusercontent.com/${repo}/${tag}/${schema}`; + if (version.join('.') !== pkg.version) { + console.log(`Deploying Next ${name} Version: ${version.join('.')}`); + const readMeHeader = ` +# ${pkg.name} +> ${pkg.description} + +Generated ${name} for Algorand based on the [OpenAPI Specification](${schemaUrl}). +See the [upstream repository](https://github.com/${repo}) for more information. + +## Installation + +\`\`\`bash +npm install ${pkg.name} --save +\`\`\` + +### Usage + +\`\`\`typescript +import {${name}} from '${pkg.name}'; + +const client = new ${name}({ + BASE: '${CONFIGS[name].BASE}', +}) +\`\`\` + +#### See the full [API Documentation](${CONFIGS[name].DOCS}) for more information + +# Change Log +` + try { + const [major, minor, patch] = version; + const ghRelease = await getRelease(repo, tag, token); + if(!ghRelease){ + console.error(`Failed to get release for ${name} v${major}.${minor}.${patch}-stable`); + return; + } + await writeFile(resolve(packagePath, "README.md"), readMeHeader + ghRelease.body); + pkg.version = `${major}.${minor}.${patch}`; + await writeFile(resolve(packagePath, "package.json"), JSON.stringify(pkg, null, 2)); + await build(packagePath, schemaUrl, name); + await publish(packagePath); + console.log(`Deployed ${name} ${major}.${minor}.${patch}`); + } catch (e) { + console.error(e); + } + } else { + console.log(`No new ${name} versions to deploy`); + } + +} diff --git a/bin/lib/versions.js b/bin/lib/versions.js new file mode 100644 index 0000000..fa5e9ac --- /dev/null +++ b/bin/lib/versions.js @@ -0,0 +1,80 @@ +export const EXCLUDED_VERSIONS = [ + // Swagger not commited to repo yet + 'v2.0.3-stable', + 'v2.0.4-stable', + 'v2.0.5-stable', + 'v2.0.6-stable', + // No valid release + 'v3.7.1-stable', + 'v3.12.3-stable', + 'v3.16.1-stable', +] + +export function sortVersions(a, b) { + if (a[0] !== b[0]) { + return a[0] - b[0]; + } + if (a[1] !== b[1]) { + return a[1] - b[1]; + } + return a[2] - b[2]; +} +/** + * Only stable tags that start with v + * + * @param {string} tag + * @return {boolean} + */ +export function isStable(tag){ + return tag.includes('stable') && tag[0] === 'v' && !tag.includes('backport') +} + +/** + * Check if the tag is a major version + * + * @param {string} tag + * @param {string} version + * @return {boolean} + */ +export function isMajorVersion(tag, version){ + return getVersionFromTag(tag).split('.')[0] === version +} + +/** + * If the tag is a valid release that can be automated + * + * @param tag + * @return {boolean} + */ +export function isValid(tag){ + return isStable(tag) && !EXCLUDED_VERSIONS.includes(tag) && (isMajorVersion(tag, '2') || isMajorVersion(tag, '3')) +} + +/** + * Convert a reference to a tuple + * @param ref - refs/tags/v2.0.1-stable + * @return {number[]} + */ +export function toTuple(ref){ + return getVersionFromTag(ref.replace('refs/tags/', '')).split('.').map(i=>parseInt(i)) +} +/** + * + * @param {string} tag - v2.0.1-stable + * @return {string} + */ +export function getVersionFromTag(tag){ + return tag.replace('v', '').split('-')[0] +} + + +export function getNextVersion(currentVersion, stableReleases){ + const [major, minor, patch] = currentVersion.split('.').map(i=>parseInt(i)) + const results = stableReleases.filter(([m, n, p])=>{ + const isMajor = m > major + const isMinor = m === major && n > minor + const isPatch = m === major && n === minor && p > patch + return isMajor || isMinor || isPatch + }) + return typeof results[0] === 'undefined' ? [major, minor, patch]: results[0] +} diff --git a/bin/publisher.js b/bin/publisher.js new file mode 100755 index 0000000..bfc59b6 --- /dev/null +++ b/bin/publisher.js @@ -0,0 +1,128 @@ +#!/usr/bin/env node + +import {readFileSync} from 'node:fs'; +import {resolve} from 'node:path'; + +import {getNextVersion, isValid, sortVersions, toTuple} from './lib/versions.js'; +import {getTags} from './lib/github.js'; +import {release} from './lib/release.js'; + + +const GO_ALGORAND_REPO = 'algorand/go-algorand'; +const INDEXER_REPO = 'algorand/indexer'; + + +async function getStableAlgodVersions(token) { + let res = await getTags(GO_ALGORAND_REPO, token); + return res + // .filter(r => r.ref.includes('stable') && !BAD_VERSIONS.every(b => !r.ref.includes(b))) + .filter(r => isValid(r['ref'].replace('refs/tags/', ''))) + .map(r => toTuple(r.ref)) + // Skip missing KMD versions + .filter(r=>r[0] === 2 ? r[1] >= 10 : false) + .sort(sortVersions); +} + +async function getStableIndexerVersions(token) { + let res = await getTags(INDEXER_REPO, token); + const BAD_VERSIONS = [ + // Tags without releases + '2.0.1', + '2.3.0', + '2.3.1', + '2.7.1', + '2.11.0', + // Misc tags + 'jackstest', + 'pr', + '-rc', + 'alpha', + 'beta', + 'pre' + ]; + return res + .filter(r => !BAD_VERSIONS.some(b => r.ref.includes(b))) + .map(r => toTuple(r.ref)) + .sort(sortVersions); +} + + +/** + * Release Algod Package + * @return {Promise} + */ +async function releaseAlgodKMD() { + const ALGOD_PATH = resolve('./packages/algod'); + const ALGOD_PACKAGE = resolve(ALGOD_PATH, 'package.json'); + const algod = JSON.parse(readFileSync(ALGOD_PACKAGE).toString()); + + const stableReleases = await getStableAlgodVersions(process.env.GITHUB_TOKEN); + const nextVersion = getNextVersion(algod.version, stableReleases); + + // Algod Release + try { + const [major, minor, patch] = nextVersion; + await release({ + name: 'AlgodClient', + packagePath: ALGOD_PATH, + version: [major, minor, patch], + tag: `v${major}.${minor}.${patch}-stable`, + repo: GO_ALGORAND_REPO, + schema: `daemon/algod/api/algod.oas3.yml`, + }, algod, process.env.GITHUB_TOKEN) + } catch (e) { + console.error(e); + } + + // KMD Release + const KMD_PATH = resolve('./packages/kmd'); + const KMD_PACKAGE = resolve(KMD_PATH, 'package.json'); + const kmd = JSON.parse(readFileSync(KMD_PACKAGE).toString()); + + try { + const [major, minor, patch] = nextVersion; + await release({ + name: 'KmdClient', + packagePath: KMD_PATH, + version: [major, minor, patch], + tag: `v${major}.${minor}.${patch}-stable`, + repo: GO_ALGORAND_REPO, + schema: `daemon/kmd/api/swagger.json`, + }, kmd, process.env.GITHUB_TOKEN) + } catch (e) { + console.error(e); + } + +} + +/** + * Release Indexer Package + * + * @return {Promise} + */ +async function releaseIndexer(){ + const INDEXER_PATH = resolve('./packages/indexer'); + const INDEXER_PACKAGE = resolve(INDEXER_PATH, 'package.json'); + const indexer = JSON.parse(readFileSync(INDEXER_PACKAGE).toString()); + + const stableReleases = await getStableIndexerVersions(process.env.GITHUB_TOKEN); + const nextVersion = getNextVersion(indexer.version, stableReleases); + + try { + const [major, minor, patch] = nextVersion; + const tag = `${major === 3 ? 'v' : ''}${major}.${minor}.${patch}` + await release({ + name: 'IndexerClient', + packagePath: INDEXER_PATH, + version: [major, minor, patch], + tag, + repo: INDEXER_REPO, + schema: `api/indexer.oas3.yml`, + }, indexer, process.env.GITHUB_TOKEN) + } catch (e) { + console.error(e); + } +} +console.log('Running Publisher'); +await releaseAlgodKMD() +await releaseIndexer() From 62bd211def4e9955d8224bbc020e3353c72ae716 Mon Sep 17 00:00:00 2001 From: Michael Feher Date: Thu, 25 Jul 2024 21:12:34 -0400 Subject: [PATCH 3/3] =?UTF-8?q?=F0=9F=93=9D=20update=20documentation=20gen?= =?UTF-8?q?eration?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/gh-pages.yml | 52 ----- .github/workflows/publish-packages.yml | 23 ++ docs/package.json | 2 +- .../src/content/docs/guides/Clients/algod.mdx | 197 ------------------ .../content/docs/guides/Clients/indexer.mdx | 184 ---------------- docs/src/content/docs/guides/Clients/kmd.mdx | 171 --------------- package-lock.json | 12 +- package.json | 1 + 8 files changed, 31 insertions(+), 611 deletions(-) delete mode 100644 .github/workflows/gh-pages.yml diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml deleted file mode 100644 index f4e2919..0000000 --- a/.github/workflows/gh-pages.yml +++ /dev/null @@ -1,52 +0,0 @@ -name: Deploy Documentation -on: - push: - branches: ["main"] - workflow_dispatch: -permissions: - contents: read - pages: write - id-token: write -concurrency: - group: "pages" - cancel-in-progress: false -env: - BUILD_PATH: docs -jobs: - build: - name: Build - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v4 - - name: Setup Node - uses: actions/setup-node@v4 - with: - node-version: "20" - cache: "npm" - cache-dependency-path: package-lock.json - - name: Setup Pages - id: pages - uses: actions/configure-pages@v5 - - name: Install dependencies - run: npm ci - - name: Build Projects - run: npm run build - - name: Build with Astro - run: npm run build - working-directory: ${{ env.BUILD_PATH }} - - name: Upload artifact - uses: actions/upload-pages-artifact@v3 - with: - path: ${{ env.BUILD_PATH }}/dist - deploy: - environment: - name: github-pages - url: ${{ steps.deployment.outputs.page_url }} - needs: build - runs-on: ubuntu-latest - name: Deploy - steps: - - name: Deploy to GitHub Pages - id: deployment - uses: actions/deploy-pages@v4 diff --git a/.github/workflows/publish-packages.yml b/.github/workflows/publish-packages.yml index 7f4754f..7b073b0 100644 --- a/.github/workflows/publish-packages.yml +++ b/.github/workflows/publish-packages.yml @@ -1,6 +1,11 @@ name: Publish Package on: workflow_dispatch: +concurrency: + group: "pages" + cancel-in-progress: false +env: + BUILD_PATH: docs jobs: npm-publish: runs-on: ubuntu-latest @@ -25,3 +30,21 @@ jobs: NPM_CONFIG_REGISTRY: 'https://npm.pkg.github.com' NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + - name: Build with Astro + run: npm run build + working-directory: ${{ env.BUILD_PATH }} + - name: Upload artifact + uses: actions/upload-pages-artifact@v3 + with: + path: ${{ env.BUILD_PATH }}/dist + deploy: + environment: + name: github-pages + url: ${{ steps.deployment.outputs.page_url }} + needs: npm-publish + runs-on: ubuntu-latest + name: Deploy + steps: + - name: Deploy to GitHub Pages + id: deployment + uses: actions/deploy-pages@v4 diff --git a/docs/package.json b/docs/package.json index dd86c88..47211cb 100644 --- a/docs/package.json +++ b/docs/package.json @@ -1,5 +1,5 @@ { - "name": "@algofam/docs-fetch", + "name": "@awesome-algorand/docs-fetch", "type": "module", "version": "0.0.1", "scripts": { diff --git a/docs/src/content/docs/guides/Clients/algod.mdx b/docs/src/content/docs/guides/Clients/algod.mdx index 78e0fb6..1329f98 100644 --- a/docs/src/content/docs/guides/Clients/algod.mdx +++ b/docs/src/content/docs/guides/Clients/algod.mdx @@ -5,200 +5,3 @@ title: "Algod Client" import {Aside} from "@astrojs/starlight/components"; - -## Classes - -- [AlgodClient](/algo-fetch/packages/algofam/algod-fetch/classes/algodclient/) -- [CommonService](/algo-fetch/packages/algofam/algod-fetch/classes/commonservice/) -- [DataService](/algo-fetch/packages/algofam/algod-fetch/classes/dataservice/) -- [ExperimentalService](/algo-fetch/packages/algofam/algod-fetch/classes/experimentalservice/) -- [NonparticipatingService](/algo-fetch/packages/algofam/algod-fetch/classes/nonparticipatingservice/) -- [ParticipatingService](/algo-fetch/packages/algofam/algod-fetch/classes/participatingservice/) -- [PrivateService](/algo-fetch/packages/algofam/algod-fetch/classes/privateservice/) -- [PublicService](/algo-fetch/packages/algofam/algod-fetch/classes/publicservice/) - -## Type Aliases - -- [$OpenApiTs](/algo-fetch/packages/algofam/algod-fetch/type-aliases/openapits/) -- [AbortCatchupData](/algo-fetch/packages/algofam/algod-fetch/type-aliases/abortcatchupdata/) -- [AbortCatchupResponse](/algo-fetch/packages/algofam/algod-fetch/type-aliases/abortcatchupresponse/) -- [Account](/algo-fetch/packages/algofam/algod-fetch/type-aliases/account/) -- [AccountApplicationInformationData](/algo-fetch/packages/algofam/algod-fetch/type-aliases/accountapplicationinformationdata/) -- [AccountApplicationInformationResponse](/algo-fetch/packages/algofam/algod-fetch/type-aliases/accountapplicationinformationresponse/) -- [AccountAssetInformationData](/algo-fetch/packages/algofam/algod-fetch/type-aliases/accountassetinformationdata/) -- [AccountAssetInformationResponse](/algo-fetch/packages/algofam/algod-fetch/type-aliases/accountassetinformationresponse/) -- [AccountInformationData](/algo-fetch/packages/algofam/algod-fetch/type-aliases/accountinformationdata/) -- [AccountInformationResponse](/algo-fetch/packages/algofam/algod-fetch/type-aliases/accountinformationresponse/) -- [AccountParticipation](/algo-fetch/packages/algofam/algod-fetch/type-aliases/accountparticipation/) -- [AccountStateDelta](/algo-fetch/packages/algofam/algod-fetch/type-aliases/accountstatedelta/) -- [AddParticipationKeyData](/algo-fetch/packages/algofam/algod-fetch/type-aliases/addparticipationkeydata/) -- [AddParticipationKeyResponse](/algo-fetch/packages/algofam/algod-fetch/type-aliases/addparticipationkeyresponse/) -- [AppendKeysData](/algo-fetch/packages/algofam/algod-fetch/type-aliases/appendkeysdata/) -- [AppendKeysResponse](/algo-fetch/packages/algofam/algod-fetch/type-aliases/appendkeysresponse/) -- [Application](/algo-fetch/packages/algofam/algod-fetch/type-aliases/application/) -- [ApplicationLocalState](/algo-fetch/packages/algofam/algod-fetch/type-aliases/applicationlocalstate/) -- [ApplicationParams](/algo-fetch/packages/algofam/algod-fetch/type-aliases/applicationparams/) -- [ApplicationStateSchema](/algo-fetch/packages/algofam/algod-fetch/type-aliases/applicationstateschema/) -- [Asset](/algo-fetch/packages/algofam/algod-fetch/type-aliases/asset/) -- [AssetHolding](/algo-fetch/packages/algofam/algod-fetch/type-aliases/assetholding/) -- [AssetParams](/algo-fetch/packages/algofam/algod-fetch/type-aliases/assetparams/) -- [Box](/algo-fetch/packages/algofam/algod-fetch/type-aliases/box/) -- [BoxDescriptor](/algo-fetch/packages/algofam/algod-fetch/type-aliases/boxdescriptor/) -- [BuildVersion](/algo-fetch/packages/algofam/algod-fetch/type-aliases/buildversion/) -- [DeleteParticipationKeyByIdData](/algo-fetch/packages/algofam/algod-fetch/type-aliases/deleteparticipationkeybyiddata/) -- [DeleteParticipationKeyByIdResponse](/algo-fetch/packages/algofam/algod-fetch/type-aliases/deleteparticipationkeybyidresponse/) -- [DryrunRequest](/algo-fetch/packages/algofam/algod-fetch/type-aliases/dryrunrequest/) -- [DryrunSource](/algo-fetch/packages/algofam/algod-fetch/type-aliases/dryrunsource/) -- [DryrunState](/algo-fetch/packages/algofam/algod-fetch/type-aliases/dryrunstate/) -- [DryrunTxnResult](/algo-fetch/packages/algofam/algod-fetch/type-aliases/dryruntxnresult/) -- [ErrorResponse](/algo-fetch/packages/algofam/algod-fetch/type-aliases/errorresponse/) -- [EvalDelta](/algo-fetch/packages/algofam/algod-fetch/type-aliases/evaldelta/) -- [EvalDeltaKeyValue](/algo-fetch/packages/algofam/algod-fetch/type-aliases/evaldeltakeyvalue/) -- [ExperimentalCheckResponse](/algo-fetch/packages/algofam/algod-fetch/type-aliases/experimentalcheckresponse/) -- [GetApplicationBoxByNameData](/algo-fetch/packages/algofam/algod-fetch/type-aliases/getapplicationboxbynamedata/) -- [GetApplicationBoxByNameResponse](/algo-fetch/packages/algofam/algod-fetch/type-aliases/getapplicationboxbynameresponse/) -- [GetApplicationBoxesData](/algo-fetch/packages/algofam/algod-fetch/type-aliases/getapplicationboxesdata/) -- [GetApplicationBoxesResponse](/algo-fetch/packages/algofam/algod-fetch/type-aliases/getapplicationboxesresponse/) -- [GetApplicationByIdData](/algo-fetch/packages/algofam/algod-fetch/type-aliases/getapplicationbyiddata/) -- [GetApplicationByIdResponse](/algo-fetch/packages/algofam/algod-fetch/type-aliases/getapplicationbyidresponse/) -- [GetAssetByIdData](/algo-fetch/packages/algofam/algod-fetch/type-aliases/getassetbyiddata/) -- [GetAssetByIdResponse](/algo-fetch/packages/algofam/algod-fetch/type-aliases/getassetbyidresponse/) -- [GetBlockData](/algo-fetch/packages/algofam/algod-fetch/type-aliases/getblockdata/) -- [GetBlockHashData](/algo-fetch/packages/algofam/algod-fetch/type-aliases/getblockhashdata/) -- [GetBlockHashResponse](/algo-fetch/packages/algofam/algod-fetch/type-aliases/getblockhashresponse/) -- [GetBlockResponse](/algo-fetch/packages/algofam/algod-fetch/type-aliases/getblockresponse/) -- [GetBlockTimeStampOffsetResponse](/algo-fetch/packages/algofam/algod-fetch/type-aliases/getblocktimestampoffsetresponse/) -- [GetGenesisResponse](/algo-fetch/packages/algofam/algod-fetch/type-aliases/getgenesisresponse/) -- [GetLedgerStateDeltaData](/algo-fetch/packages/algofam/algod-fetch/type-aliases/getledgerstatedeltadata/) -- [GetLedgerStateDeltaForTransactionGroupData](/algo-fetch/packages/algofam/algod-fetch/type-aliases/getledgerstatedeltafortransactiongroupdata/) -- [GetLedgerStateDeltaForTransactionGroupResponse](/algo-fetch/packages/algofam/algod-fetch/type-aliases/getledgerstatedeltafortransactiongroupresponse/) -- [GetLedgerStateDeltaResponse](/algo-fetch/packages/algofam/algod-fetch/type-aliases/getledgerstatedeltaresponse/) -- [GetLightBlockHeaderProofData](/algo-fetch/packages/algofam/algod-fetch/type-aliases/getlightblockheaderproofdata/) -- [GetLightBlockHeaderProofResponse](/algo-fetch/packages/algofam/algod-fetch/type-aliases/getlightblockheaderproofresponse/) -- [GetParticipationKeyByIdData](/algo-fetch/packages/algofam/algod-fetch/type-aliases/getparticipationkeybyiddata/) -- [GetParticipationKeyByIdResponse](/algo-fetch/packages/algofam/algod-fetch/type-aliases/getparticipationkeybyidresponse/) -- [GetParticipationKeysResponse](/algo-fetch/packages/algofam/algod-fetch/type-aliases/getparticipationkeysresponse/) -- [GetPendingTransactionsByAddressData](/algo-fetch/packages/algofam/algod-fetch/type-aliases/getpendingtransactionsbyaddressdata/) -- [GetPendingTransactionsByAddressResponse](/algo-fetch/packages/algofam/algod-fetch/type-aliases/getpendingtransactionsbyaddressresponse/) -- [GetPendingTransactionsData](/algo-fetch/packages/algofam/algod-fetch/type-aliases/getpendingtransactionsdata/) -- [GetPendingTransactionsResponse](/algo-fetch/packages/algofam/algod-fetch/type-aliases/getpendingtransactionsresponse/) -- [GetReadyResponse](/algo-fetch/packages/algofam/algod-fetch/type-aliases/getreadyresponse/) -- [GetStateProofData](/algo-fetch/packages/algofam/algod-fetch/type-aliases/getstateproofdata/) -- [GetStateProofResponse](/algo-fetch/packages/algofam/algod-fetch/type-aliases/getstateproofresponse/) -- [GetStatusResponse](/algo-fetch/packages/algofam/algod-fetch/type-aliases/getstatusresponse/) -- [GetSupplyResponse](/algo-fetch/packages/algofam/algod-fetch/type-aliases/getsupplyresponse/) -- [GetSyncRoundResponse](/algo-fetch/packages/algofam/algod-fetch/type-aliases/getsyncroundresponse/) -- [GetTransactionGroupLedgerStateDeltasForRoundData](/algo-fetch/packages/algofam/algod-fetch/type-aliases/gettransactiongroupledgerstatedeltasforrounddata/) -- [GetTransactionGroupLedgerStateDeltasForRoundResponse](/algo-fetch/packages/algofam/algod-fetch/type-aliases/gettransactiongroupledgerstatedeltasforroundresponse/) -- [GetTransactionProofData](/algo-fetch/packages/algofam/algod-fetch/type-aliases/gettransactionproofdata/) -- [GetTransactionProofResponse](/algo-fetch/packages/algofam/algod-fetch/type-aliases/gettransactionproofresponse/) -- [GetVersionResponse](/algo-fetch/packages/algofam/algod-fetch/type-aliases/getversionresponse/) -- [HealthCheckResponse](/algo-fetch/packages/algofam/algod-fetch/type-aliases/healthcheckresponse/) -- [KvDelta](/algo-fetch/packages/algofam/algod-fetch/type-aliases/kvdelta/) -- [LedgerStateDelta](/algo-fetch/packages/algofam/algod-fetch/type-aliases/ledgerstatedelta/) -- [LedgerStateDeltaForTransactionGroup](/algo-fetch/packages/algofam/algod-fetch/type-aliases/ledgerstatedeltafortransactiongroup/) -- [LightBlockHeaderProof](/algo-fetch/packages/algofam/algod-fetch/type-aliases/lightblockheaderproof/) -- [MetricsResponse](/algo-fetch/packages/algofam/algod-fetch/type-aliases/metricsresponse/) -- [Parameteraccount\_id](/algo-fetch/packages/algofam/algod-fetch/type-aliases/parameteraccount_id/) -- [Parameteraddress](/algo-fetch/packages/algofam/algod-fetch/type-aliases/parameteraddress/) -- [Parameteraddress\_role](/algo-fetch/packages/algofam/algod-fetch/type-aliases/parameteraddress_role/) -- [Parameterafter\_time](/algo-fetch/packages/algofam/algod-fetch/type-aliases/parameterafter_time/) -- [Parameterasset\_id](/algo-fetch/packages/algofam/algod-fetch/type-aliases/parameterasset_id/) -- [Parameterbefore\_time](/algo-fetch/packages/algofam/algod-fetch/type-aliases/parameterbefore_time/) -- [Parametercatchpoint](/algo-fetch/packages/algofam/algod-fetch/type-aliases/parametercatchpoint/) -- [Parametercurrency\_greater\_than](/algo-fetch/packages/algofam/algod-fetch/type-aliases/parametercurrency_greater_than/) -- [Parametercurrency\_less\_than](/algo-fetch/packages/algofam/algod-fetch/type-aliases/parametercurrency_less_than/) -- [Parameterexclude\_close\_to](/algo-fetch/packages/algofam/algod-fetch/type-aliases/parameterexclude_close_to/) -- [Parameterformat](/algo-fetch/packages/algofam/algod-fetch/type-aliases/parameterformat/) -- [Parameterlimit](/algo-fetch/packages/algofam/algod-fetch/type-aliases/parameterlimit/) -- [Parametermax](/algo-fetch/packages/algofam/algod-fetch/type-aliases/parametermax/) -- [Parametermax\_round](/algo-fetch/packages/algofam/algod-fetch/type-aliases/parametermax_round/) -- [Parametermin\_round](/algo-fetch/packages/algofam/algod-fetch/type-aliases/parametermin_round/) -- [Parameternext](/algo-fetch/packages/algofam/algod-fetch/type-aliases/parameternext/) -- [Parameternote\_prefix](/algo-fetch/packages/algofam/algod-fetch/type-aliases/parameternote_prefix/) -- [Parameterround](/algo-fetch/packages/algofam/algod-fetch/type-aliases/parameterround/) -- [Parameterround\_number](/algo-fetch/packages/algofam/algod-fetch/type-aliases/parameterround_number/) -- [Parametersig\_type](/algo-fetch/packages/algofam/algod-fetch/type-aliases/parametersig_type/) -- [Parametertx\_id](/algo-fetch/packages/algofam/algod-fetch/type-aliases/parametertx_id/) -- [Parametertx\_type](/algo-fetch/packages/algofam/algod-fetch/type-aliases/parametertx_type/) -- [ParticipationKey](/algo-fetch/packages/algofam/algod-fetch/type-aliases/participationkey/) -- [PendingTransactionInformationData](/algo-fetch/packages/algofam/algod-fetch/type-aliases/pendingtransactioninformationdata/) -- [PendingTransactionInformationResponse](/algo-fetch/packages/algofam/algod-fetch/type-aliases/pendingtransactioninformationresponse/) -- [PendingTransactionResponse](/algo-fetch/packages/algofam/algod-fetch/type-aliases/pendingtransactionresponse/) -- [RawTransactionData](/algo-fetch/packages/algofam/algod-fetch/type-aliases/rawtransactiondata/) -- [RawTransactionResponse](/algo-fetch/packages/algofam/algod-fetch/type-aliases/rawtransactionresponse/) -- [SetBlockTimeStampOffsetData](/algo-fetch/packages/algofam/algod-fetch/type-aliases/setblocktimestampoffsetdata/) -- [SetBlockTimeStampOffsetResponse](/algo-fetch/packages/algofam/algod-fetch/type-aliases/setblocktimestampoffsetresponse/) -- [SetSyncRoundData](/algo-fetch/packages/algofam/algod-fetch/type-aliases/setsyncrounddata/) -- [SetSyncRoundResponse](/algo-fetch/packages/algofam/algod-fetch/type-aliases/setsyncroundresponse/) -- [ShutdownNodeData](/algo-fetch/packages/algofam/algod-fetch/type-aliases/shutdownnodedata/) -- [ShutdownNodeResponse](/algo-fetch/packages/algofam/algod-fetch/type-aliases/shutdownnoderesponse/) -- [SimulateRequest](/algo-fetch/packages/algofam/algod-fetch/type-aliases/simulaterequest/) -- [SimulateRequestTransactionGroup](/algo-fetch/packages/algofam/algod-fetch/type-aliases/simulaterequesttransactiongroup/) -- [SimulateTransactionData](/algo-fetch/packages/algofam/algod-fetch/type-aliases/simulatetransactiondata/) -- [SimulateTransactionGroupResult](/algo-fetch/packages/algofam/algod-fetch/type-aliases/simulatetransactiongroupresult/) -- [SimulateTransactionResponse](/algo-fetch/packages/algofam/algod-fetch/type-aliases/simulatetransactionresponse/) -- [SimulateTransactionResult](/algo-fetch/packages/algofam/algod-fetch/type-aliases/simulatetransactionresult/) -- [SimulationEvalOverrides](/algo-fetch/packages/algofam/algod-fetch/type-aliases/simulationevaloverrides/) -- [StartCatchupData](/algo-fetch/packages/algofam/algod-fetch/type-aliases/startcatchupdata/) -- [StartCatchupResponse](/algo-fetch/packages/algofam/algod-fetch/type-aliases/startcatchupresponse/) -- [StateDelta](/algo-fetch/packages/algofam/algod-fetch/type-aliases/statedelta/) -- [StateProof](/algo-fetch/packages/algofam/algod-fetch/type-aliases/stateproof/) -- [StateProofMessage](/algo-fetch/packages/algofam/algod-fetch/type-aliases/stateproofmessage/) -- [SwaggerJsonResponse](/algo-fetch/packages/algofam/algod-fetch/type-aliases/swaggerjsonresponse/) -- [TealCompileData](/algo-fetch/packages/algofam/algod-fetch/type-aliases/tealcompiledata/) -- [TealCompileResponse](/algo-fetch/packages/algofam/algod-fetch/type-aliases/tealcompileresponse/) -- [TealDisassembleData](/algo-fetch/packages/algofam/algod-fetch/type-aliases/tealdisassembledata/) -- [TealDisassembleResponse](/algo-fetch/packages/algofam/algod-fetch/type-aliases/tealdisassembleresponse/) -- [TealDryrunData](/algo-fetch/packages/algofam/algod-fetch/type-aliases/tealdryrundata/) -- [TealDryrunResponse](/algo-fetch/packages/algofam/algod-fetch/type-aliases/tealdryrunresponse/) -- [TealKeyValue](/algo-fetch/packages/algofam/algod-fetch/type-aliases/tealkeyvalue/) -- [TealKeyValueStore](/algo-fetch/packages/algofam/algod-fetch/type-aliases/tealkeyvaluestore/) -- [TealValue](/algo-fetch/packages/algofam/algod-fetch/type-aliases/tealvalue/) -- [TransactionParamsResponse](/algo-fetch/packages/algofam/algod-fetch/type-aliases/transactionparamsresponse/) -- [UnsetSyncRoundResponse](/algo-fetch/packages/algofam/algod-fetch/type-aliases/unsetsyncroundresponse/) -- [Version](/algo-fetch/packages/algofam/algod-fetch/type-aliases/version/) -- [WaitForBlockData](/algo-fetch/packages/algofam/algod-fetch/type-aliases/waitforblockdata/) -- [WaitForBlockResponse](/algo-fetch/packages/algofam/algod-fetch/type-aliases/waitforblockresponse/) -- [sig\_type](/algo-fetch/packages/algofam/algod-fetch/type-aliases/sig_type/) - -## Variables - -- [$Account](/algo-fetch/packages/algofam/algod-fetch/variables/account/) -- [$AccountParticipation](/algo-fetch/packages/algofam/algod-fetch/variables/accountparticipation/) -- [$AccountStateDelta](/algo-fetch/packages/algofam/algod-fetch/variables/accountstatedelta/) -- [$Application](/algo-fetch/packages/algofam/algod-fetch/variables/application/) -- [$ApplicationLocalState](/algo-fetch/packages/algofam/algod-fetch/variables/applicationlocalstate/) -- [$ApplicationParams](/algo-fetch/packages/algofam/algod-fetch/variables/applicationparams/) -- [$ApplicationStateSchema](/algo-fetch/packages/algofam/algod-fetch/variables/applicationstateschema/) -- [$Asset](/algo-fetch/packages/algofam/algod-fetch/variables/asset/) -- [$AssetHolding](/algo-fetch/packages/algofam/algod-fetch/variables/assetholding/) -- [$AssetParams](/algo-fetch/packages/algofam/algod-fetch/variables/assetparams/) -- [$Box](/algo-fetch/packages/algofam/algod-fetch/variables/box/) -- [$BoxDescriptor](/algo-fetch/packages/algofam/algod-fetch/variables/boxdescriptor/) -- [$BuildVersion](/algo-fetch/packages/algofam/algod-fetch/variables/buildversion/) -- [$DryrunRequest](/algo-fetch/packages/algofam/algod-fetch/variables/dryrunrequest/) -- [$DryrunSource](/algo-fetch/packages/algofam/algod-fetch/variables/dryrunsource/) -- [$DryrunState](/algo-fetch/packages/algofam/algod-fetch/variables/dryrunstate/) -- [$DryrunTxnResult](/algo-fetch/packages/algofam/algod-fetch/variables/dryruntxnresult/) -- [$ErrorResponse](/algo-fetch/packages/algofam/algod-fetch/variables/errorresponse/) -- [$EvalDelta](/algo-fetch/packages/algofam/algod-fetch/variables/evaldelta/) -- [$EvalDeltaKeyValue](/algo-fetch/packages/algofam/algod-fetch/variables/evaldeltakeyvalue/) -- [$KvDelta](/algo-fetch/packages/algofam/algod-fetch/variables/kvdelta/) -- [$LedgerStateDelta](/algo-fetch/packages/algofam/algod-fetch/variables/ledgerstatedelta/) -- [$LedgerStateDeltaForTransactionGroup](/algo-fetch/packages/algofam/algod-fetch/variables/ledgerstatedeltafortransactiongroup/) -- [$LightBlockHeaderProof](/algo-fetch/packages/algofam/algod-fetch/variables/lightblockheaderproof/) -- [$ParticipationKey](/algo-fetch/packages/algofam/algod-fetch/variables/participationkey/) -- [$PendingTransactionResponse](/algo-fetch/packages/algofam/algod-fetch/variables/pendingtransactionresponse/) -- [$SimulateRequest](/algo-fetch/packages/algofam/algod-fetch/variables/simulaterequest/) -- [$SimulateRequestTransactionGroup](/algo-fetch/packages/algofam/algod-fetch/variables/simulaterequesttransactiongroup/) -- [$SimulateTransactionGroupResult](/algo-fetch/packages/algofam/algod-fetch/variables/simulatetransactiongroupresult/) -- [$SimulateTransactionResult](/algo-fetch/packages/algofam/algod-fetch/variables/simulatetransactionresult/) -- [$SimulationEvalOverrides](/algo-fetch/packages/algofam/algod-fetch/variables/simulationevaloverrides/) -- [$StateDelta](/algo-fetch/packages/algofam/algod-fetch/variables/statedelta/) -- [$StateProof](/algo-fetch/packages/algofam/algod-fetch/variables/stateproof/) -- [$StateProofMessage](/algo-fetch/packages/algofam/algod-fetch/variables/stateproofmessage/) -- [$TealKeyValue](/algo-fetch/packages/algofam/algod-fetch/variables/tealkeyvalue/) -- [$TealKeyValueStore](/algo-fetch/packages/algofam/algod-fetch/variables/tealkeyvaluestore/) -- [$TealValue](/algo-fetch/packages/algofam/algod-fetch/variables/tealvalue/) -- [$Version](/algo-fetch/packages/algofam/algod-fetch/variables/version/) diff --git a/docs/src/content/docs/guides/Clients/indexer.mdx b/docs/src/content/docs/guides/Clients/indexer.mdx index c789aad..86360d9 100644 --- a/docs/src/content/docs/guides/Clients/indexer.mdx +++ b/docs/src/content/docs/guides/Clients/indexer.mdx @@ -5,187 +5,3 @@ title: "Indexer Client" import {Aside} from "@astrojs/starlight/components"; - -## Classes - -- [CommonService](/algo-fetch/packages/algofam/indexer-fetch/classes/commonservice/) -- [IndexerClient](/algo-fetch/packages/algofam/indexer-fetch/classes/indexerclient/) -- [LookupService](/algo-fetch/packages/algofam/indexer-fetch/classes/lookupservice/) -- [SearchService](/algo-fetch/packages/algofam/indexer-fetch/classes/searchservice/) - -## Type Aliases - -- [$OpenApiTs](/algo-fetch/packages/algofam/indexer-fetch/type-aliases/openapits/) -- [Account](/algo-fetch/packages/algofam/indexer-fetch/type-aliases/account/) -- [AccountParticipation](/algo-fetch/packages/algofam/indexer-fetch/type-aliases/accountparticipation/) -- [AccountStateDelta](/algo-fetch/packages/algofam/indexer-fetch/type-aliases/accountstatedelta/) -- [Application](/algo-fetch/packages/algofam/indexer-fetch/type-aliases/application/) -- [ApplicationLocalState](/algo-fetch/packages/algofam/indexer-fetch/type-aliases/applicationlocalstate/) -- [ApplicationLogData](/algo-fetch/packages/algofam/indexer-fetch/type-aliases/applicationlogdata/) -- [ApplicationParams](/algo-fetch/packages/algofam/indexer-fetch/type-aliases/applicationparams/) -- [ApplicationStateSchema](/algo-fetch/packages/algofam/indexer-fetch/type-aliases/applicationstateschema/) -- [Asset](/algo-fetch/packages/algofam/indexer-fetch/type-aliases/asset/) -- [AssetHolding](/algo-fetch/packages/algofam/indexer-fetch/type-aliases/assetholding/) -- [AssetParams](/algo-fetch/packages/algofam/indexer-fetch/type-aliases/assetparams/) -- [Block](/algo-fetch/packages/algofam/indexer-fetch/type-aliases/block/) -- [BlockRewards](/algo-fetch/packages/algofam/indexer-fetch/type-aliases/blockrewards/) -- [BlockUpgradeState](/algo-fetch/packages/algofam/indexer-fetch/type-aliases/blockupgradestate/) -- [BlockUpgradeVote](/algo-fetch/packages/algofam/indexer-fetch/type-aliases/blockupgradevote/) -- [Box](/algo-fetch/packages/algofam/indexer-fetch/type-aliases/box/) -- [BoxDescriptor](/algo-fetch/packages/algofam/indexer-fetch/type-aliases/boxdescriptor/) -- [EvalDelta](/algo-fetch/packages/algofam/indexer-fetch/type-aliases/evaldelta/) -- [EvalDeltaKeyValue](/algo-fetch/packages/algofam/indexer-fetch/type-aliases/evaldeltakeyvalue/) -- [HashFactory](/algo-fetch/packages/algofam/indexer-fetch/type-aliases/hashfactory/) -- [Hashtype](/algo-fetch/packages/algofam/indexer-fetch/type-aliases/hashtype/) -- [HealthCheck](/algo-fetch/packages/algofam/indexer-fetch/type-aliases/healthcheck/) -- [IndexerStateProofMessage](/algo-fetch/packages/algofam/indexer-fetch/type-aliases/indexerstateproofmessage/) -- [LookupAccountAppLocalStatesData](/algo-fetch/packages/algofam/indexer-fetch/type-aliases/lookupaccountapplocalstatesdata/) -- [LookupAccountAppLocalStatesResponse](/algo-fetch/packages/algofam/indexer-fetch/type-aliases/lookupaccountapplocalstatesresponse/) -- [LookupAccountAssetsData](/algo-fetch/packages/algofam/indexer-fetch/type-aliases/lookupaccountassetsdata/) -- [LookupAccountAssetsResponse](/algo-fetch/packages/algofam/indexer-fetch/type-aliases/lookupaccountassetsresponse/) -- [LookupAccountByIdData](/algo-fetch/packages/algofam/indexer-fetch/type-aliases/lookupaccountbyiddata/) -- [LookupAccountByIdResponse](/algo-fetch/packages/algofam/indexer-fetch/type-aliases/lookupaccountbyidresponse/) -- [LookupAccountCreatedApplicationsData](/algo-fetch/packages/algofam/indexer-fetch/type-aliases/lookupaccountcreatedapplicationsdata/) -- [LookupAccountCreatedApplicationsResponse](/algo-fetch/packages/algofam/indexer-fetch/type-aliases/lookupaccountcreatedapplicationsresponse/) -- [LookupAccountCreatedAssetsData](/algo-fetch/packages/algofam/indexer-fetch/type-aliases/lookupaccountcreatedassetsdata/) -- [LookupAccountCreatedAssetsResponse](/algo-fetch/packages/algofam/indexer-fetch/type-aliases/lookupaccountcreatedassetsresponse/) -- [LookupAccountTransactionsData](/algo-fetch/packages/algofam/indexer-fetch/type-aliases/lookupaccounttransactionsdata/) -- [LookupAccountTransactionsResponse](/algo-fetch/packages/algofam/indexer-fetch/type-aliases/lookupaccounttransactionsresponse/) -- [LookupApplicationBoxByIdAndNameData](/algo-fetch/packages/algofam/indexer-fetch/type-aliases/lookupapplicationboxbyidandnamedata/) -- [LookupApplicationBoxByIdAndNameResponse](/algo-fetch/packages/algofam/indexer-fetch/type-aliases/lookupapplicationboxbyidandnameresponse/) -- [LookupApplicationByIdData](/algo-fetch/packages/algofam/indexer-fetch/type-aliases/lookupapplicationbyiddata/) -- [LookupApplicationByIdResponse](/algo-fetch/packages/algofam/indexer-fetch/type-aliases/lookupapplicationbyidresponse/) -- [LookupApplicationLogsByIdData](/algo-fetch/packages/algofam/indexer-fetch/type-aliases/lookupapplicationlogsbyiddata/) -- [LookupApplicationLogsByIdResponse](/algo-fetch/packages/algofam/indexer-fetch/type-aliases/lookupapplicationlogsbyidresponse/) -- [LookupAssetBalancesData](/algo-fetch/packages/algofam/indexer-fetch/type-aliases/lookupassetbalancesdata/) -- [LookupAssetBalancesResponse](/algo-fetch/packages/algofam/indexer-fetch/type-aliases/lookupassetbalancesresponse/) -- [LookupAssetByIdData](/algo-fetch/packages/algofam/indexer-fetch/type-aliases/lookupassetbyiddata/) -- [LookupAssetByIdResponse](/algo-fetch/packages/algofam/indexer-fetch/type-aliases/lookupassetbyidresponse/) -- [LookupAssetTransactionsData](/algo-fetch/packages/algofam/indexer-fetch/type-aliases/lookupassettransactionsdata/) -- [LookupAssetTransactionsResponse](/algo-fetch/packages/algofam/indexer-fetch/type-aliases/lookupassettransactionsresponse/) -- [LookupBlockData](/algo-fetch/packages/algofam/indexer-fetch/type-aliases/lookupblockdata/) -- [LookupBlockResponse](/algo-fetch/packages/algofam/indexer-fetch/type-aliases/lookupblockresponse/) -- [LookupTransactionData](/algo-fetch/packages/algofam/indexer-fetch/type-aliases/lookuptransactiondata/) -- [LookupTransactionResponse](/algo-fetch/packages/algofam/indexer-fetch/type-aliases/lookuptransactionresponse/) -- [MakeHealthCheckResponse](/algo-fetch/packages/algofam/indexer-fetch/type-aliases/makehealthcheckresponse/) -- [MerkleArrayProof](/algo-fetch/packages/algofam/indexer-fetch/type-aliases/merklearrayproof/) -- [MiniAssetHolding](/algo-fetch/packages/algofam/indexer-fetch/type-aliases/miniassetholding/) -- [OnCompletion](/algo-fetch/packages/algofam/indexer-fetch/type-aliases/oncompletion/) -- [Parameteraccount\_id](/algo-fetch/packages/algofam/indexer-fetch/type-aliases/parameteraccount_id/) -- [Parameteraddress](/algo-fetch/packages/algofam/indexer-fetch/type-aliases/parameteraddress/) -- [Parameteraddress\_role](/algo-fetch/packages/algofam/indexer-fetch/type-aliases/parameteraddress_role/) -- [Parameterafter\_time](/algo-fetch/packages/algofam/indexer-fetch/type-aliases/parameterafter_time/) -- [Parameterapplication\_id](/algo-fetch/packages/algofam/indexer-fetch/type-aliases/parameterapplication_id/) -- [Parameterasset\_id](/algo-fetch/packages/algofam/indexer-fetch/type-aliases/parameterasset_id/) -- [Parameterauth\_addr](/algo-fetch/packages/algofam/indexer-fetch/type-aliases/parameterauth_addr/) -- [Parameterbefore\_time](/algo-fetch/packages/algofam/indexer-fetch/type-aliases/parameterbefore_time/) -- [Parameterbox\_name](/algo-fetch/packages/algofam/indexer-fetch/type-aliases/parameterbox_name/) -- [Parametercurrency\_greater\_than](/algo-fetch/packages/algofam/indexer-fetch/type-aliases/parametercurrency_greater_than/) -- [Parametercurrency\_less\_than](/algo-fetch/packages/algofam/indexer-fetch/type-aliases/parametercurrency_less_than/) -- [Parameterexclude](/algo-fetch/packages/algofam/indexer-fetch/type-aliases/parameterexclude/) -- [Parameterexclude\_close\_to](/algo-fetch/packages/algofam/indexer-fetch/type-aliases/parameterexclude_close_to/) -- [Parameterheader\_only](/algo-fetch/packages/algofam/indexer-fetch/type-aliases/parameterheader_only/) -- [Parameterinclude\_all](/algo-fetch/packages/algofam/indexer-fetch/type-aliases/parameterinclude_all/) -- [Parameterlimit](/algo-fetch/packages/algofam/indexer-fetch/type-aliases/parameterlimit/) -- [Parametermax\_round](/algo-fetch/packages/algofam/indexer-fetch/type-aliases/parametermax_round/) -- [Parametermin\_round](/algo-fetch/packages/algofam/indexer-fetch/type-aliases/parametermin_round/) -- [Parameternext](/algo-fetch/packages/algofam/indexer-fetch/type-aliases/parameternext/) -- [Parameternote\_prefix](/algo-fetch/packages/algofam/indexer-fetch/type-aliases/parameternote_prefix/) -- [Parameterrekey\_to](/algo-fetch/packages/algofam/indexer-fetch/type-aliases/parameterrekey_to/) -- [Parameterround](/algo-fetch/packages/algofam/indexer-fetch/type-aliases/parameterround/) -- [Parameterround\_number](/algo-fetch/packages/algofam/indexer-fetch/type-aliases/parameterround_number/) -- [Parametersender\_address](/algo-fetch/packages/algofam/indexer-fetch/type-aliases/parametersender_address/) -- [Parametersig\_type](/algo-fetch/packages/algofam/indexer-fetch/type-aliases/parametersig_type/) -- [Parametertx\_type](/algo-fetch/packages/algofam/indexer-fetch/type-aliases/parametertx_type/) -- [Parametertxid](/algo-fetch/packages/algofam/indexer-fetch/type-aliases/parametertxid/) -- [ParticipationUpdates](/algo-fetch/packages/algofam/indexer-fetch/type-aliases/participationupdates/) -- [SearchForAccountsData](/algo-fetch/packages/algofam/indexer-fetch/type-aliases/searchforaccountsdata/) -- [SearchForAccountsResponse](/algo-fetch/packages/algofam/indexer-fetch/type-aliases/searchforaccountsresponse/) -- [SearchForApplicationBoxesData](/algo-fetch/packages/algofam/indexer-fetch/type-aliases/searchforapplicationboxesdata/) -- [SearchForApplicationBoxesResponse](/algo-fetch/packages/algofam/indexer-fetch/type-aliases/searchforapplicationboxesresponse/) -- [SearchForApplicationsData](/algo-fetch/packages/algofam/indexer-fetch/type-aliases/searchforapplicationsdata/) -- [SearchForApplicationsResponse](/algo-fetch/packages/algofam/indexer-fetch/type-aliases/searchforapplicationsresponse/) -- [SearchForAssetsData](/algo-fetch/packages/algofam/indexer-fetch/type-aliases/searchforassetsdata/) -- [SearchForAssetsResponse](/algo-fetch/packages/algofam/indexer-fetch/type-aliases/searchforassetsresponse/) -- [SearchForTransactionsData](/algo-fetch/packages/algofam/indexer-fetch/type-aliases/searchfortransactionsdata/) -- [SearchForTransactionsResponse](/algo-fetch/packages/algofam/indexer-fetch/type-aliases/searchfortransactionsresponse/) -- [StateDelta](/algo-fetch/packages/algofam/indexer-fetch/type-aliases/statedelta/) -- [StateProofFields](/algo-fetch/packages/algofam/indexer-fetch/type-aliases/stateprooffields/) -- [StateProofParticipant](/algo-fetch/packages/algofam/indexer-fetch/type-aliases/stateproofparticipant/) -- [StateProofReveal](/algo-fetch/packages/algofam/indexer-fetch/type-aliases/stateproofreveal/) -- [StateProofSigSlot](/algo-fetch/packages/algofam/indexer-fetch/type-aliases/stateproofsigslot/) -- [StateProofSignature](/algo-fetch/packages/algofam/indexer-fetch/type-aliases/stateproofsignature/) -- [StateProofTracking](/algo-fetch/packages/algofam/indexer-fetch/type-aliases/stateprooftracking/) -- [StateProofVerifier](/algo-fetch/packages/algofam/indexer-fetch/type-aliases/stateproofverifier/) -- [StateSchema](/algo-fetch/packages/algofam/indexer-fetch/type-aliases/stateschema/) -- [TealKeyValue](/algo-fetch/packages/algofam/indexer-fetch/type-aliases/tealkeyvalue/) -- [TealKeyValueStore](/algo-fetch/packages/algofam/indexer-fetch/type-aliases/tealkeyvaluestore/) -- [TealValue](/algo-fetch/packages/algofam/indexer-fetch/type-aliases/tealvalue/) -- [Transaction](/algo-fetch/packages/algofam/indexer-fetch/type-aliases/transaction/) -- [TransactionApplication](/algo-fetch/packages/algofam/indexer-fetch/type-aliases/transactionapplication/) -- [TransactionAssetConfig](/algo-fetch/packages/algofam/indexer-fetch/type-aliases/transactionassetconfig/) -- [TransactionAssetFreeze](/algo-fetch/packages/algofam/indexer-fetch/type-aliases/transactionassetfreeze/) -- [TransactionAssetTransfer](/algo-fetch/packages/algofam/indexer-fetch/type-aliases/transactionassettransfer/) -- [TransactionKeyreg](/algo-fetch/packages/algofam/indexer-fetch/type-aliases/transactionkeyreg/) -- [TransactionPayment](/algo-fetch/packages/algofam/indexer-fetch/type-aliases/transactionpayment/) -- [TransactionSignature](/algo-fetch/packages/algofam/indexer-fetch/type-aliases/transactionsignature/) -- [TransactionSignatureLogicsig](/algo-fetch/packages/algofam/indexer-fetch/type-aliases/transactionsignaturelogicsig/) -- [TransactionSignatureMultisig](/algo-fetch/packages/algofam/indexer-fetch/type-aliases/transactionsignaturemultisig/) -- [TransactionSignatureMultisigSubsignature](/algo-fetch/packages/algofam/indexer-fetch/type-aliases/transactionsignaturemultisigsubsignature/) -- [TransactionStateProof](/algo-fetch/packages/algofam/indexer-fetch/type-aliases/transactionstateproof/) -- [sig\_type](/algo-fetch/packages/algofam/indexer-fetch/type-aliases/sig_type/) -- [tx\_type](/algo-fetch/packages/algofam/indexer-fetch/type-aliases/tx_type/) - -## Variables - -- [$Account](/algo-fetch/packages/algofam/indexer-fetch/variables/account/) -- [$AccountParticipation](/algo-fetch/packages/algofam/indexer-fetch/variables/accountparticipation/) -- [$AccountStateDelta](/algo-fetch/packages/algofam/indexer-fetch/variables/accountstatedelta/) -- [$Application](/algo-fetch/packages/algofam/indexer-fetch/variables/application/) -- [$ApplicationLocalState](/algo-fetch/packages/algofam/indexer-fetch/variables/applicationlocalstate/) -- [$ApplicationLogData](/algo-fetch/packages/algofam/indexer-fetch/variables/applicationlogdata/) -- [$ApplicationParams](/algo-fetch/packages/algofam/indexer-fetch/variables/applicationparams/) -- [$ApplicationStateSchema](/algo-fetch/packages/algofam/indexer-fetch/variables/applicationstateschema/) -- [$Asset](/algo-fetch/packages/algofam/indexer-fetch/variables/asset/) -- [$AssetHolding](/algo-fetch/packages/algofam/indexer-fetch/variables/assetholding/) -- [$AssetParams](/algo-fetch/packages/algofam/indexer-fetch/variables/assetparams/) -- [$Block](/algo-fetch/packages/algofam/indexer-fetch/variables/block/) -- [$BlockRewards](/algo-fetch/packages/algofam/indexer-fetch/variables/blockrewards/) -- [$BlockUpgradeState](/algo-fetch/packages/algofam/indexer-fetch/variables/blockupgradestate/) -- [$BlockUpgradeVote](/algo-fetch/packages/algofam/indexer-fetch/variables/blockupgradevote/) -- [$Box](/algo-fetch/packages/algofam/indexer-fetch/variables/box/) -- [$BoxDescriptor](/algo-fetch/packages/algofam/indexer-fetch/variables/boxdescriptor/) -- [$EvalDelta](/algo-fetch/packages/algofam/indexer-fetch/variables/evaldelta/) -- [$EvalDeltaKeyValue](/algo-fetch/packages/algofam/indexer-fetch/variables/evaldeltakeyvalue/) -- [$HashFactory](/algo-fetch/packages/algofam/indexer-fetch/variables/hashfactory/) -- [$Hashtype](/algo-fetch/packages/algofam/indexer-fetch/variables/hashtype/) -- [$HealthCheck](/algo-fetch/packages/algofam/indexer-fetch/variables/healthcheck/) -- [$IndexerStateProofMessage](/algo-fetch/packages/algofam/indexer-fetch/variables/indexerstateproofmessage/) -- [$MerkleArrayProof](/algo-fetch/packages/algofam/indexer-fetch/variables/merklearrayproof/) -- [$MiniAssetHolding](/algo-fetch/packages/algofam/indexer-fetch/variables/miniassetholding/) -- [$OnCompletion](/algo-fetch/packages/algofam/indexer-fetch/variables/oncompletion/) -- [$ParticipationUpdates](/algo-fetch/packages/algofam/indexer-fetch/variables/participationupdates/) -- [$StateDelta](/algo-fetch/packages/algofam/indexer-fetch/variables/statedelta/) -- [$StateProofFields](/algo-fetch/packages/algofam/indexer-fetch/variables/stateprooffields/) -- [$StateProofParticipant](/algo-fetch/packages/algofam/indexer-fetch/variables/stateproofparticipant/) -- [$StateProofReveal](/algo-fetch/packages/algofam/indexer-fetch/variables/stateproofreveal/) -- [$StateProofSigSlot](/algo-fetch/packages/algofam/indexer-fetch/variables/stateproofsigslot/) -- [$StateProofSignature](/algo-fetch/packages/algofam/indexer-fetch/variables/stateproofsignature/) -- [$StateProofTracking](/algo-fetch/packages/algofam/indexer-fetch/variables/stateprooftracking/) -- [$StateProofVerifier](/algo-fetch/packages/algofam/indexer-fetch/variables/stateproofverifier/) -- [$StateSchema](/algo-fetch/packages/algofam/indexer-fetch/variables/stateschema/) -- [$TealKeyValue](/algo-fetch/packages/algofam/indexer-fetch/variables/tealkeyvalue/) -- [$TealKeyValueStore](/algo-fetch/packages/algofam/indexer-fetch/variables/tealkeyvaluestore/) -- [$TealValue](/algo-fetch/packages/algofam/indexer-fetch/variables/tealvalue/) -- [$Transaction](/algo-fetch/packages/algofam/indexer-fetch/variables/transaction/) -- [$TransactionApplication](/algo-fetch/packages/algofam/indexer-fetch/variables/transactionapplication/) -- [$TransactionAssetConfig](/algo-fetch/packages/algofam/indexer-fetch/variables/transactionassetconfig/) -- [$TransactionAssetFreeze](/algo-fetch/packages/algofam/indexer-fetch/variables/transactionassetfreeze/) -- [$TransactionAssetTransfer](/algo-fetch/packages/algofam/indexer-fetch/variables/transactionassettransfer/) -- [$TransactionKeyreg](/algo-fetch/packages/algofam/indexer-fetch/variables/transactionkeyreg/) -- [$TransactionPayment](/algo-fetch/packages/algofam/indexer-fetch/variables/transactionpayment/) -- [$TransactionSignature](/algo-fetch/packages/algofam/indexer-fetch/variables/transactionsignature/) -- [$TransactionSignatureLogicsig](/algo-fetch/packages/algofam/indexer-fetch/variables/transactionsignaturelogicsig/) -- [$TransactionSignatureMultisig](/algo-fetch/packages/algofam/indexer-fetch/variables/transactionsignaturemultisig/) -- [$TransactionSignatureMultisigSubsignature](/algo-fetch/packages/algofam/indexer-fetch/variables/transactionsignaturemultisigsubsignature/) -- [$TransactionStateProof](/algo-fetch/packages/algofam/indexer-fetch/variables/transactionstateproof/) diff --git a/docs/src/content/docs/guides/Clients/kmd.mdx b/docs/src/content/docs/guides/Clients/kmd.mdx index 333101f..5a5221d 100644 --- a/docs/src/content/docs/guides/Clients/kmd.mdx +++ b/docs/src/content/docs/guides/Clients/kmd.mdx @@ -5,174 +5,3 @@ title: "KMD Client" import {Aside} from "@astrojs/starlight/components"; - -## Classes - -- [DefaultService](/algo-fetch/packages/algofam/kmd-fetch/classes/defaultservice/) -- [KmdClient](/algo-fetch/packages/algofam/kmd-fetch/classes/kmdclient/) - -## Type Aliases - -- [$OpenApiTs](/algo-fetch/packages/algofam/kmd-fetch/type-aliases/openapits/) -- [APIV1DELETEKeyResponse](/algo-fetch/packages/algofam/kmd-fetch/type-aliases/apiv1deletekeyresponse/) -- [APIV1DELETEMultisigResponse](/algo-fetch/packages/algofam/kmd-fetch/type-aliases/apiv1deletemultisigresponse/) -- [APIV1GETWalletsResponse](/algo-fetch/packages/algofam/kmd-fetch/type-aliases/apiv1getwalletsresponse/) -- [APIV1POSTKeyExportResponse](/algo-fetch/packages/algofam/kmd-fetch/type-aliases/apiv1postkeyexportresponse/) -- [APIV1POSTKeyImportResponse](/algo-fetch/packages/algofam/kmd-fetch/type-aliases/apiv1postkeyimportresponse/) -- [APIV1POSTKeyListResponse](/algo-fetch/packages/algofam/kmd-fetch/type-aliases/apiv1postkeylistresponse/) -- [APIV1POSTKeyResponse](/algo-fetch/packages/algofam/kmd-fetch/type-aliases/apiv1postkeyresponse/) -- [APIV1POSTMasterKeyExportResponse](/algo-fetch/packages/algofam/kmd-fetch/type-aliases/apiv1postmasterkeyexportresponse/) -- [APIV1POSTMultisigExportResponse](/algo-fetch/packages/algofam/kmd-fetch/type-aliases/apiv1postmultisigexportresponse/) -- [APIV1POSTMultisigImportResponse](/algo-fetch/packages/algofam/kmd-fetch/type-aliases/apiv1postmultisigimportresponse/) -- [APIV1POSTMultisigListResponse](/algo-fetch/packages/algofam/kmd-fetch/type-aliases/apiv1postmultisiglistresponse/) -- [APIV1POSTMultisigProgramSignResponse](/algo-fetch/packages/algofam/kmd-fetch/type-aliases/apiv1postmultisigprogramsignresponse/) -- [APIV1POSTMultisigTransactionSignResponse](/algo-fetch/packages/algofam/kmd-fetch/type-aliases/apiv1postmultisigtransactionsignresponse/) -- [APIV1POSTProgramSignResponse](/algo-fetch/packages/algofam/kmd-fetch/type-aliases/apiv1postprogramsignresponse/) -- [APIV1POSTTransactionSignResponse](/algo-fetch/packages/algofam/kmd-fetch/type-aliases/apiv1posttransactionsignresponse/) -- [APIV1POSTWalletInfoResponse](/algo-fetch/packages/algofam/kmd-fetch/type-aliases/apiv1postwalletinforesponse/) -- [APIV1POSTWalletInitResponse](/algo-fetch/packages/algofam/kmd-fetch/type-aliases/apiv1postwalletinitresponse/) -- [APIV1POSTWalletReleaseResponse](/algo-fetch/packages/algofam/kmd-fetch/type-aliases/apiv1postwalletreleaseresponse/) -- [APIV1POSTWalletRenameResponse](/algo-fetch/packages/algofam/kmd-fetch/type-aliases/apiv1postwalletrenameresponse/) -- [APIV1POSTWalletRenewResponse](/algo-fetch/packages/algofam/kmd-fetch/type-aliases/apiv1postwalletrenewresponse/) -- [APIV1POSTWalletResponse](/algo-fetch/packages/algofam/kmd-fetch/type-aliases/apiv1postwalletresponse/) -- [APIV1Wallet](/algo-fetch/packages/algofam/kmd-fetch/type-aliases/apiv1wallet/) -- [APIV1WalletHandle](/algo-fetch/packages/algofam/kmd-fetch/type-aliases/apiv1wallethandle/) -- [CreateWalletData](/algo-fetch/packages/algofam/kmd-fetch/type-aliases/createwalletdata/) -- [CreateWalletRequest](/algo-fetch/packages/algofam/kmd-fetch/type-aliases/createwalletrequest/) -- [CreateWalletResponse](/algo-fetch/packages/algofam/kmd-fetch/type-aliases/createwalletresponse/) -- [DeleteKeyData](/algo-fetch/packages/algofam/kmd-fetch/type-aliases/deletekeydata/) -- [DeleteKeyRequest](/algo-fetch/packages/algofam/kmd-fetch/type-aliases/deletekeyrequest/) -- [DeleteKeyResponse](/algo-fetch/packages/algofam/kmd-fetch/type-aliases/deletekeyresponse/) -- [DeleteMultisigData](/algo-fetch/packages/algofam/kmd-fetch/type-aliases/deletemultisigdata/) -- [DeleteMultisigRequest](/algo-fetch/packages/algofam/kmd-fetch/type-aliases/deletemultisigrequest/) -- [DeleteMultisigResponse](/algo-fetch/packages/algofam/kmd-fetch/type-aliases/deletemultisigresponse/) -- [Digest](/algo-fetch/packages/algofam/kmd-fetch/type-aliases/digest/) -- [ExportKeyData](/algo-fetch/packages/algofam/kmd-fetch/type-aliases/exportkeydata/) -- [ExportKeyRequest](/algo-fetch/packages/algofam/kmd-fetch/type-aliases/exportkeyrequest/) -- [ExportKeyResponse](/algo-fetch/packages/algofam/kmd-fetch/type-aliases/exportkeyresponse/) -- [ExportMasterKeyData](/algo-fetch/packages/algofam/kmd-fetch/type-aliases/exportmasterkeydata/) -- [ExportMasterKeyRequest](/algo-fetch/packages/algofam/kmd-fetch/type-aliases/exportmasterkeyrequest/) -- [ExportMasterKeyResponse](/algo-fetch/packages/algofam/kmd-fetch/type-aliases/exportmasterkeyresponse/) -- [ExportMultisigData](/algo-fetch/packages/algofam/kmd-fetch/type-aliases/exportmultisigdata/) -- [ExportMultisigRequest](/algo-fetch/packages/algofam/kmd-fetch/type-aliases/exportmultisigrequest/) -- [ExportMultisigResponse](/algo-fetch/packages/algofam/kmd-fetch/type-aliases/exportmultisigresponse/) -- [GenerateKeyData](/algo-fetch/packages/algofam/kmd-fetch/type-aliases/generatekeydata/) -- [GenerateKeyRequest](/algo-fetch/packages/algofam/kmd-fetch/type-aliases/generatekeyrequest/) -- [GenerateKeyResponse](/algo-fetch/packages/algofam/kmd-fetch/type-aliases/generatekeyresponse/) -- [GetVersionData](/algo-fetch/packages/algofam/kmd-fetch/type-aliases/getversiondata/) -- [GetVersionResponse](/algo-fetch/packages/algofam/kmd-fetch/type-aliases/getversionresponse/) -- [GetWalletInfoData](/algo-fetch/packages/algofam/kmd-fetch/type-aliases/getwalletinfodata/) -- [GetWalletInfoResponse](/algo-fetch/packages/algofam/kmd-fetch/type-aliases/getwalletinforesponse/) -- [ImportKeyData](/algo-fetch/packages/algofam/kmd-fetch/type-aliases/importkeydata/) -- [ImportKeyRequest](/algo-fetch/packages/algofam/kmd-fetch/type-aliases/importkeyrequest/) -- [ImportKeyResponse](/algo-fetch/packages/algofam/kmd-fetch/type-aliases/importkeyresponse/) -- [ImportMultisigData](/algo-fetch/packages/algofam/kmd-fetch/type-aliases/importmultisigdata/) -- [ImportMultisigRequest](/algo-fetch/packages/algofam/kmd-fetch/type-aliases/importmultisigrequest/) -- [ImportMultisigResponse](/algo-fetch/packages/algofam/kmd-fetch/type-aliases/importmultisigresponse/) -- [InitWalletHandleTokenData](/algo-fetch/packages/algofam/kmd-fetch/type-aliases/initwallethandletokendata/) -- [InitWalletHandleTokenRequest](/algo-fetch/packages/algofam/kmd-fetch/type-aliases/initwallethandletokenrequest/) -- [InitWalletHandleTokenResponse](/algo-fetch/packages/algofam/kmd-fetch/type-aliases/initwallethandletokenresponse/) -- [ListKeysInWalletData](/algo-fetch/packages/algofam/kmd-fetch/type-aliases/listkeysinwalletdata/) -- [ListKeysInWalletResponse](/algo-fetch/packages/algofam/kmd-fetch/type-aliases/listkeysinwalletresponse/) -- [ListKeysRequest](/algo-fetch/packages/algofam/kmd-fetch/type-aliases/listkeysrequest/) -- [ListMultisgData](/algo-fetch/packages/algofam/kmd-fetch/type-aliases/listmultisgdata/) -- [ListMultisgResponse](/algo-fetch/packages/algofam/kmd-fetch/type-aliases/listmultisgresponse/) -- [ListMultisigRequest](/algo-fetch/packages/algofam/kmd-fetch/type-aliases/listmultisigrequest/) -- [ListWalletsData](/algo-fetch/packages/algofam/kmd-fetch/type-aliases/listwalletsdata/) -- [ListWalletsRequest](/algo-fetch/packages/algofam/kmd-fetch/type-aliases/listwalletsrequest/) -- [ListWalletsResponse](/algo-fetch/packages/algofam/kmd-fetch/type-aliases/listwalletsresponse/) -- [MasterDerivationKey](/algo-fetch/packages/algofam/kmd-fetch/type-aliases/masterderivationkey/) -- [MultisigSig](/algo-fetch/packages/algofam/kmd-fetch/type-aliases/multisigsig/) -- [MultisigSubsig](/algo-fetch/packages/algofam/kmd-fetch/type-aliases/multisigsubsig/) -- [PrivateKey](/algo-fetch/packages/algofam/kmd-fetch/type-aliases/privatekey/) -- [PublicKey](/algo-fetch/packages/algofam/kmd-fetch/type-aliases/publickey/) -- [ReleaseWalletHandleTokenData](/algo-fetch/packages/algofam/kmd-fetch/type-aliases/releasewallethandletokendata/) -- [ReleaseWalletHandleTokenRequest](/algo-fetch/packages/algofam/kmd-fetch/type-aliases/releasewallethandletokenrequest/) -- [ReleaseWalletHandleTokenResponse](/algo-fetch/packages/algofam/kmd-fetch/type-aliases/releasewallethandletokenresponse/) -- [RenameWalletData](/algo-fetch/packages/algofam/kmd-fetch/type-aliases/renamewalletdata/) -- [RenameWalletRequest](/algo-fetch/packages/algofam/kmd-fetch/type-aliases/renamewalletrequest/) -- [RenameWalletResponse](/algo-fetch/packages/algofam/kmd-fetch/type-aliases/renamewalletresponse/) -- [RenewWalletHandleTokenData](/algo-fetch/packages/algofam/kmd-fetch/type-aliases/renewwallethandletokendata/) -- [RenewWalletHandleTokenRequest](/algo-fetch/packages/algofam/kmd-fetch/type-aliases/renewwallethandletokenrequest/) -- [RenewWalletHandleTokenResponse](/algo-fetch/packages/algofam/kmd-fetch/type-aliases/renewwallethandletokenresponse/) -- [SignMultisigProgramData](/algo-fetch/packages/algofam/kmd-fetch/type-aliases/signmultisigprogramdata/) -- [SignMultisigProgramResponse](/algo-fetch/packages/algofam/kmd-fetch/type-aliases/signmultisigprogramresponse/) -- [SignMultisigRequest](/algo-fetch/packages/algofam/kmd-fetch/type-aliases/signmultisigrequest/) -- [SignMultisigTransactionData](/algo-fetch/packages/algofam/kmd-fetch/type-aliases/signmultisigtransactiondata/) -- [SignMultisigTransactionResponse](/algo-fetch/packages/algofam/kmd-fetch/type-aliases/signmultisigtransactionresponse/) -- [SignProgramData](/algo-fetch/packages/algofam/kmd-fetch/type-aliases/signprogramdata/) -- [SignProgramMultisigRequest](/algo-fetch/packages/algofam/kmd-fetch/type-aliases/signprogrammultisigrequest/) -- [SignProgramRequest](/algo-fetch/packages/algofam/kmd-fetch/type-aliases/signprogramrequest/) -- [SignProgramResponse](/algo-fetch/packages/algofam/kmd-fetch/type-aliases/signprogramresponse/) -- [SignTransactionData](/algo-fetch/packages/algofam/kmd-fetch/type-aliases/signtransactiondata/) -- [SignTransactionRequest](/algo-fetch/packages/algofam/kmd-fetch/type-aliases/signtransactionrequest/) -- [SignTransactionResponse](/algo-fetch/packages/algofam/kmd-fetch/type-aliases/signtransactionresponse/) -- [Signature](/algo-fetch/packages/algofam/kmd-fetch/type-aliases/signature/) -- [SwaggerHandlerResponse](/algo-fetch/packages/algofam/kmd-fetch/type-aliases/swaggerhandlerresponse/) -- [TxType](/algo-fetch/packages/algofam/kmd-fetch/type-aliases/txtype/) -- [VersionsRequest](/algo-fetch/packages/algofam/kmd-fetch/type-aliases/versionsrequest/) -- [VersionsResponse](/algo-fetch/packages/algofam/kmd-fetch/type-aliases/versionsresponse/) -- [WalletInfoRequest](/algo-fetch/packages/algofam/kmd-fetch/type-aliases/walletinforequest/) -- [ed25519PrivateKey](/algo-fetch/packages/algofam/kmd-fetch/type-aliases/ed25519privatekey/) -- [ed25519PublicKey](/algo-fetch/packages/algofam/kmd-fetch/type-aliases/ed25519publickey/) -- [ed25519Signature](/algo-fetch/packages/algofam/kmd-fetch/type-aliases/ed25519signature/) - -## Variables - -- [$APIV1DELETEKeyResponse](/algo-fetch/packages/algofam/kmd-fetch/variables/apiv1deletekeyresponse/) -- [$APIV1DELETEMultisigResponse](/algo-fetch/packages/algofam/kmd-fetch/variables/apiv1deletemultisigresponse/) -- [$APIV1GETWalletsResponse](/algo-fetch/packages/algofam/kmd-fetch/variables/apiv1getwalletsresponse/) -- [$APIV1POSTKeyExportResponse](/algo-fetch/packages/algofam/kmd-fetch/variables/apiv1postkeyexportresponse/) -- [$APIV1POSTKeyImportResponse](/algo-fetch/packages/algofam/kmd-fetch/variables/apiv1postkeyimportresponse/) -- [$APIV1POSTKeyListResponse](/algo-fetch/packages/algofam/kmd-fetch/variables/apiv1postkeylistresponse/) -- [$APIV1POSTKeyResponse](/algo-fetch/packages/algofam/kmd-fetch/variables/apiv1postkeyresponse/) -- [$APIV1POSTMasterKeyExportResponse](/algo-fetch/packages/algofam/kmd-fetch/variables/apiv1postmasterkeyexportresponse/) -- [$APIV1POSTMultisigExportResponse](/algo-fetch/packages/algofam/kmd-fetch/variables/apiv1postmultisigexportresponse/) -- [$APIV1POSTMultisigImportResponse](/algo-fetch/packages/algofam/kmd-fetch/variables/apiv1postmultisigimportresponse/) -- [$APIV1POSTMultisigListResponse](/algo-fetch/packages/algofam/kmd-fetch/variables/apiv1postmultisiglistresponse/) -- [$APIV1POSTMultisigProgramSignResponse](/algo-fetch/packages/algofam/kmd-fetch/variables/apiv1postmultisigprogramsignresponse/) -- [$APIV1POSTMultisigTransactionSignResponse](/algo-fetch/packages/algofam/kmd-fetch/variables/apiv1postmultisigtransactionsignresponse/) -- [$APIV1POSTProgramSignResponse](/algo-fetch/packages/algofam/kmd-fetch/variables/apiv1postprogramsignresponse/) -- [$APIV1POSTTransactionSignResponse](/algo-fetch/packages/algofam/kmd-fetch/variables/apiv1posttransactionsignresponse/) -- [$APIV1POSTWalletInfoResponse](/algo-fetch/packages/algofam/kmd-fetch/variables/apiv1postwalletinforesponse/) -- [$APIV1POSTWalletInitResponse](/algo-fetch/packages/algofam/kmd-fetch/variables/apiv1postwalletinitresponse/) -- [$APIV1POSTWalletReleaseResponse](/algo-fetch/packages/algofam/kmd-fetch/variables/apiv1postwalletreleaseresponse/) -- [$APIV1POSTWalletRenameResponse](/algo-fetch/packages/algofam/kmd-fetch/variables/apiv1postwalletrenameresponse/) -- [$APIV1POSTWalletRenewResponse](/algo-fetch/packages/algofam/kmd-fetch/variables/apiv1postwalletrenewresponse/) -- [$APIV1POSTWalletResponse](/algo-fetch/packages/algofam/kmd-fetch/variables/apiv1postwalletresponse/) -- [$APIV1Wallet](/algo-fetch/packages/algofam/kmd-fetch/variables/apiv1wallet/) -- [$APIV1WalletHandle](/algo-fetch/packages/algofam/kmd-fetch/variables/apiv1wallethandle/) -- [$CreateWalletRequest](/algo-fetch/packages/algofam/kmd-fetch/variables/createwalletrequest/) -- [$DeleteKeyRequest](/algo-fetch/packages/algofam/kmd-fetch/variables/deletekeyrequest/) -- [$DeleteMultisigRequest](/algo-fetch/packages/algofam/kmd-fetch/variables/deletemultisigrequest/) -- [$Digest](/algo-fetch/packages/algofam/kmd-fetch/variables/digest/) -- [$ExportKeyRequest](/algo-fetch/packages/algofam/kmd-fetch/variables/exportkeyrequest/) -- [$ExportMasterKeyRequest](/algo-fetch/packages/algofam/kmd-fetch/variables/exportmasterkeyrequest/) -- [$ExportMultisigRequest](/algo-fetch/packages/algofam/kmd-fetch/variables/exportmultisigrequest/) -- [$GenerateKeyRequest](/algo-fetch/packages/algofam/kmd-fetch/variables/generatekeyrequest/) -- [$ImportKeyRequest](/algo-fetch/packages/algofam/kmd-fetch/variables/importkeyrequest/) -- [$ImportMultisigRequest](/algo-fetch/packages/algofam/kmd-fetch/variables/importmultisigrequest/) -- [$InitWalletHandleTokenRequest](/algo-fetch/packages/algofam/kmd-fetch/variables/initwallethandletokenrequest/) -- [$ListKeysRequest](/algo-fetch/packages/algofam/kmd-fetch/variables/listkeysrequest/) -- [$ListMultisigRequest](/algo-fetch/packages/algofam/kmd-fetch/variables/listmultisigrequest/) -- [$ListWalletsRequest](/algo-fetch/packages/algofam/kmd-fetch/variables/listwalletsrequest/) -- [$MasterDerivationKey](/algo-fetch/packages/algofam/kmd-fetch/variables/masterderivationkey/) -- [$MultisigSig](/algo-fetch/packages/algofam/kmd-fetch/variables/multisigsig/) -- [$MultisigSubsig](/algo-fetch/packages/algofam/kmd-fetch/variables/multisigsubsig/) -- [$PrivateKey](/algo-fetch/packages/algofam/kmd-fetch/variables/privatekey/) -- [$PublicKey](/algo-fetch/packages/algofam/kmd-fetch/variables/publickey/) -- [$ReleaseWalletHandleTokenRequest](/algo-fetch/packages/algofam/kmd-fetch/variables/releasewallethandletokenrequest/) -- [$RenameWalletRequest](/algo-fetch/packages/algofam/kmd-fetch/variables/renamewalletrequest/) -- [$RenewWalletHandleTokenRequest](/algo-fetch/packages/algofam/kmd-fetch/variables/renewwallethandletokenrequest/) -- [$SignMultisigRequest](/algo-fetch/packages/algofam/kmd-fetch/variables/signmultisigrequest/) -- [$SignProgramMultisigRequest](/algo-fetch/packages/algofam/kmd-fetch/variables/signprogrammultisigrequest/) -- [$SignProgramRequest](/algo-fetch/packages/algofam/kmd-fetch/variables/signprogramrequest/) -- [$SignTransactionRequest](/algo-fetch/packages/algofam/kmd-fetch/variables/signtransactionrequest/) -- [$Signature](/algo-fetch/packages/algofam/kmd-fetch/variables/signature/) -- [$TxType](/algo-fetch/packages/algofam/kmd-fetch/variables/txtype/) -- [$VersionsRequest](/algo-fetch/packages/algofam/kmd-fetch/variables/versionsrequest/) -- [$VersionsResponse](/algo-fetch/packages/algofam/kmd-fetch/variables/versionsresponse/) -- [$WalletInfoRequest](/algo-fetch/packages/algofam/kmd-fetch/variables/walletinforequest/) -- [$ed25519PrivateKey](/algo-fetch/packages/algofam/kmd-fetch/variables/ed25519privatekey/) -- [$ed25519PublicKey](/algo-fetch/packages/algofam/kmd-fetch/variables/ed25519publickey/) -- [$ed25519Signature](/algo-fetch/packages/algofam/kmd-fetch/variables/ed25519signature/) diff --git a/package-lock.json b/package-lock.json index ce18399..2bc9123 100644 --- a/package-lock.json +++ b/package-lock.json @@ -30,7 +30,7 @@ } }, "docs": { - "name": "@algofam/docs-fetch", + "name": "@awesome-algorand/docs-fetch", "version": "0.0.1", "dependencies": { "@astrojs/check": "^0.8.1", @@ -44,10 +44,6 @@ "typescript": "^5.5.3" } }, - "node_modules/@algofam/docs-fetch": { - "resolved": "docs", - "link": true - }, "node_modules/@ampproject/remapping": { "version": "2.3.0", "resolved": "https://registry.npmjs.org/@ampproject/remapping/-/remapping-2.3.0.tgz", @@ -294,6 +290,10 @@ "resolved": "packages/core", "link": true }, + "node_modules/@awesome-algorand/docs-fetch": { + "resolved": "docs", + "link": true + }, "node_modules/@awesome-algorand/indexer-fetch": { "resolved": "packages/indexer", "link": true @@ -10908,7 +10908,7 @@ }, "packages/indexer": { "name": "@awesome-algorand/indexer-fetch", - "version": "2.0.0", + "version": "0.0.0", "license": "Unlicense", "dependencies": { "@awesome-algorand/core-fetch": "^1.0.0" diff --git a/package.json b/package.json index a9b9215..f2b06bb 100644 --- a/package.json +++ b/package.json @@ -16,6 +16,7 @@ "prebuild": "npm run -w @awesome-algorand/core-fetch build", "docs": "npm run build -w @awesome-algorand/docs-fetch", "docs:dev": "npm run dev -w @awesome-algorand/docs-fetch", + "clean": "npm run clean -ws --if-present", "predocs": "npm run build", "test": "vitest", "test:ui": "vitest --ui --coverage",