From d1eac787f760e76e05b5fc9c488c213093e2709d Mon Sep 17 00:00:00 2001 From: Call Delegation <106365423+calldelegation@users.noreply.github.com> Date: Mon, 29 Jul 2024 14:18:11 -0400 Subject: [PATCH 1/2] bump sway --- docs/builds/sway | 2 +- docs/sway | 2 +- src/config/versions.json | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/builds/sway b/docs/builds/sway index 3a4be1800..d90e6e8d0 160000 --- a/docs/builds/sway +++ b/docs/builds/sway @@ -1 +1 @@ -Subproject commit 3a4be180040a89c59db51835d246c0e5c21a26f8 +Subproject commit d90e6e8d086315382ef94407662232d9d21fb6d4 diff --git a/docs/sway b/docs/sway index e1b1c2bee..efda0397c 160000 --- a/docs/sway +++ b/docs/sway @@ -1 +1 @@ -Subproject commit e1b1c2bee73e0ba825e07736cefa6c0abd079595 +Subproject commit efda0397c7bee77de73bd726ec0b732d57614973 diff --git a/src/config/versions.json b/src/config/versions.json index a44a83223..5b1538bc6 100644 --- a/src/config/versions.json +++ b/src/config/versions.json @@ -1,10 +1,10 @@ { "default": { - "forc": "0.61.2", + "forc": "0.62.0", "rust": "0.65.1", "ts": "0.92.0", "wallet": "0.23.0", "sway_libs": "0.22.0", "sway_standards": "0.5.1" } -} +} \ No newline at end of file From 39070453d99760df2d7b9f681572f41814f82799 Mon Sep 17 00:00:00 2001 From: Call Delegation <106365423+calldelegation@users.noreply.github.com> Date: Fri, 2 Aug 2024 14:15:04 -0400 Subject: [PATCH 2/2] Ready for review --- src/config/constants.ts | 8 ++++++++ src/lib/plugins/links.ts | 1 + 2 files changed, 9 insertions(+) diff --git a/src/config/constants.ts b/src/config/constants.ts index 55c2ed4ab..ff28b0fd1 100644 --- a/src/config/constants.ts +++ b/src/config/constants.ts @@ -19,6 +19,10 @@ export type LinkObject = { }; export const EXTERNAL_NAVIGATION_LINKS: LinkObject[] = [ + { + name: "Sway Core Lib", + link: "https://fuellabs.github.io/sway/master/core/", + }, { name: "Sway Std Lib", link: "https://fuellabs.github.io/sway/master/std/", @@ -75,6 +79,10 @@ export const NAVIGATION: any[] = [ name: "Standard Library", link: "https://fuellabs.github.io/sway/master/std/", }, + { + name: "Core Library", + link: "https://fuellabs.github.io/sway/master/core/", + }, { name: "Sway Playground", link: "https://sway-playground.org", diff --git a/src/lib/plugins/links.ts b/src/lib/plugins/links.ts index b633c6a18..b29aa984b 100644 --- a/src/lib/plugins/links.ts +++ b/src/lib/plugins/links.ts @@ -370,6 +370,7 @@ function replaceInternalLinks(href: string, base: string) { newHref.startsWith('https://fuellabs.github.io') && !newHref.includes('fuellabs.github.io/block-explorer-v2') && !newHref.startsWith('https://fuellabs.github.io/sway/master/std/') && + !newHref.startsWith('https://fuellabs.github.io/sway/master/core/') && !newHref.includes('LICENSE') && !newHref.includes('/fuelup/') && // ignore sway-libs reference links