@leancodepl/api-binary 8.4.0 → 8.5.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.
package/package.json CHANGED
@@ -1,17 +1,53 @@
1
1
  {
2
2
  "name": "@leancodepl/api-binary",
3
- "version": "8.4.0",
3
+ "version": "8.5.0",
4
4
  "license": "Apache-2.0",
5
+ "publishConfig": {
6
+ "access": "public",
7
+ "registry": "https://registry.npmjs.org/"
8
+ },
9
+ "engines": {
10
+ "node": ">=18.0.0"
11
+ },
12
+ "repository": {
13
+ "type": "git",
14
+ "url": "git+https://github.com/leancodepl/js_corelibrary.git",
15
+ "directory": "packages/cqrs-clients/custom-types/binary/api-binary"
16
+ },
17
+ "homepage": "https://github.com/leancodepl/js_corelibrary",
18
+ "bugs": {
19
+ "url": "https://github.com/leancodepl/js_corelibrary/issues"
20
+ },
21
+ "description": "Core binary data types for API communication",
22
+ "keywords": [
23
+ "binary",
24
+ "api",
25
+ "types",
26
+ "serialization",
27
+ "typescript",
28
+ "javascript",
29
+ "leancode"
30
+ ],
31
+ "author": {
32
+ "name": "LeanCode",
33
+ "url": "https://leancode.co"
34
+ },
35
+ "files": [
36
+ "dist",
37
+ "README.md",
38
+ "CHANGELOG.md"
39
+ ],
40
+ "sideEffects": false,
5
41
  "exports": {
6
42
  "./package.json": "./package.json",
7
43
  ".": {
8
44
  "module": "./index.esm.js",
9
- "types": "./index.esm.d.ts",
45
+ "types": "./index.d.ts",
10
46
  "import": "./index.cjs.mjs",
11
47
  "default": "./index.cjs.js"
12
48
  }
13
49
  },
14
50
  "module": "./index.esm.js",
15
51
  "main": "./index.cjs.js",
16
- "types": "./index.esm.d.ts"
52
+ "types": "./index.d.ts"
17
53
  }
package/index.cjs.d.ts DELETED
@@ -1 +0,0 @@
1
- export * from "./src/index";
@@ -1 +0,0 @@
1
- exports._default = require('./index.cjs.js').default;
package/index.cjs.js DELETED
@@ -1,11 +0,0 @@
1
- 'use strict';
2
-
3
- function toRaw(apiBinary) {
4
- return apiBinary;
5
- }
6
- function fromRaw(apiBinaryRaw) {
7
- return apiBinaryRaw;
8
- }
9
-
10
- exports.fromRaw = fromRaw;
11
- exports.toRaw = toRaw;
package/index.cjs.mjs DELETED
@@ -1,2 +0,0 @@
1
- export * from './index.cjs.js';
2
- export { _default as default } from './index.cjs.default.js';
package/index.esm.d.ts DELETED
@@ -1 +0,0 @@
1
- export * from "./src/index";
package/index.esm.js DELETED
@@ -1,8 +0,0 @@
1
- function toRaw(apiBinary) {
2
- return apiBinary;
3
- }
4
- function fromRaw(apiBinaryRaw) {
5
- return apiBinaryRaw;
6
- }
7
-
8
- export { fromRaw, toRaw };
package/src/index.d.ts DELETED
@@ -1,9 +0,0 @@
1
- export type ApiBinaryRaw = string;
2
- declare class _ApiBinary {
3
- private _;
4
- }
5
- export interface ApiBinary extends _ApiBinary {
6
- }
7
- export declare function toRaw(apiBinary: ApiBinary): ApiBinaryRaw;
8
- export declare function fromRaw(apiBinaryRaw: ApiBinaryRaw): ApiBinary;
9
- export {};