bufferbase 1.0.5 → 1.0.6

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.
package/dist/index.d.ts CHANGED
@@ -1 +1 @@
1
- export { BufferEncoder, Converter, InvalidCharacterError, Validator, validate, } from "./bufferbase";
1
+ export { Chars, BufferEncoder, Converter, InvalidCharacterError, Validator, validate, } from "./bufferbase";
package/dist/index.js CHANGED
@@ -1 +1 @@
1
- export { BufferEncoder, Converter, InvalidCharacterError, Validator, validate, } from "./bufferbase";
1
+ export { Chars, BufferEncoder, Converter, InvalidCharacterError, Validator, validate, } from "./bufferbase";
package/package.json CHANGED
@@ -1,15 +1,11 @@
1
1
  {
2
2
  "name": "bufferbase",
3
- "version": "1.0.5",
3
+ "version": "1.0.6",
4
4
  "description": "Buffer-to-BaseN Encoder, Decoder, Converter, and Validator",
5
5
  "type": "module",
6
+ "types": "./dist/index.d.ts",
6
7
  "sideEffects": false,
7
8
  "exports": "./dist/index.js",
8
- "scripts": {
9
- "build": "tsc",
10
- "prepublishOnly": "npm run build",
11
- "test": "node --loader tsx --test src/*.test.ts"
12
- },
13
9
  "devDependencies": {
14
10
  "@types/node": "^20.11.5",
15
11
  "ts-loader": "^9.5.1",
@@ -22,7 +18,10 @@
22
18
  "type": "git",
23
19
  "url": "git+https://github.com/misebox/bufferbase.git"
24
20
  },
25
- "files": ["dist", "src"],
21
+ "files": [
22
+ "dist",
23
+ "src"
24
+ ],
26
25
  "keywords": [
27
26
  "number",
28
27
  "encode",
@@ -43,5 +42,9 @@
43
42
  "bugs": {
44
43
  "url": "https://github.com/misebox/bufferbase/issues"
45
44
  },
46
- "homepage": "https://github.com/misebox/bufferbase#readme"
47
- }
45
+ "homepage": "https://github.com/misebox/bufferbase#readme",
46
+ "scripts": {
47
+ "build": "tsc",
48
+ "test": "node --loader tsx --test src/*.test.ts"
49
+ }
50
+ }
package/src/index.ts CHANGED
@@ -1,4 +1,5 @@
1
1
  export {
2
+ Chars,
2
3
  BufferEncoder,
3
4
  Converter,
4
5
  InvalidCharacterError,