url-safe-bitpacking 0.1.3 → 0.1.4

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/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # url-safe-bitpacking
2
2
 
3
- Package for creating definitions of parametric models that can be stored as compactly as possible in a URL by storing it in a web-safe base-64 string.
3
+ Package for creating definitions of parametric models that can be stored as compactly as possible in a URL by storing it in a web-safe base-64 string. This pacakge is till very much WIP. Feel free to suggest by making an issue or pull-request [GitHub](https://github.com/JonasWard/url-safe-bitpacking).
4
4
 
5
5
  ## concept
6
6
 
@@ -62,7 +62,7 @@ Single-level nested objects are arrays in which the entries it contains describe
62
62
 
63
63
  For the Double Nested arrays there are currently two variations: either an Optional type, which only accepts two values of which is an empty array and will be toggle on/off in relation to a certain boolean data entry.
64
64
 
65
- Install
65
+ # Install
66
66
 
67
67
  ```bash
68
68
  npm install url-safe-bitpacking
@@ -1,3 +1,4 @@
1
+ import { ParserForVersion } from '../types';
1
2
  import { NestedContentDataType, OptionalEntryDataType, EnumEntryDataType, VersionArrayDefinitionType, NestedContentType } from '../types/arrayDefinitions';
2
3
  export declare const nestedContentDataType: NestedContentDataType;
3
4
  export declare const validOptionalEntryType: OptionalEntryDataType;
@@ -10,3 +11,4 @@ export declare const footprintDefinition: EnumEntryDataType;
10
11
  export declare const heightParsingDefinition: NestedContentType;
11
12
  export declare const shapePreProcessingDefinition: EnumEntryDataType;
12
13
  export declare const lucernaeTurici: VersionArrayDefinitionType;
14
+ export declare const lucernaeTuriciVersions: ParserForVersion[];
@@ -1,7 +1,7 @@
1
1
  import { ObjectGenerationOutputStatus } from '../enums/objectGenerationTypes';
2
2
  import { DataEntry, VersionDiscriptionType } from './dataEntry';
3
3
  import { SemanticlyNestedDataEntry } from './semanticlyNestedDataEntry';
4
- import { GlobalVersion } from './versionData';
4
+ import { GlobalVersion, VersionRangeType } from './versionData';
5
5
  /**
6
6
  * A method that generates a nested object based on a set of values
7
7
  * @param s - url bit string (optional)
@@ -23,6 +23,7 @@ export type VersionEnumSemantics = {
23
23
  };
24
24
  export type ParserForVersion = {
25
25
  version: number;
26
+ versionBitCount: VersionRangeType;
26
27
  versionName: string;
27
28
  versionEnumSemantics?: VersionEnumSemantics;
28
29
  objectGeneratorParameters: VersionDefinitionObject;
package/package.json CHANGED
@@ -7,7 +7,7 @@
7
7
  "dist/*"
8
8
  ],
9
9
  "type": "module",
10
- "version": "0.1.3",
10
+ "version": "0.1.4",
11
11
  "author": "Jonas Ward",
12
12
  "description": "Library for creating web safe base64 objects with custom bith widths and dynamic values.",
13
13
  "scripts": {
@@ -17,12 +17,7 @@
17
17
  },
18
18
  "devDependencies": {
19
19
  "bun-types": "latest",
20
- "rimraf": "^6.0.1"
21
- },
22
- "peerDependencies": {
20
+ "rimraf": "^6.0.1",
23
21
  "typescript": "^5.0.0"
24
- },
25
- "dependencies": {
26
- "typescript": "^5.6.2"
27
22
  }
28
23
  }