atom.io 0.24.0 → 0.24.1
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/dist/index.d.ts +1 -1
- package/package.json +5 -5
- package/src/molecule.ts +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -207,7 +207,7 @@ type MoleculeTransactors<K extends Json.Serializable> = Flat$1<Omit<TransactorsW
|
|
|
207
207
|
join(joinToken: JoinToken<any, any, any, any>): void;
|
|
208
208
|
spawn<Key extends Json.Serializable, Ctor extends MoleculeConstructor>(family: MoleculeFamilyToken<Ctor>, key: Key, ...params: MoleculeParams<Ctor>): MoleculeToken<Ctor>;
|
|
209
209
|
}>;
|
|
210
|
-
type MoleculeConstructor = new (transactors: MoleculeTransactors<any>, key:
|
|
210
|
+
type MoleculeConstructor = new (transactors: MoleculeTransactors<any>, key: any, ...params: any) => any;
|
|
211
211
|
type Tail<T extends any[]> = T extends [any, ...infer Rest] ? Rest : any[];
|
|
212
212
|
type MoleculeParams<M extends MoleculeConstructor> = Tail<Tail<ConstructorParameters<M>>>;
|
|
213
213
|
type MoleculeFamilyOptions<M extends MoleculeConstructor> = {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "atom.io",
|
|
3
|
-
"version": "0.24.
|
|
3
|
+
"version": "0.24.1",
|
|
4
4
|
"description": "Composable and testable reactive data library.",
|
|
5
5
|
"homepage": "https://atom.io.fyi",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -56,8 +56,8 @@
|
|
|
56
56
|
"@types/npmlog": "7.0.0",
|
|
57
57
|
"@types/react": "18.3.3",
|
|
58
58
|
"@types/tmp": "0.2.6",
|
|
59
|
-
"@typescript-eslint/parser": "7.
|
|
60
|
-
"@typescript-eslint/rule-tester": "7.
|
|
59
|
+
"@typescript-eslint/parser": "7.11.0",
|
|
60
|
+
"@typescript-eslint/rule-tester": "7.11.0",
|
|
61
61
|
"@vitest/coverage-v8": "1.6.0",
|
|
62
62
|
"@vitest/ui": "1.6.0",
|
|
63
63
|
"concurrently": "8.2.2",
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
"eslint": "npm:eslint@8.57.0",
|
|
67
67
|
"eslint-v9": "npm:eslint@9.3.0",
|
|
68
68
|
"framer-motion": "11.2.6",
|
|
69
|
-
"happy-dom": "14.11.
|
|
69
|
+
"happy-dom": "14.11.2",
|
|
70
70
|
"http-proxy": "1.18.1",
|
|
71
71
|
"npmlog": "7.0.1",
|
|
72
72
|
"postgres": "3.4.4",
|
|
@@ -79,7 +79,7 @@
|
|
|
79
79
|
"tmp": "0.2.3",
|
|
80
80
|
"tsup": "8.0.2",
|
|
81
81
|
"typescript": "5.4.5",
|
|
82
|
-
"vite": "5.2.
|
|
82
|
+
"vite": "5.2.12",
|
|
83
83
|
"vite-tsconfig-paths": "4.3.2",
|
|
84
84
|
"vitest": "1.6.0"
|
|
85
85
|
},
|
package/src/molecule.ts
CHANGED