@atcute/cbor 2.0.0 → 2.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +3 -6
  2. package/package.json +11 -6
package/README.md CHANGED
@@ -1,12 +1,9 @@
1
1
  # @atcute/cbor
2
2
 
3
- DAG-CBOR codec library, focused on dealing with AT Protocol's HTTP wire format.
3
+ lightweight [DASL dCBOR42 (deterministic CBOR with tag 42)][dasl-dcbor42] codec library for AT
4
+ Protocol.
4
5
 
5
- - Only JSON types are recognized and almost nothing else, this means:
6
- - No `Map` objects, it will always be plain objects with string keys
7
- - No `undefined` values, it will be skipped or will throw an error
8
- - No tagged value support other than CID, which gets converted to a cid-link interface
9
- - Same goes for byte arrays, gets converted to a byte interface
6
+ [dasl-dcbor42]: https://dasl.ing/dcbor42.html
10
7
 
11
8
  ```ts
12
9
  import { encode } from '@atcute/cbor';
package/package.json CHANGED
@@ -1,8 +1,13 @@
1
1
  {
2
2
  "type": "module",
3
3
  "name": "@atcute/cbor",
4
- "version": "2.0.0",
5
- "description": "DAG-CBOR codec that deals in AT Protocol's HTTP wire format",
4
+ "version": "2.0.1",
5
+ "description": "lightweight DASL dCBOR42 codec library for AT Protocol",
6
+ "keywords": [
7
+ "atproto",
8
+ "dasl",
9
+ "cbor"
10
+ ],
6
11
  "license": "MIT",
7
12
  "repository": {
8
13
  "url": "https://github.com/mary-ext/atcute",
@@ -19,12 +24,12 @@
19
24
  },
20
25
  "sideEffects": false,
21
26
  "devDependencies": {
22
- "@ipld/dag-cbor": "^9.2.1",
23
- "@types/bun": "^1.1.12",
24
- "mitata": "^1.0.10"
27
+ "@ipld/dag-cbor": "^9.2.2",
28
+ "@types/bun": "^1.1.14",
29
+ "mitata": "^1.0.23"
25
30
  },
26
31
  "dependencies": {
27
- "@atcute/cid": "^2.0.0",
32
+ "@atcute/cid": "^2.0.1",
28
33
  "@atcute/multibase": "^1.0.1"
29
34
  },
30
35
  "scripts": {