Skip to content

Commit

Permalink
Merge pull request #16 from thewuhxyz/fix-changesets
Browse files Browse the repository at this point in the history
Fix sourcemap missing reference files
  • Loading branch information
thewuhxyz authored Jul 24, 2024
2 parents 3f71ad0 + dd46307 commit 7e58554
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 7 deletions.
6 changes: 6 additions & 0 deletions .changeset/slimy-months-roll.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
'@thewuh/wallet-standard-wallet-adapter-svelte': patch
'@thewuh/wallet-adapter-svelte-core': patch
---

Fix: Sourcemap missing reference files
6 changes: 3 additions & 3 deletions packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@
"type": "module",
"sideEffects": false,
"main": "dist/cjs/index.js",
"module": "dist/esm/index.mjs",
"module": "dist/esm/index.js",
"types": "dist/esm/index.d.ts",
"exports": {
"import": "./dist/esm/index.mjs",
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js",
"types": "./dist/esm/index.d.ts"
},
Expand All @@ -30,7 +30,7 @@
},
"scripts": {
"clean": "shx rm -rf dist/*",
"build": "pnpm clean && tsc -p tsconfig.json; tsc-esm -p tsconfig.json && tsc -p tsconfig.cjs.json",
"build": "pnpm clean && tsc -p tsconfig.json; tsc -p tsconfig.json && tsc -p tsconfig.cjs.json",
"postbuild": "echo '{\"type\":\"commonjs\"}' | npx json > dist/cjs/package.json && echo '{\"type\":\"module\"} ' | npx json > dist/esm/package.json"
},
"peerDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/walletStore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import type {
WalletName,
} from '@solana/wallet-adapter-base';
import { WalletNotConnectedError, WalletNotReadyError, WalletReadyState } from '@solana/wallet-adapter-base';
import { Connection, PublicKey, Transaction, TransactionSignature, VersionedTransaction } from '@solana/web3.js';
import type { Connection, PublicKey, Transaction, TransactionSignature, VersionedTransaction } from '@solana/web3.js';
import { get, writable } from 'svelte/store';
import { WalletNotSelectedError } from './errors.js';
import { getLocalStorage, setLocalStorage } from './localStorage.js';
Expand Down
6 changes: 3 additions & 3 deletions packages/standard/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@
"type": "module",
"sideEffects": false,
"main": "dist/cjs/index.js",
"module": "dist/esm/index.mjs",
"module": "dist/esm/index.js",
"types": "dist/esm/index.d.ts",
"exports": {
"import": "./dist/esm/index.mjs",
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js",
"types": "./dist/esm/index.d.ts"
},
Expand All @@ -27,7 +27,7 @@
},
"scripts": {
"clean": "shx rm -rf dist/*",
"build": "pnpm clean && tsc -p tsconfig.json; tsc-esm -p tsconfig.json && tsc -p tsconfig.cjs.json",
"build": "pnpm clean && tsc -p tsconfig.json; tsc -p tsconfig.json && tsc -p tsconfig.cjs.json",
"postbuild": "echo '{\"type\":\"commonjs\"}' | npx json > dist/cjs/package.json && echo '{\"type\":\"module\"} ' | npx json > dist/esm/package.json"
},
"peerDependencies": {
Expand Down

0 comments on commit 7e58554

Please sign in to comment.