Compare commits
4 Commits
Author | SHA1 | Date | |
---|---|---|---|
0f1eb6eb27 | |||
dd18ef94bd | |||
a0189921a5 | |||
b409f1aa55 |
23
changelog.md
23
changelog.md
@ -1,5 +1,28 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
## 2025-06-19 - 2.0.20 - fix(smartstate)
|
||||||
|
Update build scripts and dependency versions; replace isohash with smarthashWeb for state hash generation
|
||||||
|
|
||||||
|
- Adjusted package.json scripts to include verbose testing and modified build command
|
||||||
|
- Bumped development dependencies (tsbuild, tsbundle, tsrun, tstest, tapbundle) to newer versions
|
||||||
|
- Updated production dependencies (lik, smarthash, smartpromise, smartrx) with minor version bumps
|
||||||
|
- Replaced import of isohash with smarthashWeb in state hash generation, ensuring consistency across modules
|
||||||
|
|
||||||
|
## 2024-10-02 - 2.0.19 - fix(dependencies)
|
||||||
|
Update dependencies to latest versions
|
||||||
|
|
||||||
|
- Updated @git.zone/tsbuild to version ^2.1.84
|
||||||
|
- Updated @git.zone/tsbundle to version ^2.0.15
|
||||||
|
- Updated @git.zone/tsrun to version ^1.2.49
|
||||||
|
- Updated @git.zone/tstest to version ^1.0.90
|
||||||
|
- Updated @push.rocks/tapbundle to version ^5.3.0
|
||||||
|
- Updated @types/node to version ^22.7.4
|
||||||
|
- Updated @push.rocks/lik to version ^6.0.15
|
||||||
|
- Updated @push.rocks/smartjson to version ^5.0.20
|
||||||
|
- Updated @push.rocks/smartpromise to version ^4.0.4
|
||||||
|
- Updated @push.rocks/smartrx to version ^3.0.7
|
||||||
|
- Updated @push.rocks/webstore to version ^2.0.20
|
||||||
|
|
||||||
## 2024-10-02 - 2.0.18 - fix(core)
|
## 2024-10-02 - 2.0.18 - fix(core)
|
||||||
Fix type errors and typos in Smartstate class
|
Fix type errors and typos in Smartstate class
|
||||||
|
|
||||||
|
33
package.json
33
package.json
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@push.rocks/smartstate",
|
"name": "@push.rocks/smartstate",
|
||||||
"version": "2.0.18",
|
"version": "2.0.20",
|
||||||
"private": false,
|
"private": false,
|
||||||
"description": "A package for handling and managing state in applications.",
|
"description": "A package for handling and managing state in applications.",
|
||||||
"main": "dist_ts/index.js",
|
"main": "dist_ts/index.js",
|
||||||
@ -9,25 +9,25 @@
|
|||||||
"author": "Lossless GmbH",
|
"author": "Lossless GmbH",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "(tstest test/)",
|
"test": "(tstest test/ --verbose)",
|
||||||
"build": "(tsbuild --web --allowimplicitany && tsbundle npm)",
|
"build": "(tsbuild tsfolders --allowimplicitany && tsbundle npm)",
|
||||||
"buildDocs": "tsdoc"
|
"buildDocs": "tsdoc"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@git.zone/tsbuild": "^2.1.70",
|
"@git.zone/tsbuild": "^2.6.4",
|
||||||
"@git.zone/tsbundle": "^2.0.8",
|
"@git.zone/tsbundle": "^2.4.0",
|
||||||
"@git.zone/tsrun": "^1.2.46",
|
"@git.zone/tsrun": "^1.3.3",
|
||||||
"@git.zone/tstest": "^1.0.81",
|
"@git.zone/tstest": "^2.3.1",
|
||||||
"@push.rocks/tapbundle": "^5.0.15",
|
"@push.rocks/tapbundle": "^6.0.3",
|
||||||
"@types/node": "^20.8.0"
|
"@types/node": "^22.7.4"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@push.rocks/isohash": "^2.0.1",
|
"@push.rocks/lik": "^6.2.2",
|
||||||
"@push.rocks/lik": "^6.0.5",
|
"@push.rocks/smarthash": "^3.2.0",
|
||||||
"@push.rocks/smartjson": "^5.0.10",
|
"@push.rocks/smartjson": "^5.0.20",
|
||||||
"@push.rocks/smartpromise": "^4.0.3",
|
"@push.rocks/smartpromise": "^4.2.3",
|
||||||
"@push.rocks/smartrx": "^3.0.6",
|
"@push.rocks/smartrx": "^3.0.10",
|
||||||
"@push.rocks/webstore": "^2.0.13"
|
"@push.rocks/webstore": "^2.0.20"
|
||||||
},
|
},
|
||||||
"files": [
|
"files": [
|
||||||
"ts/**/*",
|
"ts/**/*",
|
||||||
@ -60,5 +60,6 @@
|
|||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://code.foss.global/push.rocks/smartstate.git"
|
"url": "https://code.foss.global/push.rocks/smartstate.git"
|
||||||
}
|
},
|
||||||
|
"packageManager": "pnpm@10.11.0+sha512.6540583f41cc5f628eb3d9773ecee802f4f9ef9923cc45b69890fb47991d4b092964694ec3a4f738a420c918a333062c8b925d312f42e4f0c263eb603551f977"
|
||||||
}
|
}
|
||||||
|
12632
pnpm-lock.yaml
generated
12632
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
@ -3,6 +3,6 @@
|
|||||||
*/
|
*/
|
||||||
export const commitinfo = {
|
export const commitinfo = {
|
||||||
name: '@push.rocks/smartstate',
|
name: '@push.rocks/smartstate',
|
||||||
version: '2.0.18',
|
version: '2.0.20',
|
||||||
description: 'A package for handling and managing state in applications.'
|
description: 'A package for handling and managing state in applications.'
|
||||||
}
|
}
|
||||||
|
@ -61,7 +61,7 @@ export class StatePart<TStatePartName, TStatePayload> {
|
|||||||
*/
|
*/
|
||||||
public notifyChange() {
|
public notifyChange() {
|
||||||
const createStateHash = (stateArg: any) => {
|
const createStateHash = (stateArg: any) => {
|
||||||
return plugins.isohash.sha256FromString(plugins.smartjson.stringify(stateArg));
|
return plugins.smarthashWeb.sha256FromString(plugins.smartjson.stringify(stateArg));
|
||||||
};
|
};
|
||||||
if (
|
if (
|
||||||
this.stateStore &&
|
this.stateStore &&
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
import * as isohash from '@push.rocks/isohash';
|
import * as smarthashWeb from '@push.rocks/smarthash/web';
|
||||||
import * as smartjson from '@push.rocks/smartjson';
|
import * as smartjson from '@push.rocks/smartjson';
|
||||||
import * as smartpromise from '@push.rocks/smartpromise';
|
import * as smartpromise from '@push.rocks/smartpromise';
|
||||||
import * as smartrx from '@push.rocks/smartrx';
|
import * as smartrx from '@push.rocks/smartrx';
|
||||||
import * as webstore from '@push.rocks/webstore';
|
import * as webstore from '@push.rocks/webstore';
|
||||||
|
|
||||||
export { isohash, smartjson, smartpromise, smartrx, webstore };
|
export { smarthashWeb, smartjson, smartpromise, smartrx, webstore };
|
||||||
|
Reference in New Issue
Block a user