@hashgraph/hedera-custodians-integration
Advanced tools
Comparing version 1.2.0 to 1.2.1
export * from './factories/StrategyFactory.js'; | ||
export * from './models/signature/SignatureRequest'; | ||
export * from './models/signature/SignatureRequest.js'; | ||
export * from './services/CustodialWalletService.js'; | ||
@@ -4,0 +4,0 @@ export * from './strategies/config/DFNSConfig.js'; |
@@ -39,3 +39,3 @@ "use strict"; | ||
//* Models | ||
__exportStar(require("./models/signature/SignatureRequest"), exports); | ||
__exportStar(require("./models/signature/SignatureRequest.js"), exports); | ||
//* Services | ||
@@ -42,0 +42,0 @@ __exportStar(require("./services/CustodialWalletService.js"), exports); |
export * from './factories/StrategyFactory.js'; | ||
export * from './models/signature/SignatureRequest'; | ||
export * from './models/signature/SignatureRequest.js'; | ||
export * from './services/CustodialWalletService.js'; | ||
@@ -4,0 +4,0 @@ export * from './strategies/config/DFNSConfig.js'; |
@@ -23,3 +23,3 @@ /* | ||
//* Models | ||
export * from './models/signature/SignatureRequest'; | ||
export * from './models/signature/SignatureRequest.js'; | ||
//* Services | ||
@@ -26,0 +26,0 @@ export * from './services/CustodialWalletService.js'; |
{ | ||
"name": "@hashgraph/hedera-custodians-integration", | ||
"version": "1.2.0", | ||
"version": "1.2.1", | ||
"description": "A library to provide integration with custodial wallets", | ||
"exports": { | ||
".": { | ||
"import": "./build/esm/src/index.js", | ||
"require": "./build/cjs/src/index.js" | ||
} | ||
}, | ||
"homepage": "https://github.com/hashgraph/hedera-custodians-library", | ||
@@ -35,2 +29,12 @@ "repository": { | ||
"type": "module", | ||
"exports": { | ||
".": { | ||
"import": "./lib/esm/src/index.js", | ||
"require": "./lib/cjs/src/index.js" | ||
}, | ||
"./lib": { | ||
"import": "./lib/esm/src/index.js", | ||
"require": "./lib/cjs/src/index.js" | ||
} | ||
}, | ||
"main": "./lib/cjs/src/index.js", | ||
@@ -40,4 +44,3 @@ "module": "./lib/esm/src/index.js", | ||
"files": [ | ||
"lib/esm/src", | ||
"lib/cjs/src" | ||
"lib" | ||
], | ||
@@ -44,0 +47,0 @@ "scripts": { |
@@ -1,2 +0,2 @@ | ||
# Hedera Custodians Library | ||
# Hedera Custodians Integration | ||
@@ -16,9 +16,11 @@ [![License](https://img.shields.io/badge/license-apache2-blue.svg)](LICENSE) | ||
- [4.3.3. Sign Transaction](#433-sign-transaction) | ||
- [5. Build](#5-build) | ||
- [6. Test](#6-test) | ||
- [6.1. Files](#61-files) | ||
- [6.2 Configuration](#62-configuration) | ||
- [7. Contributing](#7-contributing) | ||
- [8. Code of Conduct](#8-code-of-conduct) | ||
- [9. License](#9-license) | ||
- [5. Examples](#5-examples) | ||
- [6. Build](#6-build) | ||
- [7. Test](#7-test) | ||
- [7.1. Files](#71-files) | ||
- [7.2 Configuration](#72-configuration) | ||
- [7.3. Run](#73-run) | ||
- [8. Contributing](#8-contributing) | ||
- [9. Code of Conduct](#9-code-of-conduct) | ||
- [10. License](#10-license) | ||
@@ -78,6 +80,9 @@ ## 1. Overview | ||
```typescript | ||
const { functionName } = require('hedera-custodians-library'); | ||
// ESM import | ||
import { function, Class, Type, Interface } from 'hedera-custodians-library'; | ||
// or CJS require | ||
const { function, Class, Type, Interface } = require('hedera-custodians-library'); | ||
``` | ||
Replace `functionName` with the actual name of the function you want to use. | ||
Replace `function, Class, Type, Interface` with the actual name of the component you want to use. | ||
@@ -136,4 +141,8 @@ ### 4.3. Run | ||
## 5. Build | ||
## 5. Examples | ||
A set of examples with detailed usage of this library is available at [examples](./examples/README.md). | ||
## 6. Build | ||
To compile TypeScript files into JavaScript. The command `tsc -p tsconfig.json` is typically run before deploying the application or testing the compiled JavaScript code. | ||
@@ -149,5 +158,5 @@ | ||
## 6. Test | ||
## 7. Test | ||
### 6.1. Files | ||
### 7.1. Files | ||
@@ -168,3 +177,3 @@ Test files for the `hedera-custodians-library` library are in the `__tests__/` directory, corresponding to the source files in the `src/` directory. Key test files include: | ||
### 6.2 Configuration | ||
### 7.2 Configuration | ||
@@ -195,6 +204,4 @@ The configuration for the tests is defined in the `jest.config.js` file located in the root directory of the library. | ||
```` | ||
### 7.3. Run | ||
### 6.3. Run | ||
To run the tests, navigate to the root directory of the hedera-custodians-library library and run the following command: | ||
@@ -204,5 +211,5 @@ | ||
npm run test | ||
```` | ||
``` | ||
## 7. Contributing | ||
## 8. Contributing | ||
@@ -213,3 +220,3 @@ Contributions are welcome. Please see the | ||
## 8. Code of Conduct | ||
## 9. Code of Conduct | ||
@@ -221,4 +228,4 @@ This project is governed by the | ||
## 9. License | ||
## 10. License | ||
[Apache License 2.0](LICENSE) |
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 16 instances in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
204103
87
4370
223
86
2