Skip to main content

dim_client 1.7.1 copy "dim_client: ^1.7.1" to clipboard
dim_client: ^1.7.1 copied to clipboard

DIM demo.

Decentralized Instant Message (Dart Demo) #

License PRs Welcome Platform Issues Repo Size Tags Version

Watchers Forks Stars Followers

Dependencies #

  • Latest Versions
Name Version Description
Ming Ke Ming (名可名) Version Decentralized User Identity Authentication
Dao Ke Dao (道可道) Version Universal Message Module
DIMP (去中心化通讯协议) Version Decentralized Instant Messaging Protocol
DIM SDK Version Software Development Kit
DIM-AX Version Application eXtensions
DIM-AP Version Algorithm Plugins
Star Gate Version Network Connection Module (WebSocket)
LNC Version Log, Notification & Cache
  • pubspec.yaml
environment:
  sdk: '>=3.0.0 <4.0.0'

dependencies:
  object_key:  ^1.1.1
  lnc:         ^1.2.2
#  startrek:    ^1.2.0
  stargate:    ^1.2.0
  
#  mkm:         ^2.5.3
#  dkd:         ^2.5.3
#  dimp:        ^2.5.3
  dimsdk:      ^2.5.2
  dimax:       ^2.5.2
  dimap:       ^2.5.2

FIXME #

LoadException:

../../../../../.pub-cache/hosted/pub.dev/asn1lib-1.6.5/lib/src/asn1octetstring.dart:30:26: Error: A value of type 'List<int>' can't be assigned to a variable of type 'Uint8List'.
 - 'List' is from 'dart:core'.
 - 'Uint8List' is from 'dart:typed_data'.
      this.octets = utf8.encode(octets);
                         ^
  • file: asn1lib-1.6.5/lib/src/asn1octetstring.dart
  • line: 29
  ASN1OctetString(dynamic octets, {super.tag = OCTET_STRING_TYPE}) {
    if (octets is String) {
      // We now default to utf8 encoding
      this.octets = Uint8List.fromList(octets.codeUnits);
      // this.octets = utf8.encode(octets);
    } else if (octets is Uint8List) {
      this.octets = octets;
    } else if (octets is List<int>) {
      this.octets = Uint8List.fromList(octets);
    } else {
      throw ArgumentError(
        'Parameters octets should be either of type String or List<int>.',
      );
    }
  }

Copyright © 2023-2026 Albert Moky Followers

1
likes
120
points
444
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

DIM demo.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

bip32, bip39, dimap, dimax, dimsdk, lnc, mkm, object_key, stargate

More

Packages that depend on dim_client