locuschain-lib 1.0.15 → 1.0.18

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,18 +1,15 @@
1
1
  {
2
2
  "name": "locuschain-lib",
3
- "version": "1.0.15",
4
- "main": "dist/lclib-cjs.js",
5
- "module": "dist/lclib-esm.js",
3
+ "version": "1.0.18",
4
+ "main": "lclib-cjs.js",
5
+ "module": "lclib-esm.js",
6
6
  "exports": {
7
- "require": "./dist/lclib-cjs.js",
8
- "import": "./dist/lclib-esm.js"
7
+ "require": "./lclib-cjs.js",
8
+ "import": "./lclib-esm.js"
9
9
  },
10
- "files": [
11
- "deploy"
12
- ],
13
10
  "scripts": {
14
11
  "build": "rm -rf dist & rollup -c rollup.config.mjs",
15
- "deploy": "rm -rf deploy && copyfiles dist/* deploy/ && mv deploy/dist/index.d.mts deploy/dist/lclib-cjs.d.mts && npm publish"
12
+ "deploy": "rm -rf deploy && copyfiles -u 1 dist/* deploy/ && mv deploy/index.d.mts deploy/lclib-cjs.d.mts && cp package.json deploy/package.json && cd deploy && npm publish"
16
13
  },
17
14
  "author": "bloomtechnology",
18
15
  "license": "MIT",
package/README.md DELETED
@@ -1,31 +0,0 @@
1
- # locuschain-lib
2
- ---
3
- This is a library that includes functions necessary for applying the `Locus Chain` to your service. The following features are included:
4
-
5
- - Generate or load keys.
6
- - Convert to data types used in Locus Chain.
7
- - Validate transactions.
8
- - Encode data.
9
-
10
- ## Installation
11
-
12
- ```shell
13
- npm i locuschain-lib
14
- ```
15
-
16
- ## Usage
17
-
18
- LocusLib.`function`(`params`)
19
-
20
- - **function:** Function
21
- - **params:** Parameter
22
-
23
- ```typescript
24
- import { LocusLib } from 'locuschain-lib';
25
- const result = await LocusLib.GetLibraryVersions()
26
- console.log(result)
27
- ```
28
-
29
- All functions are asynchronous. Use await before them or use then to receive the result.
30
-
31
- You can find the list of functions and detailed descriptions in the official Locus Chain documentation.