From 5aa0d4aa631cdd99574b57212568b99f9d86d8c5 Mon Sep 17 00:00:00 2001 From: jn42lm1 <54233338+jn42lm1@users.noreply.github.com> Date: Mon, 17 Jul 2023 15:10:29 +0200 Subject: [PATCH 1/2] Ensure all imports target *.js --- src/ObservableProperty.ts | 2 +- src/stores/SessionStorage.ts | 2 +- src/utilities/storeValue.ts | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/ObservableProperty.ts b/src/ObservableProperty.ts index 3ee4130..4a058b1 100644 --- a/src/ObservableProperty.ts +++ b/src/ObservableProperty.ts @@ -2,7 +2,7 @@ import type { PropertyChangeHandler, PropertySetHandler } from './types'; import { isDefined } from './utilities/isDefined.js'; import { isFunction } from './utilities/isFunction.js'; -import { deepCopy } from './utilities/deepCopy'; +import { deepCopy } from './utilities/deepCopy.js'; /** * Property wrapper that can be observed for changes. diff --git a/src/stores/SessionStorage.ts b/src/stores/SessionStorage.ts index 47bd685..21d3be9 100644 --- a/src/stores/SessionStorage.ts +++ b/src/stores/SessionStorage.ts @@ -1,4 +1,4 @@ -import { SyncStorage } from '../types/SyncStorage'; +import { SyncStorage } from '../types/SyncStorage.js'; /** * Storage class that allows for persisting data as JSON values for the duration of a browser session. diff --git a/src/utilities/storeValue.ts b/src/utilities/storeValue.ts index d23f117..fcd04d0 100644 --- a/src/utilities/storeValue.ts +++ b/src/utilities/storeValue.ts @@ -1,5 +1,5 @@ -import { AsyncStorage } from '../types/AsyncStorage'; -import { SyncStorage } from '../types/SyncStorage'; +import { AsyncStorage } from '../types/AsyncStorage.js'; +import { SyncStorage } from '../types/SyncStorage.js'; /** * Saves a value in storage, or remove it from storage if not set. From 899798d0521eaf015a32c9c5efbd3bfaf23472d5 Mon Sep 17 00:00:00 2001 From: jn42lm1 <54233338+jn42lm1@users.noreply.github.com> Date: Mon, 17 Jul 2023 15:11:18 +0200 Subject: [PATCH 2/2] Version bump --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 954a0e1..a564406 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@capitec/omni-state", - "version": "0.1.0", + "version": "0.1.1", "description": "Simple web app state and storage management", "author": "Capitec", "license": "MIT",