Skip to content

Commit

Permalink
Merge branch 'master' into hc/fix-links
Browse files Browse the repository at this point in the history
  • Loading branch information
calldelegation authored Dec 9, 2024
2 parents 08afbc0 + bedcfb1 commit 0ec3d0b
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion docs/fuels-ts
Submodule fuels-ts updated 96 files
+4 −0 .changeset/afraid-ligers-work.md
+4 −0 .changeset/brown-scissors-search.md
+4 −0 .changeset/khaki-berries-divide.md
+5 −0 .changeset/khaki-teachers-study.md
+5 −0 .changeset/lazy-experts-rescue.md
+2 −0 .changeset/old-maps-fold.md
+6 −0 .changeset/polite-impalas-fetch.md
+5 −0 .changeset/polite-mugs-stare.md
+5 −0 .changeset/red-trainers-mix.md
+4 −0 .changeset/spicy-mails-sort.md
+5 −0 .changeset/wise-ladybugs-nail.md
+1 −1 .eslintignore
+1 −1 .github/workflows/code-lint.yaml
+1 −1 .github/workflows/test.yaml
+1 −3 .knip.json
+0 −2 .prettierignore
+0 −19 .textlintrc.json
+13 −14 apps/docs-api/index.md
+2 −1 apps/docs-api/typedoc.json
+15 −0 apps/docs/README.md
+2 −2 apps/docs/scripts/launcher-snippet.ts
+1 −1 apps/docs/scripts/wrap-snippets.ts
+1 −1 apps/docs/src/guide/contracts/contract-balance.md
+1 −1 apps/docs/src/guide/contracts/cost-estimation.md
+1 −1 apps/docs/src/guide/contracts/dependency-estimation.md
+1 −1 apps/docs/src/guide/contracts/deploying-contracts.md
+2 −2 apps/docs/src/guide/contracts/managing-deployed-contracts.md
+1 −1 apps/docs/src/guide/contracts/minted-token-asset-id.md
+44 −2 apps/docs/src/guide/contracts/proxy-contracts.md
+106 −0 apps/docs/src/guide/contracts/snippets/proxy-contracts.ts
+1 −1 apps/docs/src/guide/predicates/methods.md
+1 −1 apps/docs/src/guide/provider/provider-options.md
+1 −1 apps/docs/src/guide/testing/launching-a-test-node.md
+26 −0 apps/docs/src/guide/transactions/snippets/transaction-request/add-output-coin.ts
+2 −2 apps/docs/src/guide/transactions/snippets/transaction-request/add-predicate.ts
+14 −18 apps/docs/src/guide/transactions/snippets/transaction-request/add-witness.ts
+22 −0 apps/docs/src/guide/transactions/snippets/transaction-request/estimate-and-fund.ts
+22 −0 apps/docs/src/guide/transactions/snippets/transaction-request/fetch-coins.ts
+37 −0 apps/docs/src/guide/transactions/snippets/transaction-request/fetch-resources.ts
+0 −59 apps/docs/src/guide/transactions/snippets/transaction-request/fund-request.ts
+20 −0 apps/docs/src/guide/transactions/snippets/transaction-request/input-contract.ts
+33 −9 apps/docs/src/guide/transactions/transaction-request.md
+3 −3 apps/docs/src/guide/types/address.md
+2 −2 apps/docs/src/guide/utilities/using-assets.md
+2 −2 apps/docs/src/guide/wallets/checking-balances.md
+13 −13 apps/docs/src/guide/wallets/connectors.md
+2 −0 apps/docs/sway/Forc.toml
+7 −0 apps/docs/sway/counter-v2/Forc.toml
+52 −0 apps/docs/sway/counter-v2/src/main.sw
+5 −3 apps/docs/sway/counter/src/main.sw
+7 −0 apps/docs/sway/script-call-contract/Forc.toml
+12 −0 apps/docs/sway/script-call-contract/src/counter.sw
+11 −0 apps/docs/sway/script-call-contract/src/main.sw
+1 −1 internal/fuel-core/VERSION
+12 −0 link-check.config.json
+1 −1 nodemon.config.json
+1 −3 package.json
+3 −3 packages/account/package.json
+4 −3 packages/account/src/providers/provider.ts
+22 −8 packages/account/src/test-utils/launchNode.test.ts
+4 −0 packages/account/src/test-utils/launchNode.ts
+23 −0 packages/account/src/utils/formatTransferToContractScriptData.test.ts
+2 −2 packages/account/src/utils/formatTransferToContractScriptData.ts
+77 −0 packages/fuel-gauge/src/contract.test.ts
+46 −0 packages/fuel-gauge/src/recipes.test.ts
+2 −2 packages/fuels/package.json
+1 −1 packages/fuels/src/cli/commands/deploy/deployContracts.ts
+0 −2 packages/fuels/src/cli/commands/deploy/proxy/.gitignore
+0 −826 packages/fuels/src/cli/commands/deploy/proxy/types/Src14OwnedProxy.ts
+0 −38 packages/fuels/src/cli/commands/deploy/proxy/types/Src14OwnedProxyFactory.ts
+2 −4 packages/fuels/src/index.test.ts
+1 −0 packages/fuels/src/index.ts
+1 −0 packages/recipes/CHANGELOG.md
+201 −0 packages/recipes/LICENSE
+57 −0 packages/recipes/README.md
+40 −0 packages/recipes/package.json
+75 −0 packages/recipes/scripts/build-recipes.ts
+0 −10 packages/recipes/src/contracts/src14/README.md
+68 −203 packages/recipes/src/contracts/src14/src14_owned_proxy-abi.json
+1 −1 packages/recipes/src/contracts/src14/src14_owned_proxy-storage_slots.json
+ packages/recipes/src/contracts/src14/src14_owned_proxy.bin
+1 −0 packages/recipes/src/index.ts
+685 −0 packages/recipes/src/types/Src14OwnedProxy.ts
+31 −0 packages/recipes/src/types/Src14OwnedProxyFactory.ts
+1 −1 packages/recipes/src/types/common.d.ts
+0 −0 packages/recipes/src/types/index.ts
+9 −0 packages/recipes/tsconfig.dts.json
+7 −0 packages/recipes/tsconfig.json
+4 −0 packages/recipes/tsdoc.json
+3 −0 packages/recipes/tsup.config.ts
+6 −0 packages/recipes/typedoc.json
+1 −1 packages/versions/src/lib/getBuiltinVersions.ts
+298 −1,174 pnpm-lock.yaml
+1 −1 scripts/forc-check.sh
+11 −15 scripts/lint-md-links.ts
+1 −1 tsconfig.test.json
2 changes: 1 addition & 1 deletion docs/guides/docs/intro-to-sway/typescript-sdk.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -457,7 +457,7 @@ Now you should be able to see and buy all of the items listed in your contract.

## Checkpoint

Ensure that all your files are correctly configured by examining the code below. If you require additional assistance, refer to the repository [here](https://github.com/FuelLabs/intro-to-sway/tree/main/frontend)
Ensure that all your files are correctly configured by examining the code below. If you require additional assistance, refer to the repository [here](https://github.com/FuelLabs/intro-to-sway/tree/main/sway-store)

`App.tsx`

Expand Down
2 changes: 1 addition & 1 deletion docs/nightly/fuels-ts
Submodule fuels-ts updated 96 files
+4 −0 .changeset/afraid-ligers-work.md
+4 −0 .changeset/brown-scissors-search.md
+4 −0 .changeset/khaki-berries-divide.md
+5 −0 .changeset/khaki-teachers-study.md
+5 −0 .changeset/lazy-experts-rescue.md
+2 −0 .changeset/old-maps-fold.md
+6 −0 .changeset/polite-impalas-fetch.md
+5 −0 .changeset/polite-mugs-stare.md
+5 −0 .changeset/red-trainers-mix.md
+4 −0 .changeset/spicy-mails-sort.md
+5 −0 .changeset/wise-ladybugs-nail.md
+1 −1 .eslintignore
+1 −1 .github/workflows/code-lint.yaml
+1 −1 .github/workflows/test.yaml
+1 −3 .knip.json
+0 −2 .prettierignore
+0 −19 .textlintrc.json
+13 −14 apps/docs-api/index.md
+2 −1 apps/docs-api/typedoc.json
+15 −0 apps/docs/README.md
+2 −2 apps/docs/scripts/launcher-snippet.ts
+1 −1 apps/docs/scripts/wrap-snippets.ts
+1 −1 apps/docs/src/guide/contracts/contract-balance.md
+1 −1 apps/docs/src/guide/contracts/cost-estimation.md
+1 −1 apps/docs/src/guide/contracts/dependency-estimation.md
+1 −1 apps/docs/src/guide/contracts/deploying-contracts.md
+2 −2 apps/docs/src/guide/contracts/managing-deployed-contracts.md
+1 −1 apps/docs/src/guide/contracts/minted-token-asset-id.md
+44 −2 apps/docs/src/guide/contracts/proxy-contracts.md
+106 −0 apps/docs/src/guide/contracts/snippets/proxy-contracts.ts
+1 −1 apps/docs/src/guide/predicates/methods.md
+1 −1 apps/docs/src/guide/provider/provider-options.md
+1 −1 apps/docs/src/guide/testing/launching-a-test-node.md
+26 −0 apps/docs/src/guide/transactions/snippets/transaction-request/add-output-coin.ts
+2 −2 apps/docs/src/guide/transactions/snippets/transaction-request/add-predicate.ts
+14 −18 apps/docs/src/guide/transactions/snippets/transaction-request/add-witness.ts
+22 −0 apps/docs/src/guide/transactions/snippets/transaction-request/estimate-and-fund.ts
+22 −0 apps/docs/src/guide/transactions/snippets/transaction-request/fetch-coins.ts
+37 −0 apps/docs/src/guide/transactions/snippets/transaction-request/fetch-resources.ts
+0 −59 apps/docs/src/guide/transactions/snippets/transaction-request/fund-request.ts
+20 −0 apps/docs/src/guide/transactions/snippets/transaction-request/input-contract.ts
+33 −9 apps/docs/src/guide/transactions/transaction-request.md
+3 −3 apps/docs/src/guide/types/address.md
+2 −2 apps/docs/src/guide/utilities/using-assets.md
+2 −2 apps/docs/src/guide/wallets/checking-balances.md
+13 −13 apps/docs/src/guide/wallets/connectors.md
+2 −0 apps/docs/sway/Forc.toml
+7 −0 apps/docs/sway/counter-v2/Forc.toml
+52 −0 apps/docs/sway/counter-v2/src/main.sw
+5 −3 apps/docs/sway/counter/src/main.sw
+7 −0 apps/docs/sway/script-call-contract/Forc.toml
+12 −0 apps/docs/sway/script-call-contract/src/counter.sw
+11 −0 apps/docs/sway/script-call-contract/src/main.sw
+1 −1 internal/fuel-core/VERSION
+12 −0 link-check.config.json
+1 −1 nodemon.config.json
+1 −3 package.json
+3 −3 packages/account/package.json
+4 −3 packages/account/src/providers/provider.ts
+22 −8 packages/account/src/test-utils/launchNode.test.ts
+4 −0 packages/account/src/test-utils/launchNode.ts
+23 −0 packages/account/src/utils/formatTransferToContractScriptData.test.ts
+2 −2 packages/account/src/utils/formatTransferToContractScriptData.ts
+77 −0 packages/fuel-gauge/src/contract.test.ts
+46 −0 packages/fuel-gauge/src/recipes.test.ts
+2 −2 packages/fuels/package.json
+1 −1 packages/fuels/src/cli/commands/deploy/deployContracts.ts
+0 −2 packages/fuels/src/cli/commands/deploy/proxy/.gitignore
+0 −826 packages/fuels/src/cli/commands/deploy/proxy/types/Src14OwnedProxy.ts
+0 −38 packages/fuels/src/cli/commands/deploy/proxy/types/Src14OwnedProxyFactory.ts
+2 −4 packages/fuels/src/index.test.ts
+1 −0 packages/fuels/src/index.ts
+1 −0 packages/recipes/CHANGELOG.md
+201 −0 packages/recipes/LICENSE
+57 −0 packages/recipes/README.md
+40 −0 packages/recipes/package.json
+75 −0 packages/recipes/scripts/build-recipes.ts
+0 −10 packages/recipes/src/contracts/src14/README.md
+68 −203 packages/recipes/src/contracts/src14/src14_owned_proxy-abi.json
+1 −1 packages/recipes/src/contracts/src14/src14_owned_proxy-storage_slots.json
+ packages/recipes/src/contracts/src14/src14_owned_proxy.bin
+1 −0 packages/recipes/src/index.ts
+685 −0 packages/recipes/src/types/Src14OwnedProxy.ts
+31 −0 packages/recipes/src/types/Src14OwnedProxyFactory.ts
+1 −1 packages/recipes/src/types/common.d.ts
+0 −0 packages/recipes/src/types/index.ts
+9 −0 packages/recipes/tsconfig.dts.json
+7 −0 packages/recipes/tsconfig.json
+4 −0 packages/recipes/tsdoc.json
+3 −0 packages/recipes/tsup.config.ts
+6 −0 packages/recipes/typedoc.json
+1 −1 packages/versions/src/lib/getBuiltinVersions.ts
+298 −1,174 pnpm-lock.yaml
+1 −1 scripts/forc-check.sh
+11 −15 scripts/lint-md-links.ts
+1 −1 tsconfig.test.json
6 changes: 3 additions & 3 deletions scripts/wallet-patch-fixes/download-link.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const constantsPath = join(
const nightlyConstantsPath =
'docs/nightly/fuels-wallet/packages/docs/src/constants.ts';

const downloadVarName = 'DOWNLOAD_LINK';
const downloadVarName = 'WALLET_DOWNLOAD_PATH';

function handleConstantsFile(filePath, version) {
const file = readFileSync(filePath, 'utf8');
Expand All @@ -38,8 +38,8 @@ function handleConstantsFile(filePath, version) {

if (start !== undefined && end !== undefined) {
const walletVersion = versions.default.wallet;
const downloadLink = `https://github.com/FuelLabs/fuels-wallet/releases/download/v${walletVersion}/fuel-wallet-${walletVersion}.zip`;
const modifiedContent = `export const DOWNLOAD_LINK = '${downloadLink}';`;
const downloadLink = `https://wallet.fuel.network/app/fuel-wallet-${walletVersion}.zip`;
const modifiedContent = `export const ${downloadVarName} = '${downloadLink}';`;
lines.splice(start, end - start + 1, modifiedContent);
const newFileContent = lines.join(EOL);
writeFileSync(filePath, newFileContent, 'utf8');
Expand Down
4 changes: 2 additions & 2 deletions src/config/versions.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
"forc": "0.66.4",
"rust": "0.66.10",
"ts": "0.97.0",
"wallet": "0.42.1",
"wallet": "0.42.3",
"sway_libs": "0.24.0",
"sway_standards": "0.6.1"
}
}
}

0 comments on commit 0ec3d0b

Please sign in to comment.