From 969ab7fe44ffce2721ab1b4172553bd9e1913f05 Mon Sep 17 00:00:00 2001 From: Michael Buhler Date: Wed, 13 Mar 2024 17:49:38 +0700 Subject: [PATCH 1/2] fix(api): use the correct port for sandboxed endpoints fixes https://github.com/ardriveapp/arweave-dart/issues/59 --- lib/src/api/api.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/src/api/api.dart b/lib/src/api/api.dart index 118d780..f2225e9 100644 --- a/lib/src/api/api.dart +++ b/lib/src/api/api.dart @@ -26,6 +26,6 @@ class ArweaveApi { Uri.parse('${gatewayUrl.origin}/$endpoint'); Uri _getSandboxedEndpointUri(String txId) => Uri.parse( - '${gatewayUrl.scheme}://${getSandboxSubdomain(txId)}.${gatewayUrl.host}/$txId', + '${gatewayUrl.scheme}://${getSandboxSubdomain(txId)}.${gatewayUrl.host}:${gatewayUrl.port}/$txId', ); } From 22563c003dfa9e560f9bbcd254c02745c213d581 Mon Sep 17 00:00:00 2001 From: Thiago Carvalho Date: Fri, 15 Mar 2024 10:01:36 -0300 Subject: [PATCH 2/2] Update pubspec.yaml --- pubspec.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pubspec.yaml b/pubspec.yaml index 3e0d7d2..2c12459 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: arweave description: "" -version: 3.8.3 +version: 3.8.4 environment: sdk: ">=3.0.0 <4.0.0" publish_to: none