@did-btcr2/common 2.1.0 → 2.2.0

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.
@@ -37,7 +37,7 @@ export type SchnorrKeyPairObject = {
37
37
  publicKey: PublicKeyObject;
38
38
  };
39
39
  export type MultibaseObject = {
40
- address: string;
40
+ encoded: string;
41
41
  prefix: Bytes;
42
42
  key: Array<number>;
43
43
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@did-btcr2/common",
3
- "version": "2.1.0",
3
+ "version": "2.2.0",
4
4
  "type": "module",
5
5
  "description": "Common utilities, types, interfaces, etc. shared across the did-btcr2-js monorepo packages.",
6
6
  "main": "./dist/cjs/index.js",
@@ -92,8 +92,7 @@
92
92
  "build:esm": "rimraf dist/esm dist/types && pnpm tsc -p tsconfig.json",
93
93
  "build:cjs": "rimraf dist/cjs && tsc -p tsconfig.cjs.json && echo '{\"type\": \"commonjs\"}' > ./dist/cjs/package.json",
94
94
  "build:tests": "pnpm tsc -p tests/tsconfig.json",
95
- "build:docs": "typedoc --options typedoc.json",
96
- "build:all": "pnpm build && pnpm build:tests && pnpm build:docs",
95
+ "build:all": "pnpm build && pnpm build:tests",
97
96
  "release": "pnpm build && pnpm pack && mv *.tgz ../../release/common",
98
97
  "lint": "eslint . --max-warnings 0",
99
98
  "lint:fix": "eslint . --fix",
package/src/types.ts CHANGED
@@ -42,7 +42,7 @@ export type SchnorrKeyPairObject = {
42
42
  publicKey: PublicKeyObject;
43
43
  };
44
44
  export type MultibaseObject = {
45
- address: string;
45
+ encoded: string;
46
46
  prefix: Bytes;
47
47
  key: Array<number>;
48
48
  };