@webreflection/utils 0.2.6 → 0.2.7

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/README.md CHANGED
@@ -35,9 +35,8 @@ resolve(4);
35
35
  boundOnce(Promise).all === all;
36
36
  boundOnce(Promise).resolve === resolve;
37
37
 
38
- // example: do not import or export same module
39
-
40
- import sticky from '@webreflection/utils/sticky-module';
38
+ // example: always retrieve the first time data/module
39
+ import sticky from '@webreflection/utils/sticky';
41
40
 
42
41
  export default sticky('@module/name', { always: 'same' });
43
42
  ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webreflection/utils",
3
- "version": "0.2.6",
3
+ "version": "0.2.7",
4
4
  "type": "module",
5
5
  "types": {
6
6
  "./bound-once": "./types/bound-once.d.ts",
@@ -21,9 +21,9 @@
21
21
  "types": "./types/shared-array-buffer.d.ts",
22
22
  "import": "./src/shared-array-buffer.js"
23
23
  },
24
- "./sticky-module": {
25
- "types": "./types/sticky-module.d.ts",
26
- "import": "./src/sticky-module.js"
24
+ "./sticky": {
25
+ "types": "./types/sticky.d.ts",
26
+ "import": "./src/sticky.js"
27
27
  },
28
28
  "./with-resolvers": {
29
29
  "types": "./types/with-resolvers.d.ts",
@@ -35,7 +35,7 @@
35
35
  "bound-once",
36
36
  "bound",
37
37
  "shared-array-buffer",
38
- "sticky-module",
38
+ "sticky",
39
39
  "with-resolvers"
40
40
  ],
41
41
  "scripts": {
File without changes
File without changes