Skip to content

Commit

Permalink
Fix: Fix Headers for Web
Browse files Browse the repository at this point in the history
  • Loading branch information
sp committed Jun 15, 2023
1 parent 9beefa9 commit ce3c273
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Release Note

## v0.3.0

- Fix Headers for Web / JS

## v0.2.9

- Update CI
Expand Down
2 changes: 1 addition & 1 deletion lib/src/client.dart
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ class ProffixClient implements BaseProffixClient {
_options = options;
}

_dioClient.options.headers["user-agent"] = _options.userAgent;
// _dioClient.options.headers["user-agent"] = _options.userAgent;

if (pxSessionID == null) {
_pxSessionID = "";
Expand Down
8 changes: 4 additions & 4 deletions pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
name: dart_proffix_rest
description: A Dart wrapper for Proffix Rest API with automatic login and logout and many useful helper functions
version: 0.2.9
version: 0.3.0
repository: https://github.com/pitwch/dart_proffix_rest
homepage: https://github.com/pitwch/dart_proffix_rest
environment:
sdk: ">=2.12.0 <3.0.0"
sdk: ">=2.18.0 <3.0.0"

dependencies:
async: ^2.11.0
crypto: ^3.0.3
crypto: ^3.0.2
dartz: ^0.10.1
dio: ^5.2.1
intl: ^0.18.1

dev_dependencies:
dotenv: ^4.1.0
lints: ^2.1.1
test: ^1.24.3
lints: any

0 comments on commit ce3c273

Please sign in to comment.