Skip to content

Commit

Permalink
'GetPreset namespace fix, dependency bump'
Browse files Browse the repository at this point in the history
  • Loading branch information
faithoflifedev committed Dec 13, 2023
1 parent 884defe commit 5fc18ab
Show file tree
Hide file tree
Showing 8 changed files with 23 additions and 15 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Changelog

## 2.1.3+5

* PTZ - GetPreset namespace fix [Issue #49](https://github.com/faithoflifedev/easy_onvif/issues/49)
* dependency bump

## 2.1.3+4

* dependency bump
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ To use this package in your code, first add the dependency to your project:
```yml
dependencies:
...
easy_onvif: ^2.1.3+4
easy_onvif: ^2.1.3+5
```
If you need additional help getting started with dart, check out these [guides](https://dart.dev/guides).
Expand Down
2 changes: 1 addition & 1 deletion example/flutter_model/lib/device_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import 'package:flutter/material.dart';
class DevicePage extends StatelessWidget {
final multicastProbe = MulticastProbe(releaseMode: kReleaseMode);

DevicePage({Key? key}) : super(key: key);
DevicePage({super.key});

Future<List<ProbeMatch>> fetchDevices() async {
await multicastProbe.probe();
Expand Down
4 changes: 2 additions & 2 deletions example/flutter_model/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ void main() {
}

class MyApp extends StatelessWidget {
const MyApp({Key? key}) : super(key: key);
const MyApp({super.key});

@override
Widget build(BuildContext context) {
Expand All @@ -31,7 +31,7 @@ class MyApp extends StatelessWidget {
}

class MyHomePage extends StatefulWidget {
const MyHomePage({Key? key, required this.title}) : super(key: key);
const MyHomePage({super.key, required this.title});
final String title;

@override
Expand Down
10 changes: 5 additions & 5 deletions example/flutter_model/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ publish_to: "none"
version: 1.0.1

environment:
sdk: ">=3.0.0 <4.0.0"
sdk: ">=3.2.0 <4.0.0"

dependencies:
cached_network_image: ^3.2.3
Expand All @@ -16,9 +16,9 @@ dependencies:
flutter_form_builder: ^9.0.0
form_builder_validators: ^9.0.0
flutter_loggy: ^2.0.1
flutter_solidart: ^1.2.0
getwidget: ^2.0.4
http: ^0.13.6
flutter_solidart: ^1.5.0
getwidget: ^4.0.0
http: ^1.1.2
loggy: ^2.0.1+1
path: ^1.8.3
shared_preferences: ^2.1.1
Expand All @@ -29,7 +29,7 @@ dependencies:
sdk: flutter

dev_dependencies:
flutter_lints: ^2.0.3
flutter_lints: ^3.0.1
solidart_lint: ^1.0.1

# dependency_overrides:
Expand Down
5 changes: 4 additions & 1 deletion lib/meta.dart
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
/// app metadata
library meta;

// DO NOT EDIT THIS FILE
// THIS FILE IS AUTOMATICALLY OVER WRITTEN BY PublishTools
import 'dart:convert' show json;

final pubSpec = json.decode(
'{"name":"easy_onvif","version":"2.1.3+4","homepage":"https://github.com/faithoflifedev/easy_onvif","environment":{"sdk":">=3.0.0 <4.0.0"},"description":"A pure Dart library designed primarily for command line automation of Onvif compatible devices, but can be used anywhere Dart is used.","dependencies":{"args":"^2.4.2","crypto":"^3.0.3","dio":"^5.4.0","ffi":"^2.1.0","html_unescape":"^2.0.0","intl":"^0.18.1","json_annotation":"^4.8.1","loggy":"^2.0.3","path":"^1.8.3","shelf":"^1.4.1","shelf_router":"^1.1.4","sprintf":"^7.0.0","universal_io":"^2.2.2","uuid":"^4.2.1","xml":"^6.3.0","xml2json":"^6.2.1","yaml":"^3.1.2"},"dev_dependencies":{"build_runner":"^2.4.7","grinder":"^0.9.5","json_serializable":"^6.7.1","lints":"^3.0.0","mustache_template":"^2.0.0","process_run":"^0.13.0","pub_semver":"^2.1.4","publish_tools":"^0.1.0+12","pubspec":"^2.3.0","test":"^1.24.9"},"executables":{"onvif":""},"repository":"https://github.com/faithoflifedev/easy_onvif.git"}');
'{"name":"easy_onvif","version":"2.1.3+5","homepage":"https://github.com/faithoflifedev/easy_onvif","environment":{"sdk":">=3.0.0 <4.0.0"},"description":"A pure Dart library designed primarily for command line automation of Onvif compatible devices, but can be used anywhere Dart is used.","dependencies":{"args":"^2.4.2","crypto":"^3.0.3","dio":"^5.4.0","ffi":"^2.1.0","html_unescape":"^2.0.0","intl":"^0.19.0","json_annotation":"^4.8.1","loggy":"^2.0.3","path":"^1.8.3","shelf":"^1.4.1","shelf_router":"^1.1.4","sprintf":"^7.0.0","universal_io":"^2.2.2","uuid":"^4.3.1","xml":"^6.3.0","xml2json":"^6.2.1","yaml":"^3.1.2"},"dev_dependencies":{"build_runner":"^2.4.7","grinder":"^0.9.5","json_serializable":"^6.7.1","lints":"^3.0.0","mustache_template":"^2.0.0","process_run":"^0.13.0","pub_semver":"^2.1.4","publish_tools":"^0.1.0+14","pubspec":"^2.3.0","test":"^1.24.9"},"executables":{"onvif":""},"repository":"https://github.com/faithoflifedev/easy_onvif.git"}');
2 changes: 1 addition & 1 deletion lib/src/soap/ptz.dart
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ class PtzRequest {
/// XML for the [getPresets], requires a [profileToken]
static XmlDocumentFragment getPresets(String profileToken) {
Transport.builder.element('GetPresets', nest: () {
Transport.builder.namespace(Xmlns.tds);
Transport.builder.namespace(Xmlns.tptz);
Transport.builder.element('ProfileToken', nest: () {
Transport.builder.text(profileToken);
});
Expand Down
8 changes: 4 additions & 4 deletions pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: easy_onvif
version: 2.1.3+4
version: 2.1.3+5
homepage: https://github.com/faithoflifedev/easy_onvif
description: A pure Dart library designed primarily for command line automation of Onvif compatible devices, but can be used anywhere Dart is used.
repository: https://github.com/faithoflifedev/easy_onvif.git
Expand All @@ -12,15 +12,15 @@ dependencies:
dio: ^5.4.0
ffi: ^2.1.0
html_unescape: ^2.0.0
intl: ^0.18.1
intl: ^0.19.0
json_annotation: ^4.8.1
loggy: ^2.0.3
path: ^1.8.3
shelf: ^1.4.1
shelf_router: ^1.1.4
sprintf: ^7.0.0
universal_io: ^2.2.2
uuid: ^4.2.1
uuid: ^4.3.1
xml: ^6.3.0
xml2json: ^6.2.1
yaml: ^3.1.2
Expand All @@ -32,7 +32,7 @@ dev_dependencies:
mustache_template: ^2.0.0
process_run: ^0.13.0
pub_semver: ^2.1.4
publish_tools: ^0.1.0+12
publish_tools: ^0.1.0+14
pubspec: ^2.3.0
test: ^1.24.9
executables:
Expand Down

0 comments on commit 5fc18ab

Please sign in to comment.