Skip to content

Commit

Permalink
bump
Browse files Browse the repository at this point in the history
  • Loading branch information
mateothegreat committed Oct 12, 2024
1 parent 8290981 commit bcb527f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
12 changes: 8 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
{
"name": "@mateothegreat/svelte5-modal-manager",
"version": "0.0.7",
"version": "0.0.9",
"type": "module",
"files": [
"dist"
],
"svelte": "./index.ts",
"module": "./index.ts",
"exports": {
".": {
"import": "./index.ts"
}
},
"scripts": {
"check": "svelte-check --tsconfig ./tsconfig.json",
"build": "npm run check && rimraf dist && cpx 'src/lib/**/*' dist && cpx package.json dist"
Expand Down
2 changes: 1 addition & 1 deletion src/lib/modal-instance.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export class ModalInstance<T> {
this.config = new ModalConfig<T>(config);
}

public destroy() {
public close() {
this.manager.close(this.config.id);
}
}

0 comments on commit bcb527f

Please sign in to comment.