promise-logic 1.3.1 → 1.3.2

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 +0 -34
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -90,24 +90,6 @@ const failures = await PromiseLogic.allRejected([
90
90
  riskyOperation2()
91
91
  ]);
92
92
 
93
- // Get complete settlement information
94
- const allResults = await PromiseLogic.allResults([
95
- operation1(),
96
- operation2()
97
- ]);
98
-
99
- // Strict all-success validation
100
- const allSuccessful = await PromiseLogic.allSuccessful([
101
- validation1(),
102
- validation2(),
103
- validation3()
104
- ]);
105
-
106
- // Strict all-failure validation
107
- const allFailed = await PromiseLogic.allFailed([
108
- deprecatedCall1(),
109
- deprecatedCall2()
110
- ]);
111
93
  ```
112
94
 
113
95
  ## API Reference
@@ -143,15 +125,6 @@ Always resolves with an array of fulfilled values (empty if none).
143
125
  #### `PromiseLogic.allRejected(iterable)`
144
126
  Always resolves with an array of rejection reasons (empty if none).
145
127
 
146
- #### `PromiseLogic.allResults(iterable)`
147
- Equivalent to `Promise.allSettled`. Returns complete settlement information.
148
-
149
- #### `PromiseLogic.allSuccessful(iterable)`
150
- Resolves with all values only if every promise fulfills. Rejects otherwise.
151
-
152
- #### `PromiseLogic.allFailed(iterable)`
153
- Resolves with all rejection reasons only if every promise rejects. Rejects otherwise.
154
-
155
128
  ### Utility Methods
156
129
 
157
130
  #### `PromiseLogic.race(iterable)`
@@ -236,13 +209,6 @@ const [successfulResults, failedOperations] = await Promise.all([
236
209
  PromiseLogic.allFulfilled(operations),
237
210
  PromiseLogic.allRejected(operations)
238
211
  ]);
239
-
240
- // Comprehensive error reporting
241
- const results = await PromiseLogic.allResults(operations);
242
- const successful = results.filter(r => r.status === 'fulfilled');
243
- const failed = results.filter(r => r.status === 'rejected');
244
-
245
- console.log(`Operations: ${successful.length} successful, ${failed.length} failed`);
246
212
  ```
247
213
 
248
214
  ### State Management
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "promise-logic",
3
- "version": "1.3.1",
3
+ "version": "1.3.2",
4
4
  "description": "Compose promises with logic gate semantics (AND, OR, XOR, NAND, NOR, XNOR, Majority). Forget APIs, remember logic.",
5
5
  "type": "module",
6
6
  "main": "dist/index.cjs.js",