Skip to content

Commit

Permalink
Merge pull request #4 from capitec/feature/fix-build
Browse files Browse the repository at this point in the history
Ensure all imports target *.js
  • Loading branch information
jn42lm1 committed Jul 17, 2023
2 parents a450fa6 + 899798d commit 5d18d3d
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
2 changes: 1 addition & 1 deletion src/ObservableProperty.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion src/stores/SessionStorage.ts
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
4 changes: 2 additions & 2 deletions src/utilities/storeValue.ts
Original file line number Diff line number Diff line change
@@ -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.
Expand Down

0 comments on commit 5d18d3d

Please sign in to comment.