@ndriadev/futurable 2.0.7 → 2.0.8

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.
Files changed (2) hide show
  1. package/README.md +3 -3
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -66,9 +66,9 @@ npm install futurable # or yarn add futurable or pnpm add futurable
66
66
  # Usage
67
67
  The library supports both ESM and CJS formats, so it can be used as follows:
68
68
  ```javascript
69
- import { Futurable } from 'futurable'; // ok
69
+ import { Futurable } from '@ndriadev/futurable'; // ok
70
70
 
71
- const { Futurable } = require('futurable'); // ok
71
+ const { Futurable } = require('@ndriadev/futurable'); // ok
72
72
  ```
73
73
 
74
74
  ## Use-case
@@ -150,7 +150,7 @@ const promise = new Promise((resolve, reject) => {
150
150
  });
151
151
 
152
152
  //Futurable
153
- import { Futurable } from 'futurable';
153
+ import { Futurable } from '@ndriadev/futurable';
154
154
 
155
155
  const futurable = new Futurable((resolve, reject) => {
156
156
  const data = /*..async operations or other..*/
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@ndriadev/futurable",
3
3
  "description": "Extension Javascript's Promise API with more functionalities",
4
4
  "private": false,
5
- "version": "2.0.7",
5
+ "version": "2.0.8",
6
6
  "type": "module",
7
7
  "files": [
8
8
  "dist/",