Skip to content

Commit

Permalink
chore: update nightly docs (#236)
Browse files Browse the repository at this point in the history
Co-authored-by: sarahschwartz <[email protected]>
  • Loading branch information
github-actions[bot] and sarahschwartz authored Apr 11, 2024
1 parent 259e758 commit 15e447b
Show file tree
Hide file tree
Showing 12 changed files with 26 additions and 20 deletions.
2 changes: 1 addition & 1 deletion docs/fuels-wallet
Submodule fuels-wallet updated 504 files
2 changes: 1 addition & 1 deletion docs/nightly/builds/sway
Submodule sway updated 920 files
2 changes: 1 addition & 1 deletion docs/nightly/fuels-rs
Submodule fuels-rs updated 84 files
+15 −14 .github/workflows/ci.yml
+0 −15 .github/workflows/opened-issues-triage.yml
+0 −15 .github/workflows/releasy-dependency-commits.yml
+0 −16 .github/workflows/releasy-self-commits.yml
+22 −22 Cargo.toml
+2 −2 docs/src/connecting/short-lived.md
+1 −1 docs/src/cookbook/transfer-all-assets.md
+12 −1 docs/src/types/custom_types.md
+1 −0 examples/contracts/Cargo.toml
+27 −5 examples/contracts/src/lib.rs
+17 −17 examples/cookbook/src/lib.rs
+3 −0 examples/debugging/Cargo.toml
+13 −107 examples/debugging/src/lib.rs
+5 −5 examples/predicates/src/lib.rs
+4 −2 examples/providers/src/lib.rs
+5 −3 examples/types/src/lib.rs
+5 −8 examples/wallets/src/lib.rs
+28 −22 packages/fuels-accounts/src/account.rs
+23 −15 packages/fuels-accounts/src/accounts_utils.rs
+35 −54 packages/fuels-accounts/src/provider.rs
+1 −1 packages/fuels-accounts/src/provider/supported_versions.rs
+1 −1 packages/fuels-code-gen/src/program_bindings/custom_types.rs
+0 −11 packages/fuels-code-gen/src/program_bindings/resolved_type.rs
+1 −0 packages/fuels-core/Cargo.toml
+3 −0 packages/fuels-core/src/codec.rs
+187 −101 packages/fuels-core/src/codec/abi_decoder.rs
+163 −0 packages/fuels-core/src/codec/abi_decoder/decode_as_debug_str.rs
+11 −40 packages/fuels-core/src/codec/abi_decoder/experimental_bounded_decoder.rs
+349 −643 packages/fuels-core/src/codec/abi_encoder.rs
+0 −2 packages/fuels-core/src/codec/abi_encoder/bounded_encoder.rs
+133 −0 packages/fuels-core/src/codec/abi_encoder/experimental_bounded_encoder.rs
+177 −4 packages/fuels-core/src/codec/function_selector.rs
+6 −15 packages/fuels-core/src/codec/logs.rs
+5 −89 packages/fuels-core/src/types.rs
+2 −2 packages/fuels-core/src/types/core/bytes.rs
+4 −0 packages/fuels-core/src/types/param_types/param_type.rs
+90 −0 packages/fuels-core/src/types/token.rs
+59 −44 packages/fuels-core/src/types/transaction_builders.rs
+8 −2 packages/fuels-core/src/types/wrappers/block.rs
+4 −4 packages/fuels-core/src/types/wrappers/coin.rs
+10 −13 packages/fuels-core/src/types/wrappers/coin_type.rs
+1 −10 packages/fuels-core/src/types/wrappers/input.rs
+0 −2 packages/fuels-core/src/types/wrappers/node_info.rs
+52 −17 packages/fuels-core/src/types/wrappers/transaction.rs
+1 −1 packages/fuels-core/src/utils.rs
+0 −3 packages/fuels-core/src/utils/constants.rs
+3 −5 packages/fuels-core/src/utils/offsets.rs
+1 −1 packages/fuels-macros/Cargo.toml
+1 −0 packages/fuels-programs/Cargo.toml
+171 −41 packages/fuels-programs/src/call_utils.rs
+12 −7 packages/fuels-programs/src/contract.rs
+12 −0 packages/fuels-programs/src/receipt_parser.rs
+4 −8 packages/fuels-test-helpers/Cargo.toml
+16 −16 packages/fuels-test-helpers/src/accounts.rs
+48 −35 packages/fuels-test-helpers/src/fuel_bin_service.rs
+48 −40 packages/fuels-test-helpers/src/lib.rs
+4 −119 packages/fuels-test-helpers/src/node_types.rs
+48 −7 packages/fuels-test-helpers/src/service.rs
+2 −2 packages/fuels-test-helpers/src/wallets_config.rs
+1 −0 packages/fuels/Cargo.toml
+2 −1 packages/fuels/Forc.toml
+17 −2 packages/fuels/tests/bindings.rs
+36 −23 packages/fuels/tests/contracts.rs
+0 −16 packages/fuels/tests/contracts/lib_contract/src/main.sw
+9 −4 packages/fuels/tests/contracts/low_level_caller/src/main.sw
+5 −1 packages/fuels/tests/from_token.rs
+3 −3 packages/fuels/tests/logs.rs
+199 −16 packages/fuels/tests/predicates.rs
+2 −1 packages/fuels/tests/predicates/signatures/src/main.sw
+2 −2 packages/fuels/tests/predicates/swap/src/main.sw
+85 −36 packages/fuels/tests/providers.rs
+10 −9 packages/fuels/tests/scripts.rs
+5 −0 packages/fuels/tests/types/contracts/heap_types/Forc.toml
+42 −0 packages/fuels/tests/types/contracts/heap_types/src/main.sw
+1 −1 packages/fuels/tests/types/contracts/type_inside_enum/src/main.sw
+5 −0 packages/fuels/tests/types/scripts/script_heap_types/Forc.toml
+36 −0 packages/fuels/tests/types/scripts/script_heap_types/src/main.sw
+138 −194 packages/fuels/tests/types_contracts.rs
+1 −1 packages/fuels/tests/types_predicates.rs
+54 −8 packages/fuels/tests/types_scripts.rs
+40 −29 packages/fuels/tests/wallets.rs
+5 −1 packages/wasm-tests/Cargo.toml
+16 −0 packages/wasm-tests/src/lib.rs
+1 −1 scripts/check-docs/src/lib.rs
2 changes: 1 addition & 1 deletion docs/nightly/fuels-wallet
Submodule fuels-wallet updated 504 files
2 changes: 1 addition & 1 deletion docs/nightly/sway
Submodule sway updated 154 files
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
"@fuel-ui/icons": "0.21.0-pr-305-04b8434",
"@fuel-ui/react": "0.21.0-pr-305-04b8434",
"@fuel-wallet/playwright-utils": "^0.13.10",
"@fuel-wallet/sdk": "^0.16.1",
"@fuel-wallet/sdk": "0.16.2-master-a0e5cbf",
"@fuels/connectors": "0.1.1",
"@fuels/react": "^0.16.0",
"@fuels/ts-config": "^0.15.1",
Expand Down
24 changes: 14 additions & 10 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions scripts/generate-links/str.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ const specialCapsWords = [
{ word: 'abi', newWord: 'ABI' },
{ word: 'graphql', newWord: 'graphQL' },
{ word: 'lsp', newWord: 'LSP' },
{ word: 'ide', newWord: 'IDE' },
{ word: 'cli', newWord: 'CLI' },
];

export function capitalize(val) {
Expand Down
2 changes: 1 addition & 1 deletion scripts/update-nightly/versions.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ function getRustSDKVersion(isNightly) {

function getWalletVersion(isNightly) {
return getVersionFromJSONFile(
`docs${isNightly ? '/nightly' : ''}/fuels-wallet/packages/sdk/package.json`
`docs${isNightly ? '/nightly' : ''}/fuels-wallet/packages/app/package.json`
);
}

Expand Down
2 changes: 1 addition & 1 deletion src/config/versions.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
"forc": "0.49.3",
"rust": "0.55.0",
"ts": "0.79.0",
"wallet": "0.16.1"
"wallet": "0.16.2"
}
}
2 changes: 1 addition & 1 deletion src/lib/versions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ function itemFromPackageJson(docsDir: string, filename: string) {
function getWalletVersion(docsDir: string) {
const json = itemFromPackageJson(
docsDir,
'fuels-wallet/packages/sdk/package.json'
'fuels-wallet/packages/app/package.json'
);
return {
name: 'fuels-wallet',
Expand Down

0 comments on commit 15e447b

Please sign in to comment.