Socket
Socket
Sign inDemoInstall

@nimiq/core-types

Package Overview
Dependencies
0
Maintainers
8
Versions
9
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.4.1 to 1.4.2

2

package.json
{
"name": "@nimiq/core-types",
"version": "1.4.1",
"version": "1.4.2",
"description": "Typescript typings for the Nimiq core library",

@@ -5,0 +5,0 @@ "main": "Nimiq.d.ts",

@@ -1,23 +0,32 @@

# @nimiq/core types
# @nimiq/core-types
This package provides Typescript types for the Nimiq core library at http://cdn.nimiq.com/web.js.
> ## Deprecation Warning
> Release v1.4.2 of this package is the last release of @nimiq/core-types,
> because the types are now included in the
> [@nimiq/core](https://www.npmjs.com/package/@nimiq/core) package.
This package provides Typescript types for the Nimiq core library.
A global namespace 'Nimiq' is declared.
# Install:
````
## Installation
```bash
npm install --save-dev @nimiq/core-types
````
```
or
````
```bash
yarn add --dev @nimiq/core-types
````
```
# Usage:
Add a .d.ts file to your project folder, e.g. `Nimiq.d.ts`, and make sure it is included in your `.tsconfig`. That file
should contain:
````
## Usage
Add a .d.ts file to your project folder, e.g. `Nimiq.d.ts`, and make sure it is
included in your `.tsconfig`. That file should contain:
```typescript
// tslint:disable-next-line no-reference
/// <reference path="./node_modules/@nimiq/core-types/Nimiq.d.ts" />
````
```

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc