Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
teamhydra_id_generator better
  • Loading branch information
Sticks committed Oct 19, 2024
1 parent 5aeb6ed commit abca1f7
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 6 deletions.
2 changes: 2 additions & 0 deletions README.md
@@ -1,3 +1,5 @@
# teamhydra_id_generator

This package allows you to generate unique and random IDs for your Flutter/dart applications using the ID generator provided
by [team hydra](https://teamhydra.dev/).

Expand Down
2 changes: 1 addition & 1 deletion example/idgen_dart_example.dart
@@ -1,5 +1,5 @@
// Import the package
import 'package:teamhydra_idgen/teamhydra_idgen.dart';
import 'package:teamhydra_id_generator/teamhydra_idgen.dart';

void main() async {
IDGen idgen = IDGen(username: 'your_username', token: 'your_token');
Expand Down
2 changes: 1 addition & 1 deletion lib/src/idgen_http.dart
@@ -1,7 +1,7 @@
import 'dart:convert';

import 'package:dio/dio.dart';
import 'package:teamhydra_idgen/src/idgen_dart_base.dart';
import 'package:teamhydra_id_generator/src/idgen_dart_base.dart';

class IDGenHTTPWorker {
final Dio _dio = Dio();
Expand Down
4 changes: 2 additions & 2 deletions lib/src/idgen_main.dart
@@ -1,5 +1,5 @@
import 'package:teamhydra_idgen/src/idgen_http.dart';
import 'package:teamhydra_idgen/teamhydra_idgen.dart';
import 'package:teamhydra_id_generator/src/idgen_http.dart';
import 'package:teamhydra_id_generator/teamhydra_idgen.dart';

/// The main class to use when generating an ID
///
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
@@ -1,4 +1,4 @@
name: teamhydra_idgen
name: teamhydra_id_generator
description: A library for generating unique IDs using Team Hydra's ID generation service.
version: 1.0.0
repository: https://teamhydra.io/Sticks/idgen-dart
Expand Down
2 changes: 1 addition & 1 deletion test/idgen_dart_test.dart
@@ -1,5 +1,5 @@
import 'dart:io';
import 'package:teamhydra_idgen/teamhydra_idgen.dart';
import 'package:teamhydra_id_generator/teamhydra_idgen.dart';
import 'package:test/test.dart';

Map<String, String> loadRequiredVarsFromEnv() {
Expand Down

0 comments on commit abca1f7

Please sign in to comment.