From c59411ef0fa9773ee2f5ffbd967d51f008acd774 Mon Sep 17 00:00:00 2001 From: "Hong Jing (Jingles)" Date: Wed, 27 Nov 2024 20:03:31 +0800 Subject: [PATCH] export types --- .github/pull_request_template.md | 1 + packages/mesh-svelte/package.json | 4 +++- .../lib/cardano-wallet/component/connect-wallet-button.svelte | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md index 18f9cdbd6..8f970e0b3 100644 --- a/.github/pull_request_template.md +++ b/.github/pull_request_template.md @@ -17,6 +17,7 @@ Remember to follow our [Contributing Guide](CONTRIBUTING.md) before submitting y - [ ] `@meshsdk/core-cst` - [ ] `@meshsdk/provider` - [ ] `@meshsdk/react` +- [ ] `@meshsdk/svelte` - [ ] `@meshsdk/transaction` - [ ] `@meshsdk/wallet` - [ ] Mesh playground (i.e. ) diff --git a/packages/mesh-svelte/package.json b/packages/mesh-svelte/package.json index 42df628a2..80d1c09cf 100644 --- a/packages/mesh-svelte/package.json +++ b/packages/mesh-svelte/package.json @@ -1,7 +1,9 @@ { "name": "@meshsdk/svelte", - "version": "0.0.2", + "version": "0.0.3", "description": "Svelte component library - https://meshjs.dev/svelte", + "module": "./dist/index.js", + "types": "./dist/index.d.ts", "type": "module", "exports": { ".": { diff --git a/packages/mesh-svelte/src/lib/cardano-wallet/component/connect-wallet-button.svelte b/packages/mesh-svelte/src/lib/cardano-wallet/component/connect-wallet-button.svelte index c8e71394a..eda54a0ea 100644 --- a/packages/mesh-svelte/src/lib/cardano-wallet/component/connect-wallet-button.svelte +++ b/packages/mesh-svelte/src/lib/cardano-wallet/component/connect-wallet-button.svelte @@ -2,7 +2,7 @@ import { onMount } from 'svelte'; import {BrowserWallet, type Wallet } from "@meshsdk/core" import { BrowserWalletState, connectWallet, disconnectWallet } from '../state/browser-wallet-state.svelte.js'; - import { type ConnectWalletButtonProps} from '.'; + import { type ConnectWalletButtonProps} from './'; const { label = 'Connect Wallet',